newbie questions

Started by stormboy, Mon 01/09/2003 10:06:14

Previous topic - Next topic

stormboy

Hi, I'm just starting with AGS.
I've read all the manuals/faq's/etc, and tried to absorb as much as I can at first.

I've set up a room with a new character and animations and now I've got a couple of problems I can't quite resolve.

1/My character has animations for 4 way movement, and when I put him in room1 and then run the program
I can use the mouse to move him left / right etc, however
initially a static image of him stays at pos 160 120, whilst the animations freely moves him around properly.
I changed his start coords to 160 160 and now this static image of him has gone, however, when I put the mouse over him he does not return dialogue like, "mmm I'm so cool" etc, anymore. I'm a bit confused as to what I've done,
as it seems like the animations now do not recognize themselves as being the animations of the player character.
Whereas, when the static image was on screen, putting a mouse over it would return such dialogues.....?

2/ I've made idle animations, and sure enough after 30secs
my character does a quick flip into idle mode and then returns from it. So I tried to find where in the main script
this idle animation was, and I can't find reference to it.
Is it(the default idle setting) hard coded perhaps?

So I want to use the
SetCharacterIdle(EGO,12,30); type of command,
to set the idle to be instant and looping etc.

My problem is I cannot understand where I should insert something like
SetCharacterIdle(MAN,12,0); - Within the script/s?
I cannot find anywhere/somewhere where it says where a newbie should put such lines of code.
In fact I remain confused about where I should lines of code to do with "text script functions" generically. Any advice would be great.

Thanx


Ishmael

If I understood right, the first one is solved by putting a walkable area in the room which reaches cords 160x160.

The second one: The Command goes to game_start function in th global script.l
I used to make games but then I took an IRC in the knee.

<Calin> Ishmael looks awesome all the time
\( Ö)/ ¬(Ö ) | Ja minähän en keskellä kirkasta päivää lähden minnekään juoksentelemaan ilman housuja.

Scummbuddy

Well, there is "Set Character Idle View" for each character, under the char screen.
- Oh great, I'm stuck in colonial times, tentacles are taking over the world, and now the toilets backing up.
- No, I mean it's really STUCK. Like adventure-game stuck.
-Hoagie from DOTT

Ishmael

The script command is needed if the delay is about to be changed...
I used to make games but then I took an IRC in the knee.

<Calin> Ishmael looks awesome all the time
\( Ö)/ ¬(Ö ) | Ja minähän en keskellä kirkasta päivää lähden minnekään juoksentelemaan ilman housuja.

stormboy

hey thank you for the replies, I'll have a go at the scripting today.

SMF spam blocked by CleanTalk