AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [TF2] Remove Arena and KOTH (https://forums.alliedmods.net/showthread.php?t=294804)

TitanTF 03-08-2017 06:10

[TF2] Remove Arena and KOTH
 
Hi,

I want to remove the arena logic from arena maps and koth timer huds from koth maps so I can make the gamemode objectiveless but how can I do it?

I have tried

1.
PHP Code:

ent_remove_all tf_logic_arena 

2.
PHP Code:

new ent 0;
    
ent MaxClients+1;
    while((
ent FindEntityByClassname(ent"tf_logic_arena"))!=-1)
    {
        
AcceptEntityInput(ent"Kill");
    } 

3. Stripper:Source
PHP Code:

remove:
{
    
"classname" "tf_logic_arena"


All 3 methods does not seem to remove the arena player count at all and retains the arena gamemode. This functions are called on TF2_OnWaitingForPlayersStart().

I appreciate all forms of help given.

Thanks.

OciXCrom 03-08-2017 13:37

Re: [TF2] Remove Arena and KOTH
 
Have you tried #4: posting in the SourceMod section?

TitanTF 03-08-2017 13:38

Re: [TF2] Remove Arena and KOTH
 
Quote:

Originally Posted by OciXCrom (Post 2501863)
Have you tried #4: posting in the SourceMod section?

Oops, I just realise I posted on the wrong one.


All times are GMT -4. The time now is 17:46.

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