| Mirage Source http://www.miragesource.net/forums/ |
|
| GameAI Timer http://www.miragesource.net/forums/viewtopic.php?f=201&t=2644 |
Page 1 of 1 |
| Author: | William [ Fri Sep 07, 2007 7:51 pm ] |
| Post subject: | GameAI Timer |
Do anybody know why the GameAI Timer has a interval of 0.5s? |
|
| Author: | Coke [ Sat Sep 08, 2007 2:36 pm ] |
| Post subject: | Re: GameAI Timer |
Because its constantly spamming everything to bits >.< |
|
| Author: | Obsidian [ Tue Sep 25, 2007 11:21 pm ] |
| Post subject: | Re: GameAI Timer |
Fox wrote: Because its constantly spamming everything to bits >.< What he said. If i remember correctly, the AI loops through every .5 seconds for the NPCs. Basically it runs through all of the stupid sub routines every half a second... and it uses a ton of loops. It's a really bad way of doing it though. That was the way it was coded at the time, and although it works, it's much slower than it should be. I haven't looked at the code in a while, but i'm fairly certain that it loops through WAY too many times. |
|
| Author: | Lea [ Wed Sep 26, 2007 3:04 am ] |
| Post subject: | Re: GameAI Timer |
Sortof a side note, but does anyone know a good code profiler for VB? If you don't know what a code profiler is, don't bother answering kkthx. |
|
| Author: | Obsidian [ Wed Sep 26, 2007 4:14 am ] |
| Post subject: | Re: GameAI Timer |
I'm fairly certain spodi knows of one or has one, try contacting him. |
|
| Author: | Lea [ Wed Sep 26, 2007 11:23 am ] |
| Post subject: | Re: GameAI Timer |
kkthx obsi |
|
| Author: | William [ Wed Sep 26, 2007 11:33 am ] |
| Post subject: | Re: GameAI Timer |
Yeah, I'd love to see you here more obsidian. |
|
| Page 1 of 1 | All times are UTC |
| Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |
|