Author Topic: Blockality weapon pack V3  (Read 44831 times)

It's nice to see that CTrooper is at this stuff yet again. I have to get back making models too, I haven't done that for like 2 years or so. Missing the old days.

OT: Looks nice, I'll be sure to try them later when I don't have too much work to do.
« Last Edit: October 14, 2016, 09:20:33 AM by bangbang »

This is an issue with many weapon packs that have ammo system. I can't really do this without redoing the entire pack. Easiest way would be just replacing the default gun model with one of these.
Or you can run an if function to see if the shooter is an ai? its 4-6 lines of code

if you insert a function WeaponImage::onFire() { } check before any of the actual weapon codes (its wise to put it in server.cs) then you can essentially turn off ammo for bots without editing each and every file

Code: [Select]
package disableAmmoForBots{
     function WeaponImage::onFire(%this,%obj,%slot)
     {
             if(%obj.isBot)
                   return parent::onFire(%this,%obj,%slot);
      }
};
Something like this could easily make it so that if a bot fires the gun it will return the default fire process (no ammo reduced, etc)
« Last Edit: October 14, 2016, 11:41:46 AM by Perry »


i get errors fix it i want to try it

No idea why but the pack does not show up at all, only the ammo box seems to load

Oh yeah, CTroopers other pack messes up this one if they're enabled at the same time.

Oh yeah, CTroopers other pack messes up this one if they're enabled at the same time.
I dunno what his other pack is, The Warfare pack? and it's not enabled at all, I set everything to default and tried blockality again but same thing, weapons do no showup when i wrench a brick.

I dunno what his other pack is, The Warfare pack? and it's not enabled at all, I set everything to default and tried blockality again but same thing, weapons do no showup when i wrench a brick.
That is extremely odd..
Found and fixed the problem. Redownload
« Last Edit: October 14, 2016, 04:33:20 PM by Sheepocalypse »

I'm here and I'm queer.

Uh so looking into the feedback you guys gave, especially for the bot support and the alternative to datablocks. If anyone is willing I could use a tertiary scripter, or just a scripter who could replace me in general to fix bugs, add features and some what teach me things. That way I can focus more on what I'm good at which is sounds and particles.

needs more sidearms but otherwise cool

Finally a wep-pack that wasn't made in the overly-done blocky style

Awesome!

misread title as bestiality weapon pack

Finally a wep-pack that wasn't made in the overly-done blocky style

Awesome!


I already fixed that. Redownload