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

Angel


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff       
zacky
Senior Member
Join Date: Mar 2008
Location: Sweden
Old 06-28-2009 , 10:34   Angel
Reply With Quote #1

Angel
by zacky

Information:
Code:
/******************************
 *
 *  Angel
 *    by zacky
 *
 **********************
 *
 *  Description:
 *    In this plugin you can become an angel
 *    by saying "/angel" in chat.
 *    It costs the amount stored in cvar angel_cost.
 *    When you do this, you get random health from 150 to 200, random armor from 100 to 150,
 *    xx gravity stored in angel_gravity cvar, xx speed stored in angel_speed gravity.
 *
 **********************
 *
 *  Info:
 *    When you are angel and shoot someone they become slowdowned.
 *    This doesn't happend if you have angel_slowdown_enabled on 0.
 *
 **********************
 *
 *  Cvars:
 *    angel_enabled 		1|0	// Enables/Disables angel. Default: 1.
 *    angel_cost    			// How much angels cost. Default: 10000.
 *    angel_gravity			// How much gravity you get. Default: 250.
 *    angel_speed			// How much speed you get. Default: 310.0.
 *    angel_slowdown_enabled	1|0	// Enables/Disables slowdown when you are angel and shoot someone. Default: 1.
 *
 **********************
 *
 *  Say Commands:
 *    /angel		// Makes you an angel if you have enough money.
 *    /angelinfo	// Shows some information about angel.
 *
 **********************
 *
 *  ToDo:
 *    MultiLingual
 *    Suggestions
 *
 **********************
 *
 *  Credits:
 *    SgtBane: For his hat plugin (To set the angel model)
 *    xPaw: For testing and finding bugs.
 *
 ******************************/
More Information:
Why the angel model is in hat folder is because some players may already have it if they have played on a server with Hats plugin mady by SgtBane.

I am open for suggestions.

I got this idea from TitANious demon plugin. (I thought opposite plugin, which is angel.)

Enjoy!
Attached Files
File Type: zip angel model.zip (26.1 KB, 270 views)
File Type: sma Get Plugin or Get Source (angel.sma - 936 views - 10.6 KB)

Last edited by zacky; 06-28-2009 at 16:24. Reason: Added xPaw to credits, forgot that before.
zacky is offline
Send a message via Skype™ to zacky
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 06-28-2009 , 10:39   Re: Angel
Reply With Quote #2

Em.... Why you are making hat invisible when dead? why not just deleting it ?

Code:
public cmdRemoveSlowDown(iVictim) {     if (gIsAngel[iVictim]) {         engfunc(EngFunc_SetClientMaxspeed, iVictim, get_pcvar_float(gCvarSpeed));         set_pev(iVictim, pev_maxspeed, get_pcvar_float(gCvarSpeed));     } else {
        engfunc(EngFunc_SetClientMaxspeed, iVictim, 250.0);
        set_pev(iVictim, pev_maxspeed, 250.0);
    }         gBeenAttackedByAngel[iVictim] = false; }
This part fails, maybe i have awp, and i dont have angel o_0, use cs_reset_user_speed
__________________
xPaw is offline
GarfieldSexy
Junior Member
Join Date: Apr 2009
Old 06-28-2009 , 10:39   Re: Angel
Reply With Quote #3

Why dont you make Angels Vs Demons? Just Suggesting~
GarfieldSexy is offline
crazyeffect
Veteran Member
Join Date: Jul 2008
Location: Belgium
Old 06-28-2009 , 10:41   Re: Angel
Reply With Quote #4

Yeah, was thinking about that too
__________________
crazyeffect is offline
Send a message via MSN to crazyeffect
zacky
Senior Member
Join Date: Mar 2008
Location: Sweden
Old 06-28-2009 , 10:43   Re: Angel
Reply With Quote #5

I can make new plugin for that sometime, demons = terrorists, angels = cts.

And sorry xpaw, forgot to add you to credits. adding you now.

And ill make that in next version.

EDIT: I don't delete it because i dont need to create it everytime then. I just need to make it visible.
zacky is offline
Send a message via Skype™ to zacky
tuty
Veteran Member
Join Date: Jul 2008
Location: UK
Old 06-28-2009 , 11:02   Re: Angel
Reply With Quote #6

Angle by zacky =)) change the title ... =]
__________________
tuty is offline
Send a message via ICQ to tuty Send a message via AIM to tuty
zacky
Senior Member
Join Date: Mar 2008
Location: Sweden
Old 06-28-2009 , 11:16   Re: Angel
Reply With Quote #7

Quote:
Originally Posted by tuty View Post
Angle by zacky =)) change the title ... =]
It's spelled angel, angle is something else which is hard to explain.
zacky is offline
Send a message via Skype™ to zacky
tuty
Veteran Member
Join Date: Jul 2008
Location: UK
Old 06-28-2009 , 11:18   Re: Angel
Reply With Quote #8

no, you dont understand, your topic title is angel, and your plugin title is angle....
__________________
tuty is offline
Send a message via ICQ to tuty Send a message via AIM to tuty
zacky
Senior Member
Join Date: Mar 2008
Location: Sweden
Old 06-28-2009 , 11:20   Re: Angel
Reply With Quote #9

Quote:
Originally Posted by tuty View Post
no, you dont understand, your topic title is angel, and your plugin title is angle....
Oh yes, thanks for telling.
zacky is offline
Send a message via Skype™ to zacky
TandborsteN
Member
Join Date: Sep 2008
Old 06-29-2009 , 06:29   Re: Angel
Reply With Quote #10

yay, nice plugin
__________________
TANDBORSTEN!
TandborsteN 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 01:58.


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