Game Development Community

RTS Starter kit question

by Sami Pussinen · in Technical Issues · 10/12/2007 (6:09 am) · 7 replies

How can I create more bots, riflemans and shockers to my level?
I can create only static bots, riflemans and shockers.

I know I'm super noob but I want to know how.

Thanx!

#1
10/12/2007 (6:35 am)
Search forums for AI resources, to get started also, you can take a look at the aiPlayer.cs script in starter.fps\server\scripts.
#2
10/12/2007 (7:57 am)
No, you understanded me wrong. I dont mean CPU players but how can I create dynamic objects in world editor?

When I'm in my world editor creator and expand "shapes", thers only "ammo" and "weapon". I want to create more Units (Bot, Rifleman and Shocker) to my level.
#3
10/12/2007 (10:06 am)
If you are a kit owner, you should go to the RTS kit private forums Sami.

And btw, you have to add RTSUnits from code, not from the editor. Look in .\starter.RTS\server\scripts\core\gameConnection.cs
#4
10/12/2007 (4:44 pm)
I think you mean the folder?

Add the folder with whatever objects to the data/shapes/Yourstuffherefolder.

I think thats what you mean anyways.
When expanded on the explosion menu it should have the folder listed on there. If not try the static folder.

Is that what you meant?
#5
10/13/2007 (9:03 am)
Thank you Novac! Now I know where the script is but how I can change the positions of unit created in RTSConnection::createPlayer(%this, %spawnPoint, %index)?
#6
10/14/2007 (1:27 am)
Seems to me like changing the %spawnPoint would change the position of the unit created.

This thread really belongs on the RTS Kit forums.
#7
10/15/2007 (8:13 am)
The RTS Kit forums for registered owners.