Battlefield Modding Tutorials BFMODS https://battlefieldmodding.com/ssm/phpBB3/ |
|
Weapon Damage & Speed Mod https://battlefieldmodding.com/ssm/phpBB3/viewtopic.php?f=3&t=4178 |
Page 1 of 2 |
Author: | ahi [ Sun Jul 13, 2008 8:14 pm ] |
Post subject: | Weapon Damage & Speed Mod |
Hello, I'm in need of some help. How do I change the damage of the guns on the Zero plane, such as splash damage. I have read the tutorials on changing weapon attributes, but am very confused and can't figure it out. Also, how do I change the speed mod, so that planes won't blow up when they touch ground. But at the same time, be able to run people over and what not. Maybe some code samples, or a point in the right direction? Thank you. |
Author: | Iced Earth [ Sun Jul 13, 2008 9:24 pm ] |
Post subject: | Re: Weapon Damage & Speed Mod |
It depends what kind of damage you want the guns to do... You want splash damage on them? You could mess with a current projectile thats not being used on that map, or you could make a new material number for the zero guns, and give them splash damage. Speedmod...I'm not at my gaming pc so I don't have access, but check objects.rfa. The zero should already have a speedmod of probably 2 or 3. A speedmod of 0 means its basically indestructable with collisions...you can probably tweak it to your liking. More info on the guns! I can help you more when I know what you're going for. |
Author: | ahi [ Sun Jul 13, 2008 9:35 pm ] |
Post subject: | Re: Weapon Damage & Speed Mod |
Thank you. Yeah, I am having a hard time understanding the projectile and weapon attribute stuff. I just want the Zero bullets to be stronger, like one hit kill, along with splash damage, but not huge, just something where if you shoot within like 5 feet of a soldier, or vehicle, their hit. Thanks for the info regarding the speed mod, I'll try and go look for the code in the objects.rfa. |
Author: | Iced Earth [ Sun Jul 13, 2008 10:46 pm ] |
Post subject: | Re: Weapon Damage & Speed Mod |
Author: | ahi [ Sun Jul 13, 2008 11:09 pm ] |
Post subject: | Re: Weapon Damage & Speed Mod |
Thanks for all of the info, it's helped a lot. Let me get this straight, I have to edit the game.rfa in order for the new material number to work, right? Since if I just had that code in my objectspawntemplates, it wouldn't be able to indentify 801, since it's not defined, thus it wouldn't do anything. If I didn't make my own material, I could just use one of the predefined ones that's not on the map I am patching, and just insert that into material1 and material 2 (corresponding that is), without doing anything else. Material1, 213, isn't changed at all, because it already 1 hit kills, right? I only have to change material2, the splash. The radius is 3 because that's the size I am looking for. You compared it to 12, and that is pretty large, so 3 sounds about right. Okay, that is how I see everything of what you wrote, correct me if I am wrong please. Thank you. |
Author: | Iced Earth [ Sun Jul 13, 2008 11:29 pm ] |
Post subject: | Re: Weapon Damage & Speed Mod |
Author: | ahi [ Sun Jul 13, 2008 11:32 pm ] |
Post subject: | Re: Weapon Damage & Speed Mod |
Author: | Iced Earth [ Mon Jul 14, 2008 12:07 am ] |
Post subject: | Re: Weapon Damage & Speed Mod |
Awesome, if it didn't do any splash damage to vehicles, then you don't need to define all that code. And yes, you're right, it should only effect soldiers. A easy way of doing this is patching a single player pacific map. |
Page 1 of 2 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |