Home
Intel Depot
Editors Depot
Missions Depot
Addons Depot
Forum
Home
Help
Search
Login
Register
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
Reverse a tank?
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: Reverse a tank? (Read 717 times)
0 Members and 1 Guest are viewing this topic.
Void-DK
Guest
Reverse a tank?
«
on:
12 Jun 2004, 14:42:15 »
aka making it reversing through a trigger - ala the "backwards key" when you are in it as a commander.
Anyone know the command line for it?=)
Thanks in advance
-Tet
Logged
rhysduk
Former Staff
Re:Reverse a tank?
«
Reply #1 on:
12 Jun 2004, 14:52:52 »
Dont you just press S and the driver goes bacwards ?
SideRadio : Reverse.
Or have i misunderstood your question?
Rhys
Logged
Reviewed Missions Board
: Please
Read
the
User's Guide
before posting!
Pride and Joy 1 (HW100-T)
macguba
Former Staff
Re:Reverse a tank?
«
Reply #2 on:
12 Jun 2004, 18:49:22 »
I think he means, how do you make it happen from a trigger: what is the code?
Dunno.
Logged
Plenty of
reviewed ArmA missions
for you to play
Skanderborgvej
Guest
Re:Reverse a tank?
«
Reply #3 on:
12 Jun 2004, 21:28:10 »
Can it not be done with setvelocity? Dunno also really...
Logged
surpher
Members
Re:Reverse a tank?
«
Reply #4 on:
13 Jun 2004, 11:05:51 »
Yes it can just experimented. Put a tank on the map with the direction set at 270, and put the following in a trigger.
tank setvelocity [ 50, velocity tank select 1, velocity tank select 2]
You just have to play around with the direction.
Logged
DBR_ONIX
Guest
Re:Reverse a tank?
«
Reply #5 on:
13 Jun 2004, 11:22:28 »
I think he means that he wasnts the tank to drive backwards.. Like when you press the S button
Is this for a cut scene or what?
Setvelocity will make the tank slide backwards really quickly, and slow down quickly too.. YOu need to make a script that hcecks if the tank is under 40 velocty, and setveolcity him again etc.. NOt the best..
-Ben
Logged
surpher
Members
Re:Reverse a tank?
«
Reply #6 on:
13 Jun 2004, 11:37:55 »
A velocity of 50 does not look to bad. I suppose it depends on how far he wants to reverse the tank, and wether in a straight line or not. Attached the mission file anyway.
Logged
Void-DK
Guest
Re:Reverse a tank?
«
Reply #7 on:
19 Jun 2004, 17:42:47 »
Want it to reverse for 200-300+ meters, its to be used in the actual mission not in a cutscene, with a tank position thats pulling(boxing its way) away from the line with you (tanks in the real world rarely do a 180 turn like ofp tanks tends to do)
Dont you just press S and the driver goes bacwards ?
Thats the thing i want em to do - but through a trigger and without me being in the tank
-Tet
«
Last Edit: 19 Jun 2004, 17:43:31 by Void-DK
»
Logged
DBR_ONIX
Guest
Re:Reverse a tank?
«
Reply #8 on:
19 Jun 2004, 22:04:49 »
Hmm.. Thats what I though you meant..
But I don't think it's possible..
You could try the setvelocity -50 repeatedly idea...
You can't really make the AI press buttons, if ya see what I mean
- Ben
Logged
Void-DK
Guest
Re:Reverse a tank?
«
Reply #9 on:
22 Jun 2004, 19:17:25 »
Aye i see what you mean, but was hoping that the driver got a command, when you pressed the backwards button - could seem like it atleast.
-Tet
«
Last Edit: 22 Jun 2004, 19:18:14 by Void-DK
»
Logged
Void-DK
Guest
Re:Reverse a tank?
«
Reply #10 on:
23 Jun 2004, 13:58:39 »
Thanks alot for the help guys =)
-Tet
Logged
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
Reverse a tank?
Top of page