Data Realms Fan Forums
http://45.55.195.193/

What files do you need for a map?
http://45.55.195.193/viewtopic.php?f=8&t=19525
Page 1 of 1

Author:  Darkshadow [ Mon Aug 16, 2010 10:43 pm ]
Post subject:  What files do you need for a map?

In my map pack .rte I have a bitmap, a .ini file for the map and an index for these files but the game still throws errors.

Am I missing any other files or is there a bit of code wrong? :???:

Help me and I will supply you all with all the skirmish maps you can handle :D

Attachments:
File comment: The .rte.zip file
Firstmap.rte.zip [144.2 KiB]
Downloaded 395 times

Author:  Tomaster [ Mon Aug 16, 2010 10:46 pm ]
Post subject:  Re: What files do you need for a map?

Upload the entire .rte please? And what error is it giving you?

Author:  Darkshadow [ Mon Aug 16, 2010 10:56 pm ]
Post subject:  Re: What files do you need for a map?

uploaded to the original post, it's saying there is an error with line 1 of the index.

Author:  Tomaster [ Mon Aug 16, 2010 11:32 pm ]
Post subject:  Re: What files do you need for a map?

Yup, you didn't do your Index.ini right.

You had this:
Code:
Data Module

ModuleName = Al's Maps
IncludeFile = Firstmap.rte/mudflats.ini

Where you should have had this:
Code:
DataModule
   ModuleName = Al's Maps
   IncludeFile = Firstmap.rte/mudflats.ini

You didn't have the right name, and then you didn't have it tabbed right either.

Author:  411570N3 [ Tue Aug 17, 2010 7:32 am ]
Post subject:  Re: What files do you need for a map?

You don't need the tabbing. Only fix the name. The tabbing screws stuff up by skipping to the end of the DataModule as it finishes the incorrectly tabbed segment, which is why it doesn't show an error, but it is incorrect nonetheless and good practice to leave it untabbed.

Author:  Darkshadow [ Tue Aug 17, 2010 8:57 pm ]
Post subject:  Re: What files do you need for a map?

Thanks :grin: the map now works but all the terrain is pink with default written on it. is there a special way of saving the bitmap?

Author:  Tomaster [ Tue Aug 17, 2010 9:12 pm ]
Post subject:  Re: What files do you need for a map?

Darkshadow wrote:
Thanks :grin: the map now works but all the terrain is pink with default written on it. is there a special way of saving the bitmap?

Did you make the map in the CC palette?

Author:  Awesomeness [ Wed Aug 18, 2010 11:20 pm ]
Post subject:  Re: What files do you need for a map?

411570N3 wrote:
You don't need the tabbing. Only fix the name. The tabbing screws stuff up by skipping to the end of the DataModule as it finishes the incorrectly tabbed segment, which is why it doesn't show an error, but it is incorrect nonetheless and good practice to leave it untabbed.

No, you are wrong. You tab index.ini, like any other ini. Even Base.rte's index.ini is tabbed.

Author:  Lizardheim [ Wed Aug 18, 2010 11:21 pm ]
Post subject:  Re: What files do you need for a map?

It has tabbing yes, but it doesn't need it :V

Author:  Tomaster [ Thu Aug 19, 2010 1:20 am ]
Post subject:  Re: What files do you need for a map?

Lizard wrote:
It has tabbing yes, but it doesn't need it :V

It's good practice though. Because when you actually do ♥♥♥♥ up tabs in an .ini, then spend hours going through it all without thinking it's tabs, well that blows.

Author:  411570N3 [ Thu Aug 19, 2010 8:29 am ]
Post subject:  Re: What files do you need for a map?

Awesomeness wrote:
You tab index.ini, like any other ini.
You do not.
Please verify your information before posting it.
It's good practice to have correct tabbing in the Index.ini. It allows you to modify file structure incredibly easily.
What blows is the first time you modify file structure significantly or attempt to make a compilation, then spend a few hours error checking because pretty much everyone has a layer of superfluous tabs in their Index.ini.

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/