Need help with yet another of those weapon mods -1 reply

Please wait...

ryanmc72

I'm too cool to Post

50 XP

28th March 2003

0 Uploads

5 Posts

0 Threads

#1 16 years ago

Basically, I'm working on a realism mod for single-play SoF2, mostly just to correct glaring errors, while keeping the game playable.

What I've done so far (that I can remember):

-9x19mm guns do less damage (45) -M855 5.56x45mm guns do more damage (90), except the OICW, since it has a 10 inch barrel on the "kinetic energy" portion. -Adjust .45ACP damage (50, 55, 60) -Change shotgun spread to 1 inch of spread per 3 feet of travel, consistent with most loads through a cylinder-bore shotgun -Change the pellet load of the shotguns to be consistent with a magnum #1 buckshot cartrige; 20 pellets, 14/15 dmg per pellet, range of 5000 (might change to 00 buck or 12 ga. slugs instead) -Make the thrown and melee knife, as well as the bayonent, almost completely armor piercing. (found out the hard way that an armorpiercing value of "1" made the weapon do no damage at all) -Made most of the weapons armor-piercing to a certain degree (not 100% realistic by any means, but better than before, and still playable). -Adjust ammo capacity for several weapons: 1911, 7+1; Micro Uzi, 20; MSG90A1, 20; MM1, 12; M60, 200; OICW 20mm grenades, 6; etc. -Adjust fire modes for several weapons: M4, burst, single; OICW, burst, single; USAS-12, burst, single; most other automatic weapons, auto, single (M60 still auto only) -Increase damage and radius of all explosives to be slightly more realistic -Made the fuse length of the grenades somewhat random -Made the grenades more distinct: MDN11 has greater range but less damage compared to M67, F1 has much less range and damage, SMOHG has slightly less range and damage, etc. -Adjusted weapon and ammo carrying capacity to be a little more realistic (fewer weapons, more ammo, especially on the higher difficulties) -Adjusted amount of ammo in each pickup

Things that I still want to do, but have no idea how:

-Adjust firing rates of weapons: M4, 800rpm; Sig551, 700rpm; Micro Uzi, 1250rpm; AK74, 600rpm; M60, 550rpm; MP5, 800rpm; true semi-auto on all guns with single setting (firing as fast as you can click the mouse); etc. (high priority) -Change number of rounds fired in burst setting (OICW and USAS-12 to 2-round bursts instead of 3) (high priority) -Add the Sig551 and MP5 to the singleplayer loadout without bumping any of the other weapons off the list (medium priority) -Change the amount of ammunition given after selecting a weapon from the loadout screen (Uzi no longer loaded with 30, M60 getting 200 rounds + 200 spare, MSG90A1 getting 20 + 40 spare, etc.) (high priority) Make it so that when the M60's ammo count goes into the triple digits, it no longer has the number hanging off the side of the HUD panel (low priority)

For the loadouts, I've tried going into menus\inventory\, but modifying, say, m60.rmf to read

instead of

does squat. Same with the other weapons. I've also tried adding in the MP5 and Sig551 with various metheds, in the menus\inventory\ folders and files, but with similar results.

Anyone know any way of changing the stuff mentioned, and/or have any comments about what I've managed so far?




ryanmc72

I'm too cool to Post

50 XP

28th March 2003

0 Uploads

5 Posts

0 Threads

#2 16 years ago

Update;

-Managed to change the firing rates of the weapons by going into sof2.inview in the inview folder and modifying the speed of the firing animations -Modified right.hud in the huds directory so the ammo count is moved to the left a little

Still dunno how to change the number of rounds in a burst for given weapons, and how to adjust the loadouts.




ryanmc72

I'm too cool to Post

50 XP

28th March 2003

0 Uploads

5 Posts

0 Threads

#3 16 years ago

update 2;

-Changed loudout settings by going into base\menus\weapons\ instead and modifying the weapon name_b.rmf files; following are some examples:

M60 End M60

USSOCOM

End USSOCOM

Does anyone know how to change the number of rounds in a burst, or will I have to find out how to do that myself, too?




r3negad3

Slightly cooler than a n00b

50 XP

21st March 2003

0 Uploads

42 Posts

0 Threads

#4 16 years ago

I think it has to do with the code in bg_misc.c or something (code comes with SDK) but I can look into it for you if you wish...

-]r3negad3[




ryanmc72

I'm too cool to Post

50 XP

28th March 2003

0 Uploads

5 Posts

0 Threads

#5 16 years ago

I'd appreciate it if you could. I have almost no experience with coding; I've only managed to accomplish what I've got so far by just experimenting a _lot_.




r3negad3

Slightly cooler than a n00b

50 XP

21st March 2003

0 Uploads

42 Posts

0 Threads

#6 16 years ago

I'm not good at coding either, and almost have no experience at all, just like you, and it's worked fine for me by trial and error, and a little help from people.

So I will look into it for you, wanna give me a shout? [email]sharpjam@hotmail.com[/email] is my addy, msn and hotmail.

-]r3negad3[




ryanmc72

I'm too cool to Post

50 XP

28th March 2003

0 Uploads

5 Posts

0 Threads

#7 16 years ago

E-mail sent. Let me know if you get it; a few e-mails I've sent recently have never been replied to. I dunno if it's something on my end, or their end, or if they're just ignoring me for some reason.




nerdyPhil

Slightly cooler than a n00b

50 XP

6th January 2003

0 Uploads

32 Posts

0 Threads

#8 16 years ago

everything you've asked about is done in sof2.wpn

as for the burst thing, its possible you can't edit it becausse its part of the source code in which you don't have to edit