Reverse Turbo

Ask questions, discuss ideas, get answers

Reverse Turbo

Postby wasabi » Sun Oct 04, 2020 3:29 am

Hello,

On our El Alamein CTF map I add Turbo to the jeeps as follows.

I know there's a way to also add "reverse turbo" so that "left click" propels the vehicle backward. Does anyone know how this is done?

Thank you!

ObjectTemplate.Active Kubelwagen
ObjectTemplate.speedMod 0
ObjectTemplate.explosionForceMod 5
ObjectTemplate.addTemplate KatyushaRocket_Engine
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.setRotation 0/0/0
ObjectTemplate.addTemplate KatyushaRocket_Engine
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.setRotation 0/0/0
ObjectTemplate.Active KatyushaRocket_Engine
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setInputToRoll c_PIAltFire
ObjectTemplate.setEngineType c_ETPlane
ObjectTemplate.setMaxSpeed 0/0/100000
ObjectTemplate.setAcceleration 0/0/100000
ObjectTemplate.setTorque 15
ObjectTemplate.setDifferential 15.0
wasabi
 
Posts: 18
Joined: Tue Apr 21, 2020 1:16 am

Re: Reverse Turbo

Postby reegad » Mon Oct 05, 2020 12:00 am

rotating the engine 180 would work, dont recall what order X/Y/Z is in but it not XYZ.. :P
Image
reegad
 
Posts: 77
Joined: Mon Nov 09, 2009 3:43 pm

Re: Reverse Turbo

Postby wasabi » Mon Oct 05, 2020 12:28 am

Thanks, I figured it out. I had to add 2 engines with no network info (Torpedo_Engine worked)

and rotation 180/0/0.
wasabi
 
Posts: 18
Joined: Tue Apr 21, 2020 1:16 am


Return to 1942 Modding Discussion

Who is online

Users browsing this forum: Majestic-12 [Bot] and 61 guests

cron