22.06.2014, 20:23
(
Last edited by DialUp; 18/10/2015 at 04:06 PM.
)
PROJECT CONTINUES HERE AS INCLUDE
================================================== ==============
Did you want to place some picture on your map?
I made a tool to convert your images to SAMP objects with text!
Picture example (mode 1, 437x151 PNG image)
don't like ponies? ok, here is example of max possible quality without using streamer plugin (mode 3, 640x360 PNG image):
That's not photoshop, lol. Every player on your server will be able to see this picture.
Q: How to use it?
A:
1. Download this archive with the latest version of script (sources included)
2. Unpack the archive and execute run_cmd file, that will open command line
3. To see available options, type convert -help
4. Use the script by executing command with options, for example,
convert -i mypicture.png -o myinclude.inc -s "-760.0 1900.0 60.0" -m 2 -c 1
5. Add the result include file in your gamemode or filterscript, where you usually place CreateObject calls
Q: Picture? What picture should I use?
A: I recommend using small pictures to reduce objects amount, for example, 225x120 picture takes 120 objects. Every object contains 15x15 part of image, so it will be better to use image with width and height dividable by 15.
Q: What if I want to place several pictures on my map?
A: Since version 0.3, script uses directives to prevent collisions. Just place several includes in your script.
Q: I want to move the picture, but I don't want to execute the script every time. Is there any easier way?
A: Since v0.2, script places start coordinates in the top of the include file. Just modify them. Rotation is much harder to change, currently you have to re-build include to modify picture rotation
TUTORIAL (without comments)
[ame]http://www.youtube.com/watch?v=tH6Au0o346Q[/ame]
DOWNLOAD DEMO FILTERSCRIPT
P.S. If you want another art size, find square (or near to square) and single textured SA:MP object. I found only 4 good ones
================================================== ==============
Did you want to place some picture on your map?
I made a tool to convert your images to SAMP objects with text!
Picture example (mode 1, 437x151 PNG image)
don't like ponies? ok, here is example of max possible quality without using streamer plugin (mode 3, 640x360 PNG image):
That's not photoshop, lol. Every player on your server will be able to see this picture.
F.A.Q.
Q: How to use it?
A:
1. Download this archive with the latest version of script (sources included)
2. Unpack the archive and execute run_cmd file, that will open command line
3. To see available options, type convert -help
4. Use the script by executing command with options, for example,
convert -i mypicture.png -o myinclude.inc -s "-760.0 1900.0 60.0" -m 2 -c 1
5. Add the result include file in your gamemode or filterscript, where you usually place CreateObject calls
Q: Picture? What picture should I use?
A: I recommend using small pictures to reduce objects amount, for example, 225x120 picture takes 120 objects. Every object contains 15x15 part of image, so it will be better to use image with width and height dividable by 15.
Q: What if I want to place several pictures on my map?
A: Since version 0.3, script uses directives to prevent collisions. Just place several includes in your script.
Q: I want to move the picture, but I don't want to execute the script every time. Is there any easier way?
A: Since v0.2, script places start coordinates in the top of the include file. Just modify them. Rotation is much harder to change, currently you have to re-build include to modify picture rotation
TUTORIAL (without comments)
[ame]http://www.youtube.com/watch?v=tH6Au0o346Q[/ame]
DOWNLOAD DEMO FILTERSCRIPT
P.S. If you want another art size, find square (or near to square) and single textured SA:MP object. I found only 4 good ones
made by DialUp, member of MSU Graphics and Media lab