Which script controls what spawns in ammo/health drop zones?
I wanna make it so that only 10 health pick ups spawn there.
They are generator actors. In T2 those are just actors like placing a weapon etc except they're 'generators' which could spawn ammo, weapons, and health. You could open the editor and change what's spawning there in the maps. Package them in a levels/kpf and that should replace the maps with your versions.
If you select and right click the generator then go to the kexGeneratorComponent tab you will see this.
singleObjectType # defines what the actor generates.
Health's singleObjectType numbers
#define kActor_Item_Health2 1701
#define kActor_Item_Health10 1702
#define kActor_Item_HealthFull 1703
#define kActor_Item_HealthUltra 1704
You can use the number to make sure you know which generators are health's and use it to change what it generates, that number controls what it will be even if you place a mag60 generator and change it to a different number it will change.. On the actor tab find generatorsPickUps and Health10 should be there for placing new ones if needed.
intervalTime1 means how long it takes to spawn in the first time. 0 would spawn right away the first time.
intervalTime2 means how long it will take to respawn after you pick it up
intervalTime is 15=1 second