Home   Help Search Login Register  

Author Topic: Making invincible unit?  (Read 1591 times)

0 Members and 1 Guest are viewing this topic.

Landros

  • Guest
Making invincible unit?
« on: 23 Sep 2002, 12:32:10 »
i am currently making a mission where a helo needs to be hit by a missle, fly a bit in smoke and then crashes (more dramatic than just crashing eh? hehe). So far i've managed to create every single part just i can't figure out how to have to chopper get hit by a missle without dying, so is it possible to set the missle to explode near the chopper, or explode without damaging the chopper?

seanver

  • Guest
Re:Making invincible unit?
« Reply #1 on: 23 Sep 2002, 12:34:41 »
It's not possible to make a unit invincible since 1.20 version. Perhaps the better thing you can do is to camcreate a missile and another object together near the chopper in order to make the missile explode. I have no time (I've got to go to school in 1 minute) but search in the unnoficial command reference the name of a missile and the sintax is:

miss = "missiletype" camcreate [position]

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Making invincible unit?
« Reply #2 on: 23 Sep 2002, 17:43:03 »
You could repair the chopper after it was hit ... yes in mid air hehehe

chopper1 setdammage 0

or you could set the damage to 0.3 or something.    You'd need to exec this line of script at the right time:  you could have it linked to the missile in some way or you could just use a looping script.    
Plenty of reviewed ArmA missions for you to play

Offline icarus_uk

  • Members
  • *
  • LiarLiarPants Inflame True
    • [furryclan]
Re:Making invincible unit?
« Reply #3 on: 23 Sep 2002, 17:48:14 »
Make a trigger and set it to repeatedly activated.

Then in the condition put;

getdammage ChopperName > 0

And the activation put;

ChopperName setdammage 0

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Making invincible unit?
« Reply #4 on: 23 Sep 2002, 18:08:12 »
AAAaaaarrrrrggghh I've caught the overcomplication virus NNNNNNNNNNNNNNNNNNOOOOOOOOOOOOOOOOO Yes, why use a *macguba grimaces as if he's stepped in something* TRIGGER when an perfectly overcomplicated script will do.  What?  No, you can't take me away!  I'm perfectly fit I tell you - put down that straightjacket at once, it's not even my colour.   Let me go you fools, don't you know who I am?   This is an outrage!  I'll -  owmphgrfl ........




<dramatic pause>




*cough*   Hallo, I'm Mr. MacGuba's doctor and I'd like to assure you that he will be absolutely fine in a day or two.   In the meantime, I suggest you take Mr. Icarus's advice.   Good day.
Plenty of reviewed ArmA missions for you to play

Landros

  • Guest
Re:Making invincible unit?
« Reply #5 on: 24 Sep 2002, 00:34:50 »
thx a lot guys, i guess a sweet mix of all that should make it just perfect !
btw, any one would know how to simulate AA guns, like you see in the old ww2 movies, those big black puffs of smoke(smoke... and some ole' deadly shrapnel hehe)  in the air? ie could you make a rocket explode instantaniously after it's created with camcreate or something?

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Making invincible unit?
« Reply #6 on: 24 Sep 2002, 01:36:57 »
You can do it, search for a flak script somewhere.   I think the secret is to camcreate two shells at the same time in the same place and, unsurprisingly, they go BANG!

Actually I've just thought of something on the original question.      That trigger will repair the chopper even after you want it to be damaged/destroyed, so you actually need to set the trigger to once.
Plenty of reviewed ArmA missions for you to play

Offline icarus_uk

  • Members
  • *
  • LiarLiarPants Inflame True
    • [furryclan]
Re:Making invincible unit?
« Reply #7 on: 24 Sep 2002, 01:41:55 »
You can indeed create "flak".  Just camcreate two bombs at the same location in the map.

bomb1="shell120" camcreate [getpos Location select 0, getpos Location select 1, (getpos Location select )+100]

bomb2="shell120" camcreate [getpos Location select 0, getpos Location select 1, (getpos Location select )+100]

Then they will explode mid air to simulate your AA fire.

(darn website is taking like 3mins to open a fricking page!)

Yes indeed Mac.  However if the chopper gets shot at and its repaired, then no mater how many other times it gets shot at it will never repair if the trigger is set to once.  If that the desired effect though then its perfect.
« Last Edit: 24 Sep 2002, 01:47:01 by [icarus_uk] »

SimonRussi

  • Guest
Re:Making invincible unit?
« Reply #8 on: 24 Sep 2002, 08:59:08 »
Icarus:
once i tried what you suggested (i mean the trigger to amke a unit invincible) but it didn't work. When the dammage is above 0 but below 1 it works but if the dammage reach 1 it instantly trigger the end sequence (i mean the part with the "You are dead" and your body showed) and your men is showed standing and healthy, but dead... try it. I wanted that to test a mission without caring of the enemies.

Offline Chris Death

  • Former Staff
  • ****
  • Finally Death's gonna get ya
    • OFPEC
Re:Making invincible unit?
« Reply #9 on: 24 Sep 2002, 13:40:00 »
@ SimonRussi,

You cannot do this with the player (in sp).
There's no way to build custom respawn in sp.
This kind of custom respawn only works for ai's.

~S~ CD
Dont argue with idiots....they will bring you down to their level and beat you there with experience.

How to use Waypoint type Scripted

Offline icarus_uk

  • Members
  • *
  • LiarLiarPants Inflame True
    • [furryclan]
Re:Making invincible unit?
« Reply #10 on: 24 Sep 2002, 14:19:17 »
Yeah what Chris says.  Once you are dead you are dead.  You can save yourself from small arms fire (sans a headshot) but if you blowup, fall out of a plane, jump into the water - you will die and end the game.  There is no way around this.

Bremmer

  • Guest
Re:Making invincible unit?
« Reply #11 on: 24 Sep 2002, 16:35:05 »
If you are using a pre-resistance version you can check for the nearest object to your chopper of a specific type (ie your missile) and then destroy it by camcreating another missile at its position, when it gets too close to notice the difference.

Unfortunately the nearest object command is kaput in v1.75 >:(

Good luck