Battlefield Modding Tutorials BFMODS https://battlefieldmodding.com/ssm/phpBB3/ |
|
Giving a fighter bomb, rocket physics https://battlefieldmodding.com/ssm/phpBB3/viewtopic.php?f=3&t=1897 |
Page 1 of 1 |
Author: | dunawayc [ Sat Jan 14, 2006 3:39 am ] |
Post subject: | Giving a fighter bomb, rocket physics |
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? |
Author: | Why Two Kay [ Sat Jan 14, 2006 3:58 am ] |
Post subject: | |
You are adding the engine to the bomb, not to the airplane. Is this what you want to do? |
Author: | dunawayc [ Sat Jan 14, 2006 4:20 am ] |
Post subject: | |
Yes, I want the bomb to shoot forward like a rocket instead of drop straight down. |
Author: | Why Two Kay [ Sat Jan 14, 2006 4:42 am ] |
Post subject: | |
Author: | dunawayc [ Sat Jan 14, 2006 7:56 pm ] |
Post subject: | |
Author: | Why Two Kay [ Sat Jan 14, 2006 8:56 pm ] |
Post subject: | |
Author: | Diablorz [ Fri Feb 03, 2006 2:05 am ] |
Post subject: | |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |