AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Metamod:Source Plugins (https://forums.alliedmods.net/forumdisplay.php?f=76)
-   -   World Decals (Map Adverts) (https://forums.alliedmods.net/showthread.php?t=47951)

Knagg0 11-30-2006 16:31

World Decals (Map Adverts)
 
This plugin allows you to place your decals to specific positions on a map. (like Mani's map adverts)

ConCommands:
decal_pos - Prints the coordinates of the position you are looking at to the console

I only tested it with CS:S... But it should work with other mods

Code:

Version 1.1

 - Now the decals cache will be delete on map start

Latest Version: 1.1 (11 December 2006)

Download Binaries
Download Sourcecode

peagle 11-30-2006 19:49

Re: World Decals (Map Adverts)
 
Awesome, as a Beetlesmod user, I've always wanted this :)

wiciu 12-02-2006 17:09

Re: World Decals (Map Adverts)
 
Great Job !!!
Big thanks for your job Knagg0 !!!

Rom1 12-04-2006 18:05

Re: World Decals (Map Adverts)
 
It seems that it doesn't work for DoD:S.

Does someone had any success with this plugin and DoD:S (mani decal doesn't work neither) ?

Knagg0 12-04-2006 18:43

Re: World Decals (Map Adverts)
 
It works without any problem with DoD:S.
I tested it on a linux and windows server...

http://plugins.mfzb.de/images/decal_dod_s.gif

When you download a decal from the server,
then you have to reconnect to see this decal.
I guess it's a bug in the source engine.

L. Duke 12-04-2006 20:36

Re: World Decals (Map Adverts)
 
The advertising plugin that made all the news about having Subway ads on a CSS server had that same issue. If you hadn't downloaded the material before it won't show up until you reconnect (or maybe change maps).

peagle 12-04-2006 21:12

Re: World Decals (Map Adverts)
 
Plugin is working fine (meta list) but decals don't seem to be downloading for me. (Have tested after reconnecting twice and switching maps).

Also, where should the test one (my_logo.vtf) you created in de_dust be appearing?

Knagg0 12-05-2006 00:08

Re: World Decals (Map Adverts)
 
Quote:

Originally Posted by peagle
Plugin is working fine (meta list) but decals don't seem to be downloading for me. (Have tested after reconnecting twice and switching maps).

Make sure that "cl_allowdownload" is set to "1" (def. value "1") in your client config.

Quote:

Originally Posted by peagle
Also, where should the test one (my_logo.vtf) you created in de_dust be appearing?

http://plugins.mfzb.de/images/decal_dust01_s.gif http://plugins.mfzb.de/images/decal_dust02_s.gif

peagle 12-05-2006 00:45

Re: World Decals (Map Adverts)
 
Quote:

Originally Posted by Knagg0 (Post 411012)
Make sure that "cl_allowdownload" is set to "1" (def. value "1") in your client config.

Thanks it is, we have a few custom sounds etc on the server, which seem to be working ok. For reference we use sv_downloadurl for faster downloads, and I mirrored the files there too.

If it helps:

Windows Server
Beetlesmod 1.0.1.64
Metamod 1.3d
- DeadVox
- FakeClients
- World Decals

Everything seems to be working, just the decals aren't downloading to clients.

Out of interest, how come the "my_logo" line in your config doesn't have "materials" in the path?

"de_dust.txt"
{
"my_logo" "decals/custom/my_logo"

"downloads"
{
"my_logo.vmt" "materials/decals/custom/my_logo.vmt"
"my_logo.vtf" "materials/decals/custom/my_logo.vtf"
}

"decals"
{
"my_logo" "-275.658844 -1280.031250 165.761124"
"my_logo" "1024.031250 3255.948975 -15.806966"
}
}

Knagg0 12-05-2006 01:39

Re: World Decals (Map Adverts)
 
Quote:

Originally Posted by peagle
Out of interest, how come the "my_logo" line in your config doesn't have "materials" in the path?

Because the PrecacheDecal function starts in the materials dir :wink:

Is there any output on the server console?
Are the files on the server and webserver in the same/correct dir?

Did you test it with an other map?
Try this: addons/decal/de_dust2.txt

Code:

"de_dust2.txt"
{
        "my_logo"                "decals/custom/my_logo"

        "downloads"
        {
                "my_logo.vmt"        "materials/decals/custom/my_logo.vmt"
                "my_logo.vtf"        "materials/decals/custom/my_logo.vtf"
        }

        "decals"
        {
                "my_logo"        "-698.845703 -640.031250 224.579346"
                "my_logo"        "296.424500 2048.031250 -36.423077"
        }
}

The map files will only load on map start.
You have to change the map, when you edited it.


All times are GMT -4. The time now is 03:34.

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