Refueler equipment (v0.001)
Posted: Wed Jan 03, 2007 5:47 pm
Refueler v0.001 (not for playing)
Anyone up to some more ways to refuel?
I tried the following:
...\Oolite\AddOns\Refueler.oxp\Config\equipment.plist
...\Oolite\AddOns\Refueler.oxp\Config\shipdata.plist
...\Oolite\AddOns\Refueler.oxp\AIs\refuelerpodAI.plist
Not even beginning to think of the problems with having it saying mine armed etc. My icon is not drawn (I get the standard mine icon). The idea was that the pod empties and is released and then at once disappears (deflates, blows to pieces, whatever). But it gives no fuel and just keeps floating around. (might be some really simple mistake). Is there even a way to work around the missile armed messages?
Another way to go could be to have an extra (disposable?) tank taking up the space for the escape pod. But I don't think there is a way to make oxp equipment activated by pressing a key - which is why I went the missile way at first.
Well this is v0.0001 - I just put it out there to get some input. It might not even be something that's worth looking into. I really don't consider it a priority. I'd rather have the Repair Droid:
But trying to understand PlayerEntity.m is still beyond me. It doesn't stop me from trying to look through it for interesting variables. But while I might have a very vague idea of general hull repair, I'm even further from substance on the repair of equipment.
Anyone up to some more ways to refuel?
I tried the following:
...\Oolite\AddOns\Refueler.oxp\Config\equipment.plist
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<array>
<array>
<integer>2</integer>
<integer>22000</integer>
<string>Inflight Refueling System</string>
<string>EQ_REFUELER</string>
<string>Installs fuel lines from pylons and allows the mounting of fuel pods.</string>
<dict>
<key>available_to_all</key>
<true/>
</dict>
</array>
<array>
<integer>2</integer>
<integer>1000</integer>
<string>Inflight Refueling Pod</string>
<string>EQ_REFUELER_MINE</string>
<string>Fuel pod for the Inflight Refueling System.</string>
<dict>
<key>available_to_all</key>
<true/>
<key>requires_empty_pylon</key>
<true/>
<key>requires_equipment</key>
<string>EQ_REFUELER</string>
</dict>
</array>
</array>
</plist>
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>refueler_pod</key>
<dict>
<key>ai_type</key>
<string>refuelerpodAI.plist</string>
<key>energy_recharge_rate</key>
<real>0.0</real>
<key>max_energy</key>
<real>10</real>
<key>max_flight_pitch</key>
<real>2</real>
<key>max_flight_roll</key>
<real>2</real>
<key>max_flight_speed</key>
<real>1000</real>
<key>model</key>
<string>qbomb.dat</string>
<key>name</key>
<string>Empty Refueler Pod</string>
<key>roles</key>
<string>energy-bomb(0.00000000001) EQ_REFUELER_MINE</string>
<key>thrust</key>
<real>0.0</real>
</dict>
</dict>
</plist>
Code: Select all
{
GLOBAL = {
ENTER = ("awardEquipment: EQ_FUEL", landonPlanet);
EXIT = ();
UPDATE = (landonPlanet);
};
}
Another way to go could be to have an extra (disposable?) tank taking up the space for the escape pod. But I don't think there is a way to make oxp equipment activated by pressing a key - which is why I went the missile way at first.
Well this is v0.0001 - I just put it out there to get some input. It might not even be something that's worth looking into. I really don't consider it a priority. I'd rather have the Repair Droid:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<array>
<array>
<integer>14</integer>
<integer>1500000</integer>
<string>Repair Droid</string>
<string>EQ_REPAIR_DROID</string>
<string>State of the art droid technology for automated maintenance and repair of your ship's hull and equipment.</string>
<dict>
<key>available_to_all</key>
<true/>
</dict>
</array>
</array>
</plist>