Author |
Message |
Darkshadow
Joined: Sun Apr 08, 2007 9:47 am Posts: 4
|
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
Attachments:
File comment: The .rte.zip file
Firstmap.rte.zip [144.2 KiB]
Downloaded 392 times
Last edited by Darkshadow on Mon Aug 16, 2010 10:55 pm, edited 1 time in total.
|
Mon Aug 16, 2010 10:43 pm |
|
|
Tomaster
DRLGrump
Joined: Tue Nov 07, 2006 1:26 am Posts: 2037 Location: Jerking off in a corner over by the OT sub-forum
|
Re: What files do you need for a map?
Upload the entire .rte please? And what error is it giving you?
|
Mon Aug 16, 2010 10:46 pm |
|
|
Darkshadow
Joined: Sun Apr 08, 2007 9:47 am Posts: 4
|
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.
|
Mon Aug 16, 2010 10:56 pm |
|
|
Tomaster
DRLGrump
Joined: Tue Nov 07, 2006 1:26 am Posts: 2037 Location: Jerking off in a corner over by the OT sub-forum
|
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.
|
Mon Aug 16, 2010 11:32 pm |
|
|
411570N3
Joined: Wed Jan 07, 2009 10:26 am Posts: 4074 Location: That quaint little British colony down south
|
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.
|
Tue Aug 17, 2010 7:32 am |
|
|
Darkshadow
Joined: Sun Apr 08, 2007 9:47 am Posts: 4
|
Re: What files do you need for a map?
Thanks the map now works but all the terrain is pink with default written on it. is there a special way of saving the bitmap?
|
Tue Aug 17, 2010 8:57 pm |
|
|
Tomaster
DRLGrump
Joined: Tue Nov 07, 2006 1:26 am Posts: 2037 Location: Jerking off in a corner over by the OT sub-forum
|
Re: What files do you need for a map?
Darkshadow wrote: Thanks 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?
|
Tue Aug 17, 2010 9:12 pm |
|
|
Awesomeness
Joined: Sat Jun 19, 2010 5:02 pm Posts: 331 Location: Mekkan
|
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.
|
Wed Aug 18, 2010 11:20 pm |
|
|
Lizardheim
DRL Developer
Joined: Fri May 15, 2009 10:29 am Posts: 4107 Location: Russia
|
Re: What files do you need for a map?
It has tabbing yes, but it doesn't need it :V
|
Wed Aug 18, 2010 11:21 pm |
|
|
Tomaster
DRLGrump
Joined: Tue Nov 07, 2006 1:26 am Posts: 2037 Location: Jerking off in a corner over by the OT sub-forum
|
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.
|
Thu Aug 19, 2010 1:20 am |
|
|
411570N3
Joined: Wed Jan 07, 2009 10:26 am Posts: 4074 Location: That quaint little British colony down south
|
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.
|
Thu Aug 19, 2010 8:29 am |
|
|
|