-
Posts
2.843 -
Joined
-
Last visited
-
Days Won
67
Everything posted by niektb
-
Perhaps, (not sure if its an option) we could temporarely disable saving with multiplayergames. (Till the AI is working properly with save games.
-
AI development questions
niektb replied to niektb's topic in Game Development & Technical Discussion
When I'm trying to run my own AI, I get the following error at startup: WARNING: JavaScript warning: Script value conversion check failed: JSVAL_IS_BOOLEAN(v) (got type undefined) Does anyone know a way to solve this? -
design [DISCUSSION] Regenerative Resources
niektb replied to quantumstate's topic in Game Development & Technical Discussion
Indeed AOE2 had fishing traps, but I actually never used it, because there were far more other ways to get food without paying wood. Fishing traps doesn't add to the game, I think. -
Gatherer counts: of limiting and displaying.
niektb replied to wraitii's topic in Game Development & Technical Discussion
To reply on displaying of gather counts: it is really a must. You can see it in action in aoe3 and it really works. Every time I play an other RTS I really mis this feature. -
design [DISCUSSION] Regenerative Resources
niektb replied to quantumstate's topic in Game Development & Technical Discussion
Just a question, but how do you know at which point the resource at the curve is? If you want to let the player know, you could perhaps add a graph to the game UI. -
@gameboy: Where did you get the errorlog?
-
Hi guys, I've just returned from my holiday and I've got a bunch of idea's for my upcoming AI. I decided to name it Brennus, derivated from the Galic leader who attacked Rome and almost conquered it. It relies heavily on scouting, so scouting is the key. Futhermore I'm going to make a dynamic strategic-tree. Using the information from the scouts, it detects key information about strength, troop types and so on, and then the AI determines (using the tree) the best way to behave. I decided to use APIv2 at startup, and later on I'll upgrade. (as soon as v3 is really, really stable) Roadmap: - Startup: First I want an AI that works in every aspect of the game. This one won't be released.- Scouting programming First the basic scouting routine. Second the ability to detect information about the enemy.- Tree design startup I start with some simple decisions and then work to advanced strategic battle-level.- Micromanagment After I've set up a simple AI, I'm going to implement all buildable / trainable stuff, getting a defence set up and some extra tree-decisions concerning balance of units.- Advanced functionality When all this works, I'm going to implement advanced functionality like all civs, more than 2 players, naval support and (vs human) psychological warfare based on Sun Tzu's Art of War.- Bugfixing. Note: This list is of course subject to changes. I would love to get some tips / suggestions / something else. If someone wants to coöperate just PM me. (I could use some help to finish it before alpha ∞. ) Greets, Niek
-
AI development questions
niektb replied to niektb's topic in Game Development & Technical Discussion
Which one do you mean? -
AI development questions
niektb replied to niektb's topic in Game Development & Technical Discussion
After updating and rebuilding the solution everything goes fine, though it gives a warning. Where do I find an error log? Hmm... When I'm scanning with JSHint through APIv3 I get several errors like the following: In Shared.js: - 356,9: 'for each' is only available in Mozilla JavaScript extensions (use moz option). In map-module.js: - 5,1: 'const' is only available in JavaScript 1.7. Is this known? P.S. How do I send in a patch? (I've fixed several typographic errors in APIv3 like missing semicolons etc.) Edit: patch attached. Wriattii's patch from APIv3 is also inside. APIv3.patch -
Yeah, svn is pretty old-fashioned. Perhaps we should try to attract more developers by starting a few topics at leading technology forums. (I could start a topic at the dutch site Tweakers.net)
-
AI development questions
niektb replied to niektb's topic in Game Development & Technical Discussion
Wraitii is currently rewriting lots of code in Aegis AI. http://www.wildfiregames.com/forum/index.php?showtopic=17144&pid=271828&st=20entry271828 -
AI development questions
niektb replied to niektb's topic in Game Development & Technical Discussion
Okay, I downgraded my AI to v2 but now I get an comparable error, namely that _entities[id] is undefined at line 226 from base.js This is my current code: function NiBotAI(settings) { BaseAI.call(this, settings); this.turn = 0; } NiBotAI.prototype = new BaseAI(); NiBotAI.prototype.OnUpdate = function() { if (this.gameFinished){ return; } this.turn++; }; What is wrong? Second question: Is there a way to reload scripts, so I don't have to reload the save game every time? -
AI development questions
niektb replied to niektb's topic in Game Development & Technical Discussion
To all JS-programmers: It might be useful to use jshint as debugger in stead of the one included in the game. (Or in combination with) -
AI development questions
niektb replied to niektb's topic in Game Development & Technical Discussion
Could someone please rewrite scaredybot for APIv3? Using APIv3 instead of v1, I tried to make scaredybot train a villager, but it gives me a bunch of errors that sharedAI is not defined in base.js (line 51). Am I not permitted to upload .js files??? -
Hi everyone, I just started programming AI's, but as I try to understand the working of the currently existing AI's, there are a few questions raising: 1. Which functions in the API are required for the AI to work properly? (e.g. gamestate etc.) 2. All AI's use a plan-queue-system. Are there other systems possible? 3. Why are the AI's stateless and is this required? Glad there is a forum over here. Regards, Niek
-
How do I post a PM here at this forum? Edit: I'm going to start a thread.
-
Some combat enhancement ideas (& suggestions)
niektb replied to Unarmed's topic in General Discussion
I think we could learn a great deal from Pyro Studio's (also known from Commando) in terms of tactical combat. A repack from this game + extra mods can be found here: http://www.moddb.com...mods-complex-17 Did anyone need Empire Earth?? (I've got EE1+expansion as well as EE2) -
Hi everyone, My name is Niek, I'm 17 years old and I'm planning to join the programmers here. I decided to start with the AI, because there aren't many of them and because I already know JS, but I can't find any documentation about the development of AI's with 0 A.D. Can anyone provide some help? P.S.: Is this the right place to ask this sort of questions?