![]() |
|
Real Warfare 2: Northern Crusades A new chapter in the Real Warfare realistic real-time strategy games series. |
![]() |
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
![]()
This is very interesting topic.. I have also take a look on the code, and its look as ... interestingly complex system
![]() I have heard an opinion (interview with Shogun 2 TW programmer) that AI programming is one of the most complicated and challenging software areas.. Do you have something similar to Class Diagram of the code? The graph showing how the Classes and their objects are connected and related to each other, which methods they have etc.. this would ease the process of familiarising with the code? Best Regards, |
#2
|
|||
|
|||
![]()
Well is complex also for me, but from what i understood every object or element of engine is linked to a library of states (the aix file), each state contain the routine (and function). In the state the interaction with hardcoded part is done with call function. There is state executed cyclacally starting from a main state, states triggered by events, states called by other states of other states of other aix. At example when I press the "form cicle" button I activate a state of gui.aix which activate a state of western.groups.aix, which prepare the geometrical form of circle and give order to single soldiers to move in this form using their movement state.
|
![]() |
|
|