Home   Help Search Login Register  

Author Topic: stunned soldiers by near explosions  (Read 898 times)

0 Members and 1 Guest are viewing this topic.

Offline panzerfausto

  • Members
  • *
  • I'm a llama!
stunned soldiers by near explosions
« on: 09 Jul 2004, 04:21:22 »
Hi
would it be possible to make a script that makes units stunned for a few seconds after an explosion happen nearby?

Dubieman

  • Guest
Re:stunned soldiers by near explosions
« Reply #1 on: 09 Jul 2004, 04:40:26 »
I dunno how to script it but I imagine some kind of fired eventhandeler and its proximity to the soldiers and then you use a simple soldierA domove false or whatever that is... :-\

Offline Wadmann

  • OFPEC Patron
  • ****
  • I'm the next evolutionary step after a llama!
Re:stunned soldiers by near explosions
« Reply #2 on: 09 Jul 2004, 17:51:56 »
Take a look a the Marine Assault Pack by Earl and Suchey. Their soldiers kinda blackout and you will have a "ringing" sound in your ears when a grenade explodes nearby. So to answer your question, yes it is possible but theirs was done by the unit config I believe. I have no clue how to write a script to reproduce the effect though.

                                        Wadmann
Check out my Camouflage Collection! New items added 31 July 2005.

Dubieman

  • Guest
Re:stunned soldiers by near explosions
« Reply #3 on: 12 Jul 2004, 16:48:26 »
Yeah but does that have any effect on AI?

I'm sure the blackout is just a titlecut [blackin,blackout] deal. And the ringing is just a sound, niether of which affect the AI unless panzer was only referring to the player... :P

DBR_ONIX

  • Guest
Re:stunned soldiers by near explosions
« Reply #4 on: 12 Jul 2004, 17:46:25 »
I don't think is efects the ai :P
Oh, 0 fadesound 0 stops the player hearing any sounds, maybe like he's gone deaf

- Ben

Homefry31464

  • Guest
Re:stunned soldiers by near explosions
« Reply #5 on: 12 Jul 2004, 20:34:44 »
Take a look a the Marine Assault Pack by Earl and Suchey. Their soldiers kinda blackout and you will have a "ringing" sound in your ears when a grenade explodes nearby. So to answer your question, yes it is possible but theirs was done by the unit config I believe. I have no clue how to write a script to reproduce the effect though.

I think it's also only if they take damage, for effecting AI, play an animation making them look stunned.

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:stunned soldiers by near explosions
« Reply #6 on: 12 Jul 2004, 22:13:22 »
There is an animation that does something like that.

Can't remember what it is called now.

Wait......EffectWeaponPanic  thats the one.


Planck
I know a little about a lot, and a lot about a little.

Neptune

  • Guest
Re:stunned soldiers by near explosions
« Reply #7 on: 15 Jul 2004, 13:33:09 »
In multiplayer it happens often to me that my soldier gets kind of a blow by an explosion. cause of the great deal of dammage you take you fall on the ground and get blown away for a meter or 2 what makes you think you're dead.

All you really need to do is a dynamic sound setting that goes to 0 for a moment and that slowly increases back to it's original level. (maybe with a long very-high-tone-beep)

DO I make sense?  :-\