Need Help with some sping stuff

Ask questions, discuss ideas, get answers
User avatar
BotHunter
Posts: 480
Joined: Thu Jan 10, 2013 11:22 pm
Contact:

Need Help with some sping stuff

Post by BotHunter »

Video here: http://www.youtube.com/watch?v=cKiYKnrR ... e=youtu.be

This is as good as I can possibly get it! Can anyone tell me how to fix this?? I've messed with .Grip and .Setvehicletype And also with SetStrength and SetDamping but this is as good as I can get it. the code is here:

Code: Select all

rem *** T34Engine ***
rem TopSpeed: 47 km/h
ObjectTemplate.create Engine T34Engine
ObjectTemplate.setNetworkableInfo T34EngineInfo
ObjectTemplate.setAttachToListener 1
ObjectTemplate.loadSoundScript Sounds/T34Engine.ssc
ObjectTemplate.hasMobilePhysics 1
rem -------------------------------------


ObjectTemplate.addTemplate T34TrackR
ObjectTemplate.setPosition 9.292/-1.244/7.987

rem =========================================================
ObjectTemplate.addTemplate T34TrackR
ObjectTemplate.setPosition 6.708/-1.244/7.987
rem =========================================================

ObjectTemplate.addTemplate T34TrackR
ObjectTemplate.setPosition 9.292/-1.3/-7.987

rem =========================================================
ObjectTemplate.addTemplate T34TrackR
ObjectTemplate.setPosition 6.708/-1.243/-7.987
rem =========================================================


ObjectTemplate.addTemplate T34TrackL
ObjectTemplate.setPosition -9.292/-1.242/7.987

rem =========================================================
ObjectTemplate.addTemplate T34TrackL
ObjectTemplate.setPosition -6.708/-1.242/7.987
rem =========================================================

ObjectTemplate.addTemplate T34TrackL
ObjectTemplate.setPosition -9.292/-1.3/-7.987

rem =========================================================
ObjectTemplate.addTemplate T34TrackL
ObjectTemplate.setPosition -6.708/-1.241/-7.987
rem =========================================================







rem -------------------------------------
ObjectTemplate.setMinRotation -1/0/-1
ObjectTemplate.setMaxRotation 1/0/1
ObjectTemplate.setMaxSpeed 4/0/10
ObjectTemplate.setAcceleration 4/0/10
ObjectTemplate.setInputToYaw c_PIYaw
ObjectTemplate.setInputToRoll c_PIThrottle
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setEngineType c_ETTank
ObjectTemplate.setTorque 3.5
ObjectTemplate.setDifferential 3.5
ObjectTemplate.setNumberOfGears 5
ObjectTemplate.setGearUp 0.95
ObjectTemplate.setGearDown 0.45
ObjectTemplate.setGearChangeTime 0.05


rem *** T34WheelL3Dummy ***
ObjectTemplate.create Spring T34WheelL3Dummy
ObjectTemplate.geometry T34_whe3R_M1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFEngineDummyGrip
ObjectTemplate.setStrength 0
ObjectTemplate.setDamping 0


rem *** T34WheelL3 ***
ObjectTemplate.create Spring T34WheelL3
ObjectTemplate.setNetworkableInfo SpringInfo
ObjectTemplate.geometry T34_whe3R_M1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFEngineGrip
ObjectTemplate.setStrength 7
ObjectTemplate.setDamping 0


rem *** T34WheelL3DummySmoke ***
ObjectTemplate.create Spring T34WheelL3DummySmoke
ObjectTemplate.geometry T34_whe3R_M1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFEngineDummyGrip
rem -------------------------------------
ObjectTemplate.addTemplate e_wdustPanzL
ObjectTemplate.addTemplate e_wdustPanz
rem -------------------------------------
ObjectTemplate.setStrength 0
ObjectTemplate.setDamping 0


rem *** T34WheelR3Dummy ***
ObjectTemplate.create Spring T34WheelR3Dummy
ObjectTemplate.geometry T34_whe3L_M1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFEngineDummyGrip
ObjectTemplate.setStrength 0
ObjectTemplate.setDamping 0


rem *** T34WheelR3 ***
ObjectTemplate.create Spring T34WheelR3
ObjectTemplate.setNetworkableInfo SpringInfo
ObjectTemplate.geometry T34_whe3L_M1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFEngineGrip
ObjectTemplate.setStrength 7
ObjectTemplate.setDamping 0


rem *** T34WheelR3DummySmoke ***
ObjectTemplate.create Spring T34WheelR3DummySmoke
ObjectTemplate.geometry T34_whe3L_M1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFEngineDummyGrip
rem -------------------------------------
ObjectTemplate.addTemplate e_wdustPanzL
ObjectTemplate.addTemplate e_wdustPanz
rem -------------------------------------
ObjectTemplate.setStrength 0
ObjectTemplate.setDamping 0
Thanks!!
Walk quietly and carry a sniper rifle
User avatar
Swaffy
Posts: 1715
Joined: Sun Aug 29, 2010 9:25 pm
Location: Cibolo, Texas

Re: Need Help with some sping stuff

Post by Swaffy »

You set the Damping to 0.
Try making it 5.
(Forum Thread|Download) Swaffy'sMod v0.34 | Download link to come Soon™
User avatar
BotHunter
Posts: 480
Joined: Thu Jan 10, 2013 11:22 pm
Contact:

Re: Need Help with some sping stuff

Post by BotHunter »

Walk quietly and carry a sniper rifle
User avatar
Swaffy
Posts: 1715
Joined: Sun Aug 29, 2010 9:25 pm
Location: Cibolo, Texas

Re: Need Help with some sping stuff

Post by Swaffy »

The only thing I have left is to check to see if the collision mesh is hitting the ground when the vehicle sits on the ground.
Try lowering the position of the tracks so that the body is raised up. I say lower it by 4 or 5 so that there can be an obvious difference.
(Forum Thread|Download) Swaffy'sMod v0.34 | Download link to come Soon™
User avatar
BotHunter
Posts: 480
Joined: Thu Jan 10, 2013 11:22 pm
Contact:

Re: Need Help with some sping stuff

Post by BotHunter »

Nuts! :| It just seemed to make it worse :? This is so weird!!
Walk quietly and carry a sniper rifle
User avatar
Vilespring
Posts: 740
Joined: Sat Nov 24, 2012 5:47 am
Location: Somewere in the United States

Re: Need Help with some sping stuff

Post by Vilespring »

Too many treads in the engine. Make mini-engines, and try it.
A picture is worth a thousand words, but takes up three thousand times the memory.

Area 51: http://battlefieldarea51mod.weebly.com/

Image
"I didn't steal your pizza"
User avatar
BotHunter
Posts: 480
Joined: Thu Jan 10, 2013 11:22 pm
Contact:

Re: Need Help with some sping stuff

Post by BotHunter »

I added 3 engines, two treads each, But it still doesn't work. :|
Walk quietly and carry a sniper rifle
User avatar
BotHunter
Posts: 480
Joined: Thu Jan 10, 2013 11:22 pm
Contact:

Re: Need Help with some sping stuff

Post by BotHunter »

Does anyone else have any Ideas to what could be going on?
Walk quietly and carry a sniper rifle
Shrooms
Posts: 70
Joined: Wed Aug 11, 2010 12:35 am

Re: Need Help with some sping stuff

Post by Shrooms »

Any changes to TrackL and TrackR in objects.con ?

Set a damping value for T34WheelR3 and T34WheelL3... 2. The front most wheel and back most wheel in the track objects.con need strengh and damping values, or the vehicle will tip and then terrain clips through with the dummy wheels causing it to bounce
User avatar
BotHunter
Posts: 480
Joined: Thu Jan 10, 2013 11:22 pm
Contact:

Re: Need Help with some sping stuff

Post by BotHunter »

There are no changes to TrackR or TrackL and if I give it any damping values then it tends to bounce more. :?
Walk quietly and carry a sniper rifle
Post Reply