You cannot use clearepisodes in a MAPINFO if you do not define any new episodes after it.

Ask about ACS, DECORATE, ZScript, or any other scripting questions here!

Moderator: GZDoom Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
Post Reply
User avatar
SPZ1
Posts: 388
Joined: Wed Aug 02, 2017 3:01 pm
Location: Illinois
Contact:

You cannot use clearepisodes in a MAPINFO if you do not define any new episodes after it.

Post by SPZ1 »

So I was going to release my gzdoom game today. But when I compiled all the files I got this weird error that doesn't make sense.
GZDoom wrote:You cannot use clearepisodes in a MAPINFO if you do not define any new episodes after it.

Download Location 1
Download Location 2

EDIT: Downloads removed as working SPZ1.ipk3 is now available
Last edited by SPZ1 on Sun Oct 20, 2024 8:30 pm, edited 1 time in total.
User avatar
Redneckerz
Spotlight Team
Posts: 1120
Joined: Mon Nov 25, 2019 8:54 am
Graphics Processor: Intel (Modern GZDoom)

Re: You cannot use clearepisodes in a MAPINFO if you do not define any new episodes after it.

Post by Redneckerz »

The great thing about GZDoom errors is that they usually give you a good hint as to what is going wrong. Relevant DW thread: https://www.doomworld.com/forum/topic/1 ... correctly/

Check if there is a MAPINFO present. In the DW example, which has the same error, it was found that no such MAPINFO was present.

ZDoomWiki page on Episode definitions: https://zdoom.org/wiki/MAPINFO/Episode_definition
User avatar
SPZ1
Posts: 388
Joined: Wed Aug 02, 2017 3:01 pm
Location: Illinois
Contact:

Re: You cannot use clearepisodes in a MAPINFO if you do not define any new episodes after it.

Post by SPZ1 »

If you had looked at my file, you would have noticed these things:
  1. My project has a MAPINFO
  2. My MAPINFO does not use the 'clearepisodes' keyword
  3. My project doesn't even use the ExMx map naming convention but mostly MAPxx instead
User avatar
::Bloodfury::
Posts: 332
Joined: Mon Aug 01, 2011 7:39 pm
Graphics Processor: nVidia (Modern GZDoom)
Location: Finland

Re: You cannot use clearepisodes in a MAPINFO if you do not define any new episodes after it.

Post by ::Bloodfury:: »

For some reason you have to use clear episodes and define a new episode for your standalone ipk3 to work. That alone is not enough. You also need to define new skills.
just add this before your other map definitions:

clearepisodes

episode MAP01 //This should be named the same as the first map you want your game to start.
{
name = "Your episode"
//other parameters if needed.
}

if you do not specify additional episodes, there is no episode selection menu either.
And ofc define your skills. Copy and paste them from wiki etc. if you want standard doom difficulty behavior, and just name them how you like.
User avatar
SPZ1
Posts: 388
Joined: Wed Aug 02, 2017 3:01 pm
Location: Illinois
Contact:

Re: You cannot use clearepisodes in a MAPINFO if you do not define any new episodes after it.

Post by SPZ1 »

Thanks for the info! I have moved past the need to define an episode and skill. Unfortunately, I went into a completely new problem. When I tried to load the .ipk3 gzdoom got sick and regurgitated this: :puke: Does anybody know what is wrong with my game?
Spoiler: WTF
User avatar
Jimmy
 
 
Posts: 4726
Joined: Mon Apr 10, 2006 1:49 pm
Preferred Pronouns: He/Him
Contact:

Re: You cannot use clearepisodes in a MAPINFO if you do not define any new episodes after it.

Post by Jimmy »

Check the "adding" lines towards the top of the log, you've loaded your four resource files twice, and everything in the code now has a duplicate, causing the errors.
User avatar
SPZ1
Posts: 388
Joined: Wed Aug 02, 2017 3:01 pm
Location: Illinois
Contact:

Re: You cannot use clearepisodes in a MAPINFO if you do not define any new episodes after it.

Post by SPZ1 »

Thank you for pointing that out. All I was doing was drag/dropping on the gzdoom executable so I didn't notice.
User avatar
SPZ1
Posts: 388
Joined: Wed Aug 02, 2017 3:01 pm
Location: Illinois
Contact:

Re: You cannot use clearepisodes in a MAPINFO if you do not define any new episodes after it.

Post by SPZ1 »

I have some more strange errors guys. GZDoom is now telling me that one of my maps, CREDITS, doesn't exist!



Also, this weird thing with the GZDoom.pk3 that never popped up before!
GZDoom wrote:Script error, "gzdoom.pk3:menudef.txt" line 211:
Unknown texture M_EPISOD
GZDoom_pk3 script error.png
Post Reply

Return to “Scripting”