5102 Commits

Author SHA1 Message Date
cim
fa7673722e Reduce frequency of trader variants, logging in _addShips 2013-08-31 22:52:53 +01:00
cim
ce8c9b5b10 Remove debug lines 2013-08-31 21:16:25 +01:00
cim
a710d2f746 End patrols when supplies are low. Pirate interceptors will avoid fights then. 2013-08-31 19:33:56 +01:00
cim
fd5fcfeeb3 Search for wormholes if insufficient fuel to leave a bad system 2013-08-31 18:07:17 +01:00
cim
90cab901ee As suggested, give AI object a more accurate name 2013-08-31 16:21:07 +01:00
cim
0152e7ef8c system.wormholes property 2013-08-31 11:09:24 +01:00
cim
c7e7e2f75f Improve distress message handling 2013-08-30 21:14:55 +01:00
cim
8cf615c168 Adjust populator settings and related AI a bit.
Main changes: more independent pirates in Feudal/Anarchy; repopulator has a cap on the number of ships it can accumulate in-system; certain ships have tendency towards awful or non-awful accuracy settings; independent pirate packs are slightly bigger; tharglets share accuracy of controller. Overall effect should be to make the difficulty slope between Corp and Anarchy larger, but Corp safer.
2013-08-27 22:08:35 +01:00
cim
c0d885c7a3 Speed up autopilot docking to stop huge queues.
Tested at TAF 16x in a variety of ships without scratching the paint.
2013-08-27 22:05:28 +01:00
cim
028fa0c8aa Merge branch 'master' into steady-state-ecosystem
Conflicts:
	src/Core/Scripting/OOJSEntity.m
2013-08-27 13:15:33 +01:00
cim
e3fa87e7f5 Fix secondary targets to not track cargo in your hold. 2013-08-27 13:12:07 +01:00
cim
7db8688052 Update version from 1.77.1 to 1.79 2013-08-27 12:51:53 +01:00
cim
867515870a Update threat assessment scores to account for new player fleeing, other tweaks 2013-08-27 10:36:28 +01:00
cim
36a8d9f703 Update changelog 2013-08-27 09:45:43 +01:00
cim
b54ec84e71 Add opportunist AI 2013-08-26 17:08:05 +01:00
cim
3fa10abb5c Adjust comms messages, avoid over-filling pirates with cargo 2013-08-26 16:17:59 +01:00
cim
273b58b9a5 Adjust nova mission to new populator (and future ones) 2013-08-26 14:09:06 +01:00
cim
baf2efceea Merge branch 'javascript-ai' into steady-state-ecosystem
Conflicts:
	Resources/Scripts/oolite-populator.js
	src/Core/Universe.h
2013-08-26 13:59:45 +01:00
cim
172f66c4c5 Merge branch 'master' into javascript-ai
Conflicts:
	src/Core/Entities/PlayerEntityLoadSave.m
2013-08-26 13:41:16 +01:00
Jens Ayton
6cb032d509 Copy edit registration interface 2013-08-26 08:01:21 +02:00
Jens Ayton
808f8ebffc [Mac] Add registration script to Xcode project
Also set up project so registration and populator scripts are actually copied
to the right place.
2013-08-26 08:00:33 +02:00
cim
1ef0989d73 Add ship registry interface to allow player to set names
Commander name now it's independent of savefile name; ship unique name at the same time.
2013-08-25 22:39:28 +01:00
cim
8d3ba9dd13 Fix various bugs in mission screen text entry 2013-08-25 22:38:35 +01:00
cim
b220bd591d Merge branch 'master' of github.com:OoliteProject/oolite 2013-08-25 21:57:16 +01:00
cim
daf2ad36b8 Separate out some names
Save game name and player commander name are separate variables.
*NOTE*: I think I've set the variables up correctly for the Mac OS version of the save interface, but I can't test that.
*NOTE*: Just in case, back up your save games first!

ship.name, ship.shipUniqueName, ship.shipClassName separated out.
ship.displayName derived from those three if not set explicitly.
2013-08-25 21:45:31 +01:00
cim
ce9af0c389 Allow text entry on mission screens, tidy up some related code 2013-08-25 19:16:17 +01:00
cim
e6fb14ffbf Adjust cargo generation, especially for smugglers, medical.
Increase likely_cargo levels on pirate ships quite a bit (PIRATE_GOODS already reduces it once; no need to do so again in shipdata)
2013-08-25 13:14:02 +01:00
Jens Ayton
a16231bbd0 [Mac] Add populator script to Xcode project 2013-08-25 13:57:11 +02:00
Jens Ayton
4746e2b7de Remove invalid glEnd()s from sun rendering 2013-08-25 13:57:11 +02:00
cim
1952314a74 Fix shipEnergyBecameFull event to fire at times other than launching 2013-08-25 10:53:27 +01:00
cim
795d42b0a3 Fix receipt of comms messages when docked or dead, fix excessive velocity on death screen 2013-08-24 21:40:57 +01:00
cim
e84af669aa Add heuristic assessment of player fleeing 2013-08-24 16:07:55 +01:00
cim
d53ce29e91 Allow multisampling-based antialiasing in SDL mode
Graphically very expensive, likely to need a dedicated graphics card rather than a built-in one, so hidden setting "anti-aliasing" in GNUStepDefaults needed to enable it. It looks much nicer, though.

Presumably there's a way to do the same thing in Cocoa, but I've no way to test that.
2013-08-24 10:49:30 +01:00
cim
6e801538e4 Shorten missile engine plume 2013-08-24 09:46:39 +01:00
cim
330ddb0d04 Fix bug when firing on ships docking with station 2013-08-23 21:18:23 +01:00
cim
9ec115c0f7 Adjust combat target acquisition for escorts, fix bug in ECM assistance 2013-08-23 20:01:38 +01:00
cim
805ca6a238 Adjustments to pirate demand size and threat assessment calculation 2013-08-22 18:38:01 +01:00
cim
de4c3ed3f4 Also update player proxy 2013-08-21 18:24:48 +01:00
cim
835410934e Add tradeInFactor as a shader uniform for the player ship 2013-08-21 18:13:56 +01:00
cim
e552f55dc1 Saving: fix a couple of bugs in allowsSaving 2013-08-20 20:01:00 +01:00
cim
e54a4c2ee2 Allow player to save at any deterministically-added station, not just main.
(Saves market for station saved at as well as main. Probably should save market for all deterministic stations)
2013-08-20 19:43:59 +01:00
cim
2fb4822833 Fix bug in acquireCombatTarget
-DDEBUG_LASER_TYPES compile-time option to allow easier visual inspection of the "autoWeapons" changes
2013-08-19 21:05:56 +01:00
cim
3dc9ef82cc conditionInCombat is called on just about every AI reconsideration; optimise it 2013-08-18 19:15:09 +01:00
cim
637043cd2c Slightly optimise conditionLosingCombat, and fix bug in witchspace flee 2013-08-18 16:36:57 +01:00
cim
f8e88a56b5 Fix bug in friendly/hostile/trading station selection 2013-08-17 20:41:36 +01:00
cim
078c901e98 Cache system.stations values rather than searching all entities every time 2013-08-17 18:29:39 +01:00
cim
8fd2a655e4 Prefix internal cache names with oolite_ 2013-08-17 15:19:25 +01:00
cim
6393b99fca Allow fleeing to witchspace in certain situations 2013-08-17 14:39:16 +01:00
cim
ada2aa8a2d Serious efficiency fixes to last few commits
ship.findNearestStation()
2013-08-17 13:26:37 +01:00
cim
13b7c1afff Add station.allegiance (allegiance shipdata) property
Adjust AIs to avoid hostile stations
Adjust pirate AI to not rob the same target twice in a row
2013-08-16 21:44:27 +01:00