Home » PLAYER'S HQ 1.13 » v1.13 General Gameplay Talk » More random enemy loadouts
More random enemy loadouts[message #341096] Fri, 22 May 2015 09:33 Go to next message
Rockstarz is currently offline Rockstarz
Messages:3
Registered:May 2015
Location: United States
Hello All!

Been lurking around here for a while, and I have just a small question I'd love for some of you gurus to answer. I see that the enemy loadouts come from an XML file. Is there any way to make them more randomly generated? We've got this ludicrous amount of weapons, but I feel like only a few are being used!

Report message to a moderator

Civilian
Re: More random enemy loadouts[message #341098 is a reply to message #341096] Fri, 22 May 2015 13:04 Go to previous message
Flugente

 
Messages:3499
Registered:April 2009
Location: Germany
Hi Rockstarz, welcome to the pit!

As you stated yourself, the enemy gear is defined in the EnemyGunChoices and EnemyItemChoices xmls (or their class-specific equivalents). Each time an enemy is generated, we look up the appropriate row (depending on game progress) and then draw an item at random from that list. But the list itself is fixed by the xml. If you want the enemy to use other weapons, you will have to alter these xmls, there is no 'fill xmls with random gear' functionality.



I know now that it could never work between us, as much as we wanted to, it could never be! Not because you're a rabbit, but because you're black.

If you want, you can donate to me. This will not affect how and what I code, and I will not code specific features in return. I will be thankful though.

Report message to a moderator

Captain

Previous Topic: Fox's Weapon Aiming
Next Topic: Deputy Bonus for Militia?
Goto Forum:
  


Current Time: Thu Jun 11 19:04:48 GMT+3 2026

Total time taken to generate the page: 0.00512 seconds