Home » MODDING HQ 1.13 » v1.13 Modding, Customising, Editing » v1.13 Modding, Customising, Editing » How to give new weapons to the Arulcan Army? (SOLVED)
Re: How to give new weapons to the Arulcan Army?[message #366046 is a reply to message #366043] Fri, 26 April 2024 18:18 Go to previous messageGo to previous message
Kitty

 
Messages:505
Registered:October 2017
Location: Germany
Marcus wrote on Fri, 26 April 2024 01:36
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?

-

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

First Sergeant
 
Read Message
Read Message
Read Message
Previous Topic: A semi-useless explenation about WeaponClass.xml?!?
Next Topic: Winter Camo. (Solved)
Goto Forum:
  


Current Time: Thu Jun 18 02:05:39 GMT+3 2026

Total time taken to generate the page: 0.00585 seconds