Execution (Gears of War) 1.5 - 16/09/2009
3 Attachment(s)
Execution based on gears of war, a gametype which add health regenerating, downing your enemies and rescuing your teammates before they bleedout.
While downed, the enemies can only HS, stab and nade you. To rescue a friend you have to walk to them and press your use buttom on them. The person who is downed will bleed, get red screen and get freezed. There is a status icon which indicate when they are downed and also when you regenerating health. Code:
amx_execution, sv_execution = 1/0 - First release Version 1.1 - Removed module:Engine - Removed module:Cstrike - Replaced touch with fm_touch Version 1.2 - Fixed the broken pcvar's Version 1.3 - More headshot blood when downed - Replaced [set|get]_user_health - Temporary fix for downed Version 1.4 - Fixed critical bugs - Less screen shake Version 1.5 - Fixed minor bugs - Fixed New Round bug - Fixed errors from bots - Less sound clashes - Removed silent sound in the wav files - Changed cvar commands |
Re: Execution 1.0 - 16/02/08
sounds good.
attach files here, and attach the .sma separately so the "Get Plugin" option will come into effect also, you cannot upload .amxx files since the UAIO incident i suggest a .zip for sounds, attach the .sma, attach the lang file, and just have installation instructions on your first post. EDIT: also, seeing as you are using cstrike module, change the Modification to Counter-Strike o, and change the category, because this is a gameplay type plugin, not admin commands :) |
Re: Execution 1.0 - 16/02/08
Oh, thanks. I will attach the files then.
|
Re: Execution (Gears of War) 1.0 - 16/02/08
- require_module() is depreciated since AMX Mod X autoloads the necessary module.
- uhh ? Just use pcvar. What's the point to use [set|get]_cvar_*() too ? - Since you are using fakemeta, you can remove cstrike requirement: cs_get_weapon_id() replaced by a macro for example : cs_get_user_team() replaced by get_user_team()- You can also remove engine requirement. Just use FM_Touch forward instead of register_touch() That's all for my suggestions for the moment. |
Re: Execution (Gears of War) 1.0 - 16/02/08
I see, I don't understand the OFFSET thing, but I can fix the other suggestions you made.
get_pdata_int( %1, OFFSET_WEAPONTYPE, LINUX_EXTRAOFFSET ) almost same as cs_get_weapon_id(%1) and %1 are the index? And with the cvar I tought it looks much better if you for exemple type ex_execution in the console then you know if the plugin are on or off. |
Re: Execution (Gears of War) 1.0 - 16/02/08
It's a macro. I've wrote 'cs_get_weapon_id' but you write what you want, like GetWeaponID(). %1 is the player's index. ( You can see the source of this function. cstrike.cpp / cstrike.h )
Quote:
|
Re: Execution (Gears of War) 1.0 - 16/02/08
Quote:
|
Re: Execution (Gears of War) 1.0 - 16/02/08
You can read a more long explanation by Twilight Suzuka here : http://forums.alliedmods.net/showthr...371#post550371
|
Re: Execution (Gears of War) 1.0 - 16/02/08
But if you update the pcvar the cvar won't change.
I have remove the engine & and cstrike module now, I can't get block jump to work. Code:
|
Re: Execution (Gears of War) 1.0 - 16/02/08
Quote:
PHP Code:
PHP Code:
|
All times are GMT -4. The time now is 20:57. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.