How does one add npcs into empires? I want to try coding them, but I have to start somewhere..... I trust in the community to help me out here.
http://developer.valvesoftware.com/wiki/Category:AI You can basically download and play with the Valve NPC code, but I don't know of any way to get them into Empires without the devs. http://rcbot.bots-united.com/forums/index.php?showforum=14 This is a 3rd party bot being developed for TF2. The code is open-source so you could theoretically compile a version compatible with Empires. This path doesn't need the devs (because its implemented via a server plugin).
if you want to know the commands of our current npc's id say hit the wiki emp_bot_nf/imp i think also if you are gonna code a new bot script id suggest starting with a simple commander script, since to be honest we could use one and from the limited work i did for it it is far easier then getting bots to actually be usefull besides as riflemen
This makes me wonder why we can't make idiot soldiers be taken over by the an AI similarly to L4D afks, and then they could be far more useful...
They pretty much only walk around randomly. AFAIK, Krenzo only copied a little of the source engine NPC code into Empires. A true Empires NPC would probably need a dev dedicated to implement or be a 3rd-party server plugin. I'd say develop the NPC as: EmpNPC v1.0 = Functional infantry that can follow comm orders EmpNPC v2.0 = Infantry that can build and drive tanks EmpNPC v3.0 = NPC commander
hmm NPC commander! It could prove extremely useful and it functions when no one is currently in the cv, and if the last comm got out to build a building he could set it not to take over. Imagine that, a commander npc with algorithims and priorities on how to run things.
I was thinking of making antlions spawn from the ground and terrorize the winning team. That is balance.
Sorry guys, but my ambitions lay somewhere else. I'm not working on bots, I'm trying to get HALF LIFE 2 NPCs into Empires. More specifically, I'm trying to get the combine gunship and the hunter chopper in there. Perhaps when the commander gives a move location, he also makes 'path_tracks' on the fly (no pun intended) for the those npcs. No longer will noobs say, "The aircraft is a lie."
Ah! Gotcha. So does this means that a 3rd party plugin (like RCBot2) is the only way for non-devs to get NPCs and/or bots into Empires?