Houston I have some big problems !!!@ please help

General discussion for players of Oolite.

Moderators: winston, another_commander

User avatar
Capt. Murphy
Commodore
Commodore
Posts: 1127
Joined: Fri Feb 25, 2011 8:46 am
Location: UK South Coast.

Re: Houston I have some big problems !!!@ please help

Post by Capt. Murphy »

MEGALODON wrote:
If all the ships were amalgamated into one oxp that would probably create a memory nightmare.

Also re star wars I love the falcon but it comes with kestral too if I delete the models for the kesteral and delete the lines of config for the kesterel only would that just put the falcon in ?
Yep - one of the reasons that realistic shipyards is a bad idea.....

A less dramatic way to disable the kestrel is again to just change it's roles entry to something like roles = "not_used_ever"; This will be unrecognised by the core game code so will be ignored and unless another OXP script is trying to spawn ships with this role (unlikely to say the least) you should never see the ship as an NPC in the game.
[EliteWiki] Capt. Murphy's OXPs
External JavaScript resources - W3Schools & Mozilla Developer Network
Win 7 64bit, Intel Core i5 with HD3000 (driver rev. 8.15.10.2696 - March 2012), Oolite 1.76.1
User avatar
SandJ
---- E L I T E ----
---- 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: Houston I have some big problems !!!@ please help

Post by SandJ »

Capt. Murphy wrote:
[A less dramatic way to disable the kestrel is again to just change it's roles entry to something like roles = "not_used_ever"; This will be unrecognised by the core game code so will be ignored and unless another OXP script is trying to spawn ships with this role (unlikely to say the least) you should never see the ship as an NPC in the game.
The Condor OXP uses the kestrels from the Kestrel&Falcon OXP as escorts. (I have no idea whether changing the role would prevent this.)
Flying a Cobra Mk I Cobbie 3 with nothing but Explorers Club.OXP and a beam laser 4 proper lasers for company :D
Dropbox referral link 2GB of free space online + 500 Mb for the referral: good for securing work-in-progress.
MEGALODON
Dangerous
Dangerous
Posts: 74
Joined: Thu Feb 23, 2012 3:53 am

Re: Houston I have some big problems !!!@ please help

Post by MEGALODON »

I wonder if there's two seperate folders for the falcon and kesterel I thought of just deleting the sections in the script that refers to them kind of to make a stand alone version of the falcon. Like with the starwars one its set up so you can pick and choose what you want
User avatar
SandJ
---- E L I T E ----
---- 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: Houston I have some big problems !!!@ please help

Post by SandJ »

MEGALODON wrote:
I wonder if ...
Try changing the role like Capt. Murphy suggested and report back whether it works. That would be good practice for editing an OXP and testing the changes.
Flying a Cobra Mk I Cobbie 3 with nothing but Explorers Club.OXP and a beam laser 4 proper lasers for company :D
Dropbox referral link 2GB of free space online + 500 Mb for the referral: good for securing work-in-progress.
MEGALODON
Dangerous
Dangerous
Posts: 74
Joined: Thu Feb 23, 2012 3:53 am

Re: Houston I have some big problems !!!@ please help

Post by MEGALODON »

Roger that thanks actually I thought a lot about that idea and thought hmm probably a safer way to turn it off because since I don't know what I'm doing perfectly I might cause a bug that would really cause catastrophic behaviour
User avatar
SandJ
---- E L I T E ----
---- 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: Houston I have some big problems !!!@ please help

Post by SandJ »

MEGALODON wrote:
Roger that thanks actually I thought a lot about that idea and thought hmm probably a safer way to turn it off because since I don't know what I'm doing perfectly I might cause a bug that would really cause catastrophic behaviour
It is a tiny change that is easily made, easily tested and may do what you want.

if you want to get into writing OXPs, you need to start small and achievable and this will give you the chance to check out your plist editor, get into testing and some recognition of the syntax in use in the files.

Trust me, nobody will die, empires will not fall, a new form of flu will not be created and you will not wipe out all the data on your PC.

Go for it. Be brave. Take that step. Make that change. Grow. Develop. Learn. Be that Commander that Goes For It.
Flying a Cobra Mk I Cobbie 3 with nothing but Explorers Club.OXP and a beam laser 4 proper lasers for company :D
Dropbox referral link 2GB of free space online + 500 Mb for the referral: good for securing work-in-progress.
Post Reply