Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Confusing data.txt
#1
Erm, ok this is no question, just a small note which may help another data changer one day. I just worked on a new project and used stage lock system for it.


There some chars are not allowed and multiplayer is not allowed

allowed char: A
not allowed char: N

A -> go on
N -> show message that char is not allowed
A + A -> multiplayer not allowed
N + N -> show message that char is not allowed and that multiplayer is not allowed
A + N -> show only message that multiplayer is not allowed

so I wondered why the hell at last case only one message came - and... something said me it has to do with data.txt - in the allowed chars were noted before the not allowed chars, but in original data.txt julian and stuff (all N) are noted before, so I changed the two groups... and....

it worked :p

so the result: the order in data.txt seems to be important which object is activated earlier in stage, since both chars have itrs which should immediatly hurt another objects in there, but if the N Char is activated "earlier" with the help of data.txt... nah, you can think of the rest yourself.

Just thought I should note this somewhere :p
[Image: random.php?pic=random]
http://www.lf-empire.de | http://www.herofighter-empire.com
Once I had a fortune, it said: "Leave now. Life is short. Time is luck"
Don't dream your life, live your dream!
Reply
Thanks given by:
#2
This would make sense that the game is order-dependent concerning data.txt. Take the backgrounds for example; it took me a heck of time to figure out how the stages' backgrounds are determined. So this is probably the same...
But still, good to know :)
Silverthorn
~ Breaking LFE since 2008 ~


» Gallery | » Sprites | » devArt
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)