Approved [ZE] Infections & Round Count & Core & NextMap & Level System [UPDATED]

General Discussion


Post Reply
User avatar
Urban
Member
Member
Ukraine
Posts: 12
Joined: 3 years ago
Contact:

[ZE] Infections & Round Count & Core & NextMap & Level System [UPDATED]

#1

Post by Urban » 3 years ago

Hello everyone. I present to your attention a simple plugin that will count the number of infections a zombie has. After each [ze_infections_num] zombies will receive a reward in the form of experience
  • CVARS:
    ze_infections_num 3 //the number of infections in the round after which the zombie player will receive bonus experience
    ze_infections_exp 1 //the amount of experience awarded [ze_infections_num] for infecting players
    ze_roundcount_num 5 //rounds which must be played before changing map
  • NATIVES:
    ze_get_infections(id) //returns the number of infections
    ze_get_round_count() //returns the number of rounds played
    ze_get_round_count_num() //returns rounds which must be played before changing map

also lang.txt is included in the archive
  • Code: Select all

    ROUNDS_REMAINING = ROUNDS REMAINING: %d / %d
    DOUBLE_EXP_LAST_ROUND = LAST ROUND [DOUBLE XP]
    
    infection1.jpg
    ze_start.jpg
    ze_double_xp.jpg
    ze_changemap.jpg
WARNING!
There may be problems due to ze_core.amx, so I put my ze_core.amxx in the archive. everything works there, I checked it myself
- only ze_core.amxx has one round_count plugin. It works together with nextmap.amxx because after N the number of rounds changes the map. To anyone interested, I'll post it later. no time for that now
everything is checked, everything works

ze_infections_&_round_count (Core, Nextmap).zip
(71.43 KiB) Downloaded 469 times
ze_infections_&_round_count (Core, Nextmap).zip
(71.43 KiB) Downloaded 469 times
Last edited by Urban 3 years ago, edited 2 times in total.

User avatar
Raheem
Mod Developer
Mod Developer
Posts: 2214
Joined: 7 years ago
Contact:

#2

Post by Raheem » 3 years ago

Urban, you tested it and it's working? Have no time to test, so if yes I'm adding the approved tag. Code seems fine, but just approve that it's working inside the game.

Also to take snapshots or screenshots from the game, just write in your console bind b "snapshot", and then press b to capture a screen. You will find the screen in cstrike folder of your steam game.
He who fails to plan is planning to fail

User avatar
Urban
Member
Member
Ukraine
Posts: 12
Joined: 3 years ago
Contact:

#3

Post by Urban » 3 years ago

Raheem some problems with ze_core.amxx
Tests on WINDOWS PACK and it does not count the number of infections.
-
I already had a problem with this plugin. Just counting the infections I have implemented in ze_level_system
What can affect in ze_core.amxx that ze_infections does not count the number of infections :shock: Bug?

try somebody and unsubscribe please

User avatar
Urban
Member
Member
Ukraine
Posts: 12
Joined: 3 years ago
Contact:

#4

Post by Urban » 3 years ago

everything works with these versions of plugins, you need to test separately

plans - I also want players to drop all weapons before changing map

User avatar
Raheem
Mod Developer
Mod Developer
Posts: 2214
Joined: 7 years ago
Contact:

#5

Post by Raheem » 3 years ago

Urban wrote: 3 years ago everything works with these versions of plugins, you need to test separately

plans - I also want players to drop all weapons before changing map
OK, I added the Approved tag.
He who fails to plan is planning to fail

User avatar
z0h1r-LK
Mod Developer
Mod Developer
Morocco
Posts: 473
Joined: 5 years ago
Location: The Red City ❤
Contact:

#6

Post by z0h1r-LK » 3 years ago

Good Job
I'm take your plugin i'm edit somethings :)
ze_infections.sma
SMA
(1.82 KiB) Downloaded 312 times
ze_infections.sma
SMA
(1.82 KiB) Downloaded 312 times
Lag : zombie_escape.txt

Code: Select all

BONUS_INFECTION = !g%s!t is earn !t%s!t, it's infect !g%s!n !

User avatar
z0h1r-LK
Mod Developer
Mod Developer
Morocco
Posts: 473
Joined: 5 years ago
Location: The Red City ❤
Contact:

#7

Post by z0h1r-LK » 3 years ago

about round count its already located in mod ?

User avatar
Urban
Member
Member
Ukraine
Posts: 12
Joined: 3 years ago
Contact:

#8

Post by Urban » 3 years ago

Z0uha1r_LK wrote: 3 years ago about round count its already located in mod ?
I don't understand the question.

I don’t know if there is a round counter in the mod. This plugin counts the specified number of rounds, but in the last round before the map change, double experience is turned on

Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Who is online

Users browsing this forum: No registered users and 1 guest