In defining an object I am adding, its co-ordinates for position are mentioned, as are the parameters for "orientation" - the latter appearing to be a group of quarternions (?).
Here is an example of code for one such object:
Code: Select all
{
"gebiisso1_kbo" = {
position = "1755331 -6950000 2499850";
radius = 597;
orientation = "0.02 0.1 0.014 0";
texture = "gebiisso1_kbo.png";
"rotational_velocity" = -0.215;
};
In that case, cue: 2nd object.
Here is an example of code for the 2nd object:
Code: Select all
"gebiisso2_kbo" = {
position = "95000 -195000 -5100000";
radius = 125;
orientation = "0.5 0.5 0.5 0.5";
texture = "gebiisso2_kbo.png";
"rotational_velocity" = 0.45;
};
QUESTION 2 - As the above sounds likely to be rather involved, and since I've already positioned everything anyway, is there something I can add to the code so that (in the above example) .. ..
Before Gebiisso goes nova KBO 1 is used, but
After Gebiisso goes nova KBO 2 is used instead?
..and if all this is too messy due to the mission being part of the core game, as I suspect will be the case, then I'll just have 2 KBO's in galaxy 4, I suppose c'est la vie
cheers (any suggestions/comments welcomed)
P.S. here is the code adding (in this case) both of the above objects:
Code: Select all
"3 141" = {
"script_actions" = (
debugOn,
"addMoon: gebiisso1_kbo",
"addMoon: gebiisso2_kbo",
debugOff
);
};