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

World Decals (Map Adverts)


Post New Thread Reply   
 
Thread Tools Display Modes
Knagg0
SourceMod Donor
Join Date: Dec 2005
Location: Germany
Old 06-18-2007 , 23:09   Re: World Decals (Map Adverts)
Reply With Quote #31

@pcwizdan
I don't know if it's compatible with garrys mod, but i know it's compatible
with cs:s, dod:s, hl2:dm. So maybe it's compatible with it too.
To get the coordinates, look at the position where you like to have the decal.
Then write decal_pos to your console and it shows you the coordinates.

@sessus
Maybe when the SDKTools extension is done.
__________________

MFZB Gaming Community

[ www.mfzb.de ]

Knagg0 is offline
f64
Member
Join Date: Jun 2007
Location: Houston, TX USA
Old 07-03-2007 , 16:55   Re: World Decals (Map Adverts)
Reply With Quote #32

Does anyone have this working now for DOD:S?

I tried sv_pure 0, reconnecting and various "$decalscale" ratios with no success.
f64 is offline
Rom1
Junior Member
Join Date: Dec 2006
Old 07-03-2007 , 17:19   Re: World Decals (Map Adverts)
Reply With Quote #33

Quote:
Originally Posted by f64 View Post
Does anyone have this working now for DOD:S?

I tried sv_pure 0, reconnecting and various "$decalscale" ratios with no success.

Yes, works great with DoD:S.
Have a look on my DoD:S servers.
Rom1 is offline
f64
Member
Join Date: Jun 2007
Location: Houston, TX USA
Old 07-03-2007 , 22:55   Re: World Decals (Map Adverts)
Reply With Quote #34

Here's what I tried:

I typed decal_pos in front of a sprayable bldg. texture and created a dod_flash.txt in dod/addons/decal

Code:
"dod_flash.txt"
{
    "lambda"        "decals/custom/lambdaspray_2a"

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

    "decals"
    {
        "lambdaspray_2a"    "-584.839722 -119.116066 106.121666"
    }
}
Then I created a flash.res in dod/maps

Code:
 "resources"
{
"materials/decals/custom/lambdaspray_2a.vmt" "file"
"materials/decals/custom/lambdaspray_2a.vtf" "file"
}
and placed lambdaspray_2a.vtf in materials/decals/custom to create the material file for it:

Code:
 "LightmappedGeneric"
{
    "$basetexture" "decals/custom/lambdaspray_2a"
    "$decal" 1
    "$decalscale" 0.10
    "$translucent" 1
}
I set sv_pure to 0 in both autoexec.cfg and server.cfg; restarted the server; connected and downloaded the two files;
disconnected and rejoined; didn't see the decal; changed maps and returned to flash; still don't see the decal.
I also tried using quotes around the decalscale value with no success.

Rom1, could you please show your material code you used for this texture.
Thanks
f64 is offline
Rom1
Junior Member
Join Date: Dec 2006
Old 07-04-2007 , 16:27   Re: World Decals (Map Adverts)
Reply With Quote #35

If you come on my servers (anyone) you'll download 2 textures and the 2 vtf files associated. They are in materials/decals/custom/fff/

I never created a *.res file. So ... I think you don't need to do it either ;)

You other files look ok.
Rom1 is offline
f64
Member
Join Date: Jun 2007
Location: Houston, TX USA
Old 07-08-2007 , 18:37   Re: World Decals (Map Adverts)
Reply With Quote #36

I have it working correctly now. The problem was in how the material (with transparency) was created. The download works without the .res as well.

Thanks for your help, though.
f64 is offline
Arcon
Junior Member
Join Date: Oct 2007
Old 10-21-2007 , 04:25   Re: World Decals (Map Adverts)
Reply With Quote #37

Quote:
Originally Posted by Knagg0 View Post
Extract the content of decal_mm-1.0.zip to your mod dir (cstrike, dod, hl2mp, ...)
Add this to your metaplugins.ini: addons/decal/bin/decal_mm


Yes... You find an example file in addons/decal/ called de_dust.txt
In this directory you have to put all files for each map (map_name.txt)


To get the coordinates, you just have to look to a wall
where you want to draw a decal and type decal_pos in the console.
Then it will print the coordinates to your console window
and you can add them to your map_name.txt.

Thanks for this manual ^^
Arcon is offline
JoshuaC
New Member
Join Date: Oct 2007
Old 10-24-2007 , 03:02   Re: World Decals (Map Adverts)
Reply With Quote #38

Anyone know if this works in TF2?
JoshuaC is offline
clandest
Junior Member
Join Date: Oct 2007
Old 10-27-2007 , 20:10   Re: World Decals (Map Adverts)
Reply With Quote #39

what do you use to convert your image to a vmt/vtf? Right now I have a .jpg lol

Thanks
clandest is offline
GriMz
Senior Member
Join Date: Jul 2007
Old 11-19-2007 , 22:44   Re: World Decals (Map Adverts)
Reply With Quote #40

VTFedit
__________________
GriMz 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:10.


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