alright- finishing mod- need help on 1 thing -1 reply

Please wait...

paulb39

GF Pwns Me!

50 XP

26th January 2005

0 Uploads

53 Posts

0 Threads

#1 12 years ago

alright im a mapper- but was screwing with weapon files- and boom i have an awsome mod- just i need help adding this 1 thing

ok so i want it so

the kar98k and mosin nagant rifles have to shoot all 5 bullets before they can reload

so if u shoot and have 4 bullets in clip- u cant reload- same with 3 2 and 1

also i know its possible since i saw a mod a while back- a realism mod that did realsm stuff and 1 thing it did was that




Tally

COD Über Support

50 XP

20th November 2004

0 Uploads

3,439 Posts

0 Threads

#2 12 years ago

you would have to script a change in the reloading behaviour for each of those weapons.

I think I've seen one around, so I'll have a look for it, but it was a while ago (everyones moved on to COD2 now, so COD1 mods are hard to find). I might be unsuccessful in locating it.




paulb39

GF Pwns Me!

50 XP

26th January 2005

0 Uploads

53 Posts

0 Threads

#3 12 years ago

how would i make this script?




Tally

COD Über Support

50 XP

20th November 2004

0 Uploads

3,439 Posts

0 Threads

#4 12 years ago

actually its easier than I thought. its just a single setting in the weapons files.

Get a weapons file editor, and scroll down in both the kar98k_mp weapons file (iw_13.iwd\weapons\mp) and the nagant_mp (same location) and look for:

noPartialReload

They are both set to "0", just set them to "1" (which is what it is in the garand). This basically tells the game not to allow reload midway through a clip.

Then, just package them up in the same folder structure - weapons\mp - and package them into an iwd.

This can remain server-side - the client doesnt need the files.




The_Yoki

"Germany's finest Hippie"

50 XP

21st August 2005

0 Uploads

2,014 Posts

0 Threads

#5 12 years ago

If you need an example just look through the weapon file of the M1 Garand, you know it is the same with this weapon.




Tally

COD Über Support

50 XP

20th November 2004

0 Uploads

3,439 Posts

0 Threads

#6 12 years ago

which is what I said:

tallyjust set them to "1" (which is what it is in the garand)



The_Yoki

"Germany's finest Hippie"

50 XP

21st August 2005

0 Uploads

2,014 Posts

0 Threads

#7 12 years ago

oh, sorry, I read over that :(




paulb39

GF Pwns Me!

50 XP

26th January 2005

0 Uploads

53 Posts

0 Threads

#8 12 years ago

thanks, works like a charm