doctorluk / Reign-of-the-Undead-Revolution-Scripts

All scripts used in the popular Zombie Survival Mod RotU-Revolution for Call of Duty 4: Modern Warfare
https://rotu-revolution.com
7 stars 8 forks source link

Edit weapon stat and add it as a "new" weapon #12

Open Dakado opened 7 years ago

Dakado commented 7 years ago

I would like to edit weapon stats and add it to the game as a custom version. For example ak47_upgraded_mp, it would use same assets and models. I just want to make multiple upgrades of each weapon (like accuracy upgrade or so).

However adding new weapon file to weapons.iwd is probably not enough, what else I have to do in order to "register" the new weapon to the mod so it can be used in weapons.cfg ?

doctorluk commented 7 years ago

Hi there, sorry for the long delay.

We've been out of touch with the mod for quite some time now and can't say for sure if that would work or not. It might very well be possible if you edit the weapon stats and add the weapon's name to the weapons.cfg. It could either be that the game says "nope" and quits due to the 128-weapon-limit or the weapon itself is used differently in the mod. I guess you could just try.

Dakado commented 7 years ago

In order to make this work, it has to be precached and then it will work.