psarchi Posted January 11, 2019 Share Posted January 11, 2019 <configs> <append xpath="/lootcontainers"> <lootgroup name="newgroup" count="all"> <item name="ammo762mmBullet"/> <item name="ammo9mmBullet"/> </lootgroup> </append> <append xpath="lootcontainers/lootgroup[@name='weaponsBasicGuns+ammo']> <item group="newgroup" prob="1"/> </append> </configs> the debugger on game side says: 2019-01-11T13:59:09 16.315 ERR XML loader: Loading and parsing 'loot.xml' failed 2019-01-11T13:59:09 16.315 EXC lootgroup 'newgroup' does not exist or has not been defined before being reference by lootcontainer/lootgroup id='weaponsBasicGuns+ammo' can you help me how to fix this ? Link to comment Share on other sites More sharing options...
YerghaizVerot Posted January 11, 2019 Share Posted January 11, 2019 <append xpath="lootcontainers/lootgroup[@name='weaponsBasicGuns+ammo']> (Line 8) ...is missing a quotation mark at the end. It should be: <append xpath="lootcontainers/lootgroup[@name='weaponsBasicGuns+ammo']"> Link to comment Share on other sites More sharing options...
psarchi Posted January 12, 2019 Author Share Posted January 12, 2019 misspelled during coping, same error when i try running game with this modlet Link to comment Share on other sites More sharing options...
DukeW74 Posted January 12, 2019 Share Posted January 12, 2019 Use InsertBefore to move "newgroup" before it gets called by "weaponsBasicGuns+ammo" Link to comment Share on other sites More sharing options...
psarchi Posted January 17, 2019 Author Share Posted January 17, 2019 thanks, it worked. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.