Home » MODDING HQ 1.13 » v1.13 Modding, Customising, Editing » v1.13 XML Customization » Randomitem.XML (How does it work?)
Re: Randomitem.XML[message #359801 is a reply to message #359800] Tue, 28 April 2020 03:19 Go to previous messageGo to previous message
Deleted.

 
Messages:2634
Registered:December 2012
Location: Russian Federation
edmortimer wrote on Tue, 28 April 2020 05:07
Can anybody point me to information on how to modify RandomItem.xml?
You can take a look how Strohmann implemented maps with random items in SDO mod:
https://ja2svn.mooo.com/source/ja2/branches/Strohmann/Stable_Revision_7435/Data-SDO

There's also information in svn:
r5594
New feature: random items allow spawn not themselves, but an item from a brad selection
- specify random items in RandomItems.xml
- when the game creates a random item, it searches all vialbe items according to random item class and picks one randomly
- this allows mappers to place items in maps that are more independent of the xml-set used, however the random items themselves msut be the same in map&mod
- can also be used to broaden the enemy gun/item choices selection
- for more reference, see http://www.bears-pit.com/board/ubbthreads.php/topics/310793.html#Post310793

r5598
- random items can also be results of merges and item transformations

r5618
- new <usItemClass>: IC_RANDOMITEM (0x40000000 or 1073741824) is used for random items exclusively.

r5648
Reminder: Do NOT put random items into any merchant xml or BR, weirdness can occur here!



Left this community.

Report message to a moderator

Lieutenant

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: What is the Unit of visual range bonuses in Item.xml?
Next Topic: A Serious of Questions
Goto Forum:
  


Current Time: Sun Jun 14 02:12:12 GMT+3 2026

Total time taken to generate the page: 0.01635 seconds