More General OXP Questions

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

Moderators: winston, another_commander

Post Reply
Twisted
Above Average
Above Average
Posts: 27
Joined: Thu Jan 04, 2007 4:01 pm

More General OXP Questions

Post by Twisted »

Hi Folks,

Being a PC user interested in developing OXP's, I have a few questions I could use a hand with:

* All music and sounds seem to be ogg files. What does that stand for? Is it a mac only file format? Is it a mod or wav type format?

* What is the purpose of demoships.plist. Its not on the wiki and I've noticed that some ship OXPs have them and others don't.

* The PC version of oolite doesn't have any native speech (though I've read that the Mac version does). I'm guessing that is what speechpronounce.plist is for. How does one generate that Cruiser = [[inpt PHON]]kr1UWz2AXr[[inpt TEXT]]?

* are the key key_names in keyconfig.plist hardcoded or can you define your own and refer to them in your script.plist?

* does the requires.plist recognise anything other than:
key[version]/key
string[version_number]/string?
Can you specify that it requires other OXP's to be installed (and their version numbers)? Can one give their OXP's a version number?

Thanks All, let the debating begin. :)
User avatar
johnsmith
Deadly
Deadly
Posts: 141
Joined: Fri Sep 22, 2006 10:32 am
Location: Teance
Contact:

Post by johnsmith »

Ogg is an open source sound format which started off on linux. It's like MP3. See

http://en.wikipedia.org/wiki/Ogg

Demoships is used to have ships rotate on the title screen when you start the game. If you want your ship to appear there, you need to add an entry.

Apple's speech documentation is here:

http://developer.apple.com/documentatio ... mmingGuide

To get the machine top say Fer-de-lance with a vaguely French accent, I used:

Code: Select all

	<array>
		<string>Fer-de-Lance</string>
		<string>[[emph +]]Fair [[emph -]]da [[pbas 50]]launs!</string>
	</array>
Don't know the answers to the other questions, sorry.
User avatar
LittleBear
---- E L I T E ----
---- E L I T E ----
Posts: 2882
Joined: Tue Apr 04, 2006 7:02 pm
Location: On a survey mission for GalCop. Ship: Cobra Corvette: Hidden Dragon Rated: Deadly.

Post by LittleBear »

You can add speach to the PC with Milinks Custom Sounds (a must have OXP! 8) ).

Think the difference between PC and Mac is when us PC users target a ship we get "ID Computer Active" or "Missile Locked", but the Mac also speaks the name of the ship in question.
OXPS : The Assassins Guild, Asteroid Storm, The Bank of the Black Monks, Random Hits, The Galactic Almanac, Renegade Pirates can be downloaded from the Elite Wiki here.
User avatar
Dr. Nil
---- E L I T E ----
---- E L I T E ----
Posts: 983
Joined: Thu Sep 28, 2006 5:11 pm
Location: Nearest Hoopy Casino
Contact:

Post by Dr. Nil »

Perhaps the Mac players also get the names of systems they jump into and characters in scooped escape pods. How about comms messages?
Image

300 billboards in Your Ad Here!
Astromines and more in Commies.
AVAILABLE HERE along with other Oolite eXpansion Packs.
Twisted
Above Average
Above Average
Posts: 27
Joined: Thu Jan 04, 2007 4:01 pm

Post by Twisted »

Thanks heaps guys,

Another one:
When / Howoften does an AI statemachine call update()?

* Whenever its not doing anything else?
* Every x seconds that its not done anything else?
* Every x seconds regardless of what else it is trying to do?


Other questions that still remain outstanding:

* are the key key_names in keyconfig.plist hardcoded or can you define your own and refer to them in your script.plist?

* does the requires.plist recognise anything other than:
key[version]/key
string[version_number]/string?

Can you specify that it requires other OXP's to be installed (and their version numbers)? Can one give their OXP's a version number?
Post Reply