The AI code is in the DLL, so you can do anything you like with it. Not that it's easy...
Also, you can create entirely new game rules, and in BtS a parallel-map functionality has been demonstrated.
The AI code is in the DLL, so you can do anything you like with it. Not that it's easy...
Because DLL is still technically wrong. If SDK is polluted, C++ is a decent compromise.
Anyone working on removing the hard cap on the number of civs possible on a map?![]()
Since we are rolling through wish list items....my number 1 is an event that runs at end of turn for each player.
So many things I need to do just as the player hits end turn but before the next player gets his go.
You can emulate that with GameEvents.PlayerDoTurn and check who was the previous player when the event is called and do your things there.
Since we are rolling through wish list items....my number 1 is an event that runs at end of turn for each player.
So many things I need to do just as the player hits end turn but before the next player gets his go.
the really, really hard part is working out WHERE in the code to add them (as the logic in the DLL is like following a plate of spaghetti at times!)
Are we able to see all the lua functions in detail now, alongside the dll being released?
I think learning C++ in addition to Lua, XML and SQL may be stretching it for most people on this board
My simple mind is still coming to terms with Lua and your own UI interface tutorial...I dont think I can sit patiently through a C++ tutorial![]()
Indeed. Now on the other hand C++ is a pain to learn (it's old !), especially for people who started with high-level languages and do not know what a pointer or a header file is. But it is a very useful skill: nothing is as portable as C++ + Qt and it has the richest ecosystem available.While it is true that when diving into something new like C++ development you have to learn some new stuff specific to that language, I think it's the wrong approach to say you "learn" Lua or "learn" C++. In your first programming language, whether that be C++, Lua, Python, Java, anything, you learn how to program as a general skill. Applying those programming problem solving skills to new languages is orders of magnitude easier than learning to program in the first place. Some languages make it harder (Lua is a bit unusual, and I find Objective-C very confusing for example) but most programming skill is fairly transferable as long as you have a solid basis.