Game Development Community

Would this work?

by Ted Lilljegren · in Technical Issues · 07/26/2007 (6:52 am) · 4 replies

I have searched the entire godamn net for a resource that breaks maxDamage and energy out of the datablocks, thats completly compatiable with v 1.5 but alas, i found nothing. So i was thinking of an alternate plan: i simply add a variable to the player object called something along the lines: "hp" and simply deduce theh p as the player takes damage. When the hp reaches subzero, i simply use the damagemethod to deal 101 damage to the playerobject, and use a similiar technique on energy. Is this stupid or would it be viable? If someone could kindly post a link to an maxDamage breaker resource for 1.5 that would also works. And i have tried damage breakers for earlier versions too, but they never seem to work. One worked to some extent, but when the object reached 0 health, it did not die. Thankfull for answers and other generic nettiquette.

#1
07/26/2007 (1:41 pm)
We got this working on our game with this example:

[link]http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=9774[/link]

and here is how we were using it:

[link]http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=13020[link]

if you read my post on there about 3/4 of the way down on the comments, once you break the max damage out properly you can use the syntax %this.setMaxDamage(%this.maxHP);
#2
07/26/2007 (2:26 pm)
Bloody brilliant man. Allah, Budha and all those other omnipotent concepts of humanity will bless you or something like that
#3
07/26/2007 (2:31 pm)
You should write an resource on that stuff you made(maybe you have?). It was just the thing i was looking for. I find it crazy that they have not breaked maxDamage and energy in the retail version 1.5. Health is definitvly the variable you want to keep most dynamic. Even the most incontinuate shooters have some kind of maxHealth upgrade(FEAR and Escape from Butchers Bay comes to my mind).
#4
07/26/2007 (6:01 pm)
Thanks, glad I could help