Home   Help Search Login Register  

Author Topic: Crouching  (Read 653 times)

0 Members and 1 Guest are viewing this topic.

Offline KJAM

  • Contributing Member
  • **
  • Why Me, Whats it For?
    • Nightstalker mod
Crouching
« on: 27 Aug 2003, 17:43:12 »
i know how to use the "this setunitpos "UP" thing to get someone to stay standing, is there a way to either:

make a person (ai) only be able to use the Stand and Crouch position thingies OR

only be able to be crouched???

Drozdov

  • Guest
Re:Crouching
« Reply #1 on: 27 Aug 2003, 18:11:16 »
I was going to create a topic on this  ::). It really would be good, particularly for use with fortifications, since these are designed to be crouched behind. Just think how hard it would be to attack a hill top sandbag fortification when all you can see is their heads sticking out. Without sniper or long range explosive support it would be nigh impossible. Instead, the AIs just hide behind them on the dirt, and don't defend their position until their enemies have already taken it. Damn loons  >:(! Unfortunately I don't think there's a way to get them to crouch. Even in-game they won't crouch when you do. Sorry if you thought this was an answer  ;).

SheepOnMintSauce

  • Guest
Re:Crouching
« Reply #2 on: 27 Aug 2003, 22:54:27 »
There was a post about trenches I read on here the other day, that might interest you. Here, it is.  :)

Offline Messiah

  • Honourary OFPEC Patron & Drinking Buddy of Wolfsbane
  • Honoured Contributor
  • ***
  • OFPEC Veteran
    • Project UK Forces
Re:Crouching
« Reply #3 on: 28 Aug 2003, 12:57:20 »
unitname playmove "crouch"

works a charm  ;)
Proud Member of the Volunteer Commando Battalion

Drozdov

  • Guest
Re:Crouching
« Reply #4 on: 28 Aug 2003, 16:19:35 »
Ah but do they stay crouched? Maybe a switchmove? Would this enable them to shoot though? Hmm.

Bruce Banner

  • Guest
Re:Crouching
« Reply #5 on: 28 Aug 2003, 17:14:32 »
Can you put something in the init to just stop them going prone? Then you would have standing and kneeling and kneeling in combat mode?

Offline KJAM

  • Contributing Member
  • **
  • Why Me, Whats it For?
    • Nightstalker mod
Re:Crouching
« Reply #6 on: 28 Aug 2003, 17:45:15 »
well
this setunitpos "UP" makes it so that the units stand up only

this setunitpos "DOWN" makes it so they can lie down only

this setunitpos "AUTO" doesnt really do anything

but i want it to be able to use UP and crouch also

SheepOnMintSauce

  • Guest
Re:Crouching
« Reply #7 on: 28 Aug 2003, 17:47:55 »
Quote
this setunitpos "AUTO" doesnt really do anything

I think it makes the AI decide what is the best position for the unit to be in.

Offline KJAM

  • Contributing Member
  • **
  • Why Me, Whats it For?
    • Nightstalker mod
Re:Crouching
« Reply #8 on: 28 Aug 2003, 18:25:10 »
i meant it didnt do anything with regards to my problem

Offline Dandy

  • Members
  • *
  • my teatcher say that there is 80% water in water
Re:Crouching
« Reply #9 on: 28 Aug 2003, 18:33:02 »
Maby this works

init:

unitname setBehaviour "combat";unitname setUnitPos "up";unitname switchMove "combattocrouch"

this will have the soldier to kneeling.

But some times he starts to stand up for no reason.
Tired of kneeling I gues.
Is there a question about monkeys? okay I gues not!

Offline KJAM

  • Contributing Member
  • **
  • Why Me, Whats it For?
    • Nightstalker mod
Re:Crouching
« Reply #10 on: 30 Aug 2003, 07:29:01 »
ive kinda figured a work around,
this setunitpos "UP" and have the man behind a sandbg wall or two, its ok cover but not too good cover

B-2-0

  • Guest
Re:Crouching
« Reply #11 on: 30 Aug 2003, 10:07:26 »
As Dandy said, this works a treat!  I don't get them standing up though.

this setBehaviour "combat"; this setUnitPos "up"; this switchMove "combattocrouch"

Kyle

  • Guest
Re:Crouching
« Reply #12 on: 30 Aug 2003, 16:55:16 »
I think (know) how to get the right effect is to do this:

this setbehaviour "combat"; this switchmove "combattocrouch"; this setunitpos "up"


I copy that out of one of the unofficial com refs and use it in my missions all the time and it always works.  Dunno if this will help but hope it will

ChEeRs,
Sniper_Kyle ;D