Map Decals
1 Attachment(s)
http://www.ice-gfx.com/pics/sourcemod/mapdecals.png
http://berni.bcserv.eu/uploads/images/github-icon.png We use Github: https://github.com/bcserv/map-decals Code contributions are welcome! - How do I create a pull request on Github ? Authors
map-decals.cfg: Add your decals here maps/: Map specific configs for the decal positions Commands sm_paintdecal <decalname | decal_id> - Paints a decal on the wall you are currently aiming at Admin-Flag required: Custom3 sm_removedecal <aim | all | id | name | last> - Currently not implemented, change map to reload the decals from the config file. Admin-Flag required: Root sm_savedecal <aim | all | id | name | last> - Saves the decal position to the map specific config file. Admin-Flag required: Root sm_listdecal <aim | all | id | last | map | name | saved> - Lists decals Admin-Flag required: Custom3 sm_aimpos - Shows current aim position Admin-Flag required: Custom3 sm_decalmenu - Map Decals Menu for Admins Admin-Flag required: Custom3 ConVars md_decal_dista - max aiming distance where decal positions are recognized and check distance to prevent painting two decals on the same position Default: 50.0 md_decal_printpos <0 | 1> - enables/disables printing out of decal positions Default: 1 md_spraysound - Path to the spray sound that gets played when someone sprays a decal Default: "player/sprayer.wav" How do I add a new decal ?
How to create a decal - Tutorial http://www.fpsbanana.com/tuts/6640 Valve Developer Community - Decals http://developer.valvesoftware.com/wiki/Decals Todo
23-8-2009 Version 1.1
* Added reading decal filename (.vtf) from .vmt * Fixed bug: SpraySound was added to DownloadsTable before DownloadsTable was ready 8-5-2008 Version 1.01
Thanks to Stingbyte (Stingbyte.com) for the work on this release.
Admin Level Defines: Level for Allowing Temp.Spray/Temp.Remove of Decals and Level for Saving Decals/getting aim position #define ADMIN_LEVEL_SPRAY ADMFLAG_CUSTOM3 #define ADMIN_LEVEL_SAVE ADMFLAG_ROOT 5-4-2008 Version 0.9
Known Bugs/Limitations After a Decal was removed, it still appears for players already connected. After a reconnect or a mapchange (if Decal Positions where saved) changes are visible (HL2 Limitation?) |
Re: Map Decals
Now the hard part is getting my 647x159 image to a power of 2 and make it still look ok lol. :( Its impossible I say. Oh and Nem just released a new version of his VTF tools. Any dimension ideas?
|
Re: Map Decals
Quote:
I would try to resize it in Photoshop, it's doing pretty well with such things, or you send it to me and I try it. |
Re: Map Decals
|
Re: Map Decals
Great job! =)
This plugin looks like a Mani's World Decals tool (part of Mani admin plugin) |
Re: Map Decals
Just an issue that has existed also with the MM Decals addon:
When a player first connects to a server, custom decals, despite being downloaded, are not being displayed correctly. Only a Steam restart solves that Problem. Any chance this could be solved with pre-caching of the decals? |
Re: Map Decals
Can anyone test, if this is compatible with sv_pure=1?
|
Re: Map Decals
1 Attachment(s)
Works like a dream! Thanks berni
Quote:
You just need to add your decals to the whitelist. Attached a screenshot of decals working on my sv_pure 1 server :up: |
Re: Map Decals
Quote:
The decals are already getting precached. What game are you talking about ? It's working fine for me. |
Re: Map Decals
Quote:
A way around it for me was to exit the game(cs:s) completely and just load it up again and the decal would appear BUT there were several occasions where exiting and loading a couple times in a row did not fix the issue. SM Logs did not produce any errors. |
All times are GMT -4. The time now is 18:10. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.