Jump to content
Sign in to follow this  
thekreator

Weapon editing basics

Recommended Posts

I want to edit all weapons to fire at a higher muzzle velocity but know nothing about editing. I want step by step instructions on how to do it.

Share this post


Link to post
Share on other sites

You'll need to unpbo the weapons.pbo, decrypt the config.bin into a config.cpp (the editable version) using Kegetys' UNRAP Tool. Then, look for the 'class CfgAmmo' section.

Next, you'll be wanting to look for the 'typicalSpeed = XXX;' command, and you'll want to edit it under all classes (take into account the calibre etc). Then resave, and repbo the folder into a new weapons.pbo (put it in a mod folder, so yuo don't overwrite the default).

Edit: Patience is a virtue, and just because you don't get a response to a question you asked 2 hours previously, more to the point one you could have easily researched the answer to on your own using the Biki, doesn't necessitate a reply to your own thread...

Share this post


Link to post
Share on other sites

What if you wanted to change the velocity of only one weapon? Is there a way to do it without copying the whole folder?

Share this post


Link to post
Share on other sites
Then, look for the 'class CfgAmmo' section.

Next, you'll be wanting to look for the 'typicalSpeed = XXX;' command, and you'll want to edit it under all classes (take into account the calibre etc).

Actually muzzle velocity is set in cfgMagazines with "initSpeed" parameter. TypicalSpeed is related to bullet damage (speed at which bullet deals exactly the damage set in "hit").

@topic starter: learn to unPbo stuff, rip open weapon/sound addons, and see how the stuff is done. You don't have to create a whole new weapons.pbo just to change a couple of parameters. I'd recommend looking at NWD ballistics mod where he does exactly what you're after (alter muzzle velocities).

Share this post


Link to post
Share on other sites

.

Dont forget the BIS provided Sample files, contain a LOT of config and model samples/info (including MODEL.CFG, that you WON'T get from dePBO'ing many addons).

Share this post


Link to post
Share on other sites

I wonder why noone has edited muzzle velocity, it is the same with an airgun for a 5.56 ie 4 times less.

Share this post


Link to post
Share on other sites
No answers. By the way NWD ballistics is garbage.

Actually, you've had TWO Answers, the first was mine, which was incorrect, and the other was from Q1184 who corrected me. You need to look in the cfgmagazines section of the config.cpp and look for the 'InitSpeed=XXX;' command and edit the XX to whatever you want.

Share this post


Link to post
Share on other sites

First you bumped your own thread because no one answered within 2 hours, then someone with a hell lot of experience in creating weapons told you what to change in the config and now you tell him to shut up. huh.gif

Closing.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×