Approved Zombie Class: Hunter

Gameplay Addons
Post Reply
User avatar
Mohamed Alaa
Mod Developer
Mod Developer
Egypt
Posts: 626
Joined: 2 Years Ago
Location: Egypt
Has thanked: 34 times
Been thanked: 49 times
Age: 19
Contact:

Zombie Class: Hunter

#1

Post by Mohamed Alaa » 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:
Want your own mod edition? PM me.
Accepting web projects.
CS 1.6 hosting: powergamingtech.com

User avatar
Mohamed Alaa
Mod Developer
Mod Developer
Egypt
Posts: 626
Joined: 2 Years Ago
Location: Egypt
Has thanked: 34 times
Been thanked: 49 times
Age: 19
Contact:

#2

Post by Mohamed Alaa » 1 Year Ago

Version 1.1 is out.
Want your own mod edition? PM me.
Accepting web projects.
CS 1.6 hosting: powergamingtech.com

Rain1153
Senior Member
Senior Member
India
Posts: 278
Joined: 1 Year Ago
Has thanked: 2 times
Been thanked: 1 time
Age: 19
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: 278
Joined: 1 Year Ago
Has thanked: 2 times
Been thanked: 1 time
Age: 19
Contact:

#4

Post by Rain1153 » 1 Year 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: 1972
Joined: 2 Years Ago
Location: Egypt
Has thanked: 32 times
Been thanked: 108 times
Age: 22
Contact:

#5

Post by Raheem » 1 Year 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: 278
Joined: 1 Year Ago
Has thanked: 2 times
Been thanked: 1 time
Age: 19
Contact:

#6

Post by Rain1153 » 1 Year 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
Mohamed Alaa
Mod Developer
Mod Developer
Egypt
Posts: 626
Joined: 2 Years Ago
Location: Egypt
Has thanked: 34 times
Been thanked: 49 times
Age: 19
Contact:

#7

Post by Mohamed Alaa » 1 Year Ago

Rain1153 wrote:
1 Year 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)
Want your own mod edition? PM me.
Accepting web projects.
CS 1.6 hosting: powergamingtech.com

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests