Author Topic: Raising damage for weapons?  (Read 1044 times)

I have an add-on called the G11, I want to use it for a TDM but the damage is quite low for its rate of fire. I want to balance it out a bit, to make it a bit more formidable, but I don't wish to make all the players simply have less health, because then other weapons would still be preferred to this G11. I have a feeling that raising the RoF would make the projectiles not match the firing animation for the weapon, so I want to just change the damage for each projectile. I assume that I go to Program Files, then Blockland, then Add-Ons, but Windows can't open some of the files.

Your gonna need to go into its script and up the damage.

Find
Code: [Select]
directDamage        = ?;

That's in Program Files > Blockland > Add-Ons > Weapon_G11, right?

And will the changes I make only alter the damage on my server, or will it change everyone's G11 add-ons, if they have them?

or will it change everyone's G11 add-ons, if they have them?
Exactly why would this happen?

Exactly why would this happen?

http://forum.blockland.us/index.php?topic=92205.0

Regulith: "Open the weapon's script and edit different values depending on the weapon. directDamage is, to my knowledge, the common value for weapon damage"
PeejsterM: "And if he did, the players connecting would have to download the result."

That made me think there would be complications of some kind, maybe an error with a weapon DL. I remember often getting errors that relate to the RPG-7 add-on. I figured, after looking at the thread I linked to, that the host of that one server modified the RPG-7 to actually fire a projectile after it broke, and that the changes could not be downloaded correctly ingame. I just want to confirm that this isn't the case before I mess with the values.

Oh, and I want to know if changing rate of fire(if possible, I'm guessing it is) will speed up or slow down weapon animations.

I'm not sure if they speed up animations at all, but it is possible to change rates of fire.

It's a little more complicated than just a setting though. You'll have to look through and understand the State system, and figure out which one is delaying the next shot.

I try to edit the Weapon_G11.cs, make the directdamage 30 instead of 32 and the shellcount 3, for example. Go to save it, and I can't find the Weapon_G11 add-on folder to stick the Weapon_G11.cs file into. What's going on?

Because it's not a folder you can save things into. Save it somewhere else then drag it onto the zip and it'll ask you if you wish to overwrite the file already in there.

I've it all down now, thanks guys.