908 Commits

Author SHA1 Message Date
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
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
cim
6e801538e4 Shorten missile engine plume 2013-08-24 09:46:39 +01:00
cim
835410934e Add tradeInFactor as a shader uniform for the player ship 2013-08-21 18:13:56 +01:00
cim
894d3d683b Add auto_weapons (ship.autoWeapons) parameter to shipdata.
If set (default 0), then populator has discretion to change ship weapons and other items to fit the ship's role. So far just does fore and aft lasers.
2013-08-15 21:53:17 +01:00
cim
75d5748bce Bounty hunter leader AI 2013-08-10 08:34:33 +01:00
cim
bcc93120d7 Add smugglers to pirate targets, give m/h hunters a pack 2013-08-08 16:21:21 +01:00
cim
965e6d4b62 Add "escort_roles" shipdata key for more detailed escort config 2013-08-08 11:20:41 +01:00
cim
ab0e7db465 Add new roles to shipdata 2013-08-07 21:08:09 +01:00
cim
fe5cef097f Initial draft of odds calculations, fix fleeing bugs 2013-08-05 14:14:50 +01:00
cim
67c8f40349 JS garbage collection
Force garbage collection at more points where a short pause is okay. Log garbage collections called in update() for tracking purposes. So far they don't seem to have been needed with the additional planned ones.
2013-08-04 20:37:08 +01:00
cim
9a497c4f3e Fix bug causing thargoid response routines to be rather slow 2013-08-04 14:20:20 +01:00
cim
c92a70fd0a JSAI: Responses to thargoids
ship.checkScanner now has optional parameter to restrict scan to powered entities
Restore thanks-for-help messages
2013-08-04 12:29:44 +01:00
cim
a4b6c77181 Merge branch 'master' of github.com:OoliteProject/oolite into extra-hud-features
Need the high-precision coordinates to continue working on this branch
2013-08-02 22:25:28 +01:00
cim
cda41d73eb Redo JSAI comms methodology
Now much more possible for OXPs to add more comms messages.
Priority system to allow occasional messages on particular topics without overwhelming the comms with constant updates.

Also, fix my text editor using 2 tabs as the indent level for JS...
2013-08-01 22:40:23 +01:00
cim
be388e4fa2 JSAI: Constrictor 2013-07-25 20:09:53 +01:00
cim
be6d167f38 JSAI: Q-bomb
New ship script event: shipWasDumped (opposite of shipWasScooped)
2013-07-25 18:31:14 +01:00
cim
b6b3f227a3 JSAI: Missiles 2013-07-24 21:56:50 +01:00
cim
202ff3e418 JSAI: the shuttle AI is fine for escape pods too 2013-07-24 18:06:04 +01:00
cim
f128abf309 JSAI: Rock hermit 2013-07-23 22:37:07 +01:00
cim
9aa62fc2bd JSAI: main station AI 2013-07-23 21:21:49 +01:00
cim
363d7bbeb2 JSAI: Miner/Scavenger AI (the two are very similar, so one AI can do both) 2013-07-22 21:24:27 +01:00
cim
968eace6db JSAI: shuttle AI 2013-07-21 23:25:41 +01:00
cim
228344c540 JSAIs for Thargoids and Thargons.
Thargons now act as escorts for the warships.
2013-07-21 11:10:47 +01:00
Alexander Yancharuk
50eb5d2383 Possibility to custom bind GUI arrow keys
This commit fixes hardcoded binding for arrow keys. For example for those
players who want move GUI cursor by NumPad arrows now is possible make
binding in keyconfig.plist.
2013-07-20 20:15:44 +04:00
Alexander Yancharuk
ee4b9a6096 Fix NumKeys bindings
This commit fixes hardcoded keybindings. Now:
- Num keys bindable independently from F1-F8 keys
- NumPad keys bindable independently from arrow keys
- NumPad numeric keys decimal codes (NumPad0 - NumPad9): 310 - 319

Example (keyconfig.plist):

	key_roll_left				= 314;		// NumPad4
	key_roll_right				= 316;		// NumPad6
	key_pitch_forward			= 318;		// NumPad8
	key_pitch_back				= 315;		// NumPad5
	key_yaw_left				= 317;		// NumPad7
	key_yaw_right				= 319;		// NumPad9
2013-07-20 07:24:40 +04:00
cim
a4ae37c849 Change autoAIs for more testing what we have so far.
Set trader, pirate, escort, hunter, police AIs to JS by default
2013-07-19 22:51:43 +01:00
cim
bfd8400941 Continue updating cargo generation
New scripting:
ship.cargoList (similar to player.ship.manifest.list)
ship.setCargoType( SCARCE_GOODS | PLENTIFUL_GOODS | MEDICAL_GOODS | ILLEGAL_GOODS | PIRATE_GOODS );

Change likely_cargo values in shipdata to more reasonable levels.
2013-07-14 13:56:33 +01:00
cim
f3cbf78849 Allow definition of ship cargo at creation
To avoid creating thousands of entities, the universe holds a template copy of each commodity. These are then placed, repeatedly, into the hold. If a ship would release a template item, either through ejection or explosion, it is replaced with a genuine cargopod at that point. (issue #39)
2013-07-14 12:17:04 +01:00
cim
9847b2fc45 Initial commit of priority-based AI library 2013-07-12 19:44:14 +01:00
cim
e102fbd55c Merge pull request #38 from OoliteProject/javascript-populator
Javascript populator and high-precision coordinate system

Closes #22, implements partially #36 but some tuning of populator and especially repopulator will be needed later
2013-07-11 13:10:09 -07:00
cim
eaadf2eb01 Detach sun colour randomisation from star colour randomisation
Also randomises (slightly) flare and hues settings for the corona.
2013-07-09 20:11:18 +01:00
AnotherCommander
17c27818c7 Merge pull request #42 from OoliteProject/new-sun
Pull request for new sun accepted to master.
2013-07-08 16:51:05 -07:00
cim
779eb9bfc8 Display correct pause key in paused message. (issue #41)
Needs fixing in maintenance branch too, but this fix won't work there, because that branch doesn't have c0c4f6d227
2013-07-08 22:20:17 +01:00
cim
8ca8e8a46f Merge branch 'master' of github.com:OoliteProject/oolite into javascript-populator
Conflicts:
	src/Core/Entities/ShipEntityAI.m
2013-07-08 21:53:03 +01:00
cim
380c9f8f4a Nova and related adjustments
- increase default corona flare
- increase nova corona flare ranges to match
- make nova stars in expansion phase keep high corona flare
- make flare changes in nova mission use frame callback for smooth changes
2013-07-08 19:01:38 +01:00
cim
b74e9712db Add primed equipment notice to small HUD 2013-07-06 14:33:58 +01:00
cim
83e0f31316 Primable equipment dial for HUD
Hidden while docked (primable equipment unusuable) or if no primable equipment is installed
2013-07-05 20:30:09 +01:00
cim
7832ca073b Integrated targeting system.
Price, description, whether the equipment exists in the core plist at all ... for now somewhat provisional.
2013-07-04 20:58:19 +01:00
cim
377733eff9 Merge branch 'maintenance/1.77'
Conflicts:
	src/Core/Entities/ShipEntityAI.m
2013-07-04 14:59:15 +01:00
cim
a27d5da974 Remove performBroadside AI command.
(Only really useful for testing anyway, never been in a stable release)
2013-07-04 14:50:26 +01:00
cim
e444ba7f52 Reorganise shipdata.plist to make future interactions with shipsets easier. (Closes #37) 2013-07-04 09:25:09 +01:00
cim
6d12aa177e Make navigation buoys rotate again 2013-07-03 17:43:49 +01:00
cim
68cbeed17b Start system populator framework.
Adds buoys, nothing else
2013-07-01 13:46:13 +01:00
cim
b702e280e9 Remove strict_mode settings from equipment.plist
(Comment out rather than strict_mode_only out energy bomb; this doesn't affect the Energy Bomb OXP at all)
2013-06-29 10:43:45 +01:00
cim
848e59ce19 Remove Strict Mode
Replace strict mode control with OXP enable/disable control
Display OXP setting on new game ship parade to make it clearer to users why their OXPs aren't loading
Adjust descriptions
Remove all gameplay differences other than OXP loading in strict mode
2013-06-29 10:21:35 +01:00
AnotherCommander
48b9acc664 Added missing fuel scoop icon to small hud. 2013-06-17 18:18:07 +01:00
AnotherCommander
e63213621d Added missing fuel scoop icon to small hud. 2013-06-16 19:57:48 +02:00
Marc
d6d9568341 - regression fix: OXPs can show commander 'kills' once again - syntax fits current string expander, though. - fix: language OXPs can now translate thargoid character name & short description, as originally intended.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@5674 127b21dd-08f5-0310-b4b7-95ae10353056
2013-05-04 13:05:59 +02:00