Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / I got a problem with some AI code please help

Author
Message
gothboy 101
20
Years of Service
User Offline
Joined: 31st May 2004
Location: Watonga, ok, usa
Posted: 24th Sep 2004 10:52
Hello im having some problem with some AI code. You see theres two dwarfs but only the enemy dwarf is animated the players dwarf just stands there. Problem two the players dwarf is the only dwarf thats textured. you'll need the 3d models that Psionic made to run it


www.dragonseige.tk
http://dragonseige.tk
Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 24th Sep 2004 11:17
I have to get some sleep now so I don't have time to look at it but I will later if noone else is helping you. I just skimmed through it quickly and didn't see anything but that alot of code. For future use it would be helpfull if you give a link to the thread with the media or a link to the media itself. Good luck.

http://forum.thegamecreators.com/?m=forum_view&t=37826&b=3 I believe this is the thread with the model.

gothboy 101
20
Years of Service
User Offline
Joined: 31st May 2004
Location: Watonga, ok, usa
Posted: 25th Sep 2004 06:31
thanks

www.dragonseige.tk
http://dragonseige.tk
gothboy 101
20
Years of Service
User Offline
Joined: 31st May 2004
Location: Watonga, ok, usa
Posted: 26th Sep 2004 04:28
someone please help me

www.dragonseige.tk
http://dragonseige.tk
Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 26th Sep 2004 05:25
I'll have a look when I get home. Had to go to bed early because I have to go to work early.

gothboy 101
20
Years of Service
User Offline
Joined: 31st May 2004
Location: Watonga, ok, usa
Posted: 26th Sep 2004 05:46
thank you lost in thought i wasn't trying to be rude to you i was asking if anyone could help

www.dragonseige.tk
http://dragonseige.tk
Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 26th Sep 2004 07:02 Edited at: 26th Sep 2004 07:04
Well the other dwarf has no color because of this: color object 2,rgb(100,100,100) in this gosub

I have no idea why you would need that there.

Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 26th Sep 2004 07:07
And they are both animated.

One is set to loop the running frames and the other is set to loop the idle frames. The part of the code that changes the animation frames is missing. Look back again at the original code.

gothboy 101
20
Years of Service
User Offline
Joined: 31st May 2004
Location: Watonga, ok, usa
Posted: 26th Sep 2004 07:32
ok thank you a lot

www.dragonseige.tk
http://dragonseige.tk
gothboy 101
20
Years of Service
User Offline
Joined: 31st May 2004
Location: Watonga, ok, usa
Posted: 26th Sep 2004 08:00
i added a standing feature at line 253 but it won't work heres the code so far


www.dragonseige.tk
http://dragonseige.tk
Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 26th Sep 2004 10:09
You are missing and endif for this if .

Also something seems messed up with the camera now.

Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 26th Sep 2004 10:13
You would probably be better off studying the code and starting all over. This way you will understand more what is going on in the code. That looks like the long way around to do that to me.

gothboy 101
20
Years of Service
User Offline
Joined: 31st May 2004
Location: Watonga, ok, usa
Posted: 26th Sep 2004 10:15
thanks and also thanks for the advice

www.dragonseige.tk
http://dragonseige.tk

Login to post a reply

Server time is: 2024-09-23 00:23:43
Your offset time is: 2024-09-23 00:23:43