[Added] Add DEF to GAMEINFO

Moderator: Raze Developers

Add DEF to GAMEINFO

Postby NightFright » Fri Apr 16, 2021 4:09 am

No need to stop while we are half-way there.

Something like this should be possible via GAMEINFO lump:
Code: Select allExpand view
startuptitle = "Duke!Zone II"
con = "dukezone2.con"
def = "dukezone2.def"

The first two lines already work with latest Raze snapshots, the last one would be the feature request, obviously.
User avatar
NightFright
Spotlight Team
 
Joined: 02 May 2008
Location: Germany

Re: Add DEF to GAMEINFO

Postby Graf Zahl » Fri Apr 16, 2021 4:14 am

How would you want this to work? Just autoload the given file or use it as the global lookup name?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: Add DEF to GAMEINFO

Postby NightFright » Fri Apr 16, 2021 4:22 am

Well, most mods contain "include duke3d.def", so if you use it as a plain autoload function (like con, I guess), it should do what it's supposed to do. Not that duke3d.def is needed all the time, anyway.
User avatar
NightFright
Spotlight Team
 
Joined: 02 May 2008
Location: Germany

Re: Add DEF to GAMEINFO

Postby Graf Zahl » Sat Apr 17, 2021 3:54 pm

Added, although I have my doubts about the usefulness of such a feature. It works quite a bit against the idea of cumulative .defs in mods.
I guess time will tell.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany


Return to Closed Feature Suggestions

Who is online

Users browsing this forum: No registered users and 0 guests