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

Random Hits - or Your Murder Here!

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

Moderators: winston, another_commander

User avatar
TGHC
---- E L I T E ----
---- E L I T E ----
Posts: 2157
Joined: Mon Jan 31, 2005 4:16 pm
Location: Berkshire, UK

Post by TGHC »

Isn't that a pub in Norfolk?
The Grey Haired Commander has spoken!
OK so I'm a PC user - "you know whats scary? Out of billions of sperm I was the fastest"
User avatar
Griff
Oolite 2 Art Director
Oolite 2 Art Director
Posts: 2479
Joined: Fri Jul 14, 2006 12:29 pm
Location: Probably hugging his Air Fryer

Post by Griff »

Great work on the .oxp LB!
I'm playing on the PC version 1.69.1, I took out a contract and the correct system got marked on the galactic map. i was able to browse the board correctly and got blocked when trying to take on jobs above my current kill count, it all seems to be working great!

I've just thought of another problem that will occur with the spacebar and oolite v1.65 - at the moment some of the subentity objects that make up the spacebar are over the poly and vertex limits for version 1.65, somewhere along the way ahruman upped the limits to something like 800 polys and 500 verts, not sure which version this was but it's a later one that 1.65.
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 »

The model hardcoded limits for 1.69.1 need to be added to the OoLITE/OXP_FAQ....think that's the furball's job. ;)

@LB: Maybe you could use the hermit model as a stand-in for 1.65 users (2versions)

@Griff: 1.69.1PC.: are the missiontexts working for you?
On my system, the 'newline' code /n appears as /n, not <ENTER>.
Riding the Rocket!
User avatar
Griff
Oolite 2 Art Director
Oolite 2 Art Director
Posts: 2479
Joined: Fri Jul 14, 2006 12:29 pm
Location: Probably hugging his Air Fryer

Post by Griff »

A_H, yes, the mission texts are appearing OK on my computer (windows xp, oolite 1.69.1), i'm just seeing blank lines and not any /n codes or anything, maybe there's a typo in a text string or are you seeing them in all contracts?

is there a way to flick between the galaxy map and the bulletin board so you can check how far away the target system is before applying for the contract?
Once you've been accepted for a contract you get the options "return to browsing the Bulletin board" and "exit the Bulletin board". Maybe the return to browsing the bulletin board on this screen option should be "Cancel contract and return to browsing the board"?
User avatar
LittleBear
---- E L I T E ----
---- E L I T E ----
Posts: 2869
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 »

Broke my collar bone on tuesday, so it'll be a couple of weeks before i get back to the oxp, one handed typings hard enough and i can't reach the weapons console on my Imperial Courier! The board is set to displace once per docking, as it comming up every ten seconds cpuld be annoying if you are trying buy cargo etc. Launching and redocking would cause it to come up again. It'd be easy to give the option to decline the contract, could also have the boad re-displayed if you spend more than ten seconds on the long range chart.
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
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 »

better use the CONTRACTS page if you want to go that route.
This page is not often used by the regular Jameson in contrast to the LRC on which looking up or looking for a certain type of planet can take more than a few moments.
Riding the Rocket!
User avatar
Griff
Oolite 2 Art Director
Oolite 2 Art Director
Posts: 2479
Joined: Fri Jul 14, 2006 12:29 pm
Location: Probably hugging his Air Fryer

Post by Griff »

Ouch LB, that sounds painful! Zero G cricket?

I liked the name Blue Parrot in the .oxp, is that the name of the spacebar?
I had a quick go at making an animation, maybe to stick on a billboard attached to the bar, although i imagine you probably don't want your oxp to get too graphics intensive and end up a massive download!

Image
User avatar
LittleBear
---- E L I T E ----
---- E L I T E ----
Posts: 2869
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 »

Tripped over the cat. Certainly qualifies as a deadly furry feline.

If you check the descriptions file, there are 40 bar names, was planning to do a system gov = 0, planetnumber greater than -1 lessthan 5 etc etc so a bar with a different name appears at each anarchy. In the test alpha though every bar has the same name as i haven't done the code for this yet. Could you maybe do a shipdata.plist for the bar in the old format? Just that the old format makes it easier to cut and paste the entries for the mark's ships in.

The only graphics in the OXP would be anything space bar related, as the code puts piolts into ships from native + OXP ships the player has installed, rather than adding new ships (they get a custom AI which makes them quite tricky to catch though!) so would be quite a bit of room for space bar graphics!
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 »

@LB: Sorry to hear about your injury. May your recovery be speedy :)

@Griff: I hope to see some ads for some of the bars you make if you find the time. It's been a while since we seen some of your beautiful drawings at the Ad-X HQ. (I've already made ads for two of the bars that LB has named).
Image

300 billboards in Your Ad Here!
Astromines and more in Commies.
AVAILABLE HERE along with other Oolite eXpansion Packs.
User avatar
Disembodied
Jedi Spam Assassin
Jedi Spam Assassin
Posts: 6884
Joined: Thu Jul 12, 2007 10:54 pm
Location: Carter's Snort

Post by Disembodied »

Dr. Nil wrote:
I came across a minor typo in the descriptions.plist

"The Bell and Barben"

Keep up the good work.
Hmm... apparently "barben" is German for "barbel" -- a type of fish. A carp, to be more specific. If there's a worry about using David Braben's name, there's a get-out for you...

And sorry to hear about your cat-related mishap, LB. Hope we see you back in the pilot's seat again soon!
User avatar
TGHC
---- E L I T E ----
---- E L I T E ----
Posts: 2157
Joined: Mon Jan 31, 2005 4:16 pm
Location: Berkshire, UK

Post by TGHC »

LittleBear wrote:
Tripped over the cat. Certainly qualifies as a deadly furry feline.
The Speverand Rooner would say that cooking fat!

I guess you have a figure of eight around your shoulders, been there myself many years ago, got mine playing football, I know how painful it is so wish you a speedy recovery.
The Grey Haired Commander has spoken!
OK so I'm a PC user - "you know whats scary? Out of billions of sperm I was the fastest"
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 »

LittleBear wrote:
Tripped over the cat. Certainly qualifies as a deadly furry feline.
Sounds like you upset someone really dangerous, that they put out a 'hit' on you...

Captain Hesperus
The truth, revealed!!
Image
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 »

Captain Hesperus wrote:
LittleBear wrote:
Tripped over the cat. Certainly qualifies as a deadly furry feline.
Sounds like you upset someone really dangerous, that they put out a 'hit' on you...
...probably retrieved in a shady bar in an unknown Anarchy system? :wink:

But, seriously, sorry for you, LittleBear!

@Disembodied: Yes, "Barbe" is the name of a fish, and in plural it would be "Barben". But I hardly see any connection to "Bell". Although this is German as well. It's the sound a dog makes, so the English translation would be "bark", only that in German it's an imperative, not an infinitive. Still we would have an English "and" between these two German words.

And still I wouldn't know what "Bark! and carps" would be supposed to mean.
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 »

Sometimes bar names are weird. ;)

:lol:
Riding the Rocket!
User avatar
Griff
Oolite 2 Art Director
Oolite 2 Art Director
Posts: 2479
Joined: Fri Jul 14, 2006 12:29 pm
Location: Probably hugging his Air Fryer

Post by Griff »

LB, here's the spacebar config is xml format

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>griff_spacebar_subent_template</key>
	<dict>
		<key>ai_type</key>
		<string>dumbAI.plist</string>
		<key>name</key>
		<string>SpaceBar</string>
		<key>roles</key>
		<string>griff_spacebar_subent</string>
	</dict>

<key>random_hits_griff_spacebar</key>
	<dict>
		<key>like_ship</key>
		<string>coriolis-station</string>
		<key>name</key>
		<string>Bounty Hunters' Space Bar</string>		
		<key>model</key>
		<string>griff_spacebar_mainsection.dat</string>
		<key>roles</key>
		<string>random_hits_spacebar station</string>
		<key>scanClass</key>
		<string>CLASS_STATION</string>
		<key>subentities</key>
		<array>
			<string>griff_spacebar_dockingsection     		0 0 0 1 0 0 0</string>
			<string>griff_spacebar_backsection     			0 0 0 1 0 0 0</string>
			<string>griff_spacebar_rock      				0 0 0 1 0 0 0</string>
			<string>griff_spacebar_solarpanel    			0 0 0 1 0 0 0</string>
			<string>griff_spacebar_pipe     				0 0 0 1 0 0 0</string>
			<string>griff_spacebar_platform    				0 0 0 1 0 0 0</string>
			<string>griff_spacebar_dockingbay    			0 0 690.7914 1 0 0 0</string>
			<string>griff_spacebar_Arexack_Heretic_Neonsign 0 0 0 1 0 0 0</string>
		</array>

			<key>shaders</key>
				<dict>
					<key>griff_spacebar_mainhull.png</key>
					<dict>
						<key>textures</key>
							<array>
							<string>griff_spacebar_mainhull.png</string>
							</array>
						<key>vertex_shader</key>
						<string>ahruman-generic.vertex</string>
						<key>fragment_shader</key>
						<string>griff_spacebar.fragment</string>
					</dict>
				</dict>	
	</dict>

<key>griff_spacebar_dockingsection</key>
	<dict>
		<key>like_ship</key>
		<string>griff_spacebar_subent_template</string>
		<key>model</key>
		<string>griff_spacebar_dockingsection.dat</string>
			<key>shaders</key>
				<dict>
					<key>griff_spacebar_mainhull.png</key>
					<dict>
						<key>textures</key>
							<array>
							<string>griff_spacebar_mainhull.png</string>
							</array>
						<key>vertex_shader</key>
						<string>ahruman-generic.vertex</string>
						<key>fragment_shader</key>
						<string>griff_spacebar.fragment</string>
					</dict>
				</dict>	
	</dict>

<key>griff_spacebar_backsection</key>
	<dict>
		<key>like_ship</key>
		<string>griff_spacebar_subent_template</string>
		<key>model</key>
		<string>griff_spacebar_backsection.dat</string>
			<key>shaders</key>
				<dict>
					<key>griff_spacebar_mainhull.png</key>
					<dict>
						<key>textures</key>
							<array>
							<string>griff_spacebar_mainhull.png</string>
							</array>
						<key>vertex_shader</key>
						<string>ahruman-generic.vertex</string>
						<key>fragment_shader</key>
						<string>griff_spacebar.fragment</string>
					</dict>
				</dict>	
	</dict>


<key>griff_spacebar_rock</key>
	<dict>
		<key>like_ship</key>
		<string>griff_spacebar_subent_template</string>
		<key>model</key>
		<string>griff_spacebar_rock-smoothed.dat</string>
		<key>smooth</key> 
		<true/>
			<key>shaders</key>
				<dict>
					<key>griff_spacebar_rock.png</key>
					<dict>
						<key>textures</key>
							<array>
							<string>griff_spacebar_rock.png</string>
							</array>
						<key>vertex_shader</key>
						<string>ahruman-generic.vertex</string>
						<key>fragment_shader</key>
						<string>griff_spacebar_rock.fragment</string>
					</dict>
				</dict>	
	</dict>	
	
<key>griff_spacebar_solarpanel</key>
	<dict>
		<key>like_ship</key>
		<string>griff_spacebar_subent_template</string>
		<key>model</key>
		<string>griff_spacebar_solarpanel.dat</string>
		<key>smooth</key> 
		<true/>		
			<key>shaders</key>
				<dict>
					<key>griff_spacebar_mainhull.png</key>
					<dict>
						<key>textures</key>
							<array>
							<string>griff_spacebar_mainhull.png</string>
							</array>
						<key>vertex_shader</key>
						<string>ahruman-generic.vertex</string>
						<key>fragment_shader</key>
						<string>griff_spacebar_solarpanel.fragment</string>
					</dict>
				</dict>	
	</dict>		

<key>griff_spacebar_pipe</key>
	<dict>
		<key>like_ship</key>
		<string>griff_spacebar_subent_template</string>
		<key>model</key>
		<string>griff_spacebar_pipe.dat</string>
		<key>smooth</key> 
		<true/>			
			<key>shaders</key>
				<dict>
					<key>griff_spacebar_platformpipe.png</key>
					<dict>
						<key>textures</key>
							<array>
							<string>griff_spacebar_platformpipe.png</string>
							</array>
						<key>vertex_shader</key>
						<string>ahruman-generic.vertex</string>
						<key>fragment_shader</key>
						<string>griff_spacebar_rock.fragment</string>
					</dict>
				</dict>	
	</dict>	
	
<key>griff_spacebar_platform</key>
	<dict>
		<key>like_ship</key>
		<string>griff_spacebar_subent_template</string>
		<key>model</key>
		<string>griff_spacebar_platform.dat</string>
			<key>shaders</key>
				<dict>
					<key>griff_spacebar_platformpipe.png</key>
					<dict>
						<key>textures</key>
							<array>
							<string>griff_spacebar_platformpipe.png</string>
							</array>
						<key>vertex_shader</key>
						<string>ahruman-generic.vertex</string>
						<key>fragment_shader</key>
						<string>griff_spacebar.fragment</string>
					</dict>
				</dict>	
	</dict>
	
<key>griff_spacebar_dockingbay</key>
	<dict>
		<key>like_ship</key>
		<string>griff_spacebar_subent_template</string>
		<key>model</key>
		<string>griff_spacebar_dockingbay.dat</string>
		<key>roles</key>
		<string>docking-slit</string>
			<key>shaders</key>
				<dict>
					<key>griff_spacebar_dockingbay.png</key>
					<dict>
						<key>textures</key>
							<array>
							<string>griff_spacebar_dockingbay.png</string>
							</array>
						<key>vertex_shader</key>
						<string>griff_spacebar_dockingbay.vertex</string>
						<key>fragment_shader</key>
						<string>griff_spacebar_dockingbay.fragment</string>
					</dict>
				</dict>	
	</dict>	
	
<key>griff_spacebar_Arexack_Heretic_Neonsign</key>
	<dict>
		<key>like_ship</key>
		<string>griff_spacebar_subent_template</string>
		<key>model</key>
		<string>griff_spacebar_ah_sign.dat</string>
			<key>shaders</key>
			<dict>
				<key>A_H_wormhole_animation.png</key>
				<dict>
					<key>textures</key>
					<array>
						<string>A_H_wormhole_animation.png</string>
					</array>
				<key>vertex_shader</key>
				<string>griff_spacebar_Arexack_Heretic_Neon_sign.vertex</string>
				<key>fragment_shader</key>
				<string>griff_spacebar_Arexack_Heretic_Neon_sign.fragment</string>
				<key>uniforms</key>
					<dict>
					<key>uTime</key>		
					<string>timeElapsedSinceSpawn</string>
					</dict>
				</dict>
			</dict>
	</dict>		
	
</dict>
</plist>

Post Reply