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

Subplugin Submission [ZP] Addon + Extra Item: Knockback Bomb


Post New Thread Reply   
 
Thread Tools Display Modes
Just4Games
Senior Member
Join Date: Jan 2013
Location: Romania
Old 06-27-2014 , 14:22   Re: [ZP] Addon + Extra Item: Knockback Bomb
Reply With Quote #11

Tried that Nade Modes plugin but still same problem
Here is my zombie_plague_advance.ini:
Code:
; ===========================================================
;  * || Zombie Plague Advance v1.6.1 Customization File || *
; ===========================================================
;
; Any changes you make here will be
; automatically loaded at map start

; LNJ Mode is Known as Armageddon Mode

; Note: No error parsing is done for this.
; Make sure you don't mistype anything.

[Access Flags]
ENABLE/DISABLE MOD = l
ADMIN MENU MAIN ACCESS = d
ADMIN MENU OF CLASSES = d
ADMIN MENU OF MODES = d
START MODE INFECTION = d
START MODE NEMESIS = d
START MODE ASSASSIN = d
START MODE SURVIVOR = d
START MODE SNIPER = d
START MODE SWARM = d
START MODE MULTI = d
START MODE PLAGUE = d
START MODE LNJ = d
MAKE ZOMBIE = d
MAKE HUMAN = d
MAKE NEMESIS = d
MAKE ASSASSIN = d
MAKE SURVIVOR = d
MAKE SNIPER = d
RESPAWN PLAYERS = d
ADMIN MODELS = d

[Player Models] (randomly chosen if more than one)
HUMAN = h1 , h2
NEMESIS = ZmNemesis
SURVIVOR = survskin
ADMIN ZOMBIE = zm_admin2
ADMIN HUMAN = cso_admin , gign_ubcs
SNIPER = gign_ubcs
ASSASSIN = Assassin

; If you don't want people using altered player models, enable the following.
; 1 = Bounds Check (model's geometry must fit in the same bbox)
; 2 = CRC Check (file on client must exactly match server's file)
FORCE CONSISTENCY = 0

; By default, zombie models are class specific. You can edit them separately in your zp_zombieclasses.ini
; If, however, you want all zombies to use the same models regardless of class, you can enable this
; setting and add your global zombie models to the "ZOMBIE" line.
SAME MODELS FOR ALL = 0
ZOMBIE = zm_admin

[Weapon Models]
V_KNIFE HUMAN = models/zombie_plague/v_khuman.mdl
V_KNIFE NEMESIS = models/special/v_nemeknife.mdl
V_M249 SURVIVOR = models/special/v_shotgun.mdl
GRENADE INFECT = models/zombie_plague/v_grenade_infect.mdl
GRENADE FIRE = models/zombie_plague/v_grenade_fire.mdl
GRENADE FROST = models/zombie_plague/v_grenade_frost.mdl
GRENADE FLARE = models/zombie_plague/v_grenade_flare.mdl
V_KNIFE ADMIN HUMAN = models/special/v_adminknife.mdl
V_KNIFE ADMIN ZOMBIE = models/special/v_nemeknife.mdl
V_AWP SNIPER = models/special/v_sniper.mdl
V_KNIFE ASSASSIN = models/zombie_plague/v_assassin.mdl

[Grenade Sprites]
TRAIL = sprites/laserbeam.spr
RING = sprites/shockwave.spr
FIRE = sprites/flame.spr
SMOKE = sprites/black_smoke3.spr
GLASS = models/glassgibs.mdl

[Sounds] (randomly chosen if more than one)
WIN ZOMBIES = ambience/zombie_win1.wav , ambience/zombie_win2.wav , ambience/zombie_win3.wav
WIN HUMANS = zombie_plague/zp_end/zp_human_end01.mp3 , zombie_plague/zp_end/zp_human_end02.mp3 , zombie_plague/zp_end/zp_human_end03.mp3 , zombie_plague/zp_end/zp_human_end04.wma , zombie_plague/zp_end/zp_human_end05.wma
WIN NO ONE = ambience/3dmstart.wav
ZOMBIE INFECT = zombie_plague/zombi_coming_1.wav , zombie_plague/zombi_coming_2.wav , scientist/c1a0_sci_catscream.wav , scientist/scream01.wav
ZOMBIE PAIN = zombie_plague/zombie_pain1.wav , zombie_plague/zombie_pain2.wav , zombie_plague/zombie_pain3.wav , zombie_plague/zombie_pain4.wav , zombie_plague/zombie_pain5.wav
NEMESIS PAIN = zombie_plague/nemesis_pain1.wav , zombie_plague/nemesis_pain2.wav , zombie_plague/nemesis_pain3.wav
ZOMBIE DIE = zombie_plague/zm_die1.wav , zombie_plague/zm_die3.wav , zombie_plague/zm_die4.wav , zombie_plague/zm_die5.wav , zombie_plague/zm_die6.wav , zombie_plague/zm_die7.wav , zombie_plague/zm_die8.wav
ZOMBIE FALL = zombie_plague/zombie_fall1.wav
ZOMBIE MISS SLASH = weapons/knife_slash1.wav , weapons/knife_slash2.wav
ZOMBIE MISS WALL = weapons/knife_hitwall1.wav
ZOMBIE HIT NORMAL = weapons/knife_hit1.wav , weapons/knife_hit2.wav , weapons/knife_hit3.wav , weapons/knife_hit4.wav
ZOMBIE HIT STAB = weapons/knife_stab.wav
ZOMBIE IDLE = nihilanth/nil_now_die.wav , nihilanth/nil_slaves.wav , nihilanth/nil_alone.wav , zombie_plague/zombie_brains1.wav , zombie_plague/zombie_brains2.wav
ZOMBIE IDLE LAST = nihilanth/nil_thelast.wav
ZOMBIE MADNESS = zombie_plague/maddness.wav
ROUND NEMESIS = zombie_plague/neme1.wav
ROUND SURVIVOR = zombie_plague/survivor1.wav , zombie_plague/surv1.wav
ROUND SWARM = ambience/the_horror2.wav
ROUND MULTI = ambience/the_horror2.wav
ROUND PLAGUE = zombie_plague/LNJ.wav , zombie_plague/surv1.wav
GRENADE INFECT EXPLODE = zombie_plague/grenade_infect.wav
GRENADE INFECT PLAYER = scientist/scream20.wav , scientist/scream22.wav , scientist/scream05.wav
GRENADE FIRE EXPLODE = zombie_plague/grenade_explode.wav
GRENADE FIRE PLAYER = zombie_plague/zombie_burn3.wav , zombie_plague/zombie_burn4.wav , zombie_plague/zombie_burn5.wav , zombie_plague/zombie_burn6.wav , zombie_plague/zombie_burn7.wav
GRENADE FROST EXPLODE = warcraft3/frostnova.wav
GRENADE FROST PLAYER = warcraft3/impalehit.wav
GRENADE FROST BREAK = warcraft3/impalelaunch1.wav
GRENADE FLARE = items/nvg_on.wav
ANTIDOTE = items/smallmedkit1.wav
THUNDER = zombie_plague/fulger1.wav , zombie_plague/fulger2.wav
ROUND SNIPER = zombie_plague/survivor1.wav , zombie_plague/surv1.wav
ROUND ASSASSIN = zombie_plague/neme1.wav
ASSASSIN PAIN = zombie_plague/nemesis_pain1.wav , zombie_plague/nemesis_pain2.wav , zombie_plague/nemesis_pain3.wav
ROUND LNJ = zombie_plague/LNJ.wav

[Ambience Sounds] (randomly chosen if more than one) (only .wav and .mp3 formats supported) (duration is in seconds)
INFECTION ENABLE = 1
INFECTION SOUNDS = zombie_plague/ambience_normal.wav , zombie_plague/nmzombie.mp3
INFECTION DURATIONS = 137 , 230
NEMESIS ENABLE = 1
NEMESIS SOUNDS = zombie_plague/nemesisamb.mp3
NEMESIS DURATIONS = 240
SURVIVOR ENABLE = 1
SURVIVOR SOUNDS = zombie_plague/sniperambience.mp3 , zombie_plague/modambience.mp3
SURVIVOR DURATIONS = 140 , 170
SWARM ENABLE = 1
SWARM SOUNDS = zombie_plague/swarm.mp3
SWARM DURATIONS = 80
PLAGUE ENABLE = 1
PLAGUE SOUNDS = zombie_plague/plagueamb.mp3
PLAGUE DURATIONS = 75
SNIPER ENABLE = 1
SNIPER SOUNDS = zombie_plague/survamb.mp3 , zombie_plague/modambience.mp3
SNIPER DURATIONS = 165 , 170
ASSASSIN ENABLE = 1
ASSASSIN SOUNDS = zombie_plague/nemeambience.mp3 , zombie_plague/zp_nmamb.mp3
ASSASSIN DURATIONS = 325 , 190
LNJ ENABLE = 1
LNJ SOUNDS = zombie_plague/armaambience2.mp3
LNJ DURATIONS = 135

[Buy Menu Weapons]
PRIMARY = weapon_galil , weapon_famas , weapon_m4a1 , weapon_ak47 , weapon_sg552 , weapon_aug , weapon_xm1014 , weapon_mp5navy
SECONDARY = weapon_deagle
ADDITIONAL ITEMS = weapon_hegrenade , weapon_flashbang , weapon_flashbang , weapon_smokegrenade

[Extra Items: Weapons and their costs]
NAMES = Grenada HE , Grenada Flash , Grenada Smoke , AWP , M249 , SG550 , G3SG1
ITEMS = weapon_hegrenade , weapon_flashbang , weapon_smokegrenade , weapon_awp , weapon_m249 , weapon_sg550 , weapon_g3sg1
COSTS = 3 , 3 , 3 , 5 , 10 , 15 , 15

[Hard Coded Items Costs]
NIGHT VISION = 10
ANTIDOTE = 10
ZOMBIE MADNESS = 7
INFECTION BOMB = 10

[Weather Effects]
RAIN = 0
SNOW = 0
FOG = 0
FOG DENSITY = 0.0018
FOG COLOR = 255 255 255

[Custom Skies] (randomly chosen if more than one)
ENABLE = 0
SKY NAMES = space

[Lightning Lights Cycle]
LIGHTS = ijklmnonmlkjihgfedcb , klmlkjihgfedcbaabcdedcb , bcdefedcijklmlkjihgfedcb

[Zombie Decals] (for bloodstains/footsteps)
DECALS = 99 , 107 , 108 , 184 , 185 , 186 , 187 , 188 , 189

[Knockback Power for Weapons] (use -1.0 to disable knockback power for the weapon)
P228 = 2.4
SCOUT = 6.5
XM1014 = 8.0
MAC10 = 2.3
AUG = 5.0
ELITE = 2.4
FIVESEVEN = 2.0
UMP45 = 2.4
SG550 = 5.3
GALIL = 5.5
FAMAS = 5.5
USP = 2.2
GLOCK18 = 2.0
AWP = 20.0
MP5NAVY = 2.5
M249 = 5.2
M3 = 8.0
M4A1 = 5.0
TMP = 2.4
G3SG1 = 6.5
DEAGLE = 5.3
SG552 = 5.0
AK47 = 6.0
P90 = 2.0

[Objective Entities] (and anything that would affect gameplay that needs to be removed)
CLASSNAMES = func_bomb_target , info_bomb_target , info_vip_start , func_vip_safetyzone , func_escapezone , hostage_entity , monster_scientist , func_hostage_rescue , info_hostage_rescue , env_fog , env_rain , env_snow , item_longjump , func_vehicle

[SVC_BAD Prevention] (if you experience *many* SVC_BAD kicks, try one of the following)
; A. Increase the delay between model changes here (in 0.1 increments until the kicks are gone)
MODELCHANGE DELAY = 0.2
; B. If you still get recurring kicks, try enabling this setting: (experimental!)
HANDLE MODELS ON SEPARATE ENT = 0

; If you want your models to have accurate hitboxes, try enabling this.
; Note: make sure your models don't have messed up hitboxes, otherwise
; this setting might cause your server insane cpu usage and lag!
SET MODELINDEX OFFSET = 0
Just4Games is offline
ArabicMan
Veteran Member
Join Date: Feb 2014
Location: مصر
Old 06-27-2014 , 18:41   Re: [ZP] Addon + Extra Item: Knockback Bomb
Reply With Quote #12

I test it but it do nothing to humans.
ArabicMan is offline
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 06-27-2014 , 21:27   Re: [ZP] Addon + Extra Item: Knockback Bomb
Reply With Quote #13

I have test this plugin in ZPA 1.6.1, ZP 5.0.5 and ZP 5.0.8 and it is working well. However, the bomb must be really close to the human.

Have you tried to change the "#define RADIUS 300.0"?

Last edited by zmd94; 06-27-2014 at 21:28.
zmd94 is offline
ArabicMan
Veteran Member
Join Date: Feb 2014
Location: مصر
Old 06-28-2014 , 07:44   Re: [ZP] Addon + Extra Item: Knockback Bomb
Reply With Quote #14

I'll try it.
ArabicMan is offline
z0mb1el0v3r
Senior Member
Join Date: May 2011
Old 09-30-2014 , 16:11   Re: [ZP] Addon + Extra Item: Knockback Bomb
Reply With Quote #15

Nice. Can you add buy limit per player for a single round(reset limit every new round) cvar on the extra item version?
z0mb1el0v3r is offline
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 10-01-2014 , 07:48   Re: [ZP] Addon + Extra Item: Knockback Bomb
Reply With Quote #16

Just use this plugin to limit the extra item. ;)

https://forums.alliedmods.net/showthread.php?t=242103
zmd94 is offline
GraviAnt
Senior Member
Join Date: Oct 2010
Old 03-22-2015 , 20:49   Re: [ZP] Addon + Extra Item: Knockback Bomb
Reply With Quote #17

Is it possible to make different model for each zombie class?
GraviAnt is offline
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 03-23-2015 , 00:34   Re: [ZP] Addon + Extra Item: Knockback Bomb
Reply With Quote #18

Sorry, what model? Do you mean the bomb model?
zmd94 is offline
GraviAnt
Senior Member
Join Date: Oct 2010
Old 03-23-2015 , 05:06   Re: [ZP] Addon + Extra Item: Knockback Bomb
Reply With Quote #19

I mean like in cso, light zombie has knockback bomb model that has hands that suits his body model...

Deimos zombie:


Speed zombie:


And for all zombie classes to have different model that suits their body...
GraviAnt is offline
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 03-23-2015 , 06:22   Re: [ZP] Addon + Extra Item: Knockback Bomb
Reply With Quote #20

It can be done. Yet quite difficult as we need to modify also the zombie class code.
zmd94 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 12:46.


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