Home   Help Search Login Register  

Author Topic: Put your hands UP!  (Read 952 times)

0 Members and 1 Guest are viewing this topic.

bmgarcangel

  • Guest
Put your hands UP!
« on: 01 Apr 2003, 06:05:54 »
Hey guys,

Ok two questions, first, how do you make a soldier put his hands behind his head, second, how do you get that StrokeFist thing to work on a soldier?
Brendan G

Offline OFPWiZard

  • Members
  • *
Re:Put your hands UP!
« Reply #1 on: 01 Apr 2003, 06:10:40 »
Hands Behind Head:
unitname switchMove "FXStandSurUniv"

unitname playMove "StandStrokeFist"

OK! ;D cool

They all work correctly, just make the activation in the trigger the side that is the soldier's side then in the on activation put one of those commands
« Last Edit: 01 Apr 2003, 06:14:36 by OFPWiZard »

Uberminch

  • Guest
Re:Put your hands UP!
« Reply #2 on: 01 Apr 2003, 06:15:16 »
Don't forget to use "removeallweapons this" before you use the strokegun code.  ;)

Wait, this makes no sense. Ignore it.
« Last Edit: 01 Apr 2003, 06:16:29 by Uberminch »

Offline OFPWiZard

  • Members
  • *
Re:Put your hands UP!
« Reply #3 on: 01 Apr 2003, 06:18:09 »
It will work to with a gun, he puts his hands behind his back... with the playMove commands

but if you want no weapons yes put this:

removeAllWeapons this; unitname playMove "FXStandSurUniv"

bmgarcangel

  • Guest
Re:Put your hands UP!
« Reply #4 on: 01 Apr 2003, 06:26:11 »
RRrrrrrrr.........I know the removeweaponscommand and alot of others ok guys.

Anyways, I tried both, and both work.  One thing.  or actually two things.  First off, the strokefist thing, what could that be used for?  

Second thing, its weird when the guy puts his hand behind his back you know, and if you shoot him up he'll remain standing but he is actually dead you know.  

Offline OFPWiZard

  • Members
  • *
Re:Put your hands UP!
« Reply #5 on: 01 Apr 2003, 06:51:37 »
Hello

Question 1:
What can you do to make it look like a person is punching someone else, and have the other person fall over?
Question 2:
How to make a person fall down after getting shot when he is in a switchMove/playMove?

Answer 1:
Have two people (West and East Soldier)
Name them w1 and e1, in each Initilization Field put
this setCaptive true; this setBehaviour "CARELESS"; removeAllWeapons this;.  
Lets have the West soldier punch the other guy.
Put them in front of each other
west --> o                          o <-- east
Have the East soldier (e1) move in front of the West soldier (w1),by using a waypoint.  Have a trigger Axis A: 5 Axis B: 5, Rectangle, Activation: East - Present, and put this in the On Activation Field: w1 playMove "StandStrokeFist"; e1 playMove "CombatRunBDyingVer2".  Put the trigger over the waypoint that is close to the West soldier (w1).  Give room so when (e1) starts to punch, (w1) is still running to (e1) and then when (w1) punches, (e1) falls of backwords.  It will look like a man running to another and gets hit and falls over.
Quote
Might need to move around things to get it right.

Answer 2:
Make two soldiers (Player and AI) name the AI - s1.  In the Initilization Field of (s1) put:
s1 switchMove "FXStandSurUniv"
Make a trigger Axis A: 0 and Axis B: 0, in the Condition Field put this:
NOT alive s1
and in the On Activation put this:
s1 switchMove "EffectStand"
or
s1 switchMove "Null"
This will make the person stop what his doing if his in a switchMove/playMove. It will also make the soldier fall over (in this case) after he gets shot.

I hope this helps.

Bye
« Last Edit: 01 Apr 2003, 07:02:38 by OFPWiZard »

bmgarcangel

  • Guest
Re:Put your hands UP!
« Reply #6 on: 01 Apr 2003, 06:59:58 »
ok ......

I get the second answer but not the first quite well here.  

Offline OFPWiZard

  • Members
  • *
Re:Put your hands UP!
« Reply #7 on: 01 Apr 2003, 07:01:03 »
Ok then, want me to make the mission for you?  or make the picture?

bmgarcangel

  • Guest
Re:Put your hands UP!
« Reply #8 on: 01 Apr 2003, 07:02:14 »
yes a mission example would safe me the horror.  Please that is1 :-\

Offline OFPWiZard

  • Members
  • *
Re:Put your hands UP!
« Reply #9 on: 01 Apr 2003, 07:03:39 »
i will send it to you email when i am done.  5 to 10 minutes
« Last Edit: 01 Apr 2003, 07:04:27 by OFPWiZard »

bmgarcangel

  • Guest
Re:Put your hands UP!
« Reply #10 on: 01 Apr 2003, 07:18:19 »
I already found out how to do it man.  Hmmm...thanks anyways man.  here is the mission, is it correctly done?

Offline OFPWiZard

  • Members
  • *
Re:Put your hands UP!
« Reply #11 on: 01 Apr 2003, 07:51:01 »
HERE:

hope you like it, sorry it took a long time, more than i said.  i needed to do something.


bmgarcangel

  • Guest
Re:Put your hands UP!
« Reply #12 on: 01 Apr 2003, 16:12:04 »
OFPwizard, I already made one man