Editting weapons

OK, I am following this tutorial http://www.saintsrowmods.com/forum/index.php?threads/saints-row-the-third-modding-basics.597/

So far what I managed to do was extracting mist_tables.vcc_pc and trying to edit weapons.xtbl file using Notepad++ but I cannot fully undertstand it on my own :| I am new to modding SR3, basically what I want to do is changing the stag rifle to fire the VTOL laser beam and changing the colour of the rifle to black similar to Cyrus VTOL, and if possible change the names of some weapons if possible (for experimenting sake)

My STAG rifle is level 4 if that makes any difference.
 
The best way to start is always looking at somebody's else mods. Check out this link . Eradicator it's pretty close to what you want to achieve, you might also look at my StinkGun (code might be quite messy, though). Download it, compare modded and original XTBL files with WinMerge. It should give you a general overview.

To provide you more descriptive help:
1) Tags in XTBL files are pretty self-explanatory. If you have problems, scroll down to the bottom of the file.

Notice how every weapon shares the same tags and how their values alternate its behavior. For example, every firearm has <Trigger_Type> tag. Pistol has it set to "single", rifles have "automatic". Change pistol's <Trigger_Type> to"automatic" and say hello to your automatic pistol! But then you might want to decrease its damage. So look for <NPC_Damage> tag. Then clip capacity. And so on.

Also look for tags that are unique to one weapon. You wanted to make that STAG rifle shoot a VTOL beam. Check out "sp_vtol01_saints_w" weapon (weapons.xtbl, line 58). It has some "<Effects_Situations>" declared and that "laser cutter ribbon" sounds like the thing you should be interested in.

Try to copy whole <Effect_Situations> tag (from "<Effect_Situations>" to "</Effect_Situations>") and paste it inside your STAG rifle code. Remember to paste it into right place in Rifle-STAG line (I assume you're familiar with HTML/XML code structures?).

And that's basically it. Change this and that for a while until you achieve your goal. If you want to experiment with upgraded weapons dive into weapon_upgrades.xtbl.

2) Changing color: AFAIK it's possible only via texture modification. This topic has showed up recently and should match all of your needs: Fix Decker Specialist Out (DLC). Here's the scanti's texture tool.

3) Changing names: I haven't seen that being done. Most probably it would need a specific tool.

Last step is to make sure that your new mod matches forum rules (the most important: make sure that your work doesn't give DLC stuff to people who don't own them).

Hope I've helped.
 
Back
Top