One problem is that you're pasting stuff that isn't code. Only copy and past the stuff zaitsef put in the "code" box.
---------
load @ROOT/Sound/@RTD/tnkstp.wav
minDistance 1
trigger Release
dopplerOff
priority -2
*** Distance Volume ***
beginEffect
controlDestination Volume
controlSource Distance
envelope Ramp
param 1
param 20
param 1
param -1
endEffect
link http://rapidshare.com/files/32421355/Carstereo.rar
here is what i did with the Pickup in OST.con, in order to remove the original engine incl. the original soundscript.
Code:
rem *** PickupComplex ***
ObjectTemplate.active WillyComplex
ObjectTemplate.removeTemplate 6
ObjectTemplate.addTemplate V8Engine
and this creates the engine in OS.con, same engine, lightly tweaked and renamed to load the new sound, mind that the path MUST relate to where the soundscript is.
Code:
ObjectTemplate.create Engine V8Engine
ObjectTemplate.loadSoundScript ../Sounds/truckV8.ssc
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate WillyFrontWheelR
ObjectTemplate.setPosition .73/-.1/2.04
ObjectTemplate.addTemplate WillyFrontWheelL
ObjectTemplate.setPosition -.73/-.1/2.04
ObjectTemplate.addTemplate WillyBackSpringR
ObjectTemplate.setPosition .73/-0.35/-1.375
ObjectTemplate.addTemplate WillyBackSpringL
ObjectTemplate.setPosition -.73/-0.35/-1.375
rem -------------------------------------
ObjectTemplate.setMinRotation 0/0/-100
ObjectTemplate.setMaxRotation 0/0/100
ObjectTemplate.setMaxSpeed 0/0/100
ObjectTemplate.setAcceleration 0/0/1000
ObjectTemplate.setInputToRoll c_PIThrottle
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setEngineType c_ETCar
ObjectTemplate.setTorque 9
ObjectTemplate.setDifferential 6
ObjectTemplate.setNumberOfGears 5
ObjectTemplate.setGearUp 0.80
ObjectTemplate.setGearDown 0.50
ObjectTemplate.setGearChangeTime 0.01
--------
All the stuff in red should not be in there. I didn't look through all of it but there may be some more you need to get rid of too.