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 |
Wow. Interesting work Seather. Good Job!
|
Quote:
gj ;) |
I'm not playing NS, but nice idea + coding
|
Places unbuilt buildings. Well, when a player does it, it's unbuilt so. :)
Not deducting res? It is possible the offsets have been found. |
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: |
Nice start to AI, I've been testing on my server with some upgrades, and it rocks.
I've already add: ----
|
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 |
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 |
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.