How to give new weapons to the Arulcan Army?[message #366043]
|
Fri, 26 April 2024 01:36
|
|
Marcus |
|
Messages:109
Registered:November 2014 |
|
|
One-hundred-and-four new weapons are in! I'll add a dozen or so miscellaneous items and I'll be done with it!
Next on the menu: Give my new weapons to both the player and the A.I. I gave a look at the Army xml files and I found nothing to handle the thing. Can particular loadouts be made for the AI? In the mapper maybe? Some 10 years ago I played an AIMNAS version where the Arulcan army soldiers had consistently omogeneous gear, so it can be done I think. Any pointers?
[Updated on: Wed, 29 May 2024 19:01] Report message to a moderator
|
Sergeant
|
|
|
Re: How to give new weapons to the Arulcan Army?[message #366046 is a reply to message #366043]
|
Fri, 26 April 2024 18:18
|
|
Kitty |
|
Messages:466
Registered:October 2017 Location: Germany |
|
|
Marcus wrote on Fri, 26 April 2024 01:36One-hundred-and-four new weapons are in! I'll add a dozen or so miscellaneous items and I'll be done with it!
Next on the menu: Give my new weapons to both the player and the A.I. I gave a look at the Army xml files and I found nothing to handle the thing. Can particular loadouts be made for the AI? In the mapper maybe? Some 10 years ago I played an AIMNAS version where the Arulcan army soldiers had consistently omogeneous gear, so it can be done I think. Any pointers?
-
The xml in question are in ...TableData\Inventory
MercStartingGear.xml for Starting-Gear-Sets of Mercs
IMPItemChoices.xml for player characters
All the rest of the choices xml for militia and enemy
Technically, the game will either use EnemyGunChoices.xml or the GunChoices_SoldierClass.xml, depending on settings in ja2options.ini
To guarantee that both ways will work, both kind of xml would need to be edited
And since you also want to add non-weapons, the xml about item choices have to be done the same way
In case you want weapon dealers like Tony to sell them as well, look into TableData\NPCInventory
[Updated on: Fri, 26 April 2024 18:19]
How to get: latest 1.13, 7609 and more | 7609 SCI (eng) | Compiling+SVN
I need more details. (Didi Hallervorden) Report message to a moderator
|
|
|
|
Re: How to give new weapons to the Arulcan Army?[message #366047 is a reply to message #366046]
|
Fri, 26 April 2024 19:51
|
|
Marcus |
|
Messages:109
Registered:November 2014 |
|
|
Thanks!
I had a look at the files in the Inventory folder (I didn't know it existed..): It does not look complicated, just editing and a ton of decisions about what the enemy is issued.. I want the Army to be reasonably well equipped.
As a side note: Everything is well organized in .xml and easily accessible. Was it the state of the original game files, or was the thing reworked by the 1.13 crew?
Report message to a moderator
|
Sergeant
|
|
|