Home   Help Search Login Register  

Author Topic: Extent hitpoints , infantry can take more dammage?  (Read 1100 times)

0 Members and 1 Guest are viewing this topic.

Offline punisher

  • Members
  • *
Extent hitpoints , infantry can take more dammage?
« on: 25 Sep 2007, 19:12:23 »
hi
Me and a friend are making a mission when we re-enact some of the boss fights from metal gear etc. Not surprisingly in ofp they are over pretty fast. We had used some scripts on ai before to boost health but they dont seem to work on players really. Any sugestions?

attempt 1
_unit = _this select 0
_Damage = _this select 2
_unit setdammage 0
tx_damage = tx_damage - _damage
? (tx_damage <=0):_unit removealleventhandlers "hit"

attempt 2
_a=_this select 2
_russian=_this select 0
?not(alive _russian):goto "end"
~0.01
_russian setdammage 0

if (_a>0.5) then {_russian say "rusroar1"} else {_russian say "rusroar2"}
#end
exit
The Gimp clan- pushing the limits of OFP
http://www.youtube.com/user/Pigdogmeat

Offline Chrispy

  • Members
  • *
  • You never saw me! ;)
    • Delta Zero
Re: Extent hitpoints , infantry can take more dammage?
« Reply #1 on: 25 Sep 2007, 21:50:13 »
What you could do is try and get a script that regenerate's the soldier's health when he's been shot - but at the same time, manage to make it look like he's got gun wounds on him - dunno.

A search led me here:
http://www.ofpec.com/forum/index.php?action=search2

Does that help?

Chris :)
Need proof-reading for anything? Need a banner for your upcoming mod? Need a pic for your mission? Hit me up with a message. I have a bit of knowledge in Photoshop and formal/military writing.
Be sure to provide sufficient details when posting what you want requested. Thanks guys!

Offline punisher

  • Members
  • *
Re: Extent hitpoints , infantry can take more dammage?
« Reply #2 on: 26 Sep 2007, 17:54:12 »
a search led you to the search button? lol
The Gimp clan- pushing the limits of OFP
http://www.youtube.com/user/Pigdogmeat

Offline Chrispy

  • Members
  • *
  • You never saw me! ;)
    • Delta Zero
Need proof-reading for anything? Need a banner for your upcoming mod? Need a pic for your mission? Hit me up with a message. I have a bit of knowledge in Photoshop and formal/military writing.
Be sure to provide sufficient details when posting what you want requested. Thanks guys!