Jump to content
Sign in to follow this  
prodetar2

kneel position

Recommended Posts

hey folks im busy with a WW2 mission with the liberation mod

and im trying to let a soldier be kneeled behind a barrel but i can only make him stand or be prone

how can i solve this?

Share this post


Link to post
Share on other sites

OPF MISSIONS

<span style='color:red'>(only for official Opf, Opf:R & RH missions)</span>

Mission Editing And Scripting at the bottom of the main forums page is for mission editing questions and stuff! wow_o.gif

Share this post


Link to post
Share on other sites
OPF MISSIONS

<span style='color:red'>(only for official Opf, Opf:R & RH missions)</span>

Mission Editing And Scripting at the bottom of the main forums page is for mission editing questions and stuff! wow_o.gif

uuh sorry didnt notice i take it a moderator will move the topic? whistle.gif

also do YOU know the answer? smile_o.gif

Share this post


Link to post
Share on other sites

Moving.

I think there was a solution for that problem, but can't remember how it was done or where it was posted.

It's not as easy as with ArmA though.

Share this post


Link to post
Share on other sites

I got a slight solution. But the AI will most likely get up once they spot the enemy though. But anyway here's what i have.

Put a unit on the map. Name the unit. In his init field put the following:

this setbehaviour "combat"; this setunitpos "up"

Then make a trigger over the unit and group the trigger to the unit. In that trigger's on activation field you place the following:

name of unit switchmove "combattoweapon"

Where 'name of unit' will be replaced by whatever name you gave the unit. Now this works untill that unit has spotted the enemy, then he will get up. You can probably force him somehow to stay that way through a small script but that's up to you tounge2.gif

Share this post


Link to post
Share on other sites

THNX ill try that!

and if they stand up i dont mind at all they die anyways :P

EDIT:

the soldiers are prone i meant that they are kneeled you know? sitting on your knees?

or is it the wrong anim name?

EDIT2:

yes wrong name smile_o.gif

CombatToCrouch is the one biggrin_o.gif i found it at ofpec thnx anyways smile_o.gif

Share this post


Link to post
Share on other sites

uuh offcourse i do... but whats the difference? i said its what i think the same...

Share this post


Link to post
Share on other sites

Liberation mod comes with a set of scripts developed from the AI cover script which has the unit crouched and then standing, repeatadly, or lying down to crouch. Take a look in the Libmod directory there is an example mission in there.

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  

×