Approved Zombie Class: Hunter

Gameplay Addons
Post Reply
User avatar
Jack GamePlay
Mod Developer
Mod Developer
Egypt
Posts: 581
Joined: 2 Years Ago
Location: Egypt
Has thanked: 34 times
Been thanked: 47 times
Age: 19
Contact:

Zombie Class: Hunter

#1

Post by Jack GamePlay » 1 Year Ago

| Description:
  • ]This is a zombie class called hunter.
  • This class has the ability to speed up for amount of time.

| Cvars:
  1. Duration of the speed boost

    Code: Select all

    ze_boost_time
  2. Delay between every boost

    Code: Select all

    ze_speedboost_delay

| Configs:
  1. Class name

    Code: Select all

    HUNTER_NAME
  2. Class info/description

    Code: Select all

    HUNTER_INFO
  3. Class health

    Code: Select all

    HUNTER_HEALTH
  4. Class default speed

    Code: Select all

    HUNTER_PRIM_SPEED
  5. Class gravity

    Code: Select all

    HUNTER_GRAVITY
  6. The new speed the player gains after pressing g

    Code: Select all

    HUNTER_SEC_SPEED

| Changelog:
  • Spoiler!
    Image [Current Version]
    • First stable release.
    Image
    1. Added glow during boost duration.

| Note:
  1. Press g to speed up.
  2. Key g is the default key to drop weapons, if it's not then just replace it (from the message) with the key you use to drop weapons.

| Download:
Not interested in CS/Pawn anymore.
Accepting web projects.

User avatar
Jack GamePlay
Mod Developer
Mod Developer
Egypt
Posts: 581
Joined: 2 Years Ago
Location: Egypt
Has thanked: 34 times
Been thanked: 47 times
Age: 19
Contact:

#2

Post by Jack GamePlay » 1 Year Ago

Version 1.1 is out.
Not interested in CS/Pawn anymore.
Accepting web projects.

Rain1153
Senior Member
Senior Member
India
Posts: 277
Joined: 1 Year Ago
Has thanked: 2 times
Been thanked: 1 time
Age: 18
Contact:

#3

Post by Rain1153 » 1 Year Ago

So you finally fixed it? 😅 no you didn't!..
So i added this line after ze_user_humanized(id)
Set_Rendering(id)
then it worked!
pls update it!
LOL

Rain1153
Senior Member
Senior Member
India
Posts: 277
Joined: 1 Year Ago
Has thanked: 2 times
Been thanked: 1 time
Age: 18
Contact:

#4

Post by Rain1153 » 11 Months Ago

if (!g_bCanUseSB[id])
{
g_iCoolDown_Time[id] = g_iCoolDown_Time[id] - 1
set_hudmessage(200, 200, 200, 0.75, 0.92, 0, 1.0, 1.1, 0.0, 0.0, -1)
show_hudmessage(id, "Sprint cooldown: %i", g_iCoolDown_Time[id])
}

how can i display this msg in the center of the screen like near the crosshair? idk the position values of the center hud
LOL

User avatar
Raheem
Mod Developer
Mod Developer
Egypt
Posts: 1951
Joined: 2 Years Ago
Location: Egypt
Has thanked: 32 times
Been thanked: 108 times
Age: 21
Contact:

#5

Post by Raheem » 11 Months Ago

X, Y: -1.0, -1.0

You can test ingame.
You don't know? Learn and you will know.

Rain1153
Senior Member
Senior Member
India
Posts: 277
Joined: 1 Year Ago
Has thanked: 2 times
Been thanked: 1 time
Age: 18
Contact:

#6

Post by Rain1153 » 11 Months Ago

but i dont know this format set_hudmessage(200, 200, 200, 0.75, 0.92, 0, 1.0, 1.1, 0.0, 0.0, -1)
is it like (R,G,B,X,Y,Z and othes idk) ??
LOL

User avatar
Jack GamePlay
Mod Developer
Mod Developer
Egypt
Posts: 581
Joined: 2 Years Ago
Location: Egypt
Has thanked: 34 times
Been thanked: 47 times
Age: 19
Contact:

#7

Post by Jack GamePlay » 11 Months Ago

Rain1153 wrote:
11 Months Ago
but i dont know this format set_hudmessage(200, 200, 200, 0.75, 0.92, 0, 1.0, 1.1, 0.0, 0.0, -1)
is it like (R,G,B,X,Y,Z and othes idk) ??
Centered message:

Code: Select all

set_hudmessage(200, 200, 200, -1.0, -1.0, 0, 1.0, 1.1, 0.0, 0.0, -1)
Not interested in CS/Pawn anymore.
Accepting web projects.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests