Cant Play My Modded Map
-
- Posts: 16
- Joined: Wed Apr 22, 2020 8:48 am
Cant Play My Modded Map
I came back after months and saw that the menus have changed. I no longer have access to my custom modded map when I host a game. Wtf happened?! whats this downgrade?!
Re: Cant Play My Modded Map
Your map is for older version, at first.
At second, upload your map to https://resource.openra.net
At second, upload your map to https://resource.openra.net
-
- Posts: 16
- Joined: Wed Apr 22, 2020 8:48 am
Re: Cant Play My Modded Map
My map is not in ORAMAP form or INI, its in a folder in this path AppData\Roaming\OpenRA\maps\ra\release-20200202\crossfiremodbearoforange wrote: ↑Wed Jul 22, 2020 7:20 pmYour map is for older version, at first.
At second, upload your map to https://resource.openra.net
it has .yaml files
Re: Cant Play My Modded Map
You can just copy the map folder into the release-20200503 folder in the maps/ra/ directory. If your map has custom rules, you might need to update those rules by either packing the map as oramap and using the resource center to update it, or by using the "--update-map" command of the utility that comes with the game (see https://github.com/OpenRA/OpenRA/wiki/Utility).
-
- Posts: 16
- Joined: Wed Apr 22, 2020 8:48 am
Re: Cant Play My Modded Map
oh boy OpenRa Utility is a cmd tool, why they have to complicate things smh? make it a GUI .exe. My game is in E:\Games\OpenRAabcdefg30 wrote: ↑Thu Jul 23, 2020 9:48 amYou can just copy the map folder into the release-20200503 folder in the maps/ra/ directory. If your map has custom rules, you might need to update those rules by either packing the map as oramap and using the resource center to update it, or by using the "--update-map" command of the utility that comes with the game (see https://github.com/OpenRA/OpenRA/wiki/Utility).
I did as you said, updated in resource center and placed my .oramap in \OpenRA\mods\ra\maps but i cant start a game when i choose it
i then unpacked it and placed it in \AppData\Roaming\OpenRA\maps\ra\release-20200503\crossfiremod and still i cant start a game
Update: might be my map the problem cause i created a new map mod and it seems to work.
Last edited by RedAlertMig on Fri Jul 24, 2020 6:35 pm, edited 1 time in total.
-
- Posts: 16
- Joined: Wed Apr 22, 2020 8:48 am
Re: Cant Play My Modded Map
Do you know how to replace SHP in my map mod?bearoforange wrote: ↑Wed Jul 22, 2020 7:20 pmYour map is for older version, at first.
At second, upload your map to https://resource.openra.net
Re: Cant Play My Modded Map
Can you please post a link to your defect map on resource center or upload a .oramap zip of your map here pls so we have some context to help you?
Also, which version of OpenRA did you use last time your mod worked?
I recently updated a few of my older maps, and it can be non-trivial to get it done.
Also, which version of OpenRA did you use last time your mod worked?
I recently updated a few of my older maps, and it can be non-trivial to get it done.
-
- Posts: 16
- Joined: Wed Apr 22, 2020 8:48 am
Re: Cant Play My Modded Map
yes heres my .oramapSirCake wrote: ↑Fri Jul 24, 2020 9:57 amCan you please post a link to your defect map on resource center or upload a .oramap zip of your map here pls so we have some context to help you?
Also, which version of OpenRA did you use last time your mod worked?
I recently updated a few of my older maps, and it can be non-trivial to get it done.
Re: Cant Play My Modded Map
Hey,
finally found some time to look at your map.
however I noticed that you copied the ENTIRE file for vehicles.yaml, infantry.yaml etc...
Fist off, you don't need to do that. For example it is enough for changing V2 health to add these lines:
You don't need to copy everything which is NOT changed (only the hierarchy to that point).
I guess you made some changes in the files, but noone can find those now, because they are burried in unimportant data.
So I will not try and fix it, it's too much effort. Sorry dude
However, you can do it yourself. Use Openra.Utility.exe on command line like this:
OpenRA.Utility.exe ra --check-yaml C:\Users\<yourUserName>\Desktop\crossfiremod
and fix the issues the utility raises.
finally found some time to look at your map.
however I noticed that you copied the ENTIRE file for vehicles.yaml, infantry.yaml etc...
Fist off, you don't need to do that. For example it is enough for changing V2 health to add these lines:
Code: Select all
V2RL:
Health:
HP: 5656789
I guess you made some changes in the files, but noone can find those now, because they are burried in unimportant data.
So I will not try and fix it, it's too much effort. Sorry dude
However, you can do it yourself. Use Openra.Utility.exe on command line like this:
OpenRA.Utility.exe ra --check-yaml C:\Users\<yourUserName>\Desktop\crossfiremod
and fix the issues the utility raises.
Last edited by SirCake on Fri Jul 31, 2020 11:56 am, edited 1 time in total.
-
- Posts: 16
- Joined: Wed Apr 22, 2020 8:48 am
Re: Cant Play My Modded Map
Thanks I checked the yaml but dont understand how to fix the issue, anyways that doesnt really matter cause the map has barely any changes.SirCake wrote: ↑Wed Jul 29, 2020 8:23 amHey,
finally found some time to look at your map.
however I noticed that you copied the ENTIRE file for vehicles.yaml, infantry.yaml etc...
Fist off, you don't need to do that. For example it is enough for changing V2 health to add these lines:Code: Select all
V2: Health: HP: 5656789
I created a new custom map and did as you suggested with the V2 but the map wont start or it wont have any affect.
in map.yaml at the bottom I wrote: Rules: vehicles.yaml
in a vehicles.yaml i only have this written:
V2:
Health:
HP: 5656789
proof, in this build it has no effect:
Last edited by RedAlertMig on Fri Jul 31, 2020 7:26 pm, edited 1 time in total.
Re: Cant Play My Modded Map
you need to indent properly!
V2RL:
<TAB>Health:
<TAB><TAB>HP: 765476
also shame on me its actually V2RL!
V2RL:
<TAB>Health:
<TAB><TAB>HP: 765476
also shame on me its actually V2RL!
-
- Posts: 16
- Joined: Wed Apr 22, 2020 8:48 am
Re: Cant Play My Modded Map
^^ You are making like every mistake possible... ^^
1st mistake:The editor you are using is replacing tabs with spaces automatically.
2nd mistake: The editor insers 2 spaces, not 4.
In OpenRA you can use either, indentation with tabs OR indentation wih 4 spaces. You did neither ^^
Using tabs is the OpenRA official recommendation.
Also not that you cannot mix spaces and tabs in one file (best turn on whitespace symbols in your editor).
I started the map, fixed it and its working.
1st mistake:The editor you are using is replacing tabs with spaces automatically.
2nd mistake: The editor insers 2 spaces, not 4.
In OpenRA you can use either, indentation with tabs OR indentation wih 4 spaces. You did neither ^^
Using tabs is the OpenRA official recommendation.
Also not that you cannot mix spaces and tabs in one file (best turn on whitespace symbols in your editor).
I started the map, fixed it and its working.
- Attachments
-
- asymmetric-battle.zip
- (22.91 KiB) Downloaded 296 times
-
- Posts: 16
- Joined: Wed Apr 22, 2020 8:48 am
Re: Cant Play My Modded Map
Wow what a terrible design, never seen this in other games I modded. I was using Sublime Text as editor, I switched to Notepad++ now, which one are you using?SirCake wrote: ↑Sat Aug 01, 2020 4:46 pm^^ You are making like every mistake possible... ^^
1st mistake:The editor you are using is replacing tabs with spaces automatically.
2nd mistake: The editor insers 2 spaces, not 4.
In OpenRA you can use either, indentation with tabs OR indentation wih 4 spaces. You did neither ^^
Using tabs is the OpenRA official recommendation.
Also not that you cannot mix spaces and tabs in one file (best turn on whitespace symbols in your editor).
I started the map, fixed it and its working.
Do you know why when I place my custom 3tnk.shp in my mod folder it doesn't replace the heavy tank in game?
Thanks for fixing and explaining how it works.
Re: Cant Play My Modded Map
I have already noticed, you are not the most polite guy.RedAlertMig wrote: ↑Sat Aug 01, 2020 6:32 pmWow what a terrible design, never seen this in other games I modded.
I'm using notepad++, mostly for the powerful search functions and functional design.RedAlertMig wrote: ↑Sat Aug 01, 2020 6:32 pmI was using Sublime Text as editor, I switched to Notepad++ now, which one are you using?
Assuming you are talking about your modded map:RedAlertMig wrote: ↑Sat Aug 01, 2020 6:32 pmDo you know why when I place my custom 3tnk.shp in my mod folder it doesn't replace the heavy tank in game?
My best guess would be that you did not re-define what sprites the 3TNK: actor should render. By default its looks in the mods folders first (i think), if you do not specify a filename. (in your case 3tnk.shp)
Code: Select all
sequences:
3tnk: 3tnk.shp
idle:
Facings: 32
UseClassicFacingFudge: True
turret:
Start: 32
Facings: 32
UseClassicFacingFudge: True
muzzle: gunfire2
Length: 5
icon: 3tnkicon
If you replaced the original file in the openRA mod folder, then I don't know why it's not showing.