View Full Version : how do i set damage that a structure can take?
Rogue15
01-09-2001, 07:31 AM
I'm using the mmexplosion cog, and it works, it's too easy to destroy though, how can i make it so it can take so many hits before it blows? if you prefer to email me, my email's Rogue15@tiefighter.org
GuNbOy
01-09-2001, 01:30 PM
go into the master.tpl or mots.tpl in the your project directory and edit the template's health=whatever
or maybe it is maxhealth=whatever
one of those
Rogue15
01-09-2001, 01:36 PM
thanks, i'll try that!
Rogue15
01-09-2001, 02:30 PM
it was maxhealth that needed to be done. now the it feels more real when i blow something up...maybe i should put something that can be blown up, but can take alot of damage...
GuNbOy
01-09-2001, 08:22 PM
you know what would be cool, is make a cog attached to a crate or somthing, and have a pulse that does like:
If(GetLifeLeft(crate) < 50) SetThingModel(crate, Damaged1);
have different models with scorch marks on it, and replace the models as it gets more damaged.
Powered by vBulletin® Version 4.1.5 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.