Raised This Month: $ Target: $400
 0% 

Zombie Plague Mod 5.0


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Tidius
Senior Member
Join Date: Apr 2008
Location: Argentina, Buenos Aires
Old 10-05-2008 , 11:34   Re: Zombie Plague Mod 4.07
#2021

Yes is a good idea, if you have 10 ampacks en the nextmap a chance of xx% decide if you stay with 10 o 9 o 8 o 7 etc.. =)
Tidius is offline
aaarnas
Veteran Member
Join Date: Jun 2008
Location: Lithuania
Old 10-05-2008 , 11:35   Re: Zombie Plague Mod 4.07
#2022

Could anyone make a plugin to respawn players for ammo ?
aaarnas is offline
G-Dog
Senior Member
Join Date: Dec 2005
Location: Thunderstorm Central
Old 10-05-2008 , 11:40   Re: Zombie Plague Mod 4.07
#2023

Quote:
Originally Posted by psmaniac View Post
As it appears my question went unnoticed, so I'll ax again:
Will zp_stats_save keep the ammo packs for the next map?
no it only buffers it for the map duration, it never saves to a file
__________________
If at first you don't succeed, then skydiving isn't for you.
G-Dog is offline
Send a message via AIM to G-Dog
Fry!
Veteran Member
Join Date: Apr 2008
Location: Latvia
Old 10-05-2008 , 11:43   Re: Zombie Plague Mod 4.07
#2024

Quote:
Originally Posted by Tidius View Post
Yes is a good idea, if you have 10 ampacks en the nextmap a chance of xx% decide if you stay with 10 o 9 o 8 o 7 etc.. =)
What do You mean with that?
__________________
Quote:
Originally Posted by wisam187
why all the great scriptors..... always.... leave and let their works go into oblivion ???
i miss your way in making outstanding plugins...
this forum needs lots of the likes of you..... and less of the idiots that spread right now.
Fry! is offline
shadowski
Senior Member
Join Date: Feb 2007
Old 10-05-2008 , 11:53   Re: Zombie Plague Mod 4.07
#2025

sorry for spaming, but could somebody compile the plugin to give ammo packs for specific player?
shadowski is offline
cheeyang
Junior Member
Join Date: Sep 2008
Old 10-05-2008 , 12:06   Re: Zombie Plague Mod 4.07
#2026

lol why the 4.07 problem is hostage sound why can help me fix it T.T plz
cheeyang is offline
NeWbiE'
Junior Member
Join Date: Aug 2008
Location: Czech Republic
Old 10-05-2008 , 12:10   Re: Zombie Plague Mod 4.07
#2027

Can someone help me pls?
Its posible change speed in duck?
__________________
Sorry for my bad english. I from Czech Republic

NeWbiE' is offline
Send a message via ICQ to NeWbiE'
..Gabox..
Member
Join Date: Dec 2007
Old 10-05-2008 , 12:10   Re: Zombie Plague Mod 4.07
#2028

[INGLES] By Google :
Hi, I have many ideas for ways But do not be like making modes, Algueña knows that could explain not only friend to everyone? , Or have a file that you provide this, as I would love to create profiles. Thax.

[Español]
Hola , yo tengo muchas ideas para hacer modos Pero no se como hacer modos , alguen que sepa podria explicar no solo ami a todos? , o hacer un archivo que nos facilite esto ya que me encantaria crear modos. Gracias .
..Gabox.. is offline
ignax
BANNED
Join Date: Feb 2008
Old 10-05-2008 , 12:43   Re: Zombie Plague Mod 4.07
#2029

as i said before, i had problems using auto bhop and long jump at the same time, so i tried using this. due i am very VERY noob at scripting, i had donde something wrong, and, when it should not give auto bhop to leap zombies, and humans should, it just give auto bhop to leap zombies T_T
i have put this
Code:
/*
 *
 *	Author:		Cheesy Peteza
 *	Date:		22-Apr-2004 (updated 2-March-2005)
 *
 *
 *	Description:	Enable bunny hopping in Counter-Strike.
 *
 *	Cvars:
 *			bh_enabled		1 to enable this plugin, 0 to disable.
 *			bh_autojump		If set to 1 players just need to hold down jump to bunny hop (no skill required)
 *			bh_showusage		If set to 1 it will inform joining players that bunny hopping has been enabled
 *						and how to use it if bh_autojump enabled.
 *
 *	Requirements:	AMXModX 0.16 or greater
 *
 *
 */

#include <amxmodx>
#include <engine>
#include <fun>
#include <zombieplague>
#define	FL_WATERJUMP	(1<<11)	// player jumping out of water
#define	FL_ONGROUND	(1<<9)	// At rest / on the ground

new const zclass_name6[] = { "Long Jump Zombie" }
new const zclass_info6[] = { "HP+ Speed+ Gravity++ Knockback++" }
new const zclass_model6[] = { "zombie_source" }
new const zclass_clawmodel6[] = {"v_knife_zombie.mdl" }
const zclass_health6 = 2200
const zclass_speed6 = 230
const Float:zclass_gravity6 = 0.5
const Float:zclass_knockback6 = 1.7
const zclass_LongJump6 = 1

new g_zclass_LongJump6

public plugin_init() {
	register_plugin("Super Bunny Hopper", "1.2", "Cheesy Peteza")
	register_cvar("sbhopper_version", "1.2", FCVAR_SERVER)

	register_cvar("bh_enabled", "1")
	register_cvar("bh_autojump", "1")
	register_cvar("bh_showusage", "1")
}

public plugin_precache()
{
	register_plugin("[ZP] Zombie Long Jump", "1.1", "The_Thing")
	
	g_zclass_LongJump6 = zp_register_zombie_class(zclass_name6, zclass_info6, zclass_model6, zclass_clawmodel6, zclass_health6, zclass_speed6, zclass_gravity6, zclass_knockback6)
}

public client_PreThink(id) {
	if(zp_get_user_zombie(id) == g_zclass_LongJump6)
	return PLUGIN_HANDLED
	if (!get_cvar_num("bh_enabled"))
		return PLUGIN_CONTINUE

	entity_set_float(id, EV_FL_fuser2, 0.0)		// Disable slow down after jumping

	if (!get_cvar_num("bh_autojump"))
		return PLUGIN_CONTINUE

// Code from CBasePlayer::Jump (player.cpp)		Make a player jump automatically
	if(zp_get_user_zombie(id) == g_zclass_LongJump6)
	return PLUGIN_HANDLED
			if (entity_get_int(id, EV_INT_button) & 2) {	// If holding jump
			new flags = entity_get_int(id, EV_INT_flags)

			if (flags & FL_WATERJUMP)
				return PLUGIN_CONTINUE
			if ( entity_get_int(id, EV_INT_waterlevel) >= 2 )
				return PLUGIN_CONTINUE
			if ( !(flags & FL_ONGROUND) )
				return PLUGIN_CONTINUE

		new Float:velocity[3]
		entity_get_vector(id, EV_VEC_velocity, velocity)
		velocity[2] += 250.0
		entity_set_vector(id, EV_VEC_velocity, velocity)

		entity_set_int(id, EV_INT_gaitsequence, 6)	// Play the Jump Animation
	}
	return PLUGIN_CONTINUE
}

public client_authorized(id)
	set_task(30.0, "showUsage", id)

public showUsage(id) {
	if ( !get_cvar_num("bh_enabled") || !get_cvar_num("bh_showusage") )
		return PLUGIN_HANDLED

	if ( !get_cvar_num("bh_autojump") ) {
		client_print(id, print_chat, "[AMX] Bunny hopping is enabled on this server. You will not slow down after jumping.")
	} else {
		client_print(id, print_chat, "[Informe s.G] Recuerda que puedes cambiar el modo de tus granadas, apretando click derecho con ellas")
	}
	return PLUGIN_HANDLED
}


public zp_user_infected_post(id, infector)
{
	if(zp_get_user_zombie(id) == g_zclass_LongJump6)
		client_print(id, print_chat,"")
	{
		give_item(id, "item_longjump")
	}
}
ignax is offline
psmaniac
Junior Member
Join Date: Oct 2008
Old 10-05-2008 , 12:43   Re: Zombie Plague Mod 4.07
#2030

Quote:
Originally Posted by The_Thing View Post
What do You mean with that?
If I understood him correctly he's saying it's a good idea to have the option to keep ammo packs when the map changes. Well keeping them permanently would be a bad idea, but say for 1 map change?
I really hate it when I have just saved enough ammo packs to buy something significant and then the map ends and I don't have them on the new one.
psmaniac is offline
Closed Thread



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 19:51.


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