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)
Engine flare z size now does something. Values from 0.5-2.0 scale the flare compared with its 'normal' scale. All other values treated as equal to 1.0. shipdata.plist updated with new exhaust z-size parameters for completeness.
Slightly tweak laser turbulence parameter.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@5521 127b21dd-08f5-0310-b4b7-95ae10353056
Prevent (and remove existing) weapons on player ships not allowed by weapon_facings
Move weaponFacings JS property from PlayerShip to Ship
Prevent addition of weapons to NPC ships not allowed by their weapon_facings
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4957 127b21dd-08f5-0310-b4b7-95ae10353056
- Prevent writing of mainStation beacon.
- Change way that station beacon is handled with ASC - rather than having the compass point at the buoy, just make the main station beacon visible anywhere in the system.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4855 127b21dd-08f5-0310-b4b7-95ae10353056
- Shot lasers don't lag behind any more when the player's ship is moving at speed.
- Readjusted position for cobra3 side lasers, to avoid the now noticeable 'laser crosses'.
minor comment rewording.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4821 127b21dd-08f5-0310-b4b7-95ae10353056
- Improved the thargletAI slightly.
- Changed policeInterceptAI so that launching ships without target immediately clear the launch area.
- Moved the constrictor script from shipData to the worldScript. (to prevent problems with bad oxp copies of the constrictor)
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3752 127b21dd-08f5-0310-b4b7-95ae10353056
- some code cleanup.
- OXP change: added new shipdata.plist key 'hyperspace_motor' if set to NO, no NPCs or player ships can enter witchspace on their own. Defaults to YES if not specified. Fuel injection and galaxy jumps are not affected by this change. New translation strings added and GUI screens updated to accommodate this change.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3739 127b21dd-08f5-0310-b4b7-95ae10353056
- rock hermits have a docking tunnel consistent with their docking slot.
- when in strict mode, use ring.dat for all docking (as per oolite 1.65 - 1.73).
- renamed the new docking 'rings' as oolite-tunnel.dat and oolite-rocktunnel.dat.
* fix: stopped ship.exitSystem() from generating a clone of itself after leaving the system.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3360 127b21dd-08f5-0310-b4b7-95ae10353056
* new js methods added system.addShips(), system.addGroup(), system.addShipsToRoute(), system.addGroupToRoute() if a ship is created near the witchpoint, it gets the witchspace rings, and its status is STATUS_LAUNCHING, otherwise it's STATUS_IN_FLIGHT, and no witchspace effect.
* tentatively fixed berlios bug #14626: 'AI is initialised twice since 1.71'
when entities are added to the universe, the AI state is set to GLOBAL only once after their ID is set. Seems to work.
- reworked witchpoint buoy to use multiple colour flashers.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@2888 127b21dd-08f5-0310-b4b7-95ae10353056