Remember, you don’t need to write a shader to add glow or illumination mapping – but an engine glow would be desirable in this case. :-)DaddyHoggy wrote::!: :?: Have I caused some confusion? I was just wondering what Griff could do with additional lighting/shader effects on what is already a fabulous model - i.e. illuminating the (incorrect) designation area as Star Trek ships all seem to do.
Oolite Shipyards Extension V1.0 Development
Moderators: winston, another_commander
- JensAyton
- Grand Admiral Emeritus
- Posts: 6657
- Joined: Sat Apr 02, 2005 2:43 pm
- Location: Sweden
- Contact:
Last edited by JensAyton on Tue Jul 15, 2008 4:51 pm, edited 1 time in total.
E-mail: [email protected]
- DaddyHoggy
- Intergalactic Spam Assassin
- Posts: 8515
- Joined: Tue Dec 05, 2006 9:43 pm
- Location: Newbury, UK
- Contact:
Can you point me to the right thread then please Ahruman - becuase having downloaded several oxps that do include shaders and looked at the shader fragments I'm very confused - if I could add glows via textures alone that would be very helpful!
Oolite Life is now revealed hereSelezen wrote:Apparently I was having a DaddyHoggy moment.
- JensAyton
- Grand Admiral Emeritus
- Posts: 6657
- Joined: Sat Apr 02, 2005 2:43 pm
- Location: Sweden
- Contact:
Didn’t we have this conversation last week? Oh wait, that was with Wolfwood.DaddyHoggy wrote:Can you point me to the right thread then please Ahruman - becuase having downloaded several oxps that do include shaders and looked at the shader fragments I'm very confused - if I could add glows via textures alone that would be very helpful!
That post mentions emission_map; for a light cast on the ship itself, you want illumination_map, or emission_and_illumination_map if you want both self-illumination and glows (which, in this case, I think you do).
E-mail: [email protected]
Re: ...
Pretty much, yeah. Although I think I would substitute "low-population systems" for "corporate and democratic systems". If you travel in the space lanes even in a corp or democracy, you're going to run into pirates. Having the police on your scanner to mourn as you get smoked is small consolation.Lestradae wrote:My opinion is that: If any Jameson buys himself an Injector right after the Docking Comp (possible at Lave itself with RS 3.02 - buy a smaller ship + more equipment immediately and start out with a few thousand credits), and keeps using that scanner thingy and looking at the printed-out ships databank what is coming at him, and doesn`t travel to anarchies or feudal systems for the time being, keeping to corporate and democratic systems at the beginning, and RUNS if one of the big guys gets too interested ... then the universe where Tigers and Wolves and Kestrels and Condors also prowl is pretty survivable for the young Jameson.
To me, the problem seems to be that there are no really "safe" places, except outside the trade lane between the witchpoint and the main station. Well, and right around the main station, most of the time. The government seems to make less difference than the population (or maybe tech level, I haven't yet figured out which is the prime factor), except in the number of police about.Perhaps (perhaps?! ) I`m an old style gamer, but I don`t hold the sliding scales easy gaming approach in high regard ... in my version of the Ooniverse (visible in RS) there are dangerous places you don`t go to before you have become dangerous yourself. That way, low-tech anarchy actually means something.
Another gripe I have, which is amplified by RS, is that the system tech level seems to have zero effect on the kinds of ships you meet in that system. So in low-tech anarchies, I get attacked just as often by Morrigans, Tepius, and Kestrels as by Asps, Tribants, and Kraits, if not moreso. I guess that's not entirely unrealistic, but it stings a bit when I get jumped in three consecutive low-tech systems by bands of 5 pirates led by a Morrigan. Somebody must have posted my picture on the wall of a space bar somewhere!
I do agree that we should all be playing the same game, both newbie and grizzled old spacer. But the player should be able to select the level of difficulty via several means. Just avoiding every other ship whenever possible is a good way to stay alive, but a bad way to improve skills. As I said, I have a few ideas, and may spring a teaser OXP on you within a few days.
Re: ...
Okay, here are selected ones from recent runs. First, I get a ton of these every time, with no indication where they come from. Binary elimination is the only way I can see to track it down. May not even be in RS:Lestradae wrote:No, please post your list [of error messages] here! If you found anything I haven`t found yet, it`s very helpful to have it before the next release!
Code: Select all
2008-06-30 11:44:44.453 oolite[14383] [ship.sanityCheck.nilDict]: Ship created with nil dictionary!
Code: Select all
2008-06-30 11:44:49.025 oolite[14383] [files.notFound]: ----- WARNING: Could not find texture file "const.png". Used default no textures material instead.
- const.png -> CONST.png
- CONST.PNG -> CONST.png
- mainhull.PNG -> mainhull.png
- moose.png -> MOOSE.png
- orb.png -> Orb.png
- ORB.png -> Orb.png
- ORB.PNG -> Orb.png
Then the Police Condor AI script, which is missing quote marks all over the place:
Code: Select all
2008-06-30 11:44:50.219 oolite[14383] [plist.parse.foundation.failed]: Failed to parse .../.Oolite/AddOns/Zzzz_Realistic_Shipyards_V3.02.oxp/AIs/PoliceCondorAI.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 8 (char 440) - unexpected character (wanted ',' or ')')
2008-06-30 11:44:50.220 oolite[14383] [plist.homebrew.parseError]: Property list isn't in XML format, homebrew parser can't help you.
Code: Select all
.:85: element array: validity error : Element array content does not follow the DTD, expecting (array | data | date | dict | false | integer | real | string | true)*, got (key integer key integer key string string string )
</array>
^
Code: Select all
2008-07-14 02:28:17.748 oolite[23530] [script.javaScript.exception.22]: ***** JavaScript exception: TypeError: this.ship.call is not a function
2008-07-14 02:28:17.748 oolite[23530] [script.javaScript.exception.22]: .../.Oolite/AddOns/Zzzz_Realistic_Shipyards_V3.02.oxp/Scripts/bweed-kestrelfalcon-falcon.js, line 29.
Code: Select all
2008-06-30 12:55:13.078 oolite[14966] [shipData.load.error]: ***** ERROR: the shipdata.plist entry "centergun" specifies no roles, ignoring.
2008-06-30 12:55:13.078 oolite[14966] [shipData.load.error]: ***** ERROR: the shipdata.plist entry "monk_r_wing" specifies no roles, ignoring.
2008-06-30 12:55:13.078 oolite[14966] [shipData.load.error]: ***** ERROR: the shipdata.plist entry "monk_engine" specifies no roles, ignoring.
2008-06-30 12:55:13.079 oolite[14966] [shipData.load.error]: ***** ERROR: the shipdata.plist entry "monk_cannon" specifies no roles, ignoring.
2008-06-30 12:55:13.080 oolite[14966] [shipData.load.error]: ***** ERROR: the shipdata.plist entry "griff_spacebar_subent_template" specifies no model, ignoring.
2008-06-30 12:55:13.081 oolite[14966] [shipData.load.error]: ***** ERROR: the shipdata.plist entry "thargoid-player" specifies no roles, ignoring.
2008-06-30 12:55:13.081 oolite[14966] [shipData.load.error]: ***** ERROR: the shipdata.plist entry "monk_l_wing" specifies no roles, ignoring.
Yeah, I know those cases exist, and checked explicitly for it. Wasn't the case here. I was expecting you to say "Yeah, that's how the shipyard algorithm works, period."The only possible explanation for that is that there are two different versions of that ship which have the same in-game name, but are actually different (i.e. one has 0.35 LS top speed, the other 0.37 LS but both are named Cobra MkIII). Otherwise it would be a mystery.know that some ships are represented multiple times, from different shipyard entries, but in at least one case, there was something like a 60,000Cr difference between two ships that were both "standard customer model". And that ship is only in RS, and only in there once.
No, dagnabbit, I didn't make a note--got wrapped up in some other things at the time and forgot to. Next time for sure!Do you recall which ship that was?
Yes, no joy. Which is why I even mentioned it in the first place. It was a pure-RS ship, single instance, two different prices for the same model.An alternative explanation would be that you had another oxp installed also that has the same ship type but with a different price which is not rewritten properly by RS - have you checked for that?
I wasn't clear in my questions, sorry. First, yes I know that the shipyard adds to the cost of a ship that has optional equipment installed, often at wildly inflated rates. What I was talking about was standard equipment. Let's take, as a simple example, the All Stars Large freighter. Its RS price is listed as 32,530, which is close to my little price calculator's 33,076. (The difference is in the speed calc, which I mentioned in another post; I still haven't yet figured out the algorithm you use in programmatic terms.) And 32,530 is how a "standard customer model" would usually be listed in a shipyard. But the aafreighter comes standard with External Heat Shielding, a 1500Cr item supposedly available at TL4 and above. The effect becomes even more pronounced when you buy something like a Fer-de-Lance or an Imperial Courier, which both come with a huge stack of high-priced standard equipment. You note later that the tech level of the (standard) equipment isn't considered when figuring the TL of the ship, which I guess makes some sense, sorta. But it seems like one is getting the standard equipment for free using the "realistic" pricing model. When setting the price in the shipdata.plist for the ships I'm creating, I've added in the costs of the standard equipment too.The additional equipment is calculated by the core game into the price. The ship`s TL determines where a ship can be found, not its equipment.Do the RS prices as they stand now include standard equipment in the cost? How about the tech level?
This makes it clear that you have the same questions I do, which while not ideal, at least makes me feel less like a dunderhead.If it makes sense to also factor the "has ECC" or "has no ECC" into the price I`m also not so sure anymore. I left it in because I had the vague idea to make the scope of a large cargo bay dependable on the "base cargo bay" but leave the price as it is for all ships. That way, while the Cobra MkIII`s large cargo bay adds 15 tons to its 20 for a total of 35 tons, an Anaconda`s large cargo bay might add 570 tons to its 750 for a total of 1320 tons ... not sure yet. Ideas welcome.
Except I docked at a SIRF in at least three TL13 systems, and the equipment prices and ship offerings were identical to those at the main station. And no TL14 or 15 systems in galaxy 1 have SIRFs, so I can't check there. So far as I've seen, there's never been a single difference between the ships or equipment offered at a SIRF versus the main station. Maybe I just need to get around more.The SIRF Yards have a Tech Level that is three levels higher than the TL of the system surrounding it. If you look at the equipment dock you will see that. In systems of TL 13+ the TL of the SIRFYards stays at 15, but the equipment including the TL 15 equipment gets cheaper. Much cheaper. There`s your reasonSo far, I haven't found any real reason to dock at a SIRF, beyond the visual pleasure of it.
Okay, I was hoping you might already know. I am pretty sure it's not possible right now, based on what I've seen in the scripting docs, but I thought I recalled seeing ahruman or another of the developers mention that it might be possible in the future. Tonight or tomorrow, I'll convert my python price calculator to ECMAScript, just to be ready in case it does get implemented.That would be very, very great, if that was possible, but I don`t know if it is and if, how-to. If someone ever scripted a gadget like that I`d immediately include it into future RS and be hugely thankful for getting spared lots of future work by hand ...Is it or is it not possible for an OXP to set the prices seen in a shipyard display, based on data of its own, and what it can get from the game engine?
Oh, it's possible. As we in the business say, SMOP--simple matter of programming. I already know how I'd do it, but am unclear about the portability issues--we have people on Windows, on Macs, on Linux, and probably other Unix variants. Finding a language that can be counted on for each of those platforms is a real trick. (I guess I could do it in ObjectiveC, but I shudder at the thought.) That's the hard issue; using a set of selections to craft a customized shipdata.plist and other config files, that's cake.That`s a very good idea. Cmdr Maegil I think said he might create RS versions "for Jamesons" and "for veterans". If he or someone else invests the work, I would appreciate that very much and, if wanted, even host it on my paid box account and add download links on the Realistic Shipyards page to the alternate variants.some ideas for the future, like an automated installer that lets you include or omit ships, either in groups ("Trek", "Star Wars", "Uber", "Starter", etc.) or individually
An automatic installer that lets you add or remove ships or ship packs, but not by oxp picking (the ship oxps in RS have been repaired, some of them massively, by using the old oxps again you`d get all the old errors again!) but directly from RS, would be the best actually. No idea if or how that is possible - if someone does it, again, I would embrace it, host it and list it on the RS page.
The other issue is selective downloads; it'd be a shame to have to download all the textures and such for every RS ship, only to wind up installing, say, less than half of them. So the installer would presumably have to tell the user which "packs" to download after the selections were made, to complete the installation. Each pack would include the models, textures, and images for the selected ships, and possibly a few others. So if you selected, say, the Navy Constitution during installation, you'd need to download the Star Trek pack, even if you didn't intend to use the Navy Escort, for example. Its model and texture would be there, but wouldn't be referenced by the installer-created shipdata and shipyard plist files.
In summary, RS actually consists of three parts:
- The SIRF, which is neat, but as mentioned above, I have some questions about. I haven't heard anybody say anything negative about it.
- The "realistic" pricing model. I haven't heard any strong objections to this, either. If a day comes where the game itself could calculate ship prices, this part could go away.
- The ships. Here's where the objections seem to arise, from several categories of players:
- The ultra-purists, who just want the basic eleven ships.
- The old-schoolers, who enjoy a little variety, maybe even use the aegidian OXPs, and the griff textures, but basically operate in a world that's much like the standard one.
- The ooniverse purists, who like lots of different ships, but don't care to see a Millenium Falcon or Enterprise or Liberator gracing the spacelanes of the ooniverse.
- The gradualists, who enjoy ship variety, as long as they're not "too uber".
Making ships individually selectable, while easing download and installation, would satisfy a wider range of users, no?
Fire away, mateys!
- Lestradae
- ---- E L I T E ----
- Posts: 3095
- Joined: Tue Apr 17, 2007 10:30 pm
- Location: Vienna, Austria
.
@caracal:
Outstanding!
So many good ideas ... if I find proper (working on, that is) help, many of them might just be implemented into the future RS - the "Oolite Ships Extension".
And the detailed bug-reports are very good, too, especially the higher-lower casing ones - I can only partly find them with the verify oxp on Vista, which doesn`t care about that distinction ...
The best ideas are the automated pricing and the installer for ship packs. If there was an automated installer, I would be comfortable with the idea ...
ATM I am too embroiled in RL issues to continue work on RS - but sometime in the next months or so, it`s going to get me again, and then I`ll do something.
The installer and automated pricing/TL would have to be programmed by someone else (didn`t you say you could do it? ) as my scripting skills are never going to reach there ... but if someone does it, I`m fine with it and say, in with it!
Cheers
L
Outstanding!
So many good ideas ... if I find proper (working on, that is) help, many of them might just be implemented into the future RS - the "Oolite Ships Extension".
And the detailed bug-reports are very good, too, especially the higher-lower casing ones - I can only partly find them with the verify oxp on Vista, which doesn`t care about that distinction ...
The best ideas are the automated pricing and the installer for ship packs. If there was an automated installer, I would be comfortable with the idea ...
ATM I am too embroiled in RL issues to continue work on RS - but sometime in the next months or so, it`s going to get me again, and then I`ll do something.
The installer and automated pricing/TL would have to be programmed by someone else (didn`t you say you could do it? ) as my scripting skills are never going to reach there ... but if someone does it, I`m fine with it and say, in with it!
Cheers
L
Re: .
Glad you like it!Lestradae wrote:Outstanding!
Yes, Linux cares, so I find them (a) any time such a ship is created and (b) I'm logging stderr. And ahruman has added a to-do item to create a log file for Linux, so (b) will become a non-issue.And the detailed bug-reports are very good, too, especially the higher-lower casing ones - I can only partly find them with the verify oxp on Vista, which doesn`t care about that distinction ...
I hear ya. I happen to have a bit of time right now, but it comes and goes.ATM I am too embroiled in RL issues to continue work on RS - but sometime in the next months or so, it`s going to get me again, and then I`ll do something.
Yeah, I wouldn't have proposed them if I didn't think I could implement them.The installer and automated pricing/TL would have to be programmed by someone else (didn`t you say you could do it? ) as my scripting skills are never going to reach there ... but if someone does it, I`m fine with it and say, in with it!
As I said, the issue with the installer is portability. I've read on another thread that somebody got Python running pretty easily on their Windows (or Mac?) box, which is promising, and there are downloadable versions for both (as well as Linux/*BSD), but it seems a bit awkward to demand that somebody download a whole programming system just for one OXP installer. I'm sure I could learn enough ObjectiveC to do it in that, but the GUI would be an issue there, plus I just don't wanna. So that remains an open showstopper.
The issue with the in-game price calculation is one of having the facilities provided to the scripting interface. The impression I get is that The Team is going hammer and tongs adding new cool stuff to the ECMAScript interface, so all we can do is wait and see. And beg.
-
- Quite Grand Sub-Admiral
- Posts: 6682
- Joined: Wed Feb 28, 2007 7:54 am
Re: .
Maybe this could help. It creates executables out of Python packages and is multi platform. Kaks used it to make the Windows debug console executable:caracal wrote:As I said, the issue with the installer is portability. I've read on another thread that somebody got Python running pretty easily on their Windows (or Mac?) box, which is promising, and there are downloadable versions for both (as well as Linux/*BSD), but it seems a bit awkward to demand that somebody download a whole programming system just for one OXP installer.
http://pyinstaller.python-hosting.com
- JensAyton
- Grand Admiral Emeritus
- Posts: 6657
- Joined: Sat Apr 02, 2005 2:43 pm
- Location: Sweden
- Contact:
Re: ...
Wait, you’ve got the Orb in RS? It’s horribly buggy. I suggest getting rid of it.caracal wrote:
- orb.png -> Orb.png
- ORB.png -> Orb.png
- ORB.PNG -> Orb.png
To clarify, this means that a dictionary is either missing two <key>s, or using <string> instead of <key>. Every oddly-numbered element inside a <dict> must be a <key>.Code: Select all
.:85: element array: validity error : Element array content does not follow the DTD, expecting (array | data | date | dict | false | integer | real | string | true)*, got (key integer key integer key string string string ) </array> ^
As stated elsewhere, the (dangerous) call() method will not be available in 1.72 and later unless the Debug OXP is active.And this, which thankfully comes with a filename, and is probably a version-transition problem (with oolite, not RS):Code: Select all
2008-07-14 02:28:17.748 oolite[23530] [script.javaScript.exception.22]: ***** JavaScript exception: TypeError: this.ship.call is not a function 2008-07-14 02:28:17.748 oolite[23530] [script.javaScript.exception.22]: .../.Oolite/AddOns/Zzzz_Realistic_Shipyards_V3.02.oxp/Scripts/bweed-kestrelfalcon-falcon.js, line 29.
Yep, shipdata.plist entries without a roles entry have never been “correct”, and in 1.72 they will be struck from the ship registry (ooh). The new is_template property can be used to suppress this type of message in cases where the ship is only being used as a template via like_ship, but they will still be removed.Code: Select all
2008-06-30 12:55:13.078 oolite[14966] [shipData.load.error]: ***** ERROR: the shipdata.plist entry "centergun" specifies no roles, ignoring. 2008-06-30 12:55:13.078 oolite[14966] [shipData.load.error]: ***** ERROR: the shipdata.plist entry "monk_r_wing" specifies no roles, ignoring. 2008-06-30 12:55:13.078 oolite[14966] [shipData.load.error]: ***** ERROR: the shipdata.plist entry "monk_engine" specifies no roles, ignoring. 2008-06-30 12:55:13.079 oolite[14966] [shipData.load.error]: ***** ERROR: the shipdata.plist entry "monk_cannon" specifies no roles, ignoring. 2008-06-30 12:55:13.080 oolite[14966] [shipData.load.error]: ***** ERROR: the shipdata.plist entry "griff_spacebar_subent_template" specifies no model, ignoring. 2008-06-30 12:55:13.081 oolite[14966] [shipData.load.error]: ***** ERROR: the shipdata.plist entry "thargoid-player" specifies no roles, ignoring. 2008-06-30 12:55:13.081 oolite[14966] [shipData.load.error]: ***** ERROR: the shipdata.plist entry "monk_l_wing" specifies no roles, ignoring.
E-mail: [email protected]
Re: .
Very nice. I see they have a Mac port in development. It just might be a solution; I gave it a quick try on some scripts I have laying around and it created a not-huge binary for them. (Although it wouldn't run, but that's probably because I haven't read the docs yet. )another_commander wrote:Maybe this could help. It creates executables out of Python packages and is multi platform. Kaks used it to make the Windows debug console executable:caracal wrote:As I said, the issue with the installer is portability. I've read on another thread that somebody got Python running pretty easily on their Windows (or Mac?) box, which is promising, and there are downloadable versions for both (as well as Linux/*BSD), but it seems a bit awkward to demand that somebody download a whole programming system just for one OXP installer.
http://pyinstaller.python-hosting.com
Thanks for the link!
- Lestradae
- ---- E L I T E ----
- Posts: 3095
- Joined: Tue Apr 17, 2007 10:30 pm
- Location: Vienna, Austria
ff
@Ahruman:
Just the ship "0rb", and that one is needed as a subentity for the Navy Constitution - its not flying around on its own.
I was thinking of including the whole oxp, but after finding error within error in it decided it was beyond my capabilities to repair it, so I didn`t.
Cheers
L
No, not the Orb.oxpWait, you’ve got the Orb in RS? It’s horribly buggy. I suggest getting rid of it.
Just the ship "0rb", and that one is needed as a subentity for the Navy Constitution - its not flying around on its own.
I was thinking of including the whole oxp, but after finding error within error in it decided it was beyond my capabilities to repair it, so I didn`t.
Cheers
L
- Lestradae
- ---- E L I T E ----
- Posts: 3095
- Joined: Tue Apr 17, 2007 10:30 pm
- Location: Vienna, Austria
...
Just three weeks after going online, Realistic Shipyards V3.02 has broken through the two hundred downloads barrier!
(And yes, the twenty or so downloads from a certain broken wifi connection have been factored out of that number )
L
- Lestradae
- ---- E L I T E ----
- Posts: 3095
- Joined: Tue Apr 17, 2007 10:30 pm
- Location: Vienna, Austria
...
Download report: In 1.5 months, Realistic Shipyards Version 3.02 has reached the ...
... five hundred downloads mark and counting ...
This might even motivate me for the next upgrade ... already, new bug lists and additional ideas are mounting in my head ...
L
... five hundred downloads mark and counting ...
This might even motivate me for the next upgrade ... already, new bug lists and additional ideas are mounting in my head ...
L
Any Thoughts
Any thoughts on stripping out the Star Trek, Star Wars, and Eve (Kestrel) 'tribute' ships? I find they kind of dillute the OOexperience... (and they may have 'other' issues.)
- FSOneblin
- ---- E L I T E ----
- Posts: 460
- Joined: Tue Oct 30, 2007 12:15 am
- Location: Yes, That is True
Re: Any Thoughts
Shade wrote:Any thoughts on stripping out the Star Trek, Star Wars, and Eve (Kestrel) 'tribute' ships? I find they kind of dillute the OOexperience... (and they may have 'other' issues.)
It is possable to remove them. I'm not sure how, tho, you will have to ask the emperor.
Don't Panic: FSOneblin
Don't panic
Now an "adult!"
Now an "adult!"