Page 1 of 1

secret counting in a mod

Posted: Fri Jul 04, 2014 9:26 pm
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.

Re: secret counting in a mod

Posted: Fri Jul 04, 2014 9:39 pm
by Dr.Disaster
Maybe you got stacked secrets so you "miss" a few by looking at the editor?

Re: secret counting in a mod

Posted: Sat Jul 05, 2014 9:35 am
by bongobeat
I don't think so, but that is not impossible.

thanks I will check again!

Re: secret counting in a mod

Posted: Mon Jul 14, 2014 7:09 pm
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.

Re: secret counting in a mod

Posted: Wed Jul 16, 2014 12:57 pm
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!