[Plugin] S-ART [place any picture on the map like an object!]
#1

PROJECT CONTINUES HERE AS INCLUDE
================================================== ==============
Hello! Some time ago I made the tool for using pictures in your gamemodes. Now I present the plugin with that feature!

It wasn't easy to use the tool, but now is't VERY easy. Just use CreateArt / DestroyArt functions like CreateObject / DestroyObject ones:

I changed the pattern, now second parameter is the art type:
CreateArt(path_to_png_image, art_type, other_default_parameters...)

example:
Код:
#include <s-art>
.......
new art = CreateArt("D:\\my_image.png", 2, -704.1531, 1849.0200, 18,   45, 45, 45, 100); 
//picture should be in 24-bit PNG type
.......
DestroyArt(art);
also now it supports streamer plugin (use CreateDynamicArt).

I'm total noob in plugin writing, so you can modify, improve or do whatever you want with it.
SOURCE CODE
(include and DLL files are in /build/ folder)

demo:

yeah, that's what this thing was made for. To place the photo of Redirect_Left (owner and creator of sumo server) to the map.

currently plugin supports 4 size types:
type 2, size = X
type 3, size ~= 3*X
type 1, size ~= 6*X
type 0, size ~= 12*X

(it's not easy to find not-shadowed almost square single-textured objexts!!)
(if you do REALLY need another sizes, ask me, there're few less convenient objects unused)

size types:


The result isn't perfect, the objects I've used aren't square, so resize your original pictures to achieve better results.

It's still VERY recommended to use pictures with dimensions multiple of 15
Reply


Messages In This Thread
S-ART [place any picture on the map like an object!] - by DialUp - 01.01.2015, 23:24
Re: S-ART [place any picture on the map like an object!] - by Abagail - 01.01.2015, 23:31
Re: S-ART [place any picture on the map like an object!] - by Madzior_ - 01.01.2015, 23:32
Respuesta: S-ART [place any picture on the map like an object!] - by The_Scope - 02.01.2015, 00:18
Re: S-ART [place any picture on the map like an object!] - by Diabloa - 02.01.2015, 01:01
Re: S-ART [place any picture on the map like an object!] - by $$inSane - 02.01.2015, 05:25
Re: S-ART [place any picture on the map like an object!] - by DialUp - 02.01.2015, 05:32
Re: S-ART [place any picture on the map like an object!] - by $$inSane - 02.01.2015, 05:42
Re: S-ART [place any picture on the map like an object!] - by DialUp - 02.01.2015, 05:54
Re: S-ART [place any picture on the map like an object!] - by Tamer - 02.01.2015, 09:25
Re: S-ART [place any picture on the map like an object!] - by muzammilfreeman - 02.01.2015, 09:31
Re: S-ART [place any picture on the map like an object!] - by Lordzy - 02.01.2015, 09:52
Re: S-ART [place any picture on the map like an object!] - by Daewoo - 02.01.2015, 09:55
Re: S-ART [place any picture on the map like an object!] - by N.K.Stallone - 02.01.2015, 10:22
Re: S-ART [place any picture on the map like an object!] - by RaeF - 02.01.2015, 10:36
Respuesta: S-ART [place any picture on the map like an object!] - by Zume - 02.01.2015, 11:16
Re: S-ART [place any picture on the map like an object!] - by iWhite - 02.01.2015, 12:36
Re: S-ART [place any picture on the map like an object!] - by n0minal - 02.01.2015, 12:52
Re: S-ART [place any picture on the map like an object!] - by iWhite - 02.01.2015, 13:59
Re: S-ART [place any picture on the map like an object!] - by n0minal - 02.01.2015, 14:06
Re: S-ART [place any picture on the map like an object!] - by DialUp - 02.01.2015, 14:07
Re: S-ART [place any picture on the map like an object!] - by n0minal - 02.01.2015, 14:15
Re: S-ART [place any picture on the map like an object!] - by DialUp - 02.01.2015, 14:17
Re: S-ART [place any picture on the map like an object!] - by DialUp - 02.01.2015, 15:31
Re: S-ART [place any picture on the map like an object!] - by n0minal - 02.01.2015, 16:35
Re: S-ART [place any picture on the map like an object!] - by DialUp - 02.01.2015, 16:44
Re: S-ART [place any picture on the map like an object!] - by Dampyr - 02.01.2015, 17:06
Re: S-ART [place any picture on the map like an object!] - by DialUp - 02.01.2015, 17:09
Re: S-ART [place any picture on the map like an object!] - by iWhite - 03.01.2015, 09:50
Re: S-ART [place any picture on the map like an object!] - by DialUp - 03.01.2015, 14:40
Re: S-ART [place any picture on the map like an object!] - by Pottus - 04.01.2015, 18:12
Re: S-ART [place any picture on the map like an object!] - by DialUp - 04.01.2015, 18:25
Re: S-ART [place any picture on the map like an object!] - by Pottus - 04.01.2015, 18:32
Re: S-ART [place any picture on the map like an object!] - by DialUp - 04.01.2015, 18:40
Re: S-ART [place any picture on the map like an object!] - by Pottus - 04.01.2015, 18:50
Re: S-ART [place any picture on the map like an object!] - by DialUp - 04.01.2015, 18:59
Respuesta: S-ART [place any picture on the map like an object!] - by JustBored - 04.01.2015, 19:04
Re: S-ART [place any picture on the map like an object!] - by Pottus - 04.01.2015, 19:06
Re: Respuesta: S-ART [place any picture on the map like an object!] - by DialUp - 04.01.2015, 19:22
Respuesta: S-ART [place any picture on the map like an object!] - by JustBored - 04.01.2015, 19:33
Re: S-ART [place any picture on the map like an object!] - by Crayder - 04.01.2015, 19:47
Re: Respuesta: S-ART [place any picture on the map like an object!] - by DialUp - 04.01.2015, 19:57
Re: S-ART [place any picture on the map like an object!] - by Pottus - 04.01.2015, 20:08
Re: S-ART [place any picture on the map like an object!] - by DialUp - 04.01.2015, 20:20
Re: S-ART [place any picture on the map like an object!] - by Pottus - 04.01.2015, 23:25
Re: S-ART [place any picture on the map like an object!] - by DialUp - 04.01.2015, 23:36
Re: S-ART [place any picture on the map like an object!] - by Pottus - 04.01.2015, 23:45
Respuesta: S-ART [place any picture on the map like an object!] - by JustBored - 05.01.2015, 00:22
Re: Respuesta: S-ART [place any picture on the map like an object!] - by DialUp - 05.01.2015, 00:25
Respuesta: S-ART [place any picture on the map like an object!] - by JustBored - 05.01.2015, 03:03
Re: S-ART [place any picture on the map like an object!] - by Maximun - 10.01.2015, 12:25
Re: S-ART [place any picture on the map like an object!] - by SDraw - 10.01.2015, 18:20
Re: S-ART [place any picture on the map like an object!] - by DialUp - 11.01.2015, 18:25
Re: S-ART [place any picture on the map like an object!] - by Redirect Left - 11.01.2015, 18:31
Re: S-ART [place any picture on the map like an object!] - by TiW - 12.01.2015, 13:11
Re: S-ART [place any picture on the map like an object!] - by SDraw - 12.01.2015, 15:44
Re: S-ART [place any picture on the map like an object!] - by bigboy81 - 13.01.2015, 00:50
Re: S-ART [place any picture on the map like an object!] - by Vinnyy - 13.01.2015, 04:29
Re: S-ART [place any picture on the map like an object!] - by DialUp - 13.01.2015, 19:48
Respuesta: S-ART [place any picture on the map like an object!] - by kgbayala528 - 17.01.2015, 00:47
Re: S-ART [place any picture on the map like an object!] - by MP_Spec - 23.01.2015, 22:00
Re: S-ART [place any picture on the map like an object!] - by hideintherain - 05.02.2015, 11:19
Re: S-ART [place any picture on the map like an object!] - by Crayder - 05.02.2015, 11:49
Re: S-ART [place any picture on the map like an object!] - by hideintherain - 05.02.2015, 17:27
Re: S-ART [place any picture on the map like an object!] - by hideintherain - 06.02.2015, 15:20
Re: S-ART [place any picture on the map like an object!] - by Greaper - 09.05.2015, 12:05
Re: S-ART [place any picture on the map like an object!] - by KrYpToDeN - 10.07.2015, 05:48
Re: S-ART [place any picture on the map like an object!] - by dusk - 10.07.2015, 09:30
Re: S-ART [place any picture on the map like an object!] - by McOwens - 13.07.2015, 21:03
Re: S-ART [place any picture on the map like an object!] - by Stanford - 19.07.2015, 13:58
Re: S-ART [place any picture on the map like an object!] - by mirzakovacic - 23.03.2016, 21:53
Re: S-ART [place any picture on the map like an object!] - by Mowgli - 27.02.2017, 09:48
Re: S-ART [place any picture on the map like an object!] - by iLearner - 27.02.2017, 10:03

Forum Jump:


Users browsing this thread: 1 Guest(s)