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

No Flags DOD:S


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Bailey65thID
Junior Member
Join Date: Aug 2012
Old 08-12-2012 , 02:51   No Flags DOD:S
Reply With Quote #1

I was hoping to modify the script from the Realism Match Helper, I just want the flags to be disabled while running public matches. I'm not really sure where to start, so I took out some of the script and left what I think disables the flags, which left me with:

Code:
#include <sourcemod>
#include <sdktools>
#include <sdkhooks>

#define PLUGIN_VERSION ".0.1"

public Plugin:myinfo = 
{
	name = "No Flags",
	author = "Bailey [65th ID]",
	description = "Disable Flags",
	version = PLUGIN_VERSION,
	url = "65thid.tk"
}

	{
		if(StrEqual(classname, "dod_capture_area") || StrEqual(classname, "dod_control_point") || StrEqual(classname, "dod_bomb_target") || StrEqual(classname, "dod_bomb_dispenser") || StrEqual(classname, "dod_bomb_dispenser_icon"))
		{
			AcceptEntityInput(entity, "Disable")
		}
		else if(StrEqual(classname, "dod_control_point_master"))
		{
			DispatchKeyValue(entity, "cpm_use_timer", "0")
		}
	}
}
I don't mind starting from scratch, if someone has a good tutorial to use.
Bailey65thID is offline
FeuerSturm
AlliedModders Donor
Join Date: Apr 2004
Old 08-12-2012 , 02:58   Re: No Flags DOD:S
Reply With Quote #2

This is probably what you're looking for:
http://dodsplugins.com/viewtopic.php?f=2&t=24
FeuerSturm is offline
Bailey65thID
Junior Member
Join Date: Aug 2012
Old 08-12-2012 , 03:05   Re: No Flags DOD:S
Reply With Quote #3

It doesn't work anymore. I will try it again, but I worked on it after 1.4.4 was released for almost 4 hours.

Last edited by Bailey65thID; 08-12-2012 at 03:07.
Bailey65thID is offline
Bailey65thID
Junior Member
Join Date: Aug 2012
Old 08-12-2012 , 03:13   Re: No Flags DOD:S
Reply With Quote #4

Is there anyway I can run it with sdkhooks instead of dodhooks? I think that's the issue I'm having.
Bailey65thID is offline
Bailey65thID
Junior Member
Join Date: Aug 2012
Old 08-12-2012 , 03:17   Re: No Flags DOD:S
Reply With Quote #5

L 08/12/2012 - 02:12:29: [SM] Unable to load plugin "dod_disableobjectives.smx": Required extension "DoD Hooks" file("dodhooks.ext") not running
Bailey65thID is offline
FeuerSturm
AlliedModders Donor
Join Date: Apr 2004
Old 08-12-2012 , 03:18   Re: No Flags DOD:S
Reply With Quote #6

Just install DoDHooks then, there's no problem with DoDHooks and if it wouldn't be required
for the functionality, I wouldn't have made it depend on it
FeuerSturm is offline
Bailey65thID
Junior Member
Join Date: Aug 2012
Old 08-12-2012 , 03:18   Re: No Flags DOD:S
Reply With Quote #7

But I have sdkhooks I thought they conflicted?
Bailey65thID is offline
FeuerSturm
AlliedModders Donor
Join Date: Apr 2004
Old 08-12-2012 , 03:23   Re: No Flags DOD:S
Reply With Quote #8

There's no conflict at all, both are working perfect along each other.
FeuerSturm is offline
Bailey65thID
Junior Member
Join Date: Aug 2012
Old 08-12-2012 , 03:25   Re: No Flags DOD:S
Reply With Quote #9

So I added dodhooks to my server and now sdkhooks isnt working lol
Bailey65thID is offline
FeuerSturm
AlliedModders Donor
Join Date: Apr 2004
Old 08-12-2012 , 03:27   Re: No Flags DOD:S
Reply With Quote #10

You're doing something wrong then, I'm running SDKHooks and DoDHooks together since ages
without any problems.

Are you on Linux or Windows?

Did you get the latest stable versions of SDKHooks and DoDHooks and the latest GameData files?
FeuerSturm 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 14:40.


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