The Shipyard at the End of the Ooniverse. Modeller's bit.
Moderators: winston, another_commander
- Commander McLane
- ---- 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:
Quick question: Wouldn't it be better to have the engine also look for subentities whose name ends with 'dock'? If all OXPers follow the unique-naming-conventions, there shouldn't be any entity names starting with 'dock' apart from the built-in ones.
E.g. my own docks follow a naming scheme of 'oxpname-stationname-dock'.
Or are you talking about the name-key? That would be valuable information, because I am in the process of bruising these out of all my OXPs, since subentities don't need names anymore (or roles).
*****
Oh, and port_dimensions isn't documented in the wiki. Didn't know about it.
And why is the default so small? Oolite's standard dock has a dimension of 192 x 64 x 250.
E.g. my own docks follow a naming scheme of 'oxpname-stationname-dock'.
Or are you talking about the name-key? That would be valuable information, because I am in the process of bruising these out of all my OXPs, since subentities don't need names anymore (or roles).
*****
Oh, and port_dimensions isn't documented in the wiki. Didn't know about it.
And why is the default so small? Oolite's standard dock has a dimension of 192 x 64 x 250.
Thanks. I must admit I was wondering about having both keys, as they seemed to be covering each others job.Ahruman wrote:port_radius is deprecated. If there is a subentity whose name starts with “dock” (lowercase), its position and orientation are used and port_radius is ignored. port_dimensions is still used, though (default: 69x69x250).
At the moment I've got the name as testShips_intraDock, so you'd recommend I change that to dock_testShips (or something like that). Will give that a test and see if the dock position is used instead. Here I think it's going somewhat against how many scripters name/role their ships, so also checking for something at the end (dock or Dock perhaps) may be a consideration, I'd second McLane's comments there?
Also as McLane says, none of this is currently in the wiki for shipdata.plist keys. And also for reference if the main entity has a suitably large port_dimension (and port_radius in mine, but I guess it's double-setting) without any sub-entities at all it still works lovely as "proximity docking". It's how it's done in Save Anywhere and PlanetFall (Frame's method) and similar to how I've just set it up for a new "easy-dock" station (reasons will become clear in the far future when I release it).
Editted to add - quickly tested, and works exactly as desired now Amazing how these small things make such a difference
My OXPs via Boxspace or from my Wiki pages .
Thargoid TV
Dropbox Referral Link
Thargoid TV
Dropbox Referral Link
It's the top level identity (the unique internally used one) that needs to start with "dock", the one thats used in the subentities key to call the sub-entity. The name-key is fairly irrelevant for a subentity, as it'll never appear on-screen anyway unless you're getting very complicated with frangible sub-sub entities or something equally weird.Commander McLane wrote:Quick question: Wouldn't it be better to have the engine also look for subentities whose name ends with 'dock'? If all OXPers follow the unique-naming-conventions, there shouldn't be any entity names starting with 'dock' apart from the built-in ones.
E.g. my own docks follow a naming scheme of 'oxpname-stationname-dock'.
Or are you talking about the name-key? That would be valuable information, because I am in the process of bruising these out of all my OXPs, since subentities don't need names anymore (or roles).
My OXPs via Boxspace or from my Wiki pages .
Thargoid TV
Dropbox Referral Link
Thargoid TV
Dropbox Referral Link
- JensAyton
- Grand Admiral Emeritus
- Posts: 6657
- Joined: Sat Apr 02, 2005 2:43 pm
- Location: Sweden
- Contact:
I agree, but changing the semantics for existing ships is potentially bad. I suggest using “dock-oxpname-etc” for docks. (The “name” in this context is the key in shipdata.plist.)Commander McLane wrote:Quick question: Wouldn't it be better to have the engine also look for subentities whose name ends with 'dock'? If all OXPers follow the unique-naming-conventions, there shouldn't be any entity names starting with 'dock' apart from the built-in ones.
However, on further investigation, the game looks for a prefix of “dock” in one place, and a substring of “dock” in another place. Yay spaghetti code. The second place also uses the actual dimensions of the dock entity to override port_dimensions, which would seem to explain why docking actually works.
In short, don’t use port_radius or port_dimensions.
I have no idea, but I’m definitely not going to go around changing defaults. :-)Commander McLane wrote:Oh, and port_dimensions isn't documented in the wiki. Didn't know about it.
And why is the default so small? Oolite's standard dock has a dimension of 192 x 64 x 250.
E-mail: [email protected]
- Eric Walch
- Slightly Grand Rear Admiral
- Posts: 5536
- Joined: Sat Jun 16, 2007 3:48 pm
- Location: Netherlands
Not entirely true. I have been working on some ship scripts were I wanted to check for a subentity presence. The only two unique things of a subentity are its name and its role. I took the name for identification. Its order in the list can change when a sub it shot away.McLane wrote:because I am in the process of bruising these out of all my OXPs, since subentities don't need names anymore (or roles).
UPS-Courier & DeepSpacePirates & others at the box and some older versions
But by using both keys you don't have to declare a subent for this. We are using this way in buoyRepair and there is no 'dock-whatever' subent at all and it works perfectly. Hope you don't want to change it, because we've spent so much time with it to get it working. .-)Ahruman wrote:In short, don’t use port_radius or port_dimensions.
Ditto for PlanetFall and Save Anywhere (both have temporary stations which are only main entities, no sub-ents at all - you "dock" with a barrel!).
Both rely on this to work, and if those keys are removed you'll break both those OXP's too.
Both rely on this to work, and if those keys are removed you'll break both those OXP's too.
My OXPs via Boxspace or from my Wiki pages .
Thargoid TV
Dropbox Referral Link
Thargoid TV
Dropbox Referral Link
- Simon B
- ---- E L I T E ----
- Posts: 836
- Joined: Thu Oct 23, 2008 5:54 am
- Location: Red Beach NZ
- Contact:
Neolite Modelling - the formula approach
The method used to produce the oldships.oxp set was pretty formulaic - only the cat and salamander do not use the formula.
"What formula?" I hear me ask ... why, this one of course.
If you want to use this set but worry that your fav ship will clash (or you have an oxp you want to modify to fit in... or you just want to be able to model: have a look.)
"What formula?" I hear me ask ... why, this one of course.
If you want to use this set but worry that your fav ship will clash (or you have an oxp you want to modify to fit in... or you just want to be able to model: have a look.)
Simon Bridge
[re2dux] [neolite]
"Everything is perfect down to every last flaw..."
HBT: The Book of Verse - Principia Discordia
[re2dux] [neolite]
"Everything is perfect down to every last flaw..."
HBT: The Book of Verse - Principia Discordia
Didn't know where I should post this but...
Anyway, after a relatively long hiatus, I have returned and I come bearing some modeling experience. I have just finished a ship in what I hope to be will be line of Soviet/Communist themed ships.
Texture can still use some work, but this should give a general idea on what it'll look like.
Without further ado...
As of now, it's nameless, but it should end up fulfilling the role of a relatively cheap, slow, but rugged cargo hauler. Not exactly the sharpest ship on the block, but it works.
Anyway, after a relatively long hiatus, I have returned and I come bearing some modeling experience. I have just finished a ship in what I hope to be will be line of Soviet/Communist themed ships.
Texture can still use some work, but this should give a general idea on what it'll look like.
Without further ado...
As of now, it's nameless, but it should end up fulfilling the role of a relatively cheap, slow, but rugged cargo hauler. Not exactly the sharpest ship on the block, but it works.
Space Pirate, and a proud Mac Us-arrr!
- Disembodied
- Jedi Spam Assassin
- Posts: 6885
- Joined: Thu Jul 12, 2007 10:54 pm
- Location: Carter's Snort
- Captain Hesperus
- Grand High Clock-Tower Poobah
- Posts: 2310
- Joined: Tue Sep 19, 2006 1:10 pm
- Location: Anywhere I can sell Trumbles.....
Still are.0235 wrote:wow, i like a good cargo ship, and is a communist too, thats great. why does everyone alway think Russia whn they think Communism, wasn China, North Korea and Vietnam Communist?
People think Communism = Russia because of the Cold War that existed between Russia and her allies and NATO from the 1940s to the 1990s.
Captain Hesperus
The truth, revealed!!
- Star Gazer
- ---- E L I T E ----
- Posts: 633
- Joined: Sat Aug 14, 2004 4:55 pm
- Location: North Norfolk, UK, (Average Agricultural, Feudal States,Tech Level 8)
I always think that pretty strange, as in my understanding, 'communism' got replaced by 'state capitalism' pretty early on in the life of the Soviet Union!
Chinese communism got closer for a while, but, when it comes to it, true communism isn't really what most people want...
...I think I'll shut up there...
Chinese communism got closer for a while, but, when it comes to it, true communism isn't really what most people want...
...I think I'll shut up there...
Very funny, Scotty, now beam down my clothes...
- pagroove
- ---- E L I T E ----
- Posts: 3035
- Joined: Wed Feb 21, 2007 11:52 pm
- Location: On a famous planet
First problem I have. with modeling in Wings
I want the grid set in 10 meter per grid. How do I do such things?
I don't get how the scaling works in Wings. it works with WU units says the manual so that you can set it to any unit you want. But then I still don't get how to set a grid scale to lets say 100 meter per grid.
Can anyone point me in the right direction?
I want the grid set in 10 meter per grid. How do I do such things?
I don't get how the scaling works in Wings. it works with WU units says the manual so that you can set it to any unit you want. But then I still don't get how to set a grid scale to lets say 100 meter per grid.
Can anyone point me in the right direction?
For P.A. Groove's music check
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
https://bb.oolite.space/viewtopic.php?f=4&t=13709
https://soundcloud.com/p-a-groove
Famous Planets v 2.7. (for Povray)
https://bb.oolite.space/viewtopic.php?f=4&t=13709