Battlefield Modding Tutorials BFMODS https://battlefieldmodding.com/ssm/phpBB3/ |
|
a different way to reduce recoil https://battlefieldmodding.com/ssm/phpBB3/viewtopic.php?f=3&t=5119 |
Page 1 of 3 |
Author: | hughes351 [ Mon Jul 27, 2009 3:42 pm ] |
Post subject: | a different way to reduce recoil |
ive been looking at tanks in bf1942 and i was wondering if there was a way to make the gun barrel go back into the tank rather t hen the entire tank recoil like they did in real life. im not sure were to start i was thinking about attaching the gun to the barrel but not sure how 2 do that. |
Author: | freddy [ Mon Jul 27, 2009 4:03 pm ] |
Post subject: | Re: a different way to reduce recoil |
the aa guns works like that you want so take a look in their code |
Author: | hughes351 [ Mon Jul 27, 2009 4:33 pm ] |
Post subject: | Re: a different way to reduce recoil |
ive been looking at the code dont see anything about how the barrel only moves unless its free floating.. or just the entire thing is embeded with the ground making it not move |
Author: | WhatThe [ Mon Jul 27, 2009 5:48 pm ] |
Post subject: | Re: a different way to reduce recoil |
even when the barrel goes back into the tank the tank will recoil a little, just look at any modern tank that does that. |
Author: | Senshi [ Mon Jul 27, 2009 6:05 pm ] |
Post subject: | Re: a different way to reduce recoil |
Yup, the recoil concept in BF42 is okay, the problem is the coding of the "wheels". In BF42 Vanilla the tanks are way too light and appear to have super suspensions...Which looks just plain weird (worst: Tiger tank...bounces forever after shooting). In every of the bigger mods this was quickly corrected. Just take a look on the physics.con of the tanks in FH/BG/DC and you will find how things should be. However, the gun barrel does already "go back into" the tank, but: that's a pure cosmetical matter and defined in the weapons.con with the recoil parameters (force and speed), the actual power of recoil is controlled by fireingforce, also in weapons.con. Would also be an easy way to reduce recoil. Flaks don't have recoil because they are stationary, obviously. An object without mobile physics has no means of bouncing... |
Author: | hughes351 [ Mon Jul 27, 2009 6:16 pm ] |
Post subject: | Re: a different way to reduce recoil |
well i think that the supspension completely messed up so i added like 150000 weight to the tank (idk the measurements used) and i lowered the fireing force edit: adding weight just made it fly when i went off a cliff |
Author: | Senshi [ Mon Jul 27, 2009 6:46 pm ] |
Post subject: | Re: a different way to reduce recoil |
Where and how did you add "weight"? Only adding weight won't do the trick. You need to alter the suspension as well or things won't be good. Most mods achieved best results by adding more "wheels" to the tanks. In BF42 vanilla tanks are - regarding physics - simple 4wheeled cars. And not the kind of car with sports suspension... And yeah, that doesn't go well with tracks and a huge cannon. |
Author: | hughes351 [ Mon Jul 27, 2009 6:57 pm ] |
Post subject: | Re: a different way to reduce recoil |
im thinking about trying to convert some of the dc suspension into vanilla suspension or just add more 2 each track |
Page 1 of 3 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |