Author Topic: How to edit accuracy and damage in a pre-existing add-on?  (Read 6604 times)

Title says all. There's this gun I really like but is too OP that I would like to edit. Any help is appreciated. Thanks!

And by "edit", I mean changing the values of whatever needs to be changed in order to make it less accurate and more powerful. Problem is, I don't know what to change. It also says that the file is set to "read only".

Is it ejection variance? What the hell do I have to change? Also, how do I save over the original?
« Last Edit: June 17, 2015, 01:51:52 PM by Col. Derontchi »

It helps to show us which weapon it is.
Typically, if the weapon already has spread (if it's not 100% accurate), you can go to the scripts after you see the sequences and look for a script that says "onFire" or just look for anything called "%spread" in general and edit the number that it has the equal sign with. The higher the number, the lower the accuracy.

Remember that in torque, every number or variable is labeled and organized under something (usually a script or a datablock) and you can always look at the name of it and see what it does. You probably saw "ejectionVariance" under a particleEmitter datablock. You shoot projectiles, not particles, so you should leave that alone.
« Last Edit: June 18, 2015, 07:22:21 PM by Gumba Jonny »

It helps to show us which weapon it is.
Typically, if the weapon already has spread (if it's not 100% accurate), you can go to the scripts after you see the sequences and look for a script that says "onFire" or just look for anything called "%spread" in general and edit the number that it has the equal sign with. The higher the number, the lower the accuracy.

Remember that in torque, every number or variable is labeled and organized under something (usually a script or a datablock) and you can always look at the name of it and see what it does. You probably saw "ejectionVariance" under a particleEmitter datablock. You shoot projectiles, not particles, so you should leave that alone.
It's the set of paintball weapons that came out about a month or so ago. It has zero drop, low damage, and 100% accuracy. In other words, bad for any server use. Can't remember who made them, but there is a gamemode that includes them.

EDIT: It's TehEpicMan's pack.
http://forum.blockland.us/index.php?topic=274465.0

EDIT EDIT: How do I add a spread value?
« Last Edit: July 21, 2015, 12:05:46 PM by Col. Derontchi »