Very strage changeroom problem

Started by LRH, Thu 02/04/2009 01:18:27

Previous topic - Next topic

LRH

Every time I use cEgo.changeroom (cEgo is my player character) the player is transported to the next room, but then, uh oh, the player is invisible and unable to move! Am I missing something simple? I even tried changing the optional x and y to see if the player was at least actually being loaded, and it IS because the camera focuses on the x and y typed in every time.
Any help is appreciated, thanks!

RickJ

There is a check box in the room editor pane labeled something like "Make Player Characcter Visible/Invisible".  Perhaps the check box is in the wrong state?

LRH

Quote from: RickJ on Thu 02/04/2009 01:29:44
There is a check box in the room editor pane labeled something like "Make Player Characcter Visible/Invisible".  Perhaps the check box is in the wrong state?

Nope.Thanks for the suggestion, but ShowPlayerCharacter is set to true. huh.... ?_?

LRH

Update: This is getting even more strange. Using cEgo.ChangeRoomAutoPosition works, but then I cannot position the character the way I would like to.. ugh...

Ethan D

Are you sure the only code your using is changeroom, and is it possible the character is accidently behind a walkbehind or a large object?  I dont see any reason why the character could become invisible by itself.

LRH

Quote from: Float On on Thu 02/04/2009 01:57:48
Are you sure the only code your using is changeroom, and is it possible the character is accidently behind a walkbehind or a large object?  I dont see any reason why the character could become invisible by itself.

Well, here's the thing. I just tried cEgo.changeroom (room#) without the optional x and y, but now it works! He's not in the right place, but it worked. However, when I input an x and y for him to appear on, he doesn't. how can I fix this?

Ethan D

Does he only disappear when he is in a particular x,y location or no matter where he is when you are using the optional x,y coordinates.

Ultra Magnus

My guess is that you're using low-res coordinates in a high-res game.
Your character is being drawn off-screen.

Try halving the optional x and y (i.e. if you want your guy at 400,200 put in 200,100 instead).

If that works, there's an option in the game settings window that you need to change.
Can't remember what it's called off-hand, but you'll know it when you see it.
I don't mean to sound bitter, cold, or cruel, but I am, so that's how it comes out.

I'm tired of pretending I'm not bitchin', a total frickin' rock star from Mars.

LRH

Quote from: Ultra Magnus on Thu 02/04/2009 02:54:52
My guess is that you're using low-res coordinates in a high-res game.
Your character is being drawn off-screen.

Try halving the optional x and y (i.e. if you want your guy at 400,200 put in 200,100 instead).

If that works, there's an option in the game settings window that you need to change.
Can't remember what it's called off-hand, but you'll know it when you see it.

Thank you sir, you are correct. Works fine now.

SMF spam blocked by CleanTalk