how on earth is this possible ???? & re: realistic shipyards
Moderators: winston, another_commander
how on earth is this possible ???? & re: realistic shipyards
Dear Commanders
Now some of you are familiar with my discussions about coming up with a transponder Iff that adds a registrations is of the ship like on grs and asteroid miners.
Interesting glitch perhaps I've never seen this happen before but it sometimes does when I is lock and it will say
Cobra mk NL54, (November Lima)
A cobra mk iii OG 24 (Oscar Golf) to the right of the reticle where it would display bounty.
Interesting happening and yes I have registration id oxp...
I did check the code to see how this is figured out but its Greek to me.
I would come up probably with an array of 26 letters of where each ship would have a transponder id displaying when you lock the Target. The one limitation to registration is is it only works on the original core ships but I'm wondering if all ships could have this cool feature.
Any chance of enhancing the normal his with caution lights red for destroyed yellow for damaged. Nothing fancy but FS (fuel scoops), EEU (EXTRA energy unit), WDI (witch drive inj) just to remind us pilots that these systems are damaged.
Just a quick thought or two....
Oh re realistic shipyards very interesting idea.
Now it says its broken so is it still in that state has anyone found it to work?
Next question what is the better version of Oo-haul and zz-oo-haul should both be in? I again am curious
Now some of you are familiar with my discussions about coming up with a transponder Iff that adds a registrations is of the ship like on grs and asteroid miners.
Interesting glitch perhaps I've never seen this happen before but it sometimes does when I is lock and it will say
Cobra mk NL54, (November Lima)
A cobra mk iii OG 24 (Oscar Golf) to the right of the reticle where it would display bounty.
Interesting happening and yes I have registration id oxp...
I did check the code to see how this is figured out but its Greek to me.
I would come up probably with an array of 26 letters of where each ship would have a transponder id displaying when you lock the Target. The one limitation to registration is is it only works on the original core ships but I'm wondering if all ships could have this cool feature.
Any chance of enhancing the normal his with caution lights red for destroyed yellow for damaged. Nothing fancy but FS (fuel scoops), EEU (EXTRA energy unit), WDI (witch drive inj) just to remind us pilots that these systems are damaged.
Just a quick thought or two....
Oh re realistic shipyards very interesting idea.
Now it says its broken so is it still in that state has anyone found it to work?
Next question what is the better version of Oo-haul and zz-oo-haul should both be in? I again am curious
vampire issues
Re vampires again, are they able to carry energy bombs only one I could get to work is when I bought a salvaged one from a salvage gang and is there something I can change in the spawning logic to affect the chances of encountering them so often as far as a ratio goes. Just to keep the variety and I think the reaper variant should be available to the player for a huge number of credits..
Tech level should have a bearing on it and gal cop has more in the fleet then just those boosts which I
Vipers to which I rarely see now. I figure gal cop has more access to those than civilians.
Could the designer please advise or have an oxp folder in their download or have a full vampire oxp mki to mkiv purgatory and everything.
I'm not sure if by having three or four vampire related folder oxps is causing them to appear nearly all the time.
Having this looked into would be appreciated.
Tech level should have a bearing on it and gal cop has more in the fleet then just those boosts which I
Vipers to which I rarely see now. I figure gal cop has more access to those than civilians.
Could the designer please advise or have an oxp folder in their download or have a full vampire oxp mki to mkiv purgatory and everything.
I'm not sure if by having three or four vampire related folder oxps is causing them to appear nearly all the time.
Having this looked into would be appreciated.
- SandJ
- ---- E L I T E ----
- Posts: 1048
- Joined: Fri Nov 26, 2010 9:08 pm
- Location: Help! I'm stranded down here on Earth!
Re: how on earth is this possible ???? & re: realistic shipy
MEGALODON,
Please, before clicking on 'Submit', go back and read what you have written. Some of those sentences are only half complete and others make no sense at all. You do yourself an injustice by not selling your ideas and suggestions properly. Because you are not spending a few extra moments describing them clearly, it comes across that they are not clearly thought out. But I am sure there are some good ideas in there.
For example:
And regarding this thread's title:
Some (most?) of the most important and helpful people on this forum do not have English as their first language and they must be really struggling hard to understand what you are saying.
Seriously, do yourself and your ideas a favour and spend a little more time composing your messages. I know you are excited and keen, but don't spoil your good thinking with poor presentation. It would be a shame for your great ideas to be lost because you did not tidy them up.
Please, before clicking on 'Submit', go back and read what you have written. Some of those sentences are only half complete and others make no sense at all. You do yourself an injustice by not selling your ideas and suggestions properly. Because you are not spending a few extra moments describing them clearly, it comes across that they are not clearly thought out. But I am sure there are some good ideas in there.
For example:
MEGALODON wrote:a transponder Iff that adds a registrations is of the ship like on grs and asteroid miners.
Is that a bug report? What is the problem? How does one reproduce it?MEGALODON wrote:Interesting glitch perhaps I've never seen this happen before but it sometimes does when I is lock and it will say
Cobra mk NL54, (November Lima)
A cobra mk iii OG 24 (Oscar Golf) to the right of the reticle where it would display bounty.
Interesting happening and yes I have registration id oxp...
Eh?MEGALODON wrote:Next question what is the better version of Oo-haul and zz-oo-haul should both be in? I again am curious
The sentence just stopped.MEGALODON wrote:Tech level should have a bearing on it and gal cop has more in the fleet then just those boosts which I
What does that mean? You are having the ships appear, just not in the proportions you would like. The OXP is working, it is nothing to do with the directory structure in that OXP.zip being different from some of the other OXP.zip files.MEGALODON wrote:Could the designer please advise or have an oxp folder in their download or have a full vampire oxp mki to mkiv purgatory and everything.
I'm not sure if by having three or four vampire related folder oxps is causing them to appear nearly all the time.
And regarding this thread's title:
what does it refer to? How on earth is what possible?MEGALODON wrote:how on earth is this possible ???? & re: realistic shipyards
Some (most?) of the most important and helpful people on this forum do not have English as their first language and they must be really struggling hard to understand what you are saying.
Seriously, do yourself and your ideas a favour and spend a little more time composing your messages. I know you are excited and keen, but don't spoil your good thinking with poor presentation. It would be a shame for your great ideas to be lost because you did not tidy them up.
Flying a Cobra Mk I Cobbie 3 with nothing but Explorers Club.OXP and a beam laser 4 proper lasers for company
Dropbox referral link 2GB of free space online + 500 Mb for the referral: good for securing work-in-progress.
Dropbox referral link 2GB of free space online + 500 Mb for the referral: good for securing work-in-progress.
Re: how on earth is this possible ???? & re: realistic shipy
Ok the reference to how is this possible refers to the iff when you lock a Target like an auto miner which has a designation of two letters and a number. When I locked up one of the core ships it had the registry I'd similar to that I'm not sure how it happened?
Sorry I try to carefully think out my thoughts but my Android is frustrating as I can't see the full screen and then the cursor goes to a different spot and it takes minutes sometimes to get back to where I was.
I apologize for this. This bulletin board is different interface wise so I'm still getting fully used to it.
Yes you are right I am a major dreamer thinker type person and at times I can scatter its only to avoid missing sharing my train of thought and when i have to go back after noticing a mistake sometimes that key thought is lost.
I'll work on doing that better sorry for any inconvienience sometimes (oops forgive spelling previous word please) when my net cuts out it screws with my sentences and sometimes I don't notice.
Sorry I try to carefully think out my thoughts but my Android is frustrating as I can't see the full screen and then the cursor goes to a different spot and it takes minutes sometimes to get back to where I was.
I apologize for this. This bulletin board is different interface wise so I'm still getting fully used to it.
Yes you are right I am a major dreamer thinker type person and at times I can scatter its only to avoid missing sharing my train of thought and when i have to go back after noticing a mistake sometimes that key thought is lost.
I'll work on doing that better sorry for any inconvienience sometimes (oops forgive spelling previous word please) when my net cuts out it screws with my sentences and sometimes I don't notice.
Re oohaul and zz-oohaul oxps
There are two oohaul related oxps and I was wondering which one is the latest version because some oxps call for the weird named one. The realistic shipyards makes reference to having it be required, and that's what that post was about
-
- Quite Grand Sub-Admiral
- Posts: 6667
- Joined: Wed Feb 28, 2007 7:54 am
Re: how on earth is this possible ???? & re: realistic shipy
Here is an example script that will assign ID numbers in the format XX-1234 to ships' display names:MEGALODON wrote:Ok the reference to how is this possible refers to the iff when you lock a Target like an auto miner which has a designation of two letters and a number.
Code: Select all
this.name = "shipIDScript";
this.author = "another_commander";
this.copyright = "© 2007–2009 the Oolite team.";
this.description = "Adds ID in the format XX-1234 to ships' display name.";
this.version = "1.75";
this.license = "CC-by-NC-SA 3.0";
this.randRange = function(intFrom, intTo, intSeed)
{
// This function written by Ben Nabel, taken from
// http://www.bennadel.com/blog/199-Ask-Ben-Creating-Large-Random-Strings-In-Javascript.htm
// Make sure that we have integers.
intFrom = Math.floor(intFrom);
intTo = Math.floor(intTo);
// Return the random number.
// Seed the random number if a value was passed.
return (Math.floor(intFrom + ((intTo - intFrom + 1) * Math.random((intSeed != null) ? intSeed : 0 ))));
}
this.shipSpawned = function (ship)
{
if (ship && !ship.isPlayer)
{
// the below is a shameless hack, there has to be a better way of doing this
// construct a random XX-1234 type ID - note: check for duplicate IDs not implemented
if (!ship.isRock && ship.primaryRole != "rockhermit" && ship.primaryRole != "buoy" && ship.primaryRole != "wreckage" &&
!ship.isThargoid && !ship.isWeapon)
{
ship.displayName = ship.displayName + " ";
for (var i = 0; i < 2; i++)
{
var idc = this.randRange(65,90); // 'A' to 'Z'
ship.displayName = ship.displayName + String.fromCharCode(idc);
}
ship.displayName = ship.displayName + "-" + this.randRange(1000,9999);
}
}
}
- 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:
Re: how on earth is this possible ???? & re: realistic shipy
That's no reference. Nothing in the sentence "how on earth is this possible" gives any clue to what you are referring.MEGALODON wrote:Ok the reference to how is this possible refers to the iff when you lock a Target like an auto miner which has a designation of two letters and a number.
I can understand how frustrating it must be to read and write big chunks of text on a phone. Therefore, may I offer a suggestion? Try to keep your posts short and to the point. Raise only one issue in one post, and if you start a new thread, give it a title that makes it immediately clear what issue the thread is about.MEGALODON wrote:Sorry I try to carefully think out my thoughts but my Android is frustrating as I can't see the full screen and then the cursor goes to a different spot and it takes minutes sometimes to get back to where I was.
If you want to say two or three different things, make two or three different posts, one on each subject. And each one of them can be short and to the point. If there is a meaningful subject to each post, nobody will accuse you of entry-pimping.
One last suggestion: if your post is about a specific OXP, it makes sense to search the boards for a thread about that OXP. For instance, many OXPs have their own development thread. And then, instead of starting a new thread each time, post to the development thread you have found. Many OXP makers are watching the development threads of their OXPs closely, so you increase your chances that the OXP maker will reply.
Now to answer you question of how it is possible that ships have individual names or numbers: each ship has a
name
property and a displayName
property. These are variables that can be changed by OXP. See for instance randomshipnames.oxp, which gives individual names to (almost) every ship in the Ooniverse. Re: Another CMDRs script example
Dear Another Commander....
Very cool.
So if I made an oxp folder called it TransID.oxp made another folder named config and put that in as a plist running Oolite would now assign a Trans ID when you target any ship entity?
When I've looked at the various plist files. It almost looks like a QuickTime file ? at least that's the icon it gives those files...
This is extremely helpful as this would be needed for another oxp that I'm basically getting sound files recorded for ambience related aspects.
If I may use this and test it I would appreciate it of course when the full oxp is released I will not forget you helping me with it.
Just curious how long did this take for you to create?
Very cool.
So if I made an oxp folder called it TransID.oxp made another folder named config and put that in as a plist running Oolite would now assign a Trans ID when you target any ship entity?
When I've looked at the various plist files. It almost looks like a QuickTime file ? at least that's the icon it gives those files...
This is extremely helpful as this would be needed for another oxp that I'm basically getting sound files recorded for ambience related aspects.
If I may use this and test it I would appreciate it of course when the full oxp is released I will not forget you helping me with it.
Just curious how long did this take for you to create?
-
- Quite Grand Sub-Admiral
- Posts: 6667
- Joined: Wed Feb 28, 2007 7:54 am
Re: Another CMDRs script example
Yes, you can make an OXP folder and a Config folder as you describe - note the capitalization though, it's Config, with a capital C - then you copy the contents of the above script inside a file named script.js and save the file in the Config folder of the OXP. Restarting Oolite will give ships ID designations. There is a better way of doing it involving the script being set up as worldscript, but this is a bit more complicated and the 'quick and dirty' solution would be OK to get you going until you have a chance to dive into OXPing a bit further. The license of the script allows reuse for non-commercial purposes, so you are fine taking it and using it in your own OXPs.MEGALODON wrote:Dear Another Commander....
Very cool.
So if I made an oxp folder called it TransID.oxp made another folder named config and put that in as a plist running Oolite would now assign a Trans ID when you target any ship entity?
When I've looked at the various plist files. It almost looks like a QuickTime file ? at least that's the icon it gives those files...
This is extremely helpful as this would be needed for another oxp that I'm basically getting sound files recorded for ambience related aspects.
If I may use this and test it I would appreciate it of course when the full oxp is released I will not forget you helping me with it.
Just curious how long did this take for you to create?
As for how long it took to make, let's see... about 10 minutes googling to find the borrowed randRange code, 5 minutes for the rest and maybe another 10 to test it all. 25 minutes total. Oh, and many weeks of online tutorials and reading up on JavaScript before that, since I only got to know about JavaScript while fiddling with Oolite.