Jump to content
  • 0

What's causing this error?


Mad Dal 85

Question

Anyone know what's causing this error? The line is empty, so there shouldn't be any problem.

 

So, I removed the 'monsters.gl' from GLDEFS file (#include "monsters.gl") and it's working so obviously there's an error in the GLDEFS. My mod that I'm making is a pk3 file by the way.

Screenshot_1.png

Edited by Mad Dal 85

Share this post


Link to post

6 answers to this question

Recommended Posts

  • 0

Here's the DECORATE file if that helps. I haven't a clue. It's my first time modding a game so still learning, but this, no idea what's going on.

Screenshot_2.png

Screenshot_3.png

Share this post


Link to post
  • 0

If you move the offending GLDefs entry to a different part of the file, does the error follow the entry? The fact it says "unexpected end of file" makes me wonder if the file is just too big. Perhaps trying cutting everything from say 18000 lines onwards into a different file and loading that too. 

 

I'm also wondering that if you're defining the full path whether you need the file type (.png for example).

 

Although, what I'm more curious about though is what kind of utterly humungous thing are you creating for your first mod that requires nearly 20,000 lines of GLDef code?

Share this post


Link to post
  • 0

I'm guessing he has the gldefs.txt loaded but the required resource images/sounds/etc folders and the needed contents aren't there.

Edited by Mr.Rocket

Share this post


Link to post
  • 0
On 5/11/2020 at 2:03 AM, Bauul said:

If you move the offending GLDefs entry to a different part of the file, does the error follow the entry? The fact it says "unexpected end of file" makes me wonder if the file is just too big. Perhaps trying cutting everything from say 18000 lines onwards into a different file and loading that too. 

 

I'm also wondering that if you're defining the full path whether you need the file type (.png for example).

 

Although, what I'm more curious about though is what kind of utterly humungous thing are you creating for your first mod that requires nearly 20,000 lines of GLDef code?

Maybe it is too big for GLDefs if there's over 18000 lines, and maybe I should try splitting it into two separate files instead. It's all the GLDEFS for the monsters, their projectiles and brightmap images. All the other GLDefs such as lights sources and other things have their own GLDefs files. Everything is all there (sprites, sounds and everything else) and all the paths are correct too.

Edited by Mad Dal 85

Share this post


Link to post
  • 0

I removed the brightmap images and their coding from the GLDefs file, and everything is working fine. Maybe the file was too big. I got a backup copy of my mod to play around with (which is the one I normally use so the original file for my mod is safe and don't have to start from scratch if something f's up badly) so maybe I'll give it a try and split the GLDefs for the monsters into two separate files and give it another try.

Edited by Mad Dal 85

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...