mapinfo syntax errors! :(

Discuss anything ZDoom-related that doesn't fall into one of the other categories.

mapinfo syntax errors! :(

Postby SyntherAugustus » Tue Aug 05, 2003 9:22 am

Code: Select allExpand view
episode MAP01
name "Escape from Castle Wolfenstien"

episode MAP11
name "Operation Eisenfaust"

episode MAP21
name "Die Fuhrer Die!"

map map09
next map01
cluster 1
exitext "You Beaten Episode 1"

map map19
next map11
cluster 2
exitext "You Beaten Episode 2"

map map29
next map21
cluster 3
exitext "You Beaten Episode 3"


It keeps saying "Bad syntax line 11"

I've tried everything. what do I do? :oops:
User avatar
SyntherAugustus
 
Joined: 15 Jul 2003

Postby Hirogen2 » Tue Aug 05, 2003 9:37 am

exitext!?
exittext probably.
User avatar
Hirogen2
 
Joined: 19 Jul 2003
Location: Central Germany
Github ID: jengelh
Operating System: RedHat-like Linux (RHEL, Fedora, CentOS, etc) 64-bit
Graphics Processor: Intel (Modern GZDoom)

Postby SyntherAugustus » Tue Aug 05, 2003 10:09 am

still getting line 11 error
User avatar
SyntherAugustus
 
Joined: 15 Jul 2003

Postby Xaser » Tue Aug 05, 2003 10:19 am

You spelled Exittext wrong. You accidentally put "exitext" instead of "exittext" (you put only one "t" instead of two). That's the problem.
User avatar
Xaser
anarchivist
 
 
 
Joined: 20 Jul 2003

Postby HotWax » Tue Aug 05, 2003 11:05 am

You're also using the exittext command improperly. There are two kinds of definitions in a MAPINFO lump. Maps, and clusters. All of the entries you list are map defeinitions. The exittext command is used for cluster definitions.
User avatar
HotWax
Do what you must, and pay the price later.
 
Joined: 18 Jul 2003
Location: Idaho Falls, ID

Postby Kate » Tue Aug 05, 2003 11:26 am

Let me change the code to something that'll work:
Code: Select allExpand view
clearepisodes
episode MAP01
name "Escape from Castle Wolfenstien"

episode MAP11
name "Operation Eisenfaust"

episode MAP21
name "Die Fuhrer Die!"

map map09
next map01
cluster 1

map map19
next map11
cluster 2

map map29
next map21
cluster 3

clusterdef 1
exittext "You Beaten Episode 1"

clusterdef 2
exittext "You Beaten Episode 2"

clusterdef 3
exittext "You Beaten Episode 3"
User avatar
Kate
... in loving memory ...
 
Joined: 15 Jul 2003

Postby SyntherAugustus » Tue Aug 05, 2003 3:18 pm

edit: now it says line 12 is bad. wth is going on here. could it be im using 47i?
User avatar
SyntherAugustus
 
Joined: 15 Jul 2003

Postby HotWax » Tue Aug 05, 2003 3:31 pm

blackfish wrote:edit: now it says line 12 is bad. wth is going on here. could it be im using 47i?


Are you using Destroyer's version? If so, it should work as all the syntax is correct. If you just corrected your spelling error, the issue is that you're trying to use "exittext" under a map definition. See my earlier post.
User avatar
HotWax
Do what you must, and pay the price later.
 
Joined: 18 Jul 2003
Location: Idaho Falls, ID

Postby SyntherAugustus » Tue Aug 05, 2003 4:26 pm

the syntax is fully correct. maybe check out the wad?

I am using 47i if that has to do with anything. Im sure it doesnt.
User avatar
SyntherAugustus
 
Joined: 15 Jul 2003

Postby Cyb » Tue Aug 05, 2003 5:47 pm

you need to give the maps a name

Code: Select allExpand view
map map## "put a name here like this"


that's what's causing the crash
Cyb
 
Joined: 15 Jul 2003

Postby Kate » Tue Aug 05, 2003 5:55 pm

Cyb wrote:you need to give the maps a name

Code: Select allExpand view
map map## "put a name here like this"


that's what's causing the crash
Whoops! I forgot about that!
User avatar
Kate
... in loving memory ...
 
Joined: 15 Jul 2003

Postby SyntherAugustus » Tue Aug 05, 2003 7:58 pm

thanks cyb.
User avatar
SyntherAugustus
 
Joined: 15 Jul 2003


Return to General

Who is online

Users browsing this forum: No registered users and 2 guests