Jump to content
Sign in to follow this  
Geocider

Kneeling soldiers (CQB)

Recommended Posts

I searched for this many a time and found nothing, so please forgive me if I'm repeating an old question.

I've allways concidered the editor to be OFP's main attraction and I've played around with it since I got the game. One thing that I'd love to know, and haven't been able to find out is if/how it is able to make soldiers get down on their knees without implementing third party anims that would make them static and unusable. I know you can make them stand up with a command line (I can't remember it just now but I have it written down somewhere) and I'm wondering if perhaps there is a similar line for kneeling?

Thanks,

Geo

Share this post


Link to post
Share on other sites

i had a similar problem.......but came to a conclusion tht therez no command to make a soldier kneel........u have to use static 3rd party anims or perhaps the default kneel command using the "switchmove" command

Share this post


Link to post
Share on other sites

I thought I heard somewhere that if you switchmove/playmove a unit to the kneeling position, then set the unit's behaviour to Stealth, they will always return to that kneeling position.

Don't quote me on that, though.

-Pilot

Share this post


Link to post
Share on other sites
I maybe read this wrong but kneel ingame is Q?

edit *I DID!* biggrin_o.gif

hehe,  I also hate it when I grossly misunderstand something.  wink_o.gif

Of course you the player understand the concept of quick movement and kneeling in CQB situations.

It's just that those silly AI think they need to prone all the time in the middle of the street, when in reality they are only slowing themselves down and eating bullets at point blank range.  rofl.gif

So yeah, too bad there isn't a crouch command you can give AI. Hopefully AA will include something like this similar to the "stand up" and "lay down" commands. smile_o.gif

Share this post


Link to post
Share on other sites

I am told that in VBS you can use the setunitpos command to make a unit crouch, though in OFP there's no sure-fire way to do it.

Just another thing to hope for in ArmA.

Share this post


Link to post
Share on other sites

Thanks a lot guys. Guess I'll have to check out addons sites for static shooting anims, then. wink_o.gif

Share this post


Link to post
Share on other sites

try this put this in the init line

this switchMove "Crouch"

this setBehaviour "Stealth"

this setUnitPos "UP" yay.gif

Share this post


Link to post
Share on other sites
I am told that in VBS you can use the setunitpos command to make a unit crouch, though in OFP there's no sure-fire way to do it.

Just another thing to hope for in ArmA.

this setunitpos "kneel"

That's it.

Share this post


Link to post
Share on other sites

yeah but the way i say is for OFP crazy_o.gif (sum of us arnt lucky enough to get VBS1 until Armed assault)

Share this post


Link to post
Share on other sites

Hope this helps biggrin_o.gif

How to make an AI soldier to stay crouched

With him being able to open fire , then stay crouched instead of standing up

-First create a soldier , name it BOB by example

-Make for him a MOVE waypoint, edit the MOVE waypoint properties and

at the line On Activation of this waypoint put

Code Sample

BOB setbehaviour "COMBAT"; BOB setunitpos "UP"; BOB switchmove "crouch"; FIRST=true

-Now create a trigger (do not put a side at the line ACTIVATION of the trigger) , set it to Repeated

In the Min, Max, Average put 1 for each case (with 0 sometime it skip the trigger activation ,

but you can try for a better but not 100% sure result)

At the line Condition, replace the word "this" by FIRST (following my example)

At the line On Activation, put

Code Sample

BOB setunitpos "UP"; BOB switchmove "crouch"; FIRST=false; SECOND=true

-Create a second trigger (do not put a side at the line ACTIVATION of the trigger), set it to Repeated

In the Min, Max, Average put 1 for each case

At the line Condition, replace the word "this" by SECOND (following my example)

At the line On Activation, put

Code Sample

BOB setunitpos "UP"; BOB switchmove "crouch"; SECOND=false; FIRST=true

Ingame , with the loop created by the 2 triggers , as soon as

the AI soldier will arrive to the mentionned MOVE waypoint ,

he will stay in crouch position, and engage any enemy

If he want to stand up , the loop of the triggers will force him to come back in crouch position.

Share this post


Link to post
Share on other sites
yeah but the way i say is for OFP  crazy_o.gif  (sum of us arnt lucky enough to get VBS1 until Armed assault)

Yeah I know, but that's the line you type in the Init field.

Share this post


Link to post
Share on other sites
yeah but the way i say is for OFP  crazy_o.gif  (sum of us arnt lucky enough to get VBS1 until Armed assault)

Yeah I know, but that's the line you type in the Init field.

Hehe, but it doesn't work in OFP, only VBS1.

Share this post


Link to post
Share on other sites

Yeah we all know that, harass BIA about it.

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  

×