Author Topic: Advanced bot mod  (Read 7559 times)

Im making an advanced bot mod derived from Space Guys bots, and I need suggestions for commands. ALL of this will be released for my holiday modding event.
So far it has:
-power to have unlimited bots per person
-mount any weapons/items(cept des wand)
-follow and attack players of your choice
-make a bot face you
-make a bot fire in the direction its facing at a preset speed
-rename a bot on the fly
-give a bot a line to say on /selectobject
-change the line on the fly
-add a bot to the minigame your in(IE add a bot shooting a gun the direction its facing to your challenge minigame)


As long as space guy will let me, I plan to continue this mod and release it.
Any objection from him and I will stop immediatly, however.

So, suggestions?

Cloths selection , patroling , and enable driving in cars possibly working with the patrol only .

I plan to do some clothing, and I plan to try to incoperate patrolling into it.

it would be really cool if you could make them go and attack other people except you.


Does patrol work after they are put in a car? because they (sort-of) drive now. That could be Epic

k added the following:
GUI
patrolling bots
ability to choose what your bot looks like(EVERYTHING, not just colors)
dunno about the driving, but the patrol should work after they are put in a car, but their handling wouldnt be the best.
each bot can have unlimited patrols.
also fixed various bugs and added a sentry command, if your bot has sentry enabled, it will attack anything that gets in front of it.

bump for great justice: added ability to make a respawn for your bots.
When they die they will renew at the respawn and automaticly start patrolling or sentrying.

-power to have unlimited bots per person
Sounds like lag. 20 bots shooting rockets?
As long as space guy will let me, I plan to continue this mod and release it.
Any objection from him and I will stop immediatly, however.
I don't mind you making this.

If you are directly basing this off my code, please follow the terms of the SpaceMods License when it is released. (In short: Give credit in the way it says, put the mod under the same license, open source the code (not a problem since it's a CS file anyway, not a DSO))

To make unlimited bots use arrays.

Code: [Select]
%client.botCount++;
%client.bot[%client.botCount] = %bot;

I know how to do that, rky says it's already there. (Features it has: unlimited bots per person)

I'm just worried about lag issues.

Use a controller object for the schedules and a loop through a large array. Even though it could be going every 10-100ms, it is a lot less laggy than one schedule per object.

I was talking to Ryk Space I know you know how =D



Sorry for grammer infraction.

* BlockBuilderMan beats self with iron  :cookie: around the head and neck.