1st. I started to notice this some time ago, but for some reason the gibbing model doesnt show, when head is shot off sometimes, doesnt happen always. Few weeks back it was working fine, but now it doesnt show gib model and gives this error:
2nd. Tried to add it, so when you have 20% of clip left, ammo counter turns red like some people have added it. Then I went in-game and its always red. This is what I do, when counter gets updated in .gsc:
1st. I started to notice this some time ago, but for some reason the gibbing model doesnt show, when head is shot off sometimes, doesnt happen always. Few weeks back it was working fine, but now it doesnt show gib model and gives this error: (Image removed from quote.)
2nd. Tried to add it, so when you have 20% of clip left, ammo counter turns red like some people have added it. Then I went in-game and its always red. This is what I do, when counter gets updated in .gsc:
These are the only issues in the map atm. When these are fixed, I will start packaging the map, lol
1) Bad tag. 2) It's actually more than this it shouldn't be a "<=5" as it should actually be 20% (lower) of the clip size. (Except for weapons that are 1/2 shots, i.e. double barreled/rpg/grenades.) I think I have the code completed in one of my HUD scripts. Checking now.... 2E) Actually looks like I never released it I think(?). Anyway this is what you should do instead of duplicating the hud element, "^1<TEXT>".
Code Snippet
Plaintext
// so in code do something like this curClip = GetWeaponAmmoClip totalClip = whateverClip if(totalClip != 1 && currClip <= totalClip * 0.20) self setclientdvar("dvar", "^1" + shit);
3) Might not be able to have a secondary alias that is looped while the original alias doesn't have the same limits. (Try setting the limits to be exact.)
Last Edit: January 20, 2016, 12:14:38 am by DidUknowiPwn
1) Bad tag. 2) It's actually more than this it shouldn't be a "<=5" as it should actually be 20% (lower) of the clip size. (Except for weapons that are 1/2 shots, i.e. double barreled/rpg/grenades.) I think I have the code completed in one of my HUD scripts. Checking now.... 3) Might not be able to have a secondary alias that is looped while the original alias doesn't have the same limits. (Try setting the limits to be exact.)
1st. Also happens on Nova Crawlers, and those were just fine at one point. Gibbing in _zombiemode_spawner:
2nd. I did the 5 for testing as I didnt know immediately how to actually implement the 20% 3rd. Limits are same on all entries, limit_count is 100 and limit_type is priority
1) In terms of exe the model doesn't contain the tag that you're trying to attach to. 2) Here's the code from my Exo ZM HUD
Code Snippet
Plaintext
//DUKIP - Default lowAmmoWarningThreshold in weaponfile is always 0.33 warningClipSize = ceil(WeaponClipSize(newWeap) * 0.33);
//DUKIP - If our current clip count is less than or equal to the warning amount and check that our weapon's clip isn't only '1' but display if our clip is 0. if(newClipCount <= warningClipSize && (newClipSize > 1 || newClipCount == 0)) self.clip_hud.can_pulse = true; else self.clip_hud.can_pulse = false;