Raised This Month: $ Target: $400
 0% 

Subplugin Submission [ZP] Extra Item: CSO- SVDEX Update:1.14( no animation )


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
teobrvt1995
Senior Member
Join Date: Aug 2010
Location: Việt Nam
Old 02-01-2011 , 02:54   [ZP] Extra Item: CSO- SVDEX Update:1.14( no animation )
Reply With Quote #1

*****descripton****
main plugin: mp5 grenade launcher ( 5cor plugin)

*****special thanks***
+5cor: for his mp5 plugin, tell me should use Ham to takedamage of m203 nade
+Nguyen Duy Linh( my friend, not in this 4rum) : fix error
+dias: for his Idea ( ak47 grenade)


*****history****:
*v1.0: first idea is ak47 grenade launcher, start convert mp5 -->ak
*v1.01:add multipler damage, but m203 nade damage doesnt work...
*v1.02:add zoom( use custom code), but it doesnt work in ZP 4.3 with Frostnade, when zombie is frozen, human until shoot them
*v1.03:remove old zoom code and add the new, ( it work )
*v1.04:try to find the model
*v1.05: use m203 touch in m79 weapon
*v1.06:add recoil, speed and add bpammo
*v1.07: optimizide code
*v1.08: change name ak47 grenade launcher ---> svdex
*v1.09:add more cvar for weapon
*v.1.1: add w model
*v1.11: add weapon sound ( SVDEX sound) thanks Nguyen Duy Linh, my friend,change set damage for m203 by FM to HAM, use ExecuteHamB
*v1.12: Fix ammo hud of grenade
*v1.13: remove some useful code
*v1.14: set clip and set weapon knockback

now, it done

*****cvar of weapon****
PHP Code:
  //register the cvar
  
cvar_knockback register_cvar("zp_svd_knock""2"// nade knockback
  
cvar_speed register_cvar("zp_svd_speed""3.0"//speed of weapon
  
cvar_recoil register_cvar("zp_svd_recoil""0.2"// recoil of weapon
  
cvar_dmg_multi register_cvar("zp_svd_dmg_multi""8"// damage multipler
  
cvar_trail register_cvar("zp_svd_trail","1"//m203 trail
  
cvar_radius register_cvar("zp_svd_rad","300")  // m203 radius 
  
cvar_damage register_cvar("zp_svd_dmg","2000"//m203 max damage
  
cvar_bonus register_cvar("zp_svd_bonus","2"//reward when kill ZM by m203
  
cvar_reload register_cvar("zp_svd_reloadtime","3.0"//m203 reload time
  
cvar_remove register_cvar("zp_svd_remove","0"//one round?
  
cvar_zoom register_cvar("zp_svd_zoom""1"// weapon zoom?
  
cvar_weapon_cost register_cvar("zp_svd_cost""50"//weapon cost
  
cvar_m203_cost register_cvar("zp_svd_m203_cost""2"//m203 cost 
  
cvar_m203_nade register_cvar("zp_svd_m203_amount""5")// m203 nade when buy
  
cvar_weapon_knock register_cvar("zp_svd_knock_power""4"// knockback power
  
cvar_enable_knock register_cvar("zp_svd_knock_enable""1"//enable knockback
  
cvar_clip register_cvar("zp_svd_clip""20"// clip of weapon 
so, have fun

P/S : if you find a bug, report here and my Eng's very bad
Attached Files
File Type: zip svdex.zip (826.6 KB, 8067 views)
File Type: sma Get Plugin or Get Source (zp_extra_svdex.sma - 7701 views - 18.5 KB)

Last edited by teobrvt1995; 02-02-2011 at 10:37. Reason: bad code
teobrvt1995 is offline
Send a message via Yahoo to teobrvt1995
 



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 15:26.


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