Jump to content
Sign in to follow this  
Aganazer

How do I make unruly civilians and zombie-like behaviour?

Recommended Posts

I was thinking of making a pandemic/quarantine type of mission. Hordes of aggressive unarmed civilians would be nice.

Its been since the first Operation Flashpoint that I tried to do any editing so I am a bit rusty.

  • How do I change civilian faction to be like an enemy? I did this before, but can't remember the command name.
  • What was the command for setting their animation? I'm just looking for a hint here so I don't spend hours digging through the command reference.
  • Is there any way to make civilians try to pummel their foes with fists or throw things?
  • Is there a Molotov cocktail weapon or a good way to simulate one?

Thanks in advance for any ideas about how to make raging hordes of infected civilians.

Share this post


Link to post
Share on other sites

I can answer one point, you could use Independents or Insurgents as your 'zombies' as they will show as friendly/enemy depending on the side you wish to take and have civi models. As for the other stuff, I think I'll let one of the more experienced members try and answer those.

Share this post


Link to post
Share on other sites

1. http://www.arma2.com/comref/full.html#SidesetFriendArray

This lets you change the relation between the sides.

However for this case I think it is better to use civilians on the east side or resistance side for the zombies. So you can have normal civilians aswell (uninfected).

Easiest way to do that would be for example to place an east soldier, with propability 0 and use it as groupleader for a bunch of civilians. That will effectivly put them on the east side.

2. switchMove should do

3. ArmA2 has throwable rocks, like handgrenades

and for using fists there should be animations which you can use for that. In combination with an setHit or setDamage command.

4. if you don't want to make an addon, you could use an "fired" eventhandler and replace a certain type of grenade with some other object beeing thrown and add an particle effect to it. Things like that.

Share this post


Link to post
Share on other sites

Thanks for the ideas. I am having a hard time finding the throwable rocks. Where can I find more info about them?

I am hoping that this init will make citizens into fearless suicidal fighters.

this addweapon "StrokeFist"; this addmagazine "StrokeFist"; this setmimic "angry"; this setUnitPos "UP"; this allowFleeing 0; this setBehaviour "CARELESS"; this setSide resistance;

Share this post


Link to post
Share on other sites
Thanks for the ideas. I am having a hard time finding the throwable rocks.

Classname is "HandGrenade_Stone"

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×