The Universal AI Starter Kit
by Twisted Jenius · in General Add-On Discussion · 09/24/2009 (4:30 am) · 183 replies
If you have any pre-purchase questions about The Universal AI Starter Kit, post them here and I'll get back to you as soon as I can. If you have already purchased The UAISK and have a question, please post it in our private forum.
As of December 22, 2011 version 1.9.0 is the most recent version of The Universal AI Starter Kit.
Made with T3D 1.2 Chinatown demo and The UAISK version 1.9
Made with T3D 1.1 South Pacific demo and The UAISK version 1.8
Made with The UAISK version 1.7 + Arcane-FX 2
Made with The UAISK version 1.4
Made with The UAISK version 1.0
Made with The UAISK version 1.4
Made with The UAISK version 1.1
As of December 22, 2011 version 1.9.0 is the most recent version of The Universal AI Starter Kit.
Made with T3D 1.2 Chinatown demo and The UAISK version 1.9
Made with T3D 1.1 South Pacific demo and The UAISK version 1.8
Made with The UAISK version 1.7 + Arcane-FX 2
Made with The UAISK version 1.4
Made with The UAISK version 1.0
Made with The UAISK version 1.4
Made with The UAISK version 1.1
About the author
Developer of The Universal AI Starter Kit, which is available in the Add-ons store on this site. Also working on the game Twisty's Asylum Escapades.
#162
01/11/2010 (12:57 am)
In the T3D instructions for The UAISK version 1.1.2, step 6 says "Add to the end of the function:" but that code should really be added to the beginning of the function instead of the end. If you move that code up, it should fix this issue. That fix is already in version 1.2 which I sent to TorquePowered 3 weeks ago.
#163
01/11/2010 (2:19 am)
Ok thanks heaps. Will do soon and post a reply if it works or not.
#164
function GameCore::startGame(%game)
{
//AISK Changes: Start
//Reset the team count
$TotalTeams = 0;
//Prepare the AI spawn markers
loadMarkers();
//Spawn "all" AI spawn groups
AIPlayer::actionByGroup("all", "spawn");
//AISK Changes: End
//echo (%game @"\c4 -> "@ %game.class @" -> GameCore::onStartGame");
if ($Game::Running)
{
error("startGame: End the game first!");
return;
}
// Inform the client we're starting up
for (%clientIndex = 0; %clientIndex < ClientGroup.getCount(); %clientIndex++)
{
%cl = ClientGroup.getObject(%clientIndex);
commandToClient(%cl, 'GameStart');
// Other client specific setup..
%cl.score = 0;
}
// Start the game timer
if ($Game::Duration)
$Game::Schedule = schedule($Game::Duration * 1000, 0, "onGameDurationEnd");
$Game::Running = true;
}
01/11/2010 (2:56 am)
It hasn't made any difference :( Here is how my code looks:function GameCore::startGame(%game)
{
//AISK Changes: Start
//Reset the team count
$TotalTeams = 0;
//Prepare the AI spawn markers
loadMarkers();
//Spawn "all" AI spawn groups
AIPlayer::actionByGroup("all", "spawn");
//AISK Changes: End
//echo (%game @"\c4 -> "@ %game.class @" -> GameCore::onStartGame");
if ($Game::Running)
{
error("startGame: End the game first!");
return;
}
// Inform the client we're starting up
for (%clientIndex = 0; %clientIndex < ClientGroup.getCount(); %clientIndex++)
{
%cl = ClientGroup.getObject(%clientIndex);
commandToClient(%cl, 'GameStart');
// Other client specific setup..
%cl.score = 0;
}
// Start the game timer
if ($Game::Duration)
$Game::Schedule = schedule($Game::Duration * 1000, 0, "onGameDurationEnd");
$Game::Running = true;
}
#165
01/11/2010 (3:44 am)
Did you recompile your dso files after you made the change?
#166
01/11/2010 (3:55 am)
Yeah, I deleteted all my dso files a while ago.
#167
01/11/2010 (4:13 am)
set $Game::Running = 0;at the start of the \game\core\scripts\server\server.cs destroyServer() and they will spawn all the time
#168
01/11/2010 (4:15 am)
That fix works. Thanks :)
#169
If anyone has errors or features they would like to discuss, you can now post about it in The Universal AI Starter Kit's new private forum section. And if you don't see much activity in this topic from now on, it's because all of the conversations have moved to our new private area.
01/11/2010 (6:15 pm)
The Universal AI Starter Kit version 1.2 is now available for download. Thank you everyone (both employees and community members) who helped with getting it out.If anyone has errors or features they would like to discuss, you can now post about it in The Universal AI Starter Kit's new private forum section. And if you don't see much activity in this topic from now on, it's because all of the conversations have moved to our new private area.
#170
Anyone merged this into the kit successfully ?
02/26/2010 (3:31 pm)
Is it possible to get this working with the RTS Starter kit ? It doesnt use the AIplayer but a child copy if it called RTSUnit ... so doubtful it would work "as is".Anyone merged this into the kit successfully ?
#171
I am using T3D 1.1.0 Beta 3 and Version 1.6.0 of the The Universal AI Starter Kit.
the problem:
bots on opposite teams will fight each other, but they will not attack the player even when on a different team. now a bot on a different team will track the player but never shoot at it. This happens when with all aggressive behaviors.
I have reintegrated the kit using the Custom Install twice and know that i have the thing integrated correctly according to the instructions for t3d.
any thoughts?
12/10/2010 (12:54 am)
Ok, I have read most of this thread and don't see the problem a am having.I am using T3D 1.1.0 Beta 3 and Version 1.6.0 of the The Universal AI Starter Kit.
the problem:
bots on opposite teams will fight each other, but they will not attack the player even when on a different team. now a bot on a different team will track the player but never shoot at it. This happens when with all aggressive behaviors.
I have reintegrated the kit using the Custom Install twice and know that i have the thing integrated correctly according to the instructions for t3d.
any thoughts?
#172
12/10/2010 (3:25 pm)
Correction it is T3D Beta 2 that i am using
#173
10/10/2011 (2:53 pm)
Just wondering, how do I install this? Where do I get installation instructions?
#174
10/11/2011 (3:17 am)
If you have already purchased The Universal AI Starter Kit, the installation instructions are inculded with the zip file that you can download from your product page (and you can also ask any future questions you may have in our private forum). Otherwise you can purchase The Universal AI Starter Kit here.
#175
First of this KIT is awesome!! Ive used it on the past few releases of T3D and everything has worked great. Awesome Job!!
My question is, Have you tested V1.8 with T3D 1.2?
I tried installing 1.8 with a fresh copy of 1.2 using the FPS Tutorial Template and I'm having some problems with the AI firing... it seems that either the AI doesn't fire at all or it only fires every 5 or so seconds.
Also, Im using the Soldier/Alien Character packs for my AI along with the Soldier/Alien weapon packs and both have the same results.
Thanks,
Dominick
11/20/2011 (8:21 pm)
Hi TwistedFirst of this KIT is awesome!! Ive used it on the past few releases of T3D and everything has worked great. Awesome Job!!
My question is, Have you tested V1.8 with T3D 1.2?
I tried installing 1.8 with a fresh copy of 1.2 using the FPS Tutorial Template and I'm having some problems with the AI firing... it seems that either the AI doesn't fire at all or it only fires every 5 or so seconds.
Also, Im using the Soldier/Alien Character packs for my AI along with the Soldier/Alien weapon packs and both have the same results.
Thanks,
Dominick
#176
Thought it might be inventory related, added code for clips. but that wasnt it.
EDIT: removed code from non-private forum
11/20/2011 (11:01 pm)
Dominick@ I have exact same setup & results -- AI was attacking great until I merged in the Alien Art pack. Thought it might be inventory related, added code for clips. but that wasnt it.
EDIT: removed code from non-private forum
#178
11/21/2011 (9:46 pm)
Awesome Thanks!
#179
11/22/2011 (7:28 am)
Somehow I got it working with the "useEyeNode = true", but the aliens just constantly shoot over my head ... but at least all the guns work for both.
#180
I responded to your comment in the in The UAISK's private forum. Please take all further technical discussion there; thank you.
11/22/2011 (7:48 am)
@ Jeff YaskusI responded to your comment in the in The UAISK's private forum. Please take all further technical discussion there; thank you.
Torque Owner Alexander B