Lucky Luke
Description
Revolver Hero - Get your revolver(deagle) and aim faster than your shadow
http://en.wikipedia.org/wiki/Lucky_Luke
shconfig.cfg CVARS
Code:
//Lucky Luke
luckyluke_level 8 //Level he is selectable at (def=8)
luckyluke_hasmult 1 //Whether he has a multiplyer (def=1)
luckyluke_getdeagle 1 //Get a deagle at spawn, 0=no, 1=yes (def=1)
luckyluke_deaglemult 3.0 //Multiplyer with deagle (def=3.0)
**Requires superheromod 1.2.0 and above**
Credits
Code:
/*
* Credits:
* - To CHW_Chronic for his "Hacks" plugin.
* - To Rolnaaba for the Weapon Model section in his Superhero Tutorial.
* - As third, credits go to vittu since he pointed out why I should change things in version 1.2.
* - To XxAvalanchexX to his awp_oneshot plugin.
*/
Changelog
Code:
/*
* Changelog:
* v1.0 - Created the Hero.
*
* v1.1 - Added the 6 ammo clip as suggested.
* - Using hamandsandwich.inc for some functions, as requested.
* - Added stocks from chr_engine, so everybody can edit the hero now, without the chr_engine include.
* - Using pcvars now, as requested.
* - Using a new model now.
*
* v1.2 - Upgraded it to superheromod 1.2.0.
* - Changed the bone, which you aim at, to the spine.
* - Added the hasmult cvar.
*
* v1.3 - Removed the infinite ammo, since lucky luke hasnt got that in the comics.
* - Removed the hasmult cvar, kind of pointless
* - Changed FM_ClientPutInServer to client_putinserver after vittu pointing out that it was faster (and default).
* - Replaced ExecuteHam(Ham_IsAlive, id) with is_user_alive(id) with the same reason as client_putinserver.
* - Removed some unnessecary code.
* - Some changes in the CurWeapon event.
* - Made the revolver model constant and used pev_viewmodel2 (instead of AllocString..).
* - Changed the hero version from SH_VERSION_STR to my own (since I was kind of lazy, so I really copied
* a lot when changing to shmod 1.2.0).
* - Removed some read_data(1) checks in the curWeapon event, since it was always 1.
* - Removed the g_Aimbot[id] = true in the sh_hero_init when the hero gets added.
* - Added vittu to the credits, since he pointed out why I should change/remove the stuff above.
*/