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

[REQ] TF2 server layout plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
SoulTF2.ro
New Member
Join Date: Jul 2015
Old 08-22-2015 , 07:55   [REQ] TF2 server layout plugin
Reply With Quote #1

Hello ,does any one know the plugin name or can anyone make me a plugin with a custom logo for a tf2 server ?

Here is a example
SoulTF2.ro is offline
AeroAcrobat
AlliedModders Donor
Join Date: Apr 2011
Location: lives in a circus
Old 08-22-2015 , 08:21   Re: [REQ] TF2 server layout plugin
Reply With Quote #2

Needs more jpeg.
If you're talking about that bleach girl then IIRC that should be one of Oshizu's servers. Maybe contact him.
The plugin it self should not be that difficult.
I think reflexpoisen or masterofxp made already a material overlay plugin.
Check em via google or sm plugin / forum search.
__________________

Last edited by AeroAcrobat; 08-22-2015 at 08:22. Reason: spelling ...
AeroAcrobat is offline
SoulTF2.ro
New Member
Join Date: Jul 2015
Old 08-22-2015 , 09:29   Re: [REQ] TF2 server layout plugin
Reply With Quote #3

Quote:
Originally Posted by AeroAcrobat View Post
Needs more jpeg.
If you're talking about that bleach girl then IIRC that should be one of Oshizu's servers. Maybe contact him.
The plugin it self should not be that difficult.
I think reflexpoisen or masterofxp made already a material overlay plugin.
Check em via google or sm plugin / forum search.
Yes ,about the girl layout i spoke ,the screen is taken on Otaku server.
I asked for this but no one gives a #%@ about that ,and i really want that plugin on my server.
__________________
SoulTF2.ro is offline
Arkarr
Veteran Member
Join Date: Sep 2012
Location: Just behind my PC screen
Old 08-23-2015 , 04:37   Re: [REQ] TF2 server layout plugin
Reply With Quote #4

PHP Code:
// ====[ FUNCTIONS ]===========================================================
public DisplayScreenOverlay(const String:sFile[], const String:sSound[], const Float:fTime)
{
    new 
iFlags GetCommandFlags("r_screenoverlay");
    
SetCommandFlags("r_screenoverlay"iFlags &~ FCVAR_CHEAT);

    for(new 
1<= MaxClientsi++) if(IsClientInGame(i))
        
ClientCommand(i"r_screenoverlay \"%s\""sFile);

    
SetCommandFlags("r_screenoverlay"iFlags);

    if(
sSound[0])
    {
        
EmitSoundToAll(sSound);
        
strcopy(g_strCurrentSoundsizeof(g_strCurrentSound), sSound);
    }

    
g_bOverlayed true;
    
CreateTimer(fTimeTimer_RemoveOverlay_TIMER_FLAG_NO_MAPCHANGE);
}

public 
ClearScreenOverlay()
{
    new 
iFlags GetCommandFlags("r_screenoverlay");
    
SetCommandFlags("r_screenoverlay"iFlags &~ FCVAR_CHEAT);

    for(new 
1<= MaxClientsi++) if(IsClientInGame(i))
        
ClientCommand(i"r_screenoverlay \"\"");

    
SetCommandFlags("r_screenoverlay"iFlags);

What else do you need ?

NOTE:
I stole everything from ReFlexPoison plugin called Screen Overlays !

NOTE2:
Note tested.
PHP Code:
#include <sourcemod>
#include <sdktools>

#define PLUGIN_AUTHOR     "Arkarr (with ReFlexPoison functions)"
#define PLUGIN_VERSION     "1.00"

Handle CVAR_Overlay;
char gPath[75];

public 
Plugin myinfo 
{
    
name "[TF2 / CS:S / MORE?] Persistant screen overlay",
    
author PLUGIN_AUTHOR,
    
description "Display a persistant screen overlay !",
    
version PLUGIN_VERSION,
    
url "http://www.sourcemod.net"
};

public 
void OnPluginStart()
{
    
CVAR_Overlay CreateConVar("sm_pso_overlay_path""path/relative/to/materials/folder.vtf""The path to the material file for the overlay.");
    
HookConVarChange(CVAR_OverlayOverlayChange);
    
    
HookEvent("player_spawn"Event_PlayerSpawn);
}

public 
void OnMapStart()
{
    
PrecacheOverlay();
}

public 
void OverlayChange(Handle convar, const char[] oldValue, const char[] newValue)
{
    
PrecacheOverlay();
}

public 
void PrecacheOverlay()
{
    
AddFileToDownloadsTable(gPath);
    
GetConVarString(CVAR_OverlaygPathsizeof(gPath));
    
PrecacheDecal(gPathtrue);   
}

public 
void Event_PlayerSpawn(Event event, const char[] namebool dontBroadcast)
{
    
int userID GetEventInt(event"userid");
    
CreateTimer(1.0TMR_ScreenOverlayuserID);
}

public 
Action TMR_ScreenOverlay(Handle tmrany userID)
{
    
int client GetClientOfUserId(userID);
    
    if(
client != -1)
    {
        
PrintToChatAll(gPath);
        
DisplayScreenOverlay(clientgPath);
    }
}

stock void DisplayScreenOverlay(int client, const char[] sFile)
{
    
int iFlags GetCommandFlags("r_screenoverlay");
    
SetCommandFlags("r_screenoverlay"iFlags &~ FCVAR_CHEAT);

    if(
IsClientInGame(client))
        
ClientCommand(client"r_screenoverlay \"%s\""sFile);

    
SetCommandFlags("r_screenoverlay"iFlags);
}

stock void ClearScreenOverlay(int client)
{
    
int iFlags GetCommandFlags("r_screenoverlay");
    
SetCommandFlags("r_screenoverlay"iFlags &~ FCVAR_CHEAT);

    if(
IsClientInGame(client))
        
ClientCommand(client"r_screenoverlay \"\"");

    
SetCommandFlags("r_screenoverlay"iFlags);

__________________
Want to check my plugins ?

Last edited by Arkarr; 10-30-2016 at 14:08.
Arkarr is offline
SoulTF2.ro
New Member
Join Date: Jul 2015
Old 08-23-2015 , 11:37   Re: [REQ] TF2 server layout plugin
Reply With Quote #5

Can u make me the plugin ? Im newbie at coding.
__________________
SoulTF2.ro is offline
Arkarr
Veteran Member
Join Date: Sep 2012
Location: Just behind my PC screen
Old 08-23-2015 , 11:45   Re: [REQ] TF2 server layout plugin
Reply With Quote #6

Quote:
Originally Posted by SoulTF2.ro View Post
Can u make me the plugin ? Im newbie at coding.
But I'm pretty sure you can read. Double check my message, just above, NOTE 2.
__________________
Want to check my plugins ?
Arkarr is offline
King Cnut
Senior Member
Join Date: Sep 2014
Old 08-24-2015 , 08:09   Re: [REQ] TF2 server layout plugin
Reply With Quote #7

It could be an env_screenoverlay built-in to the map since the map looks like a shitty trade/idle map.
__________________
*tips fedora, unsheaths katana, teleports behind u, nods respectfully*
King Cnut 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 23:55.


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