View Single Post
Old 08-09-2004, 06:21 AM   #12 (permalink)
AntiSocialKindaGuy
Senior Member
 
Join Date: Jul 2004
Location: London, UK
Posts: 376
Send a message via MSN to AntiSocialKindaGuy
Default

Code:
GarrisonHitKillRequiredKindOf   = INFANTRY
GarrisonHitKillForbiddenKindOf  = NONE
GarrisonHitKillCount            = 1
This is part of the code for VojnikProj. Reducing the GarrisonHitKillCount below 1 means that none are killed (I was hoping for it to take 2 shots at 0.5 but it doesn't seem to work like that).

Similarly, changing the scatter radius results in it not killing garrisoned troops in a building, merely damaging the building.

Is there a way I could do the following in INI coding? (Written in pseudo code):

Code:
If RND(6) = 1 Then
GarrisonHitKillCount = 1
Else
GarrisonHitKillCount = 0
Basically, I either want the damage to units to be lower (so it takes more shots to kill), or the uni to miss (but scatter doesn't seem to work). Any ideas?
AntiSocialKindaGuy is offline   Reply With Quote