Home   Help Search Login Register  

Author Topic: coupla probs  (Read 1022 times)

0 Members and 1 Guest are viewing this topic.

Foo

  • Guest
coupla probs
« on: 14 Jan 2003, 12:50:47 »
how do u get units to kneel? like when they take something from ammo crates or lay satchel charges?

Also, anyone know how to make artillery that hits randomly(or within a cretain radius)....basically, i need to have triggers ingame if posible....i tried doing it by placing game logic wihtn a 100meter radius, then creating a shell at that pos, but, although it hits in a different place every time i play it, once the artillery is fored it hits the same place...hellp, in anyway, would be welcome

Robbo

  • Guest
Re:coupla probs
« Reply #1 on: 14 Jan 2003, 14:37:28 »
For the artillery goto the editors depot there are many scripts for artillery there with randomizing etc.
Robbo

Foo

  • Guest
Re:coupla probs
« Reply #2 on: 14 Jan 2003, 18:37:41 »
rgr, does anyone know how to make guys do the kneeling though?

Offline Blanco

  • Former Staff
  • ****
Re:coupla probs
« Reply #3 on: 14 Jan 2003, 18:45:24 »
rgr, does anyone know how to make guys do the kneeling though?

unitname switchmove "combatcrouch"     ?

« Last Edit: 14 Jan 2003, 18:46:34 by Blanco »
Search or search or search before you ask.

Offline Wolfrug

  • Addons Depot
  • Former Staff
  • ****
  • Official OFPEC Old Timer
Re:coupla probs
« Reply #4 on: 14 Jan 2003, 19:08:39 »
that particular animation can easily be achieved by using this syntax:

unitName action["REARM"]

Well, it works well for human players, with you crouching down and crouching up again when you move (like when taking stuff from an ammo box). I'm not too sure of how it effects AI players though...have to try it I suppose.

But I bet the animation also exists somewhere among the play and switchmoves...you just have to see if someone knows it, and if not, try them out for yourself :P

g'luck!

Wolfrug out.
"When 900 years YOU reach, look as good you will not!"

Foo

  • Guest
Re:coupla probs
« Reply #5 on: 15 Jan 2003, 09:22:31 »
thankin you...ill try these out  ;D

O Neil

  • Guest
Re:coupla probs
« Reply #6 on: 16 Jan 2003, 02:24:43 »
ffsm I have the combat crouch scritp, but I'm at my frienda house so I don't have my script word pad file thingy.....I'll tekll you whebnI get home....in 1/2 an hour or so.

O Neil

PS: Unless that workd for you of course.
PPS: I have a set of handmovements iof you want the as well?
(ie hand movement for gogogo!
PPPS: Why, after he finishes his hand movement he stands to At-ease?
PPPPS: It's really anoying.

O Neil

  • Guest
Re:coupla probs
« Reply #7 on: 16 Jan 2003, 05:11:22 »
Hey

I got back, now, type this in the init feild of your player to make him sitting down instantly (Good for the star of a mission:

this setbehaviour "safe"; this switchmove "effectstandsitdown"

Put this in the activation field of a waypoint:

unitname playmove "effectstandsitdown"

Or

unitname action ["sitdown"]

O Neil

Foo

  • Guest
Re:coupla probs
« Reply #8 on: 16 Jan 2003, 16:57:12 »
well, thanks but i know how to make a guy sitdown....the action rearm worked for me, so im sorted...i dont know alot of commands though, so plz send any u have 2 thecolumbianbandanaconvention@hotmail.com

Talking of that, ive looked around, and although ive found loadsa command refs, i cant find a similar guide to switchmove/playmove commands, or action commands...again, if you know where to find one, PLZ send it to me at the above address ;D

Thanks guys: again youve helped me out of a hole in my editing knowledge ;)