Join us at the Oolite Anniversary Party -- London, 7th July 2024, 1pm
More details in this thread.

uhh....help?

Discussion and information relevant to creating special missions, new ships, skins etc.

Moderators: winston, another_commander

Post Reply
User avatar
Arexack_Heretic
Dangerous Subversive Element
Dangerous Subversive Element
Posts: 1876
Joined: Tue Jun 07, 2005 7:32 pm
Location: [%H] = Earth surface, Lattitude 52°10'58.19"N, longtitude 4°30'0.25"E.
Contact:

uhh....help?

Post by Arexack_Heretic »

hum... I think I have reverted to noobdom.

I cannot get a simple plist to get parsed.

Code: Select all

2007-08-19 17:26:57.000 oolite.exe[3308] [dataCache.notFound]: No data cache found, starting from scratch.
2007-08-19 17:26:57.000 oolite.exe[3308] [plist.parse.foundation.failed]: Failed to parse AddOns/AH_custompaints_and_racers.oxp/Config/shipyard.plist as a property list using Foundation. Retrying using homebrew parser. WARNING: the homebrew parser is deprecated and will be removed in a future version of Oolite.
Parse failed at line 1 (char 1) - extra data after parsed string
is the message I get.

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>krait-xr1-player</key>
	<dict>
		<key>chance</key>
		<real>0.01</real>
		<key>optional_equipment</key>
		<array>
			<string>EQ_ECM</string>
			<string>EQ_ESCAPE_POD</string>
			<string>EQ_ENERGY_BOMB</string>
			<string>EQ_ENERGY_UNIT</string>
			<string>EQ_NAVAL_ENERGY_UNIT</string>
			<string>EQ_DOCK_COMP</string>
			<string>EQ_WEAPON_PULSE_LASER</string>
			<string>EQ_WEAPON_BEAM_LASER</string>
			<string>EQ_WEAPON_MINING_LASER</string>
			<string>EQ_WEAPON_MILITARY_LASER</string>
			<string>EQ_SCANNER_SHOW_MISSILE_TARGET</string>
			<string>EQ_MULTI_TARGET</string>
			<string>EQ_SHIELD_BOOSTER</string>
		</array>
		<key>price</key>
		<integer>85000</integer>
		<key>standard_equipment</key>
		<dict>
			<key>extras</key>
			<array>
				<string>EQ_FUEL_INJECTION</string>
				<string>EQ_FUEL_SCOOPS</string>
			</array>
			<key>forward_weapon_type</key>
        	<string>EQ_WEAPON_NONE</string>
         	<key>missiles</key>
        	<integer>1</integer>
			<key>missiles</key>
			<integer>0</integer>
		</dict>
		<key>techlevel</key>
		<integer>6</integer>
		<key>weapon_facings</key>
		<integer>1</integer>
	</dict>
	<key>raceradder-player</key>
	<dict>
		<key>chance</key>
		<real>0.25</real>
		<key>optional_equipment</key>
		<array>
			<string>EQ_ECM</string>
			<string>EQ_FUEL_SCOOPS</string>
			<string>EQ_ESCAPE_POD</string>
			<string>EQ_ENERGY_BOMB</string>
			<string>EQ_ENERGY_UNIT</string>
			<string>EQ_NAVAL_ENERGY_UNIT</string>
			<string>EQ_DOCK_COMP</string>
			<string>EQ_WEAPON_PULSE_LASER</string>
			<string>EQ_WEAPON_BEAM_LASER</string>
			<string>EQ_WEAPON_MINING_LASER</string>
			<string>EQ_WEAPON_MILITARY_LASER</string>
			<string>EQ_FUEL_INJECTION</string>
			<string>EQ_SCANNER_SHOW_MISSILE_TARGET</string>
			<string>EQ_MULTI_TARGET</string>
			<string>EQ_GAL_DRIVE</string>
			<string>EQ_SHIELD_BOOSTER</string>
		</array>
		<key>price</key>
		<integer>80000</integer>
		<key>standard_equipment</key>
		<dict>
			<key>extras</key>
			<array/>
			<key>forward_weapon_type</key>
			<string>EQ_WEAPON_PULSE_LASER</string>
			<key>missiles</key>
			<integer>1</integer>
		</dict>
		<key>techlevel</key>
		<integer>6</integer>
		<key>weapon_facings</key>
		<integer>1</integer>
	</dict>
	<key>grimcobra1-player</key>
	<dict>
		<key>chance</key>
		<real>0.175</real>
		<key>optional_equipment</key>
		<array>
			<string>EQ_ECM</string>
			<string>EQ_FUEL_SCOOPS</string>
			<string>EQ_PASSENGER_BERTH</string>
			<string>EQ_ESCAPE_POD</string>
			<string>EQ_ENERGY_BOMB</string>
			<string>EQ_ENERGY_UNIT</string>
			<string>EQ_NAVAL_ENERGY_UNIT</string>
			<string>EQ_DOCK_COMP</string>
			<string>EQ_WEAPON_PULSE_LASER</string>
			<string>EQ_WEAPON_BEAM_LASER</string>
			<string>EQ_WEAPON_MINING_LASER</string>
			<string>EQ_WEAPON_MILITARY_LASER</string>
			<string>EQ_FUEL_INJECTION</string>
			<string>EQ_SCANNER_SHOW_MISSILE_TARGET</string>
			<string>EQ_MULTI_TARGET</string>
			<string>EQ_GAL_DRIVE</string>
		</array>
		<key>price</key>
		<integer>150000</integer>
		<key>standard_equipment</key>
		<dict>
			<key>extras</key>
			<array>
				<string>EQ_SHIELD_BOOSTER</string>
			</array>
			<key>forward_weapon_type</key>
			<string>EQ_WEAPON_PULSE_LASER</string>
			<key>missiles</key>
			<integer>1</integer>
		</dict>
		<key>techlevel</key>
		<integer>6</integer>
		<key>weapon_facings</key>
		<integer>3</integer>
	</dict>
</dict>
</plist>
is the code involved
Last edited by Arexack_Heretic on Sun Aug 19, 2007 5:32 pm, edited 2 times in total.
Riding the Rocket!
User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Re: uhh....help?

Post by JensAyton »

From line 31:

Code: Select all

			<key>extras</key>
			<array/>
			<key>forward_weapon_type</key>
			<string>EQ_WEAPON_NONE</string>
			<string>EQ_FUEL_INJECTION</string>
			<string>EQ_FUEL_SCOOPS</string>
			<string>EQ_WEAPON_NONE</string>
			<string>EQ_WEAPON_NONE</string>
You probably wanted some of this stuff to be in the extras array, and not to have so many EQ_WEAPON_NONEs.
User avatar
Arexack_Heretic
Dangerous Subversive Element
Dangerous Subversive Element
Posts: 1876
Joined: Tue Jun 07, 2005 7:32 pm
Location: [%H] = Earth surface, Lattitude 52°10'58.19"N, longtitude 4°30'0.25"E.
Contact:

Post by Arexack_Heretic »

ahah. I see, copy paste error. I mangled the array.
I'll fix that.

edit: fixed, but still same error message. ?

I had been looking exhaustively at the shipdata.plist to find the error.
Because a script will not spawn ships from it.
would a error in the shipyard make a shipdata invalid?

Probably I messed up the filenames of the .dat files, I used capitals initially, but conversion to .dat made everything lowercase. :sigh:
Riding the Rocket!
User avatar
Cmdr Wyvern
---- E L I T E ----
---- E L I T E ----
Posts: 1649
Joined: Tue Apr 11, 2006 1:47 am
Location: Somewhere in the great starry void

Post by Cmdr Wyvern »

Code: Select all

         <key>forward_weapon_type</key>
           <string>EQ_WEAPON_NONE</string>
            <key>missiles</key>
           <integer>1</integer>
         <key>missiles</key>
         <integer>0</integer>
      </dict> 
Notice the spare <missiles> entry?
Running Oolite buttery smooth & rock stable w/ tons of eyecandy oxps on:
ASUS Prime X370-A
Ryzen 5 1500X
16GB DDR4 3200MHZ
128GB NVMe M.2 SSD (Boot drive)
1TB Hybrid HDD (For software and games)
EVGA GTX-1070 SC
1080P Samsung large screen monitor
User avatar
Arexack_Heretic
Dangerous Subversive Element
Dangerous Subversive Element
Posts: 1876
Joined: Tue Jun 07, 2005 7:32 pm
Location: [%H] = Earth surface, Lattitude 52°10'58.19"N, longtitude 4°30'0.25"E.
Contact:

Post by Arexack_Heretic »

crud!

I just copypasted that bit, forgot to delete the superfuous part.
Do you feel like Murgh yet? ;)

edit:
found a few missing .dat extensions and case-mismatches too.

ok ouch it works now I guess.
just jumped a fresh commander in a (c)rusty adder into a bunch of 10 racing adders with pirateAI...

---------

I'll upload to wiki now as custom_paints_v2_0_b.oxp .
The oxp contains a small script that plants a bunch of these ships at the next WP as well as encounter at 0.5way across the corridor with the TigerBoys.

There is no racing, no interaction save laserfire, however most ships should come by from time to time as they have the role pirate(0.1) as well as racer.

I left out the red-black sidewinder for now, it was not very visible.
Maybe later I'll add several new gangs in liveries to scare harmless commanders. The RedRockets in all red for example.
The Tigers will get some support ships as well as sidewinder escorts for those. And I'll try to come up with a nice scripting to have the tigers appear together in groups.
ie. addships: tigers_bigrig (python/ana etc.) script_actions= "spawn: tigers 3"
Riding the Rocket!
User avatar
Arexack_Heretic
Dangerous Subversive Element
Dangerous Subversive Element
Posts: 1876
Joined: Tue Jun 07, 2005 7:32 pm
Location: [%H] = Earth surface, Lattitude 52°10'58.19"N, longtitude 4°30'0.25"E.
Contact:

Post by Arexack_Heretic »

Couldn't upload to the wiki, 't was too 'big'.

So I submitted it on OOsat2. Hopefully someone still maintains that satelite.


Finished the python texture, but will not be adding it in for a while, I really need to get some writing done.
Riding the Rocket!
User avatar
Commander McLane
---- E L I T E ----
---- E L I T E ----
Posts: 9520
Joined: Thu Dec 14, 2006 9:08 am
Location: a Hacker Outpost in a moderately remote area
Contact:

Post by Commander McLane »

It seems the only reliable way right now for releasing longer OXPs (and I think with all the new fancy shader stuff pretty much all OXPs containing models will be fairly long) is to find yourself a free hosting site and then put the link to the wiki.

I don't think in the long run this is very satisfying. So my question is: Can anything be done to raise the upload-limit of the wiki, which currently is somewhere in the range of 2 megs, IIRC?
User avatar
Arexack_Heretic
Dangerous Subversive Element
Dangerous Subversive Element
Posts: 1876
Joined: Tue Jun 07, 2005 7:32 pm
Location: [%H] = Earth surface, Lattitude 52°10'58.19"N, longtitude 4°30'0.25"E.
Contact:

Post by Arexack_Heretic »

I second that.

Unfortunately, my personal ISP webspace has become inaccesable to me due to router problems.
My credit rating is pretty much non existent at the moment, to the point of almost losing my internet service due to backlogged banktransfers, so buying extra webspace is no option either for me.

I've been meaning to reboot my entire system for a while now as errors tend to multiply and stack up, this has to wait a while however untill I have some time and motivation free to backup etc.
Riding the Rocket!
User avatar
Captain Hesperus
Grand High Clock-Tower Poobah
Grand High Clock-Tower Poobah
Posts: 2310
Joined: Tue Sep 19, 2006 1:10 pm
Location: Anywhere I can sell Trumbles.....

Post by Captain Hesperus »

@A_H - Have you considered Box.net?

Sorry, pseudo-Spam. I must be getting withdrawal symptoms....

Captain Hesperus
The truth, revealed!!
Image
User avatar
Arexack_Heretic
Dangerous Subversive Element
Dangerous Subversive Element
Posts: 1876
Joined: Tue Jun 07, 2005 7:32 pm
Location: [%H] = Earth surface, Lattitude 52°10'58.19"N, longtitude 4°30'0.25"E.
Contact:

Post by Arexack_Heretic »

good plan.
registered, uploading.

here will come the http://www.box.net/shared/hceomynfgb

other good news: I got part of my tax return. so now I got some breathing room. Not enough to repay loans, but enough to pay one months bills.
Riding the Rocket!
Post Reply