View unanswered posts | View active topics It is currently Tue Dec 03, 2024 9:31 pm



Reply to topic  [ 11 posts ] 
 What files do you need for a map? 
Author Message

Joined: Sun Apr 08, 2007 9:47 am
Posts: 4
Reply with quote
Post 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 388 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
Profile WWW
DRLGrump
User avatar

Joined: Tue Nov 07, 2006 1:26 am
Posts: 2037
Location: Jerking off in a corner over by the OT sub-forum
Reply with quote
Post 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
Profile

Joined: Sun Apr 08, 2007 9:47 am
Posts: 4
Reply with quote
Post 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
Profile WWW
DRLGrump
User avatar

Joined: Tue Nov 07, 2006 1:26 am
Posts: 2037
Location: Jerking off in a corner over by the OT sub-forum
Reply with quote
Post 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
Profile
User avatar

Joined: Wed Jan 07, 2009 10:26 am
Posts: 4074
Location: That quaint little British colony down south
Reply with quote
Post 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
Profile WWW

Joined: Sun Apr 08, 2007 9:47 am
Posts: 4
Reply with quote
Post 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?


Tue Aug 17, 2010 8:57 pm
Profile WWW
DRLGrump
User avatar

Joined: Tue Nov 07, 2006 1:26 am
Posts: 2037
Location: Jerking off in a corner over by the OT sub-forum
Reply with quote
Post 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?


Tue Aug 17, 2010 9:12 pm
Profile
User avatar

Joined: Sat Jun 19, 2010 5:02 pm
Posts: 331
Location: Mekkan
Reply with quote
Post 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
Profile
DRL Developer
DRL Developer

Joined: Fri May 15, 2009 10:29 am
Posts: 4107
Location: Russia
Reply with quote
Post 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
Profile
DRLGrump
User avatar

Joined: Tue Nov 07, 2006 1:26 am
Posts: 2037
Location: Jerking off in a corner over by the OT sub-forum
Reply with quote
Post 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
Profile
User avatar

Joined: Wed Jan 07, 2009 10:26 am
Posts: 4074
Location: That quaint little British colony down south
Reply with quote
Post 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
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 11 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.040s | 15 Queries | GZIP : Off ]