Modding help

Hi,
I was wondering if someone could possibly help me modify the .xtbl files to be a bit more to my liking..
The things I would like to do
I'd like to change the Tek Z SMG to have armor piercing rounds not incindiary..
I'd like to remove the silencer and the silenced sound from the police pistol (the smaller black pistol) so it looks and sounds like it does without upgrades but uses the upgraded stats (aka armor piercing rounds)
One thing I would like to be able to do, but I have serious doubts I can do alone, is make the tanks control like tanks do in other games, like the battlefield series.. not this crap they put in.. Jeez.. what were they thinking? I can't imagine it being very suitable on consoles even..
What i want is:
If i press forward, it drives forward, regardless of where i am aiming the turret.
If i press backwards it drives backwards regardless of where i am aiming the turret.
If i press left (wishful thinking maybe) it would spin counter clockwise on the spot until i stop pressing left.
If i press right, it would spin clockwise on the spot until i stop pressing right.
I'm sure i can think of more things.. but if I can get these things done, I'm pretty sure I can manage the rest.
I've already managed to make the Police pistol a fully automatic pistol with less damage to balance it (still balancing), managed to make the upgrades increase clip size (more than they did before but not ludicrous levels) but struggling to make sense of many entries in the xtbl files..
Also, using Notepad++ I can't seem to get it to redo the HTML indents as per flyn's instructions
Select all the text, Use the TextFX menu > TextFX HTML Tidy > Tidy reindent XML.

Nothing happeneds..

Any help anybody can provide would be very helpful!
 
I've only had a quick look through the files.
For the armour piercing round upgrade:
Copy this:
Code:
<Flags>
                <Flag>armor piercing override</Flag>
                <Flag>bullets damage tanks</Flag>
            </Flags>
under the line <Name>SMG-GangLvl4</Name>, and delete <Flags/> that's already there.
Then delete <Penetrating_End_Point_Explosion>Ammo - Incendiary</Penetrating_End_Point_Explosion>
And that should be it. I think. I haven't tried this ;)

Regarding the pistol, I think that:
Code:
<Constant_Effects>
                <Constant_Effect>
                    <Effect>VFX_LaserSight</Effect>
                    <Weapon_Prop_Point>vfx5</Weapon_Prop_Point>
                    <Condition>weapon raised</Condition>
                </Constant_Effect>
            </Constant_Effects>
this may be what you need to delete. It doesn't look right to me, but it's the only thing I see that is close in my opinion. Again, I haven't tried this.

The tank idea may not be doable. In vehicle_defaults.xtbl there are sections that are specific to helicopter, motorcycles, vtols, etc, but not tanks, meaning that they handle exactly like cars, so I'm not sure you could do what you want to. But I haven't tried modifying them either ;)

With the tidy: reindent xml, I tried it both with and without selecting all of the text, and it worked for me. Doing it literally as clicking on TestFX, moving the cursor over TestFX Tidy HTML, and clicking on Tidy: reindent xml.
 
Regarding the pistol, I think that:
Code:
<Constant_Effects>
                <Constant_Effect>
                    <Effect>VFX_LaserSight</Effect>
                    <Weapon_Prop_Point>vfx5</Weapon_Prop_Point>
                    <Condition>weapon raised</Condition>
                </Constant_Effect>
            </Constant_Effects>
this may be what you need to delete. It doesn't look right to me, but it's the only thing I see that is close in my opinion. Again, I haven't tried this.

that looks like the laser sight to me, the laser sight is the level 4 upgrade and the silencer is actually level 3. dunno if that makes a difference.. if at all possible I'd like to keep the laser sight, but thats a bonus really..

The tank idea may not be doable. In vehicle_defaults.xtbl there are sections that are specific to helicopter, motorcycles, vtols, etc, but not tanks, meaning that they handle exactly like cars, so I'm not sure you could do what you want to. But I haven't tried modifying them either ;)

And I don't suppose the game would accept adding one for tanks huh? really annoying not being able to drive in one direction while have the turret turned in a completely different direction.. (I know you can to some extent now but yeah.. compare SR3 tank handling to the battlefield series..)

With the tidy: reindent xml, I tried it both with and without selecting all of the text, and it worked for me. Doing it literally as clicking on TestFX, moving the cursor over TestFX Tidy HTML, and clicking on Tidy: reindent xml.

I swear i did that.. nothing happened, then i downloaded one of the other members xtbl editors and now it indents the lines right when i open the file.. sometimes I just dont get computers :p
 
that looks like the laser sight to me, the laser sight is the level 4 upgrade and the silencer is actually level 3. dunno if that makes a difference.. if at all possible I'd like to keep the laser sight, but thats a bonus really..
I had wondered about that, but it was the only thing I found in all of the police pistol upgrades that seemed to fit.


And I don't suppose the game would accept adding one for tanks huh?
Well, I think it would require a bit more than adding something to the xtbl, ie actual game code, so probably not.
 
Hey guys, just a heads up that I'm moving this thread to the help and troubleshooting subforum.
 
Back
Top