- Changed 'setDestinationToJinkPosition' slightly to give a faster pitch reaction.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4958 127b21dd-08f5-0310-b4b7-95ae10353056
This commit is contained in:
parent
84f3278234
commit
cea95deb2d
@ -254,6 +254,7 @@
|
|||||||
"weapon_position_aft",
|
"weapon_position_aft",
|
||||||
"weapon_position_port",
|
"weapon_position_port",
|
||||||
"weapon_position_starboard",
|
"weapon_position_starboard",
|
||||||
|
"weapon_facings",
|
||||||
"weapon_offset_x",
|
"weapon_offset_x",
|
||||||
"scoop_position",
|
"scoop_position",
|
||||||
"heat_insulation",
|
"heat_insulation",
|
||||||
|
@ -21,6 +21,7 @@
|
|||||||
aft_weapon_type = "$weaponType";
|
aft_weapon_type = "$weaponType";
|
||||||
port_weapon_type = "$weaponType";
|
port_weapon_type = "$weaponType";
|
||||||
starboard_weapon_type = "$weaponType";
|
starboard_weapon_type = "$weaponType";
|
||||||
|
weapon_facings = "positiveInteger";
|
||||||
weapon_energy = "positiveFloat";
|
weapon_energy = "positiveFloat";
|
||||||
weapon_range = "positiveFloat";
|
weapon_range = "positiveFloat";
|
||||||
scanner_range = "positiveFloat";
|
scanner_range = "positiveFloat";
|
||||||
|
@ -413,6 +413,7 @@
|
|||||||
{
|
{
|
||||||
Vector front = vector_multiply_scalar([self forwardVector], flightSpeed / max_flight_pitch * 2);
|
Vector front = vector_multiply_scalar([self forwardVector], flightSpeed / max_flight_pitch * 2);
|
||||||
destination = vector_add(position, vector_add(front, OOVectorRandomSpatial(100)));
|
destination = vector_add(position, vector_add(front, OOVectorRandomSpatial(100)));
|
||||||
|
pitching_over = YES; // don't complete roll first, but immediately start with pitching.
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user