[v8] DIY Mod: Add an *unlimited* amount of maps to play on

Post here your released mods

Re: 0.42b Mod: 5 Normal maps to play on

Postby Sinovera » Wed Apr 04, 2012 11:50 am

tom k. wrote:If you don't want to do this manually, I wrote an application to do it for you :)

viewtopic.php?f=13&t=1672


Yeah, I saw your mod and I would love to use it but unfortunately I am a Mac user :P
Sinovera
 
Posts: 18
Joined: Tue Apr 03, 2012 1:35 am

Re: 0.42b Mod: Add infinite amount of maps to play on

Postby Muiji » Sun Apr 29, 2012 11:20 am

Don't know why it's taken me so long to read this thread, thanks City Builder :D
User avatar
Muiji
 
Posts: 152
Joined: Sat Feb 11, 2012 12:19 pm

Re: 0.42b Mod: Add infinite amount of maps to play on

Postby AzemOcram » Wed May 02, 2012 5:10 pm

Is there a way to make a new type of map using this method?
AzemOcram
 
Posts: 24
Joined: Wed Apr 25, 2012 1:03 am

Re: 0.42b Mod: Add infinite amount of maps to play on

Postby City Builder » Thu May 03, 2012 7:02 am

No.

But you can fool around with the different xml files that the game uses to generate maps to create different looking maps.
burningpet wrote:And yeah, the Majesty reference is correct, towns will eventually aim to be a much more advanced Majesty rather than a dumbed down dwarf fortress.

Play Towns on an unlimited amount of maps: viewtopic.php?f=13&t=1659
User avatar
City Builder
 
Posts: 1948
Joined: Fri Mar 02, 2012 5:32 am
Location: Check your Mom's basement.

Re: 0.42b Mod: Add infinite amount of maps to play on

Postby City Builder » Sun Aug 12, 2012 5:56 pm

Update:
In version 0.50 you must copy the contents from the 'normal' folder into your 4 new folders.

For example you make
normal1
normal2
normal3
normal4

you must now take the contents from the 'normal' folder and copy and paste them into your new created folders else the game will crash and an error log will be written that the game can't read a file that is missing from those 4 new folders.

The reason for this is that with 0.50 (maybe earlier, I can't remember) the 'normal' files for map generation used to be someplace else but now in 0.50 they are inside of the
/campaigns/c1/normal
folder.
User avatar
City Builder
 
Posts: 1948
Joined: Fri Mar 02, 2012 5:32 am
Location: Check your Mom's basement.

Re: 0.50b Mod: Add an *unlimited* amount of maps to play on

Postby Zero » Sun Aug 19, 2012 3:01 pm

It would probably be better to group em in campaigns than let them clutter the list.
Basically, to have five slots of each map:
  • Add the
    Code: Select all
    <!-- "Campaigns" as collections of maps of a specified type -->
       <campaign>
          <id>Normals</id>
          <name esES="Mapas normal">Normal maps</name>
          <mission>
             <id>normal1</id>
             <name esES="Slot 1">Slot 1</name>
          </mission>
          <mission>
             <id>normal2</id>
             <name esES="Slot 2">Slot 2</name>
          </mission>
          <mission>
             <id>normal3</id>
             <name esES="Slot 3">Slot 3</name>
          </mission>
          <mission>
             <id>normal4</id>
             <name esES="Slot 4">Slot 4</name>
          </mission>
          <mission>
             <id>normal5</id>
             <name esES="Slot 5">Slot 5</name>
          </mission>
       </campaign>
       <campaign>
          <id>Deserts</id>
          <name esES="Mapas Desierto">Desert maps</name>
          <mission>
             <id>slot1</id>
             <name esES="Slot 1">Slot 1</name>
          </mission>
          <mission>
             <id>slot2</id>
             <name esES="Slot 2">Slot 2</name>
          </mission>
          <mission>
             <id>slot3</id>
             <name esES="Slot 3">Slot 3</name>
          </mission>
          <mission>
             <id>slot4</id>
             <name esES="Slot 4">Slot 4</name>
          </mission>
          <mission>
             <id>slot5</id>
             <name esES="Slot 5">Slot 5</name>
          </mission>
       </campaign>
       <campaign>
          <id>Jungles</id>
          <name esES="Mapas Jungla">Jungle maps</name>
          <mission>
             <id>slot1</id>
             <name esES="Slot 1">Slot 1</name>
          </mission>
          <mission>
             <id>slot2</id>
             <name esES="Slot 2">Slot 2</name>
          </mission>
          <mission>
             <id>slot3</id>
             <name esES="Slot 3">Slot 3</name>
          </mission>
          <mission>
             <id>slot4</id>
             <name esES="Slot 4">Slot 4</name>
          </mission>
          <mission>
             <id>slot5</id>
             <name esES="Slot 5">Slot 5</name>
          </mission>
       </campaign>
       <campaign>
          <id>Snows</id>
          <name esES="Mapas Nieve">Arctic maps</name>
          <mission>
             <id>slot1</id>
             <name esES="Slot 1">Slot 1</name>
          </mission>
          <mission>
             <id>slot2</id>
             <name esES="Slot 2">Slot 2</name>
          </mission>
          <mission>
             <id>slot3</id>
             <name esES="Slot 3">Slot 3</name>
          </mission>
          <mission>
             <id>slot4</id>
             <name esES="Slot 4">Slot 4</name>
          </mission>
          <mission>
             <id>slot5</id>
             <name esES="Slot 5">Slot 5</name>
          </mission>
       </campaign>
       <campaign>
          <id>Mixeds</id>
          <name esES="Mapas Mezclado">Mixed maps</name>
          <mission>
             <id>slot1</id>
             <name esES="Slot 1">Slot 1</name>
          </mission>
          <mission>
             <id>slot2</id>
             <name esES="Slot 2">Slot 2</name>
          </mission>
          <mission>
             <id>slot3</id>
             <name esES="Slot 3">Slot 3</name>
          </mission>
          <mission>
             <id>slot4</id>
             <name esES="Slot 4">Slot 4</name>
          </mission>
          <mission>
             <id>slot5</id>
             <name esES="Slot 5">Slot 5</name>
          </mission>
       </campaign>

    in campaigns.xml before </campaigns>
  • then make folders named "Normals", "Deserts", "Jungles", "Snows" and "Mixeds" in /campaigns.
  • In each make a folders named "slot1", "slot2", "slot3", "slot4" and "slot5".
  • Copy the contents of a /campaigns/c1/normal folder into each of "/campaigns/Normals/slot1", "/campaigns/Normals/slot2", "/campaigns/Normals/slot3", "/campaigns/Normals/slot4" and "/campaigns/Normals/slot5" folders.
  • Copy the contents of a /campaigns/c1/desert folder into each of "/campaigns/Deserts/slot1", "/campaigns/Deserts/slot2", "/campaigns/Deserts/slot3", "/campaigns/Deserts/slot4" and "/campaigns/Deserts/slot5" folders.
  • Copy the contents of a /campaigns/c1/jungle folder into each of "/campaigns/Jungles/slot1", "/campaigns/Jungles/slot2", "/campaigns/Jungles/slot3", "/campaigns/Jungles/slot4" and "/campaigns/Jungles/slot5" folders.
  • Copy the contents of a /campaigns/c1/snow folder into each of "/campaigns/Snows/slot1", "/campaigns/Snows/slot2", "/campaigns/Snows/slot3", "/campaigns/Snows/slot4" and "/campaigns/Snows/slot5" folders.
  • Copy the contents of a /campaigns/c1/mixed folder into each of "/campaigns/Mixeds/slot1", "/campaigns/Mixeds/slot2", "/campaigns/Mixeds/slot3", "/campaigns/Mixeds/slot4" and "/campaigns/Mixeds/slot5" folders.
    and enjoy the results.
Zero
 
Posts: 7
Joined: Fri Aug 17, 2012 2:59 pm

Re: 0.50b Mod: Add an *unlimited* amount of maps to play on

Postby bob112 » Sat Aug 25, 2012 10:41 pm

i do what you said and once i have the game up i get as far as the maps it shows the extra map i put in i click on the extra map and then it gets as far a loading textures and then shuts the game down

<?xml version="1.0" encoding="UTF-8"?>
<campaigns>
<campaign>
<id>c1</id>
<name esES="Mapas">Maps</name>
<mission>
<id>normal</id>
<name esES="Mapa normal">Normal map</name>
</mission>
<mission>
<id>normal1</id>
<name esES="mapa normal">Normal map 1</name>
</mission>
<mission>
<id>desert</id>
<name esES="Desierto">Desert</name>
</mission>
<mission>
<id>jungle</id>
<name esES="Jungla">Jungle</name>
</mission>
<mission>
<id>mixed</id>
<name esES="Mezclado">Mixed</name>
</mission>
<mission>
<id>snow</id>
<name esES="Nieve">Snow</name>
</mission>
</campaign>

this is what i have in my campaigns.xml file do you know were it is i'm going wrong? also how do i get it to apear in a box like you guys have?
bob112
 
Posts: 10
Joined: Fri Aug 24, 2012 1:03 pm

Re: 0.50b Mod: Add an *unlimited* amount of maps to play on

Postby JSJosh » Sat Aug 25, 2012 10:56 pm

how do you even get into towns files...
The Minecraft and Terraria King! Your lookin at him! :D
JSJosh
 
Posts: 123
Joined: Thu Aug 23, 2012 7:23 pm
Location: Nova Scotia, Canada

Re: 0.50b Mod: Add an *unlimited* amount of maps to play on

Postby City Builder » Sun Aug 26, 2012 1:25 am

bob, post your error.log contents, you can find this file in the same place where Towns.exe is located. Inside of it you'll likely find where the game choked and could not continue.
User avatar
City Builder
 
Posts: 1948
Joined: Fri Mar 02, 2012 5:32 am
Location: Check your Mom's basement.

Re: 0.50b Mod: Add an *unlimited* amount of maps to play on

Postby bob112 » Sun Aug 26, 2012 5:43 pm

[25-Aug-2012 19:24:31][Generator] Error reading [data/campaigns/c1\mixed\gen_map.xml]
[25-Aug-2012 19:25:56][Generator] Error reading [data/campaigns/c1\mixed\gen_map.xml]
[25-Aug-2012 19:35:18][Generator] Error reading [data/campaigns/c1\mixed\gen_map.xml]
[25-Aug-2012 23:05:39][Generator] Error reading [data/gen_map.xml]
[25-Aug-2012 23:11:53][Generator] Error reading [data/gen_map.xml]
[25-Aug-2012 23:13:53][Generator] Error reading [data/gen_map.xml]
[25-Aug-2012 23:19:01][Generator] Error reading [data/gen_map.xml]
[25-Aug-2012 23:26:03][Generator] Error reading [data/gen_map.xml]
[25-Aug-2012 23:27:10][Generator] Error reading [data/gen_map.xml]
[25-Aug-2012 23:49:52][Generator] Error reading [data/gen_map.xml]
[26-Aug-2012 18:42:44][Generator] Error reading [data/gen_map.xml]

i only added one extra normal map and thats it i've checked and its normal1 that makes the game close down all the other maps are fine
bob112
 
Posts: 10
Joined: Fri Aug 24, 2012 1:03 pm

PreviousNext

Return to Released mods

Who is online

Users browsing this forum: No registered users and 0 guests