Author Topic: Override Default Addons  (Read 667 times)

Ive been looking everywhere and was wondering if there's a way to override or edit the default addons such as weapon_gun?

I believe there used to be an addon of some sort for it but it doesn't work anymore.
Any help would be very appreciated.

Why would you want to? You pretty much need them for everything.

You could just make an add-on that modifies the variables or functions that you need to change.
Just add the required add-on line from the tank script, change it to Weapon_Gun, that way it won't get executed twice.
And then add the lines to change the Variables or Functions (when changing functions, you should package it just in case something goes wrong).

I really wouldn't override the default addons, they might break something and many other addons use them as bases to save datablocks also. If anything make a copy of them and give them a different name.

Since I'm pretty dumb, could you guys give me a simple tutorial on doing so?
I'm trying to move the default bot to a new brick category.

Instead of them being under special-holes I want to move them into Bots-etc

I found out how to edit default addons.

Locking thread, if anyone wants to know how I did it they can PM me.