ZDaemon Forum Index ZDaemon
Client/Server DOOM
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Unknown keyword in mapinfo. Rest of mapinfo will be ignored

 
Post new topic   Reply to topic    ZDaemon Forum Index -> Accepted / To be Implemented Requests
View previous topic :: View next topic  
Author Message
Krawa
There is a limit


Joined: 23 Nov 2008
Location: #SDA

PostPosted: Sat Feb 25, 2012 10:16 pm    Post subject: Unknown keyword in mapinfo. Rest of mapinfo will be ignored Reply with quote

There are some keywords in mapinfo that ZD doesn't use, but they stop ZD reading mapinfo instead of just ignoring it.

I found "nocrouch" and "sucktime".
Back to top
View user's profile Send private message Visit poster's website
EarthQuake
Wicked Sick!


Joined: 02 Apr 2004
Location: Athens, Ohio. Dieblieber gonna getcha!

PostPosted: Sun Feb 26, 2012 2:25 am    Post subject: Reply with quote

This has been brought up before, and from what I'm told there isn't any way around it because of the parser. The only way it can be "fixed" is to keep adding placeholders for all the possible MAPINFO commands ZDoom uses, so the parser doesn't bomb. But those accumulate at a rate of 1 or 2 new commands per day.

I believe ZDaemon already has placeholders for some commands, but any recent ones will probably indicate that the wad will not work in ZDaemon anyways, because newer ZDoom features may be in use other than new MAPINFO commands.

For reference, "smoothlighting" is another unknown [and probably frequently used] ZDoom command.
Back to top
View user's profile Send private message Send e-mail
Empyre
Unstoppable!


Joined: 13 Dec 2006
Location: Texas, USA

PostPosted: Sun Feb 26, 2012 8:22 am    Post subject: Reply with quote

I came upon this same error message myself recently. I defined a custom episode in my mapinfo, and ZDaemon balked and didn't process the rest of the mapinfo lump. I "fixed" it by moving the episode definition to the end of the lump, so all the maps have their names and music defined before processing stops.
Back to top
View user's profile Send private message Send e-mail
phenex2
Unstoppable!


Joined: 10 Jan 2008

PostPosted: Fri Feb 08, 2013 5:15 pm    Post subject: Reply with quote

if there are more keywords that stop the parser post them here!
Back to top
View user's profile Send private message
Sr69Mm-jC
Unstoppable!


Joined: 21 Jul 2011

PostPosted: Sat Feb 09, 2013 9:26 am    Post subject: Reply with quote

phenex2 wrote:
if there are more keywords that stop the parser post them here!

Well, I went ahead and tested 'em all from http://zdoom.org/wiki/MAPINFO_(old_format) .
So here's the list of all ZDoom keywords that stop ZDaemon's parser and throw the corresponding message to console. Tested with 1.09.01 ofc.

From MAPINFO old format:
    adddefaultmap
    gamedefaults
    bordertexture
    specialaction
    clipmidtextures
    strictmonsteractivation
    missileshootersactivateimpactlines
    laxmonsteractivation
    missilesactivateimpactlines
    monsterfallingdamage
    teamdamage
    allowrespawn
    teamplayoff
    teamplayon
    noinventorybar
    keepfullinventory
    infiniteflightpowerup
    f1
    nocheckswitchrange
    checkswitchrange
    translator
    unfreezesingleplayerconversations


Every single episode-related keyword stops the parser.
    episode
    name
    lookup
    picname
    key
    remove
    noskillmenu
    optional
    clearepisodes


Every single skill-related keyword does that as well.
    clearskills
    skill
    ammofactor
    dropammofactor
    doubleammofactor
    damagefactor
    respawntime
    respawnlimit
    aggressiveness
    easybossbrain
    spawnfilter
    acsreturn
    key
    fastmonsters
    disablecheats
    mustconfirm
    autousehealth
    name
    playerclassname
    picname
    textcolor


Clusters on the other hand are fine, with the exception for "pic" keyword which stops parser.

.

And finally ZDoom has compat options that you can specify directly in MAPINFO. Obviously, ZDaemon isn't aware of them. You can specify these in MAPINFO (note that I excluded several CVAR-only ones):
    compat_shorttex
    compat_stairs
    compat_light
    compat_limitpain
    compat_nopassover
    compat_notossdrops
    compat_useblocking
    compat_nodoorlight
    compat_ravenscroll
    compat_soundtarget
    compat_dehhealth
    compat_trace
    compat_dropoff
    compat_crossdropoff
    compat_invisibility
    compat_boomscroll
    compat_sectorsounds
    compat_missileclip
    compat_anybossdeath
    compat_minotaur
    compat_mushroom
    compat_mbfmonstermove
    compat_corpsegibs
    compat_noblockfriends
    compat_spritesort
    compat_polyobj
    compat_maskedmidtex
    compat_badangles
    compat_floormove


Skulltag has even more of those. It is not clearly said in the wiki whether you can also use these following ones directly in MAPINFO or not, but anyways, here we go:

    compat_clientssendfullbuttoninfo
    compat_disablestealthmonsters
    compat_disabletaunts
    compat_instantrespawn
    compat_limited_airmovement
    compat_netscriptsareclientside
    compat_nocrosshair
    compat_noland
    compat_oldintermission
    compat_oldradiusdmg
    compat_oldweaponswitch
    compat_originalsoundcurve
    compat_plasmabump


Also note that I did not test any keywords from new format. It *seems* some of them may have effect in old format as well, but I'm not sure.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    ZDaemon Forum Index -> Accepted / To be Implemented Requests All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group