MegaGlest Forum

Modding and game content creation => Mods => Topic started by: Ingvarr23 on 28 January 2015, 12:54:50

Title: How to make certain troops ( dead or produced) not affect statistics?
Post by: Ingvarr23 on 28 January 2015, 12:54:50
How to make certain troops ( dead or produced) not affect statistics shown at the end of the game?  :)
Title: Re: How to make certain troops ( dead or produced) not affect statistics?
Post by: atze on 29 January 2015, 09:47:10
Do you mean this here? --> https://docs.megaglest.org/XML/Unit#count-unit-death-in-stats
Title: Re: How to make certain troops ( dead or produced) not affect statistics?
Post by: Ingvarr23 on 29 January 2015, 12:33:40
Yes, thanks  :D
Edit - It still shows that they were produced and killed (it loads just fine without any error)
Code: [Select]
<count-unit-death-in-stats value="false"/>
<count-unit-production-in-stats value="false"/>
I put this just below<unit> tag.

Edit - I put near the light tag and it worked!