Character disappears on room 3 (SOLVED)

Started by SupSuper, Thu 28/07/2005 19:52:41

Previous topic - Next topic

SupSuper

I've got the weirdest problem ever in AGS. I'm scripting an adventure game with AGS 2.7 which, in the beginning, is kinda like an intro cinematic, since the player can't do much but dialogue and skip ahead.

However, for no apparent reason, my character disappears when it reaches room 3. I've checked all the scripting, tried changing the position it starts on, give it Walk commands, but nothing. The character can still talk as if he was there, though.
I've thought about deleting and creating the room again but there's already a lot of scripting in it, so I really don't want to do it all over again.

I understand this probably doesn't help much, so if you want you can download the game from here and see for yourself:
http://supremesuper.tripod.com/TheLegacy.zip (689KB)
Don't mind the crappy art, it's mostly placeholder until the artists get their part done.
Programmer looking for work

DoorKnobHandle

#1
Your link seems broken, but are you sure you haven't ticked the "Hide Player Character" option for your room 3?

Also, you could copy all your room script code and create a new room and paste it there...

Gord10

I couldn't download the zip file, giving an error message "Not available for download".
Are you sure the "Hide player character" box isn't ticked?
Edit: [ ... ] was faster than me...
Games are art!
My horror game, Self

Rui 'Trovatore' Pires

I could download it. I'm trying to see what IS the matter. The box isn't ticked, the player IS there, the coordinates and frame and loop all check - he SHOULD be there. I'm still on it.
Reach for the moon. Even if you miss, you'll land among the stars.

Kneel. Now.

Never throw chicken at a Leprechaun.

SupSuper

Quote from: [ ... ] on Thu 28/07/2005 19:55:48
Your link seems broken, but are you sure you haven't ticked the "Hide Player Character" option for your room 3?

Also, you could copy all your room script code and create a new room and paste it there...
it's remote protection, just copy the link and paste it onto the address bar and it'll work.

also no, it isn't ticked.

also, i can't copy all the room script code since it's all attached to different interactions for different stuff on the room, so i'd have to go through all of them again and add Run Script to the interactions.
Programmer looking for work

DoorKnobHandle

I managed to download it now and... well, I'm puzzled. This is seriously wierd if I don't oversee something obvious.

Rui 'Trovatore' Pires

#6
Same here. The words "corrupted file" spring to mind. I mean, I practically deleted everything and returned the room to a virgin state - nothing.

EDIT - I give up. Either it's something VERY simple or a bug in AGS. Or a corrupted file. My advice to you is get that script, do another room, and sigh in frustration.
Reach for the moon. Even if you miss, you'll land among the stars.

Kneel. Now.

Never throw chicken at a Leprechaun.

DoorKnobHandle

True.

I created a new room 4 and simply changed the NewRoom function in Room 2 to move the player to room 4 and he was there. No problem.

Also deleting the walkable area didn't do any good in room 3, so it pretty much has to be corrupted...

Nice work with the story and the gui though... ;)

Pumaman

It's the region tint that's the problem.

Look at region 0 in room 3, it's set to a Tint of (0,0,0) at 50%

However, because your game is 16-bit and the Roger sprite is 8-bit the tint cannot be applied and he's disappearing instead.

To resolve it, set the region back to have a Light Level of 100%.

If you want to use region tints/lighting, you'll need to import a 16-bit sprite instead of using Roger.

I'll look into adding some sort of check for this in the engine, because the sprite just disappearing is very unhelpful, a warning message at least would be handy.


SupSuper

#9
Quote from: Pumaman on Thu 28/07/2005 20:46:36
It's the region tint that's the problem.

Look at region 0 in room 3, it's set to a Tint of (0,0,0) at 50%

However, because your game is 16-bit and the Roger sprite is 8-bit the tint cannot be applied and he's disappearing instead.

To resolve it, set the region back to have a Light Level of 100%.

If you want to use region tints/lighting, you'll need to import a 16-bit sprite instead of using Roger.

I'll look into adding some sort of check for this in the engine, because the sprite just disappearing is very unhelpful, a warning message at least would be handy.


thanks! that was just an attempt i did at lightning, but i ended up not wanting it. guess i didn't reset it right. again, many thanks, i was about to redo the whole room.
Quote from: [ ... ] on Thu 28/07/2005 20:21:58
Nice work with the story and the gui though... ;)
thanks. the Story/Concept Design is done by a friend of mine, he's a pretty good writer. i take care of the GUI/Scripting.

edit: btw, is there a way of deleting characters?
Programmer looking for work

Rui 'Trovatore' Pires

Wow. What a totally random problem.

Super - not yet, but it's on the to-do list.
Reach for the moon. Even if you miss, you'll land among the stars.

Kneel. Now.

Never throw chicken at a Leprechaun.

SMF spam blocked by CleanTalk