mapinfo syntax errors! :(

Discuss anything ZDoom-related that doesn't fall into one of the other categories.
User avatar
SyntherAugustus
Posts: 968
Joined: Tue Jul 15, 2003 5:43 pm

mapinfo syntax errors! :(

Post by SyntherAugustus »

Code: Select all

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
Hirogen2
Posts: 2033
Joined: Sat Jul 19, 2003 6:15 am
Graphics Processor: Intel with Vulkan/Metal Support
Location: Central Germany

Post by Hirogen2 »

exitext!?
exittext probably.
User avatar
SyntherAugustus
Posts: 968
Joined: Tue Jul 15, 2003 5:43 pm

Post by SyntherAugustus »

still getting line 11 error
User avatar
Xaser
 
 
Posts: 10772
Joined: Sun Jul 20, 2003 12:15 pm

Post by Xaser »

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
HotWax
Posts: 10002
Joined: Fri Jul 18, 2003 6:18 pm
Location: Idaho Falls, ID

Post by HotWax »

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
Kate
... in rememberance ...
Posts: 2975
Joined: Tue Jul 15, 2003 8:06 pm

Post by Kate »

Let me change the code to something that'll work:

Code: Select all

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
SyntherAugustus
Posts: 968
Joined: Tue Jul 15, 2003 5:43 pm

Post by SyntherAugustus »

edit: now it says line 12 is bad. wth is going on here. could it be im using 47i?
User avatar
HotWax
Posts: 10002
Joined: Fri Jul 18, 2003 6:18 pm
Location: Idaho Falls, ID

Post by HotWax »

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
SyntherAugustus
Posts: 968
Joined: Tue Jul 15, 2003 5:43 pm

Post by SyntherAugustus »

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.
Cyb
Posts: 912
Joined: Tue Jul 15, 2003 5:12 pm

Post by Cyb »

you need to give the maps a name

Code: Select all

map map## "put a name here like this"
that's what's causing the crash
User avatar
Kate
... in rememberance ...
Posts: 2975
Joined: Tue Jul 15, 2003 8:06 pm

Post by Kate »

Cyb wrote:you need to give the maps a name

Code: Select all

map map## "put a name here like this"
that's what's causing the crash
Whoops! I forgot about that!
User avatar
SyntherAugustus
Posts: 968
Joined: Tue Jul 15, 2003 5:43 pm

Post by SyntherAugustus »

thanks cyb.

Return to “General”