The Thread Where I Post Questions, and YOU Post Answers

Hi. I’m working on a game and I already have made great progress by asking a question in another topic. So I got my problem solved, but that left me with another.

Question 1:
At first I needed to get my animation going. Now I want to know how to make it stop as soon as I let the key go. 'Cause when it’s a 20 frame animation, and you only hold the key down for a millisecond, and the animation still has to finish it’s 19.999 frames, things get wierd. :eek:

Answer by Captain Oblivion: Use “Loop stop” and add another set of logic bricks: if NOT (whatever key)->and->loop stop, set to play frames 1 to 1.
To make a brick “not”, click the “Inv” button in the upper right corner.

Question 2:
I have a camera set up to rotate around an empty that is paranted to the main character so that you can change the camera view by pressing NumPad 4 or 6. But how do you get it so that the camera returns to it’s origional position by pressing NumPad 5? :confused:

Answer by Captain Oblivion: You could try IPOs- give the camera a “loc” IPO where it should be. with the logic bricks, use
keyboard(numpad 5)->and->ipo (play, frames 1-1). If the camera has a parent, it’s IPO should be relative and still get the right result.

Question 3:

This one isn’t a technical problem. I just need ideas. What kind of enemies do you think a slug would fight, and how would he fight them? So far I have shoes as enemies (fall on the slug) and as for an attack from the slug… laservision? Not very slug like. Again, I need ideas.

Answer by me: You can never have enough ideas!

Question 4:

This one is about a game model I tried to make a long time ago. How do you make a seamless “hairdome?” Like a skydome, only this is hair. He’s an anime type guy, from the game Adventure Quest, and I thought it would be easier to do his hair in a dome, rather in the strips I was applying. Note that the blend is not finished. Here it is!

That all I have for now, but I may have more later :o. I’d appreciate if this thread is replied as quickly as possible. Thank you!

Question 2
A
numpad 0 ;]

Question 1: Instead of using “play” in your ‘Action’ logic brick, change it to “loop stop”.

@migero: What?

@B13nd3r 633k: I tried it, but I would like it to reset to the first frame. Not just stop in mid-animation.

1-use loop stop and add another set of logic bricks: if NOT (whatever key)->and->loop stop, set to play frames 1 to 1.
make a brick “not” by clicking the inv button in the corner.
2-you could try IPOs- give the camera a loc IPO where it should be. with the logic bricks, use
keyboard(numpad 5)->and->ipo (play, frames 1-1). If the camera has a parent, it’s IPO should be relative and still get the right result.
3- magnifying glass lasers, salt shakers. both are more than slightly effective on real slugs. the laser could be avoided by staying in the shade, but slugs don’t really fight, so there’s not really such thing as a “slug-like attack”

@Captain Oblivion: Wow thank you! It all works now!

Maybe an ooze bomb?

how about… slime trails. and people slip on them. and they fall down.

Well actually I was thinking about something like that. Like, goo balls or something. Captain Oblivion has a good idea, but that would require tweaking a script that I found, but I don’t know anything about python. It would also require human meshes. So I’ll test those ooze bombs, and I’ll see if I can find out about that script.