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
There are lots of ways to create a crash adding a weapon unfortunately. I just meant they'd made the UI side much better.
In your case, make sure it references the correct SalvoStockIndex (so typically weapon 4 references index 3 since it's zero-indexed) and make sure there's a corresponding entry in the salves list (so the 4th entry in salves has a value >0 in this example). For infantry squads the weapon needs to be assigned to a soldier in the UniteDescriptor file (I forget what the mapping is called but you'll find it, it's a big list) and the number of weapons needs to match the number assigned to soldiers (so if a unit has 5 rifles as the first weapon, then 5 of the list entries in the UniteDescriptor need to have a 0). It'll make sense when you go through it.