Weird bug involving states...

Status
Not open for further replies.

celebrus

Veteran
Veteran
Joined
May 2, 2012
Messages
233
Reaction score
2
First Language
English
Primarily Uses
Hi everyone!

Something crazy is going on in my game. It affects every battle. After you kill enemies, they re-emerge momentarily. Plus, if a player guards, they immediately go insane. If I replace my 'States' file with the default one for new projects, the problem goes away. My hunch is that this is because special states are required to be in a certain position. Perhaps K.O. has to be State #001? Maybe Guard has such a requirement as well? I'm not really sure, so help is appreciated!

Thanks!

Update: Changing K.O. to 001 solved the re-emergence problem. But guard still makes my guy go crazy.

Update 2: Yep, Guard has to be 009. So, my new question is: Am I in for any more surprises? Do any other states have assigned seating? That, and can I override it? I arranged my states in a way that made sense to me...
 
Last edited by a moderator:

Neon Black

The Classy Prostitute
Veteran
Joined
Mar 17, 2012
Messages
1,149
Reaction score
374
First Language
Sarcasm
Primarily Uses
Update 2: Yep, Guard has to be 009. So, my new question is: Am I in for any more surprises? Do any other states have assigned seating? That, and can I override it? I arranged my states in a way that made sense to me...
I haven't seen any issue with the guard state being in spots other than 9. I have guard in spot 14 in one of my projects with no issues. KO DOES have to be in spot 1, though.

Your issue with guard may be skill side. Skill 2 is the guard skill by default, so you can set that to do whatever you want. Check that the "add state" on this skill is set to the proper state in your database. That's probably the issue you're having. Other than skills 1 and 2 and state 1, no other skills or states should have any "assigned seating".
 

Victor Sant

Veteran
Veteran
Joined
Mar 17, 2012
Messages
1,694
Reaction score
1,452
First Language
Portuguese
Primarily Uses
Guarding is just a skill that cast a state on self for 1 turn. By default, the guard skill is the skill ID2 and the default guard state is the State ID 9.

You can change the guard state ID, just also change it on the guard skill.

And there's no other states that are directly tied with default actions, just Defend and K.O.
 

celebrus

Veteran
Veteran
Joined
May 2, 2012
Messages
233
Reaction score
2
First Language
English
Primarily Uses
Thanks guys. Neon Black is right about my skill side mistake for guard. Everything's hunky-dory now. Genius!
 
Joined
Mar 3, 2012
Messages
1,012
Reaction score
283
First Language
Finnish
Primarily Uses
:) This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.
 
Status
Not open for further replies.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD

Forum statistics

Threads
105,868
Messages
1,017,074
Members
137,578
Latest member
JamesLightning
Top