English Image as Map.

15 replies
Goto Page
To the start Previous 1 Next To the start
28.12.17 04:38:27 am
Up
Kozzen
User
Offline Off
have any way to save or make players download img of the map.
i was testing ways to make map and i was making the image map way, where u get one image and use it as a map, like this example here.IMG:https://mir-s3-cdn-cf.behance.net/project_modules/disp/14622749380557.560858d24a85e.png


i can load the image if i place the image inside of the cs2d path
Steam\steamapps\common\CS2D\gfx. and use in editor
but i can't make players load the image or save the image in the map.

u guys know any way to do that?
28.12.17 04:57:15 am
Up
mrc
User
Offline Off
Yep, its easy. Just open ur servertransfer.lst at sys folder with a text editor and add the path of ur file there.

Example: gfx/sprites/mymap.png
CS2D Brasil @ www.discord.me/cs2dbr
28.12.17 05:20:27 am
Up
Rainoth
Moderator
Offline Off
Your aim is to put an image over your map so it basically displays EVERYTHING in graphics? Neat idea but if your image is too big, nobody is going download when they join the server.
28.12.17 08:28:55 am
Up
CrazyPenguin
User
Offline Off
this would make some awesome tileset
AFTERLIFE >>24/7<< Online Dedicated Zombie Server ~ Connect IP: 94.177.171.167
28.12.17 08:37:25 am
Up
Gaios
Security Supporter
Offline Off
It looks good, but is it HQ? Also CS2D still is sh*t and doesn't support 64x64 images from Map Editor.
IMG:https://i.imgur.com/itOslkM.gif
This community is a meme.
28.12.17 08:43:08 am
Up
SQ
Moderator
Offline Off
@user Gaios: It does support hd sprites and everything. Just scale sprites to (0.5, 0.5) and you get the same result. It's how everything else on HD feature works.
28.12.17 11:11:25 am
Up
DC
Admin
Offline Off
Simply use an cs2d entity env_sprite or cs2d entity env_image in your map and use your image with it. Transfer then will just work.

All resources (images/sounds) which are part of a map do NOT need to be added to servertransfer.lst! They will be transferred anyway because they are crucial for making the map look right. So even large images will be transferred in that case. The transfer limits in the settings have no impact on map resources.
www.UnrealSoftware.de | www.CS2D.com | www.CarnageContest.com | Use the forum & avoid PMs!
28.12.17 11:45:58 am
Up
Gaios
Security Supporter
Offline Off
@user DC: You're kidding.. from what I remember recent versions of CS2D don't download all files from the map like GFX or SFX.
IMG:https://i.imgur.com/itOslkM.gif
This community is a meme.
28.12.17 12:50:07 pm
Up
DC
Admin
Offline Off
@user Gaios: It should download all map files (cs2d cmd sv_maptransfer must be enabled). If it doesn't it's a bug.
www.UnrealSoftware.de | www.CS2D.com | www.CarnageContest.com | Use the forum & avoid PMs!
28.12.17 01:51:43 pm
Up
Gaios
Security Supporter
Offline Off
@user DC: I mean also the File size limit <= 250 kB.
IMG:https://i.imgur.com/itOslkM.gif
This community is a meme.
28.12.17 02:08:12 pm
Up
DC
Admin
Offline Off
Okay I checked. Guess I was wrong. Looks like the size limit is only ignored for background images and tilesets in maps, not for images and sounds used in map entities. Maybe I should change that.. or maybe not..

Edit @user Kozzen: A hack would be to use that image as background image and to cover the actual background with tiles or whatever. Then it will definitely be transferred no matter what size it has and you can use it in Lua scripts or entities.
edited 2×, last 28.12.17 03:37:48 pm
www.UnrealSoftware.de | www.CS2D.com | www.CarnageContest.com | Use the forum & avoid PMs!
28.12.17 05:32:28 pm
Up
Kozzen
User
Offline Off
@user DC: i tried with background img, but the problem is that in game the background is following the player so your character dont move arround of the map. now as tilesets i will have limit with 512x512 and most images in the internet is bigger than that.

also i don't know lua other else i was making a game in roblox right now but i don't know lua or someone that know lua for make game with me, so i can't do edits in cs2d.
28.12.17 05:43:21 pm
Up
SkullFace
User
Offline Off
Did you try the "Scroll background like tiles?" option ?

And image looks nice. Similar to DoorKickers
IMG:https://i.imgur.com/kZBVkjM.gif
P.S. - I've been extracting recently enviromental sound files from other games, if anyone is interested in them for adding them to their maps, scripts, PM me
28.12.17 05:51:26 pm
Up
Kozzen
User
Offline Off
@user SkullFace: no, i tested that right now and it works but the background become too small for work as a map, woud be cool an image resizer option in the background.
28.12.17 07:15:03 pm
Up
DC
Admin
Offline Off
What I meant is to only add the image as background for the transfer. Do not actually use it. Instead COVER the background with entities which use the same image like cs2d entity env_image or cs2d entity env_sprite.

You can also cover the rest (e.g. borders around the image) with additional images or tiles so people don't see the map background.
www.UnrealSoftware.de | www.CS2D.com | www.CarnageContest.com | Use the forum & avoid PMs!
29.12.17 08:35:52 am
Up
Talented Doge
User
Offline Off
DC meant you could set the background as the image that you will be using to force users download the image.
Talented Doge
To the start Previous 1 Next To the start