[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4668: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4670: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4671: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4672: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
Battlefield Modding Tutorials BFMODS • View topic - Weapon Damage & Speed Mod

Battlefield Modding Tutorials BFMODS

Battlefield Modding Tutorials
It is currently Sun Jun 16, 2024 6:05 am

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 12 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: Sun Jul 13, 2008 8:14 pm 
Offline

Joined: Sat Dec 30, 2006 6:14 pm
Posts: 15
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.


Top
 Profile Send private message E-mail  
 
PostPosted: Sun Jul 13, 2008 9:24 pm 
Offline
User avatar

Joined: Sun Dec 31, 2006 12:13 am
Posts: 2027
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.


Top
 Profile Send private message E-mail  
 
PostPosted: Sun Jul 13, 2008 9:35 pm 
Offline

Joined: Sat Dec 30, 2006 6:14 pm
Posts: 15
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.


Top
 Profile Send private message E-mail  
 
PostPosted: Sun Jul 13, 2008 10:46 pm 
Offline
User avatar

Joined: Sun Dec 31, 2006 12:13 am
Posts: 2027


Top
 Profile Send private message E-mail  
 
PostPosted: Sun Jul 13, 2008 11:09 pm 
Offline

Joined: Sat Dec 30, 2006 6:14 pm
Posts: 15
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.


Top
 Profile Send private message E-mail  
 
PostPosted: Sun Jul 13, 2008 11:29 pm 
Offline
User avatar

Joined: Sun Dec 31, 2006 12:13 am
Posts: 2027


Top
 Profile Send private message E-mail  
 
PostPosted: Sun Jul 13, 2008 11:32 pm 
Offline

Joined: Sat Dec 30, 2006 6:14 pm
Posts: 15


Top
 Profile Send private message E-mail  
 
PostPosted: Mon Jul 14, 2008 12:07 am 
Offline
User avatar

Joined: Sun Dec 31, 2006 12:13 am
Posts: 2027
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.


Top
 Profile Send private message E-mail  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 12 posts ]  Go to page 1, 2  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 208 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
cron
Powered by phpBB® Forum Software © phpBB Group