Main cannon of the tank

I need an advice, where can I change the power of the main cannon of M1 abrams tank (challenger in the game), is it in file weapons.xtbl? Sorry for almost no experiences, Im no modder. Thanks.
 
Yes, it's in weapons.xtbl. I don't know which entry it is as I haven't looked for it, but the variables for every weapon in the game (even ones that are on vehicles) are in that file.
 
Once you've opened up weapons.xtbl (open with notepad or notepad++ if you didn't know already) then hit CTRL+F, type in tank01 (make sure search direction is down) and hit enter/find next, keep clicking until you find an entry named <weapon>sp_tank01_w</weapon>

Once you've found that, go to the Find box again (make sure the search direction is still down) and this time punch in the word damage, it should go down to an entry called <npc_damage>1000 or some number</npc_damage> and right below that is <player_damage>100 or some number</player_damage>.

However, however, the sp_tank01_w weapon includes the main cannon and the coaxial machine gun, so there's gonna be a section that includes the values for that machine gun, so make sure the player_damage value is the higher number - this is the value for the main cannon, the lower number is therefore the machine gun).

npc_damage is somewhat self-explanatory, but seeing as you're new, I'll tell you anyway, it's the value that determines how much damage other characters in the game do to you with that weapon.

I believe at the bottom of the weapons.xtbl file there is a whole section of the value names and a description of what they do, I can't remember though.

EDIT: I also highly recommend getting Notepad++, it's basically the Windows Notepad on steroids. It also lets you download plugins through the toolbar that make editing so much easier, in this case, the XML tools plugin where you can see the stuff you want to edit in a WAY cleaner format if it hasn't already been sorted yet.
 
I did exactly what u typed here, but still when I shoot with the cannon it just throw the car away, it explodes after 3 shots or so
 
Did you change the damage values? Make sure you actually changed them, and because SR3 is installed in the Program Files foldier, you may need to run notepad or notepad++ as an administrator, else changes you make may not save.

Also, ensure that the weapons.xtbl file itself is in the main directory; put it in the same folder as the .exe file
 
Last edited:
<Weapon>
<Name>sp_tank01_w</Name>
<Weapon_Class>vehicle</Weapon_Class>
<Trigger_Type>automatic</Trigger_Type>
<Magazine_Size>50</Magazine_Size>
<Range_Max>225</Range_Max>
<Damage_Max>
<NPC_Damage>1000</NPC_Damage>
<Player_Damage>1500</Player_Damage>

this is what I've changed, I had in player damage 150 before
 
Last edited by a moderator:
Please do not Double-post.
Use the Edit feature.
It's there for a reason.
 
<NPC_Damage> = the amount of damage the weapon does to an NPC
<Player_Damage> = the amount of damage the weapon does to the player
 
<NPC_Damage> = the amount of damage the weapon does to an NPC
<Player_Damage> = the amount of damage the weapon does to the player

Wait, really? I thought NPC damage was the amount of damage NPCs did to you, and player damage was how much pain you dished out to them...?
 
Back
Top