Raised This Month: $51 Target: $400
 12% 

[CS:GO/CS:S] Zombie:Reloaded ZETH-Edition


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Oylsister
Senior Member
Join Date: Aug 2019
Location: KhonKaen, Thailand
Old 06-12-2023 , 05:29   [CS:GO/CS:S] Zombie:Reloaded ZETH-Edition
Reply With Quote #1

This version is not related to this thread : https://forums.alliedmods.net/showthread.php?t=221289
I focus working this plugin for my server and update to support newer version of sourcemod.

The list of feature and stuff I have done so far.
- Completely new Syntax! (Thanks to srcdslab team)
- ZVolume (You can change Zombie volume, Ambient Volume "separately".)
- Knockback Forward API
- ZMarket Forward API
- Actual weapon knockback for csgo (explain below).
- Fix last human not turn into zombie.
- Mother Zombie cycle. (From: Mapeadores)
- Round End Screen (From: Franc1sco)
- Weapon Purchase Command (From: srcdslab)

About Actual weapon knockback in Zombie:Reloaded, they get the weapon string from event "player_hurt". which meaning that the weaponname in config file has to match with the weapon string when called from event, otherwise it weapon knockback is simply will not be calculated because plugin can't find it. So we changed the method to get it from weaponentity name instead. So now you can name the weaponname whatever you want.

Commit Change for weapon knockback method: https://github.com/ZETH-Community/sm...1514be43630bc9

Code:
"weapons" // Counter-Strike: Source weapons
{
	"MP5Navy" // The weapon knockback get from weaponname here in old version.
	{
		// General

		"weaponentity"		"weapon_mp5navy" // we get the weapon knockback from entityname here in new version.
		"weapontype"		"All, SMG"
		"weaponslot"		"0"

		// Restrict (core)

		"restrictdefault"	"no"
		"toggleable"		"yes"

		// Weapon Ammo (core)

		"ammotype"		"ammo_9mm"
		"ammoprice"		"300"

		// Knockback (module)

		"knockback"		"1.0"

		// ZMarket (module)

		"zmarketprice"		"1500"
		"zmarketcommand"	"sm_mp5"
	}
}
And csgo has an issues that when use weapon like usp and m4a1-silencer. the weaponname become "hkp2000" and "m4a1" (M4A4 entityname) instead when called from event. To get the actual name for csgo weapon this can be done by getting "m_iTemDefinitionIndex" and then use it in CS_WeaponIDToAlias function.

Commit Change for CS:GO weapon entity name: https://github.com/ZETH-Community/sm...5cf88b5a4bb618

I don't usually update on forum so check out github below here.

Download and Check Source Code
__________________
Oylsister is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:57.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode