AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting (https://forums.alliedmods.net/forumdisplay.php?f=107)
-   -   Solved [L4D1/2] How to create and modify this panel? (https://forums.alliedmods.net/showthread.php?t=316873)

HarryPotter 06-15-2019 01:51

[L4D1/2] How to create and modify this panel?
 
I want to modify message in this panel (look at picture below)
https://i.imgur.com/6nWUhFJ.png

Why?
Announce that "witch has incapacitated survivor" or "Survivor has reached 25% distane progress"
Anyone knows the code? or is there any similar function?
please leave comments below
Appreciate! Best Thanks

XiLuo 06-18-2019 03:44

Re: [L4D1/2] How to create and modify this panel?
 
I've tried and failed before,to modify this message ,first to get the message type,then find all of structures for it.
Here's a tutorial https://forums.alliedmods.net/showthread.php?t=80256
Hope someone with the ability can do this.

MasterMind420 06-20-2019 10:10

Re: [L4D1/2] How to create and modify this panel?
 
as far as i know u can modify these messages but they are directly tied to what the message is...an SI is killed...it triggers the message...i dont think he can add incapacitated...etc.

HarryPotter 06-24-2019 09:57

Re: [L4D1/2] How to create and modify this panel?
 
Quote:

Originally Posted by MasterMind420 (Post 2656094)
as far as i know u can modify these messages but they are directly tied to what the message is...an SI is killed...it triggers the message...i dont think he can add incapacitated...etc.

In left 4 dead 1 , server would not notify players this message
"Survivor has reached 25%.50%.70% distane progress" (it only appears in left 4 dead 2).
But about one month ago, when I joined and played south america l4d1 server, I saw this panel message show up on my screen.
I think this might be possible...

Marttt 06-26-2019 12:27

Re: [L4D1/2] How to create and modify this panel?
 
Maybe is some VPK mod that is downloaded to the client.
There are a lot of UI mod changes that adds more info

K4d4br4 07-01-2019 02:20

Re: [L4D1/2] How to create and modify this panel?
 
Well, there is an Argentine server that did something similar, shows the percentage of the path and makes a sound, but is shown by a simple sourcemod panel

HarryPotter 07-02-2019 23:06

Re: [L4D1/2] How to create and modify this panel?
 
Quote:

Originally Posted by K4d4br4 (Post 2657350)
Well, there is an Argentine server that did something similar, shows the percentage of the path and makes a sound, but is shown by a simple sourcemod panel

How to do that please?

HarryPotter 07-23-2019 03:51

Re: [L4D1/2] How to create and modify this panel?
 
Quote:

Originally Posted by K4d4br4 (Post 2657350)
Well, there is an Argentine server that did something similar, shows the percentage of the path and makes a sound, but is shown by a simple sourcemod panel

Oh, I understood, a simple "sourcemod panel".
Thanks, I made it

login101 07-25-2019 13:33

Re: [L4D1/2] How to create and modify this panel?
 
Quote:

Originally Posted by fbef0102 (Post 2660290)
Oh, I understood, a simple "sourcemod panel".
Thanks, I made it


Teacher Can I share it?

I would like to apply it to my server ..

HarryPotter 07-26-2019 10:02

Re: [L4D1/2] How to create and modify this panel?
 
Quote:

Originally Posted by login101 (Post 2660600)
Teacher Can I share it?

I would like to apply it to my server ..

PHP Code:

CheckSurvivorProgress()
{
        new 
Handle:PANEL CreatePanel();
        
        
decl String:panel_message[128];
        
Format(panel_messagesizeof(panel_message), "The Survivors have made it 25%% of the way!");
        
DrawPanelText(PANELpanel_message);
        
        for (new 
1<= MaxClientsi++) 
        {
            
SendPanelToClient(PANELiDummyPANELHudHandler3);
        }
        
CloseHandle(PANEL);
}

public 
DummyPANELHudHandler(Handle:hMenuMenuAction:actionparam1param2) {} 



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

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