As the title suggests, I want to know the function of a hud element in zombies that displays a counter from a variable

Vulture Aid
Posts
-
How do you create a hud element? -
[Release] Mob of the Dead Mod: "A cat has 9 lives"JezuzLizard How can I change the output? Do I have to change the csc file manually to bo2's scripting?
-
[Release] Mob of the Dead Mod: "A cat has 9 lives"JezuzLizard One more thing, is there a way to decompile without using BO3 gsc? The syntax is different from BO2's gsc
-
[Release] Mob of the Dead Mod: "A cat has 9 lives"JezuzLizard Thank you
-
[Release] Mob of the Dead Mod: "A cat has 9 lives"JezuzLizard I don't have a fast file I could decompile with, I don't even have the csc files to begin with
-
[Release] Mob of the Dead Mod: "A cat has 9 lives"Ox_ said in [Release] Mob of the Dead Mod: "A cat has 9 lives":
homura said in [Release] Mob of the Dead Mod: "A cat has 9 lives":
Ox_ what are CSC files?
GSC is server side, CSC is client side.
Same syntax in both.Where can you access them?
-
[Release] Mob of the Dead Mod: "A cat has 9 lives"Ox_ Fuck me, I knew there was something about that function that I couldn't wrap my head around.
Also, silly me, it isn't line 61, it's actually line 74, theself setclientfieldtoplayer( "player_lives", self.lives );
-
[Release] Mob of the Dead Mod: "A cat has 9 lives"Hey y'all, this is my first ever mod made in gsc, created by me and staff member homura.
Essentially, what this mod does is increase your lives cap up to 9, a reference to the custom game loading screen of MOTD. It took me many days to code this in as not only was it my first time in gsc, but I also ran into many bugs with the hud, which I wasn't aware of and thought my code didn't work at all
PLEASE READ
To whom it may concern: I am deeply sorry I couldn't get the hud to display the current lives, me and Homura have tried for many days to fix this issue, but unfortunately, we couldn't. So bare with us as you'll have to rely on the status display to know how many lives you have, the cause of this error is in line6174 (self setclientfieldtoplayer( "player_lives", self.lives );
MY BAD Y'ALL), it would seem to be that it only displays base 4 numbers. If anyone has a fix, leave a comment on the forum post or message me directly if you know a fix. GLHF!!!!!Instructions
Assuming you've already read Drgn's "Loading Custom GSC Scripts" and XERXES's "PlutoT6 server setup guide"...-Simply compile the .gsc file below the following in the GSC Example Toolkit with the compiler.exe,
-Rename the newly compiled file to
_clientids.gsc
,-Place it in
<Pluto>/t6r/data/maps/mp/gametypes_zm/
and replace it with the existing clientids,-Start up your dedicated server, launch the game, connect to your server and enjoy!
Download: https://www.mediafire.com/file/pt14ma5s03xu5n2/9_lives_1.0.gsc/file
-
Does anyone know the code for the MOTD lives counter?Xerxes said in Does anyone know the code for the MOTD lives counter?:
According to
_zm_afterlife.gsc
it'sself.lives
.That's the counter that's working, I recently discovered that
self setclientfieldtoplayer( "player_lives", self.lives );
is what's breaking the hud element, however I don't know a way around this. I could delete it but the hud won't update -
Does anyone know the code for the MOTD lives counter?I'm trying to test something with the lives in mob but I just need the hud element for the lives counter, as it is broken in displaying the actual counter
-
Time for another progress update.How is that new menu all html? that is fascinating
-
Mouse Acceleration/Enhanced Pointer Precision bug in BO2If you have issues with a weird mouse acceleration bug in BO2, it is likely because your mouse has it enabled within its drivers. Depending on what kind of mouse you have, go to its drivers and disable anything that's in relation to mouse acceleration/enhanced pointer precision. If you don't have the drivers installed, research them for the specific brand of mouse that you own and install it from there.
Or if you have mouse acceleration in general, disable enhanced pointer precision in your windows settings