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

[Any] Deluxe Godmode


Post New Thread Reply   
 
Thread Tools Display Modes
jameless
Veteran Member
Join Date: Jan 2010
Old 11-22-2010 , 16:33   Re: [Any] Deluxe Godmode
Reply With Quote #31

I found a small bug with the logic you used for buddha mode. You had
Code:
public Action:Command_Buddha( client, args )
{
	if (args < 1)
		{
			new gValue = GetEntProp(client, Prop_Data, "m_takedamage", 1);
			
			if(gValue) // Mortal
But buddha mode uses a gValue of 1 as opposed to the 0 with godmode. So I changed it to
Code:
public Action:Command_Buddha( client, args )
{
	if (args < 1)
		{
			new gValue = GetEntProp(client, Prop_Data, "m_takedamage", 1);
			
			if(gValue==2) // Mortal
and now the toggling on yourself works fine.

Nice plugin thanks.
jameless is offline
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Old 01-29-2011 , 09:08   Re: [Any] Deluxe Godmode - Now v2!
Reply With Quote #32

Massive Update Released:
  • V2.0.0
    • Plugin completely re-written
    • Now can give godmode / buddha mode on spawn
    • Added sm_mortal command
    • Cvar added to control some chat messages added
    • Cvar added to allow non-admins to use commands
Check out the OP for more info!

Thanks all for the awesome 1117 downloads prior to this update!
__________________
DarthNinja is offline
viktorgk
Member
Join Date: Oct 2010
Old 02-19-2011 , 13:48   Re: [Any] Deluxe Godmode - Now v2!
Reply With Quote #33

can you make it compatible with alien swarm please?
viktorgk is offline
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Old 02-20-2011 , 01:31   Re: [Any] Deluxe Godmode - Now v2!
Reply With Quote #34

Quote:
Originally Posted by viktorgk View Post
can you make it compatible with alien swarm please?
Is it not?
__________________
DarthNinja is offline
viktorgk
Member
Join Date: Oct 2010
Old 02-20-2011 , 17:43   Re: [Any] Deluxe Godmode - Now v2!
Reply With Quote #35

no
viktorgk is offline
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Old 02-21-2011 , 05:02   Re: [Any] Deluxe Godmode - Now v2!
Reply With Quote #36

Quote:
Originally Posted by viktorgk View Post
no
The swarm devs must have done something strange and removed shit...
Are there any errors?
Also, would you mind running "sm_dump_datamaps asw_datamaps.txt" (without the quotes) on your server and posting the file it creates?
__________________
DarthNinja is offline
viktorgk
Member
Join Date: Oct 2010
Old 02-22-2011 , 11:39   Re: [Any] Deluxe Godmode - Now v2!
Reply With Quote #37

none errors in the server console and none in the client console. these 2 files you told i dont have. the 2 files sm_dump_datamaps and asw_datamaps.txt i dont have (not in the server folder/subfolders and not in the game folder/subfolders)
viktorgk is offline
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Old 02-23-2011 , 00:05   Re: [Any] Deluxe Godmode - Now v2!
Reply With Quote #38

sm_dump_datamaps asw_datamaps.txt is a command, it writes the fileasw_datamaps.txt
__________________
DarthNinja is offline
viktorgk
Member
Join Date: Oct 2010
Old 02-23-2011 , 11:17   Re: [Any] Deluxe Godmode - Now v2!
Reply With Quote #39

Quote:
Originally Posted by DarthNinja View Post
sm_dump_datamaps asw_datamaps.txt is a command, it writes the fileasw_datamaps.txt
ah got it

link: http://www.xup.in/dl,64475110/asw_datamaps.txt/

Last edited by viktorgk; 02-23-2011 at 11:20.
viktorgk is offline
viktorgk
Member
Join Date: Oct 2010
Old 02-25-2011 , 12:29   Re: [Any] Deluxe Godmode - Now v2!
Reply With Quote #40

so you can make it compatible?
viktorgk 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 09:49.


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