Author
|
Topic: A bunch of easy questions
|
FF4LIFE |
posted 05-20- 11:44 PM CT (US)
I'm not very good at this, so here's a bunch of easy questions.1)How do you change the speed of a sequence, like an animation of a sprite I put in the game 2)How do you loop wave sounds? 3)I can't think of any right now, hang on... 4)Ok, got one. Sometimes when i give a sprite the sp_target(¤t_sprite, 1); command it doesn't go after Dink. Sometimes it does though. Does it matter what brain the sprite has, 9 or 10? 5)I change a sprites brain to 9 and its base walk so it works, and it has speed and everything, but it just stays in one place and vibrates. I don't know why it doesn't come after me like it should, but maybe you do. Thats all for now, but knowing me, i'll think of more stupid things to ask.
|
Nexis
|
posted 05-21- 05:33 AM CT (US)
1)How do you change the speed of a sequence, like an animation of a sprite I put in the gameint sp_frame_delay(int sprite, int value (-1 to not change)); 2)How do you loop wave sounds? void sound_set_survive(int sound_bank, 1 or 0) 3)I can't think of any right now, hang on... ok, that's makes this one easy 4)Ok, got one. Sometimes when i give a sprite the sp_target(¤t_sprite, 1); command it doesn't go after Dink. Sometimes it does though. Does it matter what brain the sprite has, 9 or 10? Brain does matter to a certain degree. I think only brains 9 and 10 work (although there's a good chance I'm wrong) although the follow command is similar and works with just about everything I think. 5)I change a sprites brain to 9 and its base walk so it works, and it has speed and everything, but it just stays in one place and vibrates. I don't know why it doesn't come after me like it should, but maybe you do. This is usually caused when a sprite has hardness. |
FF4LIFE
|
posted 05-21- 03:45 PM CT (US)
Thanks, i get most of that. For the looping wave sounds, i don't quite understand, though. For the void sound_set_survive(int sound_bank, 1 or 0 , do i put in int sound_bank, or the name of the wave, because i don't know the command to even play them. If i want to play a wave called song.wav, what is everything i type to make it play and loop? For the hardness one, i figured out the hardness problem and it fixed one place where i changed the brain of something. I basicaly copied what the did with Jack. But in this other place, it doesn't work, much like the sp_target command sometimes doesn't work. Also, I added some new sprites on the last page, and for the walk, do i want it 851, 853, 857, and 859, OR 852, 854, 856 ,858. Same question for an attack sequence. |
Nexis
|
posted 05-22- 04:28 AM CT (US)
"851, 853, 857, and 859, OR 852, 854, 856 ,858. Same question for an attack sequence. "851, 853, 857, and 859 for diagonal (9 brain) 852, 854, 856 ,858 for straight line (10 brain) for people brain (16) you can have either or both, your choice.
|
FF4LIFE
|
posted 05-22- 08:53 PM CT (US)
What is brain 16? Infact, what are any of the brains above ten? I never heard of any of them. |
Nexis
|
posted 05-23- 04:02 AM CT (US)
Brain 16 is the brain given to most humans (you can either give it diagonal, sideways, or all frames for movement). This brain basically just makes them wander around the screen.Check out the dinkc.txt for info on the other brains. |