OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: SharkDog on 21 Mar 2003, 12:11:28

Title: Invincable soldier?
Post by: SharkDog on 21 Mar 2003, 12:11:28
Hi,

I am making this intro were you see a guy running towards your camera.
And behind him is an enemy squad, i want to make that the squad keeps fireing on him and misses, and some of them hit him, but the soldier wont die.

Thanks in advance,

SharkDog
Title: Re:Invincable soldier?
Post by: macguba on 21 Mar 2003, 12:18:33
Tricky one.   snYpir wrote a hard man script (I think) which means your loon will take more damage.     You could run a looping script

#loop
loon1 setdammage 0
~0.2
goto "loop"

but is almost bound to result in him being shot, dying, and recovering before he hits the ground, which would look a bit odd.

I would suggest that you set up a bunch of targets behind the camera and have the shooting squad fire at them.     It will look like they are aiming at your loons, but in fact they will be aiming at something else.

Depending on circumstances you make be able to give the shooting squad weapons with less stopping power.

Give the target loons maximum skill, so they run faster.   Obviously the shooters will have low skill.  (Unless you're using the dummy target thing, in which case high skill - so that the hit the target and not the loon - might be better.)
Or a combination of the above.

I don't know of any way to make a unit actually invincible.
Title: Re:Invincable soldier?
Post by: SharkDog on 21 Mar 2003, 22:25:27
Hmmm
Nevermind anyways, i just made a whole new intro :D
Title: Re:Invincable soldier?
Post by: Flapje on 21 Mar 2003, 23:44:16
arent you gonna say thank you?  ;)
Title: Re:Invincable soldier?
Post by: SharkDog on 22 Mar 2003, 10:16:54
Last time i said thank you ppl were ranting me that i just should press the problem solved button and that i was a dickhead posting again to say thank you.


Anyways  Thank you