secret counting in a mod

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
Post Reply
bongobeat
Posts: 1076
Joined: Thu May 16, 2013 5:58 pm
Location: France

secret counting in a mod

Post by bongobeat »

Hello,

I got a problem with the total number of secret in my mod and really don't know how to resolve it:

while playing the mod, there is 152 secrets counted in the statistics:

when I count them in the editor, level by level, I got 149 secret in total, there is also a difference of 3.
This is really embarrassing, as I have edited a secret list by level for the player.
Yesterday I have checked the connections between the secrets and any triggers in the editor (button, lever, etc..) by searching them in the dungeon.lua
I found 2 secrets which were not activated by anything, corriged now, and 2 secrets which are connected to double triggers, but only one of the triggers activate them.
Now, after correction, I have re export the dungeon and there is still a difference between my secret list and the number in the statistics.

Is there a program that can check for errors in a dungeon.lua?
Can it be a bug?

I have double checked all secrets in the editor, and there is no error between my list. I don't understand where are the 3 missing secrets that I did not see in the editor.
My asset pack: viewtopic.php?f=22&t=9320

Log1 mod : Toorum Manor: viewtopic.php?f=14&t=5505
User avatar
Dr.Disaster
Posts: 2876
Joined: Wed Aug 15, 2012 11:48 am

Re: secret counting in a mod

Post by Dr.Disaster »

Maybe you got stacked secrets so you "miss" a few by looking at the editor?
bongobeat
Posts: 1076
Joined: Thu May 16, 2013 5:58 pm
Location: France

Re: secret counting in a mod

Post by bongobeat »

I don't think so, but that is not impossible.

thanks I will check again!
My asset pack: viewtopic.php?f=22&t=9320

Log1 mod : Toorum Manor: viewtopic.php?f=14&t=5505
User avatar
maneus
Posts: 246
Joined: Mon Jun 17, 2013 10:42 pm
Location: Switzerland

Re: secret counting in a mod

Post by maneus »

While testing my mod I´ve seen that a few secrets are not shown in the statistics. Same problem as you, bongobeat.
I´ve opened the editor and placed all secrets over the pressure plates which activate them.

After saving end exporting my mod now shows the correct number of secrets in the game statistics.

I´ve no idea if this have to do with the new placements of the secrets in the editor but it works for me.
bongobeat
Posts: 1076
Joined: Thu May 16, 2013 5:58 pm
Location: France

Re: secret counting in a mod

Post by bongobeat »

Ok, I have checked as Dr.Disaster said and found a secret over a "real" secret, and another secret hidden by a plate :D
It is ok now, thanks all for your help!
My asset pack: viewtopic.php?f=22&t=9320

Log1 mod : Toorum Manor: viewtopic.php?f=14&t=5505
Post Reply