Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
I know it is from either resource/interface/scene/unit_icon or /unit_icon_small.
Maybe try to check if there is any file for it there or create a new one to test things out.
So If it was a vehicle from another mod, I could just use its entity name that I can get from the editor?
Man this is my first foray into MOW scripting at all, Thanks in advance for the patience.
I've taken a mod vehicle and moved it to another category.
(I've changed it's unique tank number to 1 and the preceding category to medium instead of heavy)
However, strangely enough, It doesn't spawn UNTIL I switch back to the heavy category, then both the T14 and the M-51 Super Sherman spawn in the same place.
WHY!?!?
I suppose I'll look more into the German side of things since their bonustanks category does have working medium vehicles to spawn while no other nation does.
The M4A4 is an actual vehicle.
Just go to resource\entity\-vehicle\XXX\NAME.def.
The name of the .def file is the name of the entity.
Check out what folder it is in, or just choose yourself.
Button Script:
The line at the top of the script dictates what category the button will be, so cheat_usa_tank_medium_m4a4 will be a US medium tank.
Likewise, cheat_usa_bonustank_medium_m4a4 will be a US medium mod tank.
Also, end of the path must be the entity name of the vehicle, so a Tiger II (P) path would look like:
cheat_ger_bonustank_heavy_pz6bp
The image is also usually the same as the name of its entity, which can be found in the editor, it's just the name used to spawn it.
The eventEnd is where the unique vehicle number is made. MAKE SURE that there is no other vehicle in the subcategory with the
same number. There can only be one cheatmod/spawn/tank/1 inside of cheat_usa_tank_medium and so forth.
To double check, use ctrl+f and search, for example, german heavies, cheats/tanks/german/heavy/1 then 2 and so forth, if it
yields no results, then the number is not used yet and is safe. (This searches the spawning script, but the spawning script and
button script share numbers.)
The order in which the scripts are listed here is the order in which they will appear in the menu
The nations are abreviated as such: Germany = ger | America = usa | Britain = uk | Russia = rus | Japan = ♥♥♥
Spawn Script:
The nations in THIS side of the script are abreviated differently.
Germany = german | America = american | Britain = eng | Russia = rus | Japan = ♥♥♥
The first line of the spawn script must end similar to the eventEnd, using the m4a4 example.
cheats/tanks/american/medium/10
The number at the end is the number at the end of eventEnd.
The next three items in the script are numbered 1,2, and 3.
1. Must be the eventEnd from the above, the one with the unique number
2. Is specific to the category the vehicle is in, the numbers for which will be listed in this cheat sheet
3. Is the country, the numbers for countries will also be listed in this cheat sheet
Down the script a bit there is a subsection called tag. It will look like tag cheat_eng_crew for an english vehicle.
I think you know what to do now, but just in case, change the nation to whatever nation is needed for the vehicle.
Of course, under the spawn category you will find the entity, which should be the entity name of the vehicle
Under Event the second event should be the same as the eventEnd from the button script (eg:"cheatmod/spawn/tank/2")
The last category is trigger with a subcategory of name, the name will be the same as the first line of the spawn script.
And if you've followed good practices the number at the end should be the same as the eventEnd.
(eg:"cheats/tanks/eng/medium/2")
COUNTRY CODES
german =1
american =2
eng =3
rus =4
♥♥♥ =5
CATEGORY CODES
Vanilla
artillery =13
btr =12
light =9
medium =10
heavy =11
Mod Tanks
btr =30
light =31
medium =32
heavy =33
2. "Find the calliope and paste this under it:" I wonder what you mean by that? What's a Calliope? ;-;
Can you add other thing as well like planes, infantry and other thing in the spawn list?