I wanted to change the fighter's (bf109, spit, etc.) on vanilla BF'42 to the rocket used in the bazooka. While it worked on a SSM, you could not see the rocket unless you had the map client side.
Next I decided to add and engine to the existing FighterBomb to see if I could get it to move in any direction but down, but I have had no luck so I thought someone here might be able to help me.
Here is what I have tried, to no avail: I used the Elco engine because I am already using the Katyusha engine and Torpedo_engine for my NO2 on the jeeps. This code was added to the ObjectTemplates.con for El Alamein.
ObjectTemplate.Active Elco80_Engine
ObjectTemplate.setEngineType c_ETRocket
ObjectTemplate.setMaxSpeed 0/0/100000
ObjectTemplate.setAcceleration 0/0/100000
ObjectTemplate.setTorque 250.0
ObjectTemplate.setDifferential 300.0
ObjectTemplate.Active FighterBomb
ObjectTemplate.addTemplate Elco80_Engine
ObjectTemplate.setPosition 0/0/0
ObjectTemplate.setRotation 0/0/0
ObjectTemplate.mass 1
I changed the mass of the bomb thinking that was affecting the "rocket". While it does not crash SS, it has discernible effect either.
Can anyone help? Is what I am attempting even possible?
|