Home   Help Search Login Register  

Author Topic: Crouching.  (Read 599 times)

0 Members and 1 Guest are viewing this topic.

Offline Pathy

  • Former Staff
  • ****
  • I'm not a F***in llama!
    • Volcbat.
Crouching.
« on: 06 Jan 2004, 12:44:43 »
I understand its extremely difficult to force a unit to go into the crouch position. Am i right in thinking there is no command like there is for going prone or standing up.

Is there any other way you can make AI units crouch...and script it into units, but not including the player....maybe playmove, but, then doesnt that have some bad side effects, and what'd the command be anyway?

And i only want the units to be in this "crouch whilst stopped" mode when the player commands it, so the player can switch his team into a normal mode when its not appropriate, IE, you want them on bellies crawling....

Offline Zombie

  • Members
  • *
  • Beware the night, the zombie walks among you
    • USI
Re:Crouching.
« Reply #1 on: 07 Jan 2004, 14:58:11 »
well, unitname switchmove "crouch" will make the unit crouch, I have never seen any issues with this command.  Getting them to crouch via radio commands is an exercise in frustration I have discovered tho

Offline Hawkins

  • Former Staff
  • ****
  • Team 2-2
Re:Crouching.
« Reply #2 on: 07 Jan 2004, 16:22:35 »
Hmm... Well you can make a unit crouch and stay crouched this way:

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

If I remember right, that was the way to do it. You could make a script which checks the units behaviour and acts accordingly. Shouldn't be too hard.

Hawkins
« Last Edit: 07 Jan 2004, 16:23:58 by Hawkins »

m21man

  • Guest
Re:Crouching.
« Reply #3 on: 07 Jan 2004, 17:56:58 »
And the crouching units will be able to target and fire at enemies?

Offline Pathy

  • Former Staff
  • ****
  • I'm not a F***in llama!
    • Volcbat.
Re:Crouching.
« Reply #4 on: 08 Jan 2004, 13:50:00 »
Cheers guys, M21man, looks like my idea could be possible  ;)

Oh, would this then allow them to run, and if so, when they stopped moving would they go back to crouch, or would we have to execute the command again? or would we have to use a command to allow them to move again or something....

m21man

  • Guest
Re:Crouching.
« Reply #5 on: 08 Jan 2004, 15:29:00 »
I'm worried that switchmoving them might prevent them from targeting and firing at enemies.

Offline Pathy

  • Former Staff
  • ****
  • I'm not a F***in llama!
    • Volcbat.
Re:Crouching.
« Reply #6 on: 08 Jan 2004, 16:56:55 »
Thats what i meant by any bad side effects to it. ;D

Offline General Barron

  • Former Staff
  • ****
  • Semper Fi!
Re:Crouching.
« Reply #7 on: 12 Jan 2004, 04:42:15 »
Yes, units can still target and fire from being put in crouch.
HANDSIGNALS COMMAND SYSTEM-- A realistic squad-control modification for OFP
kexp.org-- The best radio station in the world, right here at home! Listen to John Richards!

Offline Pathy

  • Former Staff
  • ****
  • I'm not a F***in llama!
    • Volcbat.
Re:Crouching.
« Reply #8 on: 12 Jan 2004, 12:20:11 »
Excellant. ;)