Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsCog Forum → how do i set damage that a structure can take?
how do i set damage that a structure can take?
2001-01-09, 4:31 AM #1
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
I am lost and could care less if someone finds me.
2001-01-09, 10:30 AM #2
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
I'm just an old man with a skooma problem.
2001-01-09, 10:36 AM #3
thanks, i'll try that!
I am lost and could care less if someone finds me.
2001-01-09, 11:30 AM #4
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...
I am lost and could care less if someone finds me.
2001-01-09, 5:22 PM #5
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.
I'm just an old man with a skooma problem.

↑ Up to the top!