Hi. I know I should have made this topic in the aoe section, but since I noticed nobody posted there in the last 2-3 years, I posted here where there still seem to be visitors.
I want to understand some random map scripting stuff because I want to write some scripts for fun and to learn more scripting (which is quite similar in syntax to some types of C). I am familiar with most of the RMSs which were made when the game was much more popular (by you and others). Recently I found a script which uses outcommented references to an Aoe manual, such as:
/* rmTerrainInitialize(string validTerrainName, float height );
// See AoE III Help Files\Random Map Functions\rmTerrainInitialize\arguments.rtf */
Topic is here:
http://aoe3.heavengames.com/downloads/showfile.php?fileid=2935&f=1&st=0&ciDo you know of any help files for RM functions which were somehow available to this guy? Maybe he asked the game makers for these files, because they are nowhere to be found on a casual search. In the same script he used quite complicated vector functions, which are easy to screw up with, such as:
vector vctHotSpot = xsVectorSet(327.000000,4.000000,286.000000); // approx. (0.7,0.5)
/* xsVectorSet(float x, float y, floatz); */
I'm still trying to understand how these coordinates work. My guess is that the x and z coordinates correspond to specific tile number on the axes. But if you modify these values, including the y coordinate for height, the position of the vector varies a lot with no apparent logic.
So my questions are: do you know of any aoe3 help files for developers which this guy references in his script and do you know how the vector coordinates work (for example, to modify map viewing angle pitch)?
Thanks.