ImageMap
2 Attachment(s)
ImageMap
This is just the first version of this plugin, there will be extended functionality later on. Right now it's possible to specify a player decal in the KV file, and only ActionType "url" is supported. Basically this detects sprays that match the predefined DecalFile, and then sets an imagemap for them! Plugin features
Installation So, in order to install/configure this plugin, you first have to drop the SMX in addons/sourcemod/plugins/ and the CFG into cfg/sourcemod/. The first thing you have to do is spray an image in-game, and run the spray_check command. It will output the following information:
Now aim at the top left corner of the imagemap you want to define, and run the command. Save this point under "Point1", now do the same for the lower right corner and save this point under "Point 2". This is a copy of the CFG file: Code:
"Test Decal" { Kind regards, Matthias Vance |
Re: ImageMap
Matthias Vance you rebel you..
It is understandable with the 1337 plugin but you should really only make a thread when you have a plugin ready to upload at the same time. |
Re: ImageMap
Hush! I was actually uploading it when I discovered something that could be improved. Check the video in the meantime!
[Edit] Done, everything uploaded! |
Re: ImageMap
You could also add support for command execution.
I can just see it now, a big bright red circle with "PRESS ME!" written on it. Those curious enough to submit to its will face their end as they explode ^_^ |
Re: ImageMap
This is already planned, and almost supported! (See: Plans)
|
Re: ImageMap
Wow.
Awesome idea! |
Re: ImageMap
I am going to have some fun with this.
What happens when a non admin trys to run that command? What other types and actions are there other than url and player, I cant think of any other ones? I know sprays are restricted to 256px or so but decals can be much larger. I know there is this pluginhttp://forums.alliedmods.net/showthread.php?p=607043 but it makes users download the decal, can this be done but with the DL as a spray? What happens if we delete all the files in the downloads folder and then repsray the spray? It will have a different decal # I presume? |
Re: ImageMap
Quote:
Quote:
Quote:
Quote:
|
Re: ImageMap
Ok, I dont think the decal will download a spray since I want it to be larger than 256px.
|
Re: ImageMap
You can use map decals for that! That functionality is coming in the next version.
|
All times are GMT -4. The time now is 09:10. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.