AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Commander AI (https://forums.alliedmods.net/showthread.php?t=27189)

Seather 04-16-2006 17:43

Commander AI
 
1 Attachment(s)
Best used on bot servers where you don't want to bother manually building up a marine base. There is currently no other AI for the commander.

So far the AI only auto places unbuilt buildings. No resources are spent. No point system is setup. If a marine is near a potential spot with no enemies the building will be built/rebuilt.

A file with a list of all potential building placements is needed for each map.

In order to create the list file you need to place all potential buildings and then execute the 'amx_commai_save' cmd (ADMIN_LEVEL_A). I suggest using sv_cheats 1 on an empty server.

The list file is auto loaded at init of each map and after each save.

Resource towers are automatically detected, no list file needed.

Commander seat not used.

disable/enable cvar 'amx_commai' 0/1 (default=1)

credits:
file handling code ( One Name Plugin By: Suicid3 )
spawning buildings 1
spawning buildings 2 and electricity (by #endgame)
going through all ents (eks dump ent info)

todo: do upgrades, consume resources or do a point system, use can_see method from aimbot to decide if building should be placed, order marines, give out items, cvars for features

17d/4m/2006 bug fix, may have caused the plugin to not work at all
6d/5m/2006, auto hp/ammo/weapons features, maybe some bug fixes, i forget

nhdriver4 04-16-2006 18:09

Wow. Interesting work Seather. Good Job!

Deviance 04-16-2006 18:12

Quote:

Originally Posted by nhdriver4
Wow. Interesting work Seather. Good Job!

indeed, wery good and useful!

gj ;)

MaximusBrood 04-16-2006 18:19

I'm not playing NS, but nice idea + coding

DDR Khat 05-11-2006 17:23

Places unbuilt buildings. Well, when a player does it, it's unbuilt so. :)
Not deducting res? It is possible the offsets have been found.

awpticaL 05-11-2006 17:26

Finally, a Commander AI

I'm surprised no one has done this sooner.
The only one that ever worked was RCBot for 1.04, and even then the Comm would only drop an IP/Armory and then hog the chair

Good work :wink:

JPiolho 06-04-2006 12:34

Nice start to AI, I've been testing on my server with some upgrades, and it rocks.

I've already add:
----
  • - A correct Tree of Construction
    - Armory takes 5 mins to upgrade (With animations!!)
    - Gives heavy and jetpack only when Prototype lab built
    - Gives shotguns and welders after armory built.
    - Gives Heavy Machine Guns and Grenade Launchers after advanced armory built.
    - Upgrades Turrets Factorys to Advanced ones.

Soulseker 07-15-2006 17:40

Re: Commander AI
 
its a little nice "hack" gives out guns and armor
and buildings for free


and there is already a way how to change marine res

Soulseker 09-28-2006 13:24

Re: Commander AI
 
if you want to implement "real resource system" use
peachy's temporary ns module
http://www.nsmod.org/forums/index.ph...opic=2694&st=0

WillC 10-27-2006 21:07

Re: Commander AI
 
How do you change the plugin itself? I have downloaded one of the programs off the site, but it isn't for .amxx files... Any help is good, thanks (except I don't need help being called a noob or whatever)


All times are GMT -4. The time now is 05:51.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.