Variables and how they're interpreted
Here are the variables, which obivously start with the word "Variable_":
What they mean depends on how and where they're used; for example, if it's Galactic mode, Target could mean a planet and Variable_Self could mean the player attributes. However, in tactical mode, Variable_Target could mean a unit or a location on the map. Currently, on Target appears in the Lua source (defined in PGBaseDefitions.lua)
I'm not sure how exactly it determines locations, because there's no obvious grid, so I'mjust going to assume it's square pixel by square pixel, which is inefficient (Grid would be faster... or a bigger squareXsquare scaled grid).
And this is just the beggining. You can read the whole tutorial HERE and discuss it. Thanks a lot, Drieick. If anyone is interested on providing tutorials, post it on our modding forums or wait the new site goes live (which we recommend, since it will include a nice articles/tutorials system).
Edited by Duke, 27 February 2008 - 07:10 PM.