Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 2013-12-11 in all areas

  1. I'm currently thinking about the AI interface design again. An essential aspect to consider is how SpiderMonkey reacts to different ways of sharing data and what constraints are imposed for multi-threading. Currently it looks like it has significant performance problems with cross compartment wrappers to the sharedAI data. For performance in a single-threaded environment it's best to stay within one compartment and one global object to avoid accessing a lot of data through wrappers. On the other hand, having multiple players in one global object most certainly means they can't run in different threads. I tend to think that we won't have each player in a thread because the overhead of passing data around would be too big. Maybe we could have one sharedAI object per 4 players for example. This way we could have two threads for the AI player calculations in the extreme case of a match with 5+ AI players and the overhead still wouldn't be too big (hopefully). I've started with an UML diagram to show how I think the AI is meant to work with multi-threading but without this 4 players split. So essentially it just runs the AI calculations off-thread as a whole in the "gap" between simulation updates, but it doesn't have an own thread for each AI player. It's probably not perfectly valid UML and if you find any obvious errors (content or UML syntax) please tell me. I should have some more time this Thursday to look over the diagram and improve it. I'm currently in a discussion with SpiderMonkey developers and I've also created this diagram to show and explain how our interface works.
    1 point
  2. The continious damage is planned for the fire ship, and Josh wants to implement it. But I don't think the manned vs unmanned thing is planned. And as a mod is for experimenting, it'd be nice if we can do this in a mod to test.
    1 point
  3. would it be possible to have an infantry unit who can be stealth (as long as they not attacking or as long as a enemy comes very close of the german) when it is close of trees ? I want to see roman legions ambushed in black forest!
    1 point
  4. This is the Carthaginian War Elephant This is the Seleucid War Elephant
    1 point
×
×
  • Create New...