DEPRECATED - Map design - How can i create map? OLD WAY!

Learn more about how the game is put together
More obscure knowledge and deprecated items
Stratego (dev)
Site Admin
Posts: 9676
Joined: Fri Apr 25, 2014 9:28 pm

DEPRECATED - Map design - How can i create map? OLD WAY!

Post by Stratego (dev) » Sat Apr 26, 2014 7:12 pm

This topic is only open to show how we made maps the old way, and for some special cases we need to use this old way (eg. a map based on an existing TMX based map). The "new" way is the total on-device mapeditor.
-------------------------------------------------------------------------------


The things you can do realted to map designs
1. designing random/multiplayer maps new map with the current tiles we have (water/ground/forest/hill etc)
2. designing campaign like maps (map+players+units(maybe special units)) this is complete game with any opponents any units and any teaming setup.
3. designing map tiles: eg: current or a completely new "ground" that is actually a shore (with water on the left, right, top, bottom, top-left corner, etc...)

First of all I send you a sample game map that will include information/help for all of the points above, and a few things to know about it.
- camp??.tmx and the terrain png and units png file
- you will need the free tilemap editor application "Tiled" to be downloaded:http://www.mapeditor.org/
- after installing that you need only to click on the .tmx file that will bring up the game-map in the editor.
- there are two layers: terrain and units layer.
- and also there are the same tilesets (little tabs) terrain/units
- from the terrain tileset not all tiles are usable, the ones with BLACK CIRCLES can not be used, later can be redesigned to anything else.

(updated: 2015.03.27)



Depending on what you want to do, you can
1. design a random/mutip. map: simply give me a new tmx file that only have the terrain layer filled (with the already used tile types we use) and no unit layer filled
2. design a campaign like map: you can fill the units layer also (read EXTRA INFO1, EXTRA INFO2 and EXTRA INFO3 to make such map)
3. design a map tile: you need to give me the new modified .png files, and telling me which tileset-tile positions changed.

EXTRA INFO1: "design campaign like map" extra: You will notice that in "tiled" you do not see all units listed, the reason is that the "units layer" editing is available in the on-device mapeditor (ask me for a grant to try it), so in tiled you can drop down the draft of the units (optional), and you can finalize them in the on-device units editor. Read more here: viewtopic.php?f=17&t=1562&p=10158

EXTRA INFO2: "design campaign like map" extra: while you design a game you can create brand new special units (like the troyan horse, spartian hoplite i did on the historical maps. These new units need a bit coding also (but not much) i need to set the proerties of (hp, attack strength and so on). Feel free to design such units, send me the image, send me a proprty list, and i will make the unit and it willbe accessible via the on-device units editor. (read about image requirements here: viewtopic.php?f=17&t=592)

EXTRA INFO2: "design campaign like map" extra: So these will be the main step you take for completing a map
1. designing the terrain (and maybe a draft of the units) in tiled
2. making the "launcher code" for the map (for more info, see below)
3. sending me the tmx file and launcher code (Send them here: zerotouchsystems at gmail doot com)
4. i will upload a DEV version with your map included
5. you edit the map with the on-device editor (finalizing the units, or if you are a PRO you can make triggers onto the map:http://www.androidutils.com/forum/viewt ... f=17&t=234)
6. sending me finished game setup from the on-device editor
7. and i again upload a new DEV version where this final map is in.

If you do anything, send it to me and i can build and upload a new DEV version .apk (without publishing the app on google play) - so this let you check your map in work before publishing.

So this is it, not so complex when you do it.

As i told you: Feel free to send me any suggestions on the game or on anything related to it!

Thanks in advance for trying to build a map! Have fun! You will see it feels awesome seeing your own map in the game!

Launcher code: ALSO send some additional information that i will need to initialize the map, like map name, is FOG map or not, player names and teams and so on.
sent it like this:

Code: Select all

new MapIdent(
"camp_story_v2_new_land_1.tmx", 	// map file name 
EMapTypes.CAMPAIGN, 				// leave it as CAMPAIGN
40, 								// turn limit for 2 stars
35, 								// turn limit for 3 stars
"camp_story_v2_new_land_1.tmx", 	// map file name
"Invasion", 						// map name
40, 								// map rows (in tiled: height)
40, 								// map columns (in tiled: width)
R.raw.campaign_story_new_land_1,	// intro text for the map, here it is called campaign_story_new_land_1.html, write null if you do not want intro text  
new Maps.StarterPlayer[]{
		new Maps.StarterPlayer(1, "Groon", EController.HUMAN, 1), //player1: player nr/payler name, player team
		new Maps.StarterPlayer(2, "Tourey", EController.AI1, 1),  //player2: player nr/payler name, player team
		new Maps.StarterPlayer(3, "Fagter", EController.AI1, 2),  //player3: player nr/payler name, player team
		new Maps.StarterPlayer(4, "Houre", EController.AI1, 2),  //player4: player nr/payler name, player team (remove any of these player lines if fewer players you have)
}, 
true, 								//isLockableMap (if you want it locked until prev. map is completed)
true, 								//isNonLockableButGemPayingMap - if you do not want it locked but still you want to grant gems for completing (standalone maps, eg. FAN made maps setcion maps)
EMapVisibility.FOG, 				// mapVisiblity, FOG / REVEALED / TERRAIN 
EMapUpgrades.MANY, 					// mapUpgrades   NO / ONLY_UNITS / FEW / MANY (meaings: no/yes(0)/yes(5)/yes(10))   
EMapTechs.NO, 						//EMapTechs mapTechs NO / ALL
EUnitGrants.DEFAULTS, null, null	// dont change.
);




daniel

Archer
Posts: 23
Joined: Sun Apr 27, 2014 9:44 pm

Re: Map design - How can i create user (community) map?

Post by Archer » Mon May 12, 2014 7:05 pm

Hey Daniel, I was just wondering, can I build a map on an android tablet, I would have pmed you this question but I thought it would be important for people to see the answer

Stratego (dev)
Site Admin
Posts: 9676
Joined: Fri Apr 25, 2014 9:28 pm

Re: Map design - How can i create user (community) map?

Post by Stratego (dev) » Mon May 12, 2014 7:06 pm

Tiled is a PC app, so you cannot use it on tablet, only if you manage to run it in a pc emulator or something (if such thing exists :))

kon
Posts: 57
Joined: Thu May 01, 2014 5:38 am

Re: Map design - How can i create user (community) map?

Post by kon » Wed May 14, 2014 4:03 pm

downloaded tile editor. did not understand how to use it. how to set the ground water etc ...

Stratego (dev)
Site Admin
Posts: 9676
Joined: Fri Apr 25, 2014 9:28 pm

Re: Map design - How can i create user (community) map?

Post by Stratego (dev) » Wed May 14, 2014 4:19 pm

i have attached here a zip file.
unzip that into a folder
and click .tmx file -> it will open the map with the installed Tiled app.

and you will know i think how to use it.

kon
Posts: 57
Joined: Thu May 01, 2014 5:38 am

Re: Map design - How can i create user (community) map?

Post by kon » Thu May 15, 2014 12:01 pm

http://prntscr.com/3jej47

have downloaded. open and image.
translated Central words mean the following:
an error occurred while loading the image of the set of tiles:
...
Line 10. column 60

Antarctichusky
Posts: 33
Joined: Mon May 12, 2014 8:22 pm

Re: Map design - How can i create user (community) map?

Post by Antarctichusky » Thu May 15, 2014 1:20 pm

IN ATACHMENT to the post (Daniel's post) there's GFX folder (I think) put the whole folder with same location as campain.

Stratego (dev)
Site Admin
Posts: 9676
Joined: Fri Apr 25, 2014 9:28 pm

Re: Map design - How can i create user (community) map?

Post by Stratego (dev) » Thu May 15, 2014 1:50 pm

You have to unzip the whole content into a folder, do not open the map from the zip file.

kon
Posts: 57
Joined: Thu May 01, 2014 5:38 am

Re: Map design - How can i create user (community) map?

Post by kon » Fri May 16, 2014 6:18 pm

Daniel, let's get back on social networks Vkontakte, or Facebook. I can't do it. but the company about Russia really want to do)

Stratego (dev)
Site Admin
Posts: 9676
Joined: Fri Apr 25, 2014 9:28 pm

Re: Map design - How can i create user (community) map?

Post by Stratego (dev) » Fri May 16, 2014 6:19 pm

do you have skype?

Ben09880
Posts: 2
Joined: Sat May 24, 2014 5:53 pm

Re: Map design - How can i create user (community) map?

Post by Ben09880 » Sat May 24, 2014 6:00 pm

May I have a link to the stirling map?

And how can I go about creating new tilesets? What's the dimensions and so on?

I would greatly like to create tiles... and maps.

what's the maximum size for a map in tiles?

Is it safe to assume 32bit color PNG with transparencies enabled?

Stratego (dev)
Site Admin
Posts: 9676
Joined: Fri Apr 25, 2014 9:28 pm

Re: Map design - How can i create user (community) map?

Post by Stratego (dev) » Sat May 24, 2014 7:32 pm

Ben09880 wrote:May I have a link to the stirling map?
sure email me and i will send you.
Ben09880 wrote:And how can I go about creating new tilesets? What's the dimensions and so on?
the current tileset is in the pack.
And 32x32 is the current tileset.
Ben09880 wrote: I would greatly like to create tiles... and maps.

what's the maximum size for a map in tiles?

Is it safe to assume 32bit color PNG with transparencies enabled?
cool! create any tile you want! (i assume you ment terrain tiles)
and also unit images are also welcome!

max map size: unlimited, but a 50x50 is a great map, where 6 players can play a good one., so bigger maps are only needed in special cases.

Ben09880
Posts: 2
Joined: Sat May 24, 2014 5:53 pm

Re: Map design - How can i create user (community) map?

Post by Ben09880 » Sat May 24, 2014 9:15 pm

Any tile??

Have you thought of using pre-rendered 3D tiles? Volcanoes? Tunnels? Upgradable Heroes?

I got LOTS of ideas....

Forgotten relics campaign... Goal is to locate the relics first to build an ultimate weapon.


One player maps. No actual 'PC', but traditional mobs...

Email sent for map pack.

Stratego (dev)
Site Admin
Posts: 9676
Joined: Fri Apr 25, 2014 9:28 pm

Re: Map design - How can i create user (community) map?

Post by Stratego (dev) » Sun May 25, 2014 4:39 am

Ben09880 wrote:Any tile??

Have you thought of using pre-rendered 3D tiles? Volcanoes? Tunnels? Upgradable Heroes?

I got LOTS of ideas....

Forgotten relics campaign... Goal is to locate the relics first to build an ultimate weapon.


One player maps. No actual 'PC', but traditional mobs...

Email sent for map pack.
Thanks!
Volcanos, tunnels - cool!
Please open new topics for every new idea in the proper sections eg: new game type idea into gametypes section, new unit idea into that section and so on! btw The ideas look good! Thanks!

Stratego (dev)
Site Admin
Posts: 9676
Joined: Fri Apr 25, 2014 9:28 pm

Re: Map design - How can i create user (community) map?

Post by Stratego (dev) » Sat Jul 05, 2014 6:01 pm

Map design starter pack is refreshed with new units.
Create as many maps as you can! :)

daniel

Stratego (dev)
Site Admin
Posts: 9676
Joined: Fri Apr 25, 2014 9:28 pm

Re: Map design - How can i create user (community) map?

Post by Stratego (dev) » Mon Aug 11, 2014 11:14 pm

New terrain tiles in design pack!

User avatar
patroid
Posts: 1178
Joined: Fri Aug 08, 2014 10:58 am
Location: Germany, Berlin

Re: Map design - How can i create user (community) map?

Post by patroid » Wed Aug 13, 2014 12:22 pm

Hi,
I want to create maps also.
I had made a map with the tiles but i dont believe i did it the right way
cause i dont use any programming or thinks like this.
I be patroid(3516).
You may send me a mail with your skype or made a youtube video to show us
how to use "Tiles" and how to create maps.
Also anybody else who done a map before can make a video on youtube.
Please answer me as fast as you can.

patroid

PS: I want to attached the "Map" but it isnt allowed.
PPS: I am German. I'm sorry if i wrote something wrong!!

User avatar
COOLguy
Posts: 4005
Joined: Sat Jul 12, 2014 2:58 am
Location: Nenuial, Arnor

Re: Map design - How can i create user (community) map?

Post by COOLguy » Wed Aug 13, 2014 4:48 pm

Forgive me, but I just don't think it would be worth it to make a youtube video tutorial for this. Tiled is pretty user friendly. But I would like to help, so if you would let me know your email I would be happy to send a quick help to you. Or if you would like more experienced help (I only started about a month ago), Daniel is super nice. :)
Thanks!
Josh

User avatar
patroid
Posts: 1178
Joined: Fri Aug 08, 2014 10:58 am
Location: Germany, Berlin

Re: Map design - How can i create user (community) map?

Post by patroid » Wed Aug 13, 2014 5:56 pm

Hi
Last edited by patroid on Thu Oct 10, 2019 5:04 pm, edited 1 time in total.

User avatar
COOLguy
Posts: 4005
Joined: Sat Jul 12, 2014 2:58 am
Location: Nenuial, Arnor

Re: Map design - How can i create user (community) map?

Post by COOLguy » Wed Aug 13, 2014 6:09 pm

OK, give me a sec. (You have already downloaded Tiled and Daniel's starter pack I take it.)
Thanks!
Josh

User avatar
COOLguy
Posts: 4005
Joined: Sat Jul 12, 2014 2:58 am
Location: Nenuial, Arnor

Re: Map design - How can i create user (community) map?

Post by COOLguy » Wed Aug 13, 2014 11:30 pm

Sorry 'bout that. I sent an email. I hope you got it.
Thanks!
Josh

User avatar
patroid
Posts: 1178
Joined: Fri Aug 08, 2014 10:58 am
Location: Germany, Berlin

Re: Map design - How can i create user (community) map?

Post by patroid » Thu Aug 14, 2014 10:54 am

Sorry i wrote googelmail but mean googlemail

User avatar
COOLguy
Posts: 4005
Joined: Sat Jul 12, 2014 2:58 am
Location: Nenuial, Arnor

Re: Map design - How can i create user (community) map?

Post by COOLguy » Thu Aug 14, 2014 6:28 pm

Ok, new email!
Thanks!
Josh

Stratego (dev)
Site Admin
Posts: 9676
Joined: Fri Apr 25, 2014 9:28 pm

Re: Map design - How can i create user (community) map?

Post by Stratego (dev) » Sat Aug 16, 2014 5:55 am

new starter pack with extra 4 player colors to design with (however you should only use the first 6 colors since in game you can only get 6 players ina game yet)
usable colors:
- pink
- green
- blue
- light blue
- yellow
- red

Storgar
Posts: 46
Joined: Mon Jun 30, 2014 11:53 am

Re: Map design - How can i create user (community) map?

Post by Storgar » Thu Sep 18, 2014 1:12 pm

I been playing with the editor and would like to know a few points:

I would like to be able to change the properties of tiles and make new tiles but am struggling with this - you have road, wood, hill, water and land are there any more?
What does each type do?
road = ?
wood = stops wagons and some other troops - cant build on
hill = cant move over
water = only boats
land = no boats
What about a wound tile that inflicts damage to troops due to dense thorny bushes or fire.
It would be good if the long grass also had tiles with water background to form river banks in a marsh setting.
The tiles with water and lilies on them are showing as ground not water.
Some of the steep mountain looking tiles are showing as ground which I presume would mean that troops can move on them but should they not be hill.

If there is some tutorial on how to make tiles and properties for the tiles or edit the existing ones then please let me know.

Thanks

User avatar
patroid
Posts: 1178
Joined: Fri Aug 08, 2014 10:58 am
Location: Germany, Berlin

Re: Map design - How can i create user (community) map?

Post by patroid » Thu Oct 02, 2014 9:33 am

HI
Why arent the normal bowman and swordsman in the tileset?????

???????????

patroid

Stratego (dev)
Site Admin
Posts: 9676
Joined: Fri Apr 25, 2014 9:28 pm

Re: Map design - How can i create user (community) map?

Post by Stratego (dev) » Thu Oct 02, 2014 12:14 pm

Strogar : there is nothing abou how to do them, try to modify them make them attachable to other tiles, and if seems fine than i will put it in.

Patroid: they are there, but with the old appearance, but dont worry , use them they will appear with the new appearance.

Lancer
Posts: 129
Joined: Fri Sep 19, 2014 6:14 pm
Location: Serbia

Re: Map design - How can i create user (community) map?

Post by Lancer » Thu Oct 02, 2014 12:34 pm

I have a bit of problem when i try to place a unit on tile the tile disapears and unit apears but its on ''nothing tile'' (the gray color tile).The problem is when i place unit on grass for example grass deletes and unit apears.Shouldn't unit apear on the grass insdead of grass being deleted?
And how do i delete units?

Heres the image of first question: http://postimg.org/image/f6rc4tbmz/

User avatar
patroid
Posts: 1178
Joined: Fri Aug 08, 2014 10:58 am
Location: Germany, Berlin

Re: Map design - How can i create user (community) map?

Post by patroid » Thu Oct 02, 2014 2:19 pm

Hi
@Lancer Your problem sounds like you only have one
layer but you need 2!!
For the programm the
units are like all other tiles!!!
You only can overwrite them
with blanc tiles.

@Daniel I need the archer cause
i wanna make the firearcher with
him as base!!! And i wanna make the
Man at arms unit with the swordsman
at base!

Patroid

Lancer
Posts: 129
Joined: Fri Sep 19, 2014 6:14 pm
Location: Serbia

Re: Map design - How can i create user (community) map?

Post by Lancer » Thu Oct 02, 2014 2:44 pm

Patroid:What? i have terrain and units tilesets and thats it i dont know how to delete or place units that are not tiles....

Post Reply

Return to “Abstract”