Alliedassault

Alliedassault (alliedassault.us/index.php)
-   MoH Maps, Mods & Skins (alliedassault.us/forumdisplay.php?f=11)
-   -   Rifle firing speed mod help needed. (alliedassault.us/showthread.php?t=49062)

leatherface 10-17-2005 01:11 PM

Rifle firing speed mod help needed.
 
Wondering if anyone can help me to make a mod for rifle firing speed in multiplayer mohaa? I want to change the speed so allied and axis rifles load and fire at the same rates. This would include the sniper rifles too. I understand making such a mod may be fairly simple by opening file and simply changing values. If so, what am I looking for and how do I open files? Do I use Wordpad? Thanks.

Johnj 10-17-2005 01:17 PM

You realize that you would have to run your own server for such a mod to work, don't you? It would be server side. BTW you are on the right track.

leatherface 10-17-2005 09:57 PM

Yes, I do realize that. I'm actually wanting to mod this for a clan I am in. So, can you walk me through it? It would be much appreciated. Thanks.

Johnj 10-18-2005 06:28 AM

I'd use Notepad® to open the tik files for the rifles and compare them. I don't remember what the exact values are called, but if you look through them you'll find them. Save the files and pak them back up and viola.

You will feel a lot better about it if you work to achive your goal instead of having it handed to you.

PKM 10-18-2005 08:09 AM

open the .tik files for each weapon you wish to alter and find the below section (each weapon's .tik can vary a little but the key/values will have the same names)


ie. kar98 sniper (this is for DM play)

[quote:c3e9e]

/ DM Attributes
dmbulletcount 1
dmstartammo 50
dmammorequired 1
// dmfiredelay 1.25
dmfiredelay 2.0 // this makes it match the springfield <--change to a lower value for faster firing speed/reload speed

dmbulletrange 4000
// dmbulletdamage 120 //original 100
dmbulletdamage 106 //original 100
dmbulletspread 59 59 150 150
dmzoomspreadmult 0.055

// dmmovementspeed 0.77
dmmovementspeed 0.8

dmcrosshair 1

// this is attached to the player during reload
cache models/ammo/springfield_clip_reload.tik

[/quote:c3e9e]

some of the .tik files will have two entries for the key. don't worry about changing the key/value for those lines starting with //

also, i have found altering the reload speed/firing speed of the kar rifles to screw up the ingame firing , i think it has something to do with the animations. then again, i use the city nights modern weapons.

leatherface 10-18-2005 07:58 PM

JohnJ, thanks and I agree that it can be very satisfying to figure things out on my own. Last night I did just that. I got into the Pak6 files and found what I was looking for. I haven't tried altering things yet but hope I find time this weekend to do so.

PKM, thanks for the input. I wasn't sure what values to put on the rifles but I essentially am hoping to slow the M-1 down to the kar speed. I'll let you know when I get things working properly.

PKM 10-18-2005 08:38 PM

i'm with you on the 'reverse engineering' of mohaa files. try inputing the value of 2.0 on the m1's firedelay, this will make it match the kar98 sniper.

leatherface 10-18-2005 09:06 PM

thanks again PKM. Will do!

Scorpion -]M15F1T[- 10-19-2005 01:57 PM

If you are looking to have a level playing field whith the rifles there is a way via scripting to give allies and axis the same weapons altho it may be a little advanced for you atm tho.

leatherface 10-19-2005 06:52 PM

Scorpion, I'm hoping I'm all set with the advice from PKM and JohnJ. Thanks for your reply and input.


All times are GMT -6. The time now is 01:53 AM.

Powered by vBulletin® Version 3.8.12 by ScriptzBin
Copyright ©2000 - 2025, vBulletin Solutions Inc.
© 1998 - 2007 by Rudedog Productions | All trademarks used are properties of their respective owners. All rights reserved.