Debuging and qualifying my f... OXP
Moderators: winston, another_commander
- McDjanoff
- Competent
- Posts: 33
- Joined: Fri Apr 16, 2010 11:13 am
- Location: Space Bars or somewhere in space
Debuging and qualifying my f... OXP
Hello,
I am exploring the OXP world and made some tests with.
My problem is to qualify the OXP.
I've read many wiki entries and forums but don't found what I seek. There is an interesting debug.oxp, the logginf capacity of oolite itself, but not so well documented.
I think experienced OXPers have some recipes to verify how their OXP works.
Could you please expose your methods to help me ?
Regards,
B.
I am exploring the OXP world and made some tests with.
My problem is to qualify the OXP.
I've read many wiki entries and forums but don't found what I seek. There is an interesting debug.oxp, the logginf capacity of oolite itself, but not so well documented.
I think experienced OXPers have some recipes to verify how their OXP works.
Could you please expose your methods to help me ?
Regards,
B.
"In the space bar, the barbarians of all races"
- Killer Wolf
- ---- E L I T E ----
- Posts: 2279
- Joined: Tue Jan 02, 2007 12:38 pm
- Smivs
- Retired Assassin
- Posts: 8408
- Joined: Tue Feb 09, 2010 11:31 am
- Location: Lost in space
- Contact:
Re: Debuging and qualifying my f... OXP
Hi McDjanoff,McDjanoff wrote:Hello,
I am exploring the OXP world and made some tests with.
My problem is to qualify the OXP.
I've read many wiki entries and forums but don't found what I seek. There is an interesting debug.oxp, the logginf capacity of oolite itself, but not so well documented.
I think experienced OXPers have some recipes to verify how their OXP works.
Could you please expose your methods to help me ?
Regards,
B.
So you've made an OXP and you want to know how to test it, is that right?
Probably a good start is to load it into your AddOns folder and actually play it to start with.
It might help a bit if you could give some more details, as this may affect how you test it. For instance is it a new ship, or variation on an existing one? Is it a mission? Is it some eye-candy to make Oolite look prettier?
If you can give us a better idea what you're doing, someone here will probably be able to help you out.
Regards,
Smivs.
Commander Smivs, the friendliest Gourd this side of Riedquat.
- McDjanoff
- Competent
- Posts: 33
- Joined: Fri Apr 16, 2010 11:13 am
- Location: Space Bars or somewhere in space
Hello,
Thank you for your anwers.
For my first OXP, I follow the tutorial found on the wiki : http://wiki.alioth.net/index.php/OXP_tutorial and work from ACDK's OXP : illicit unlock.
My goal is to fly with vessels not found on the market or some uniq models based on Griff's works as illicit unlock does, but with a better chance to found them.
So I've made duplicate illicit unlock directory, some haks on shipdata.plist and shipyard.plist and deploy the result in AddOns.
I code the same chance as for Adder, Python or Cobra MKI.
The logs indicate that oolite have took the OXP, but I never see one of my vessel proposed on the market.
I think there is something which don't work properly, and I don't want to spend too many hours in try and test if I can monitor my OXP process by oolite.
Regards,
B.
NB :
In my future projects I would like to have some better radar and hud functions as switching target, better target follow-up, display more informations ans so on ...
I would like also select the container to eject. A lot of small points in fact.
Thank you for your anwers.
For my first OXP, I follow the tutorial found on the wiki : http://wiki.alioth.net/index.php/OXP_tutorial and work from ACDK's OXP : illicit unlock.
My goal is to fly with vessels not found on the market or some uniq models based on Griff's works as illicit unlock does, but with a better chance to found them.
So I've made duplicate illicit unlock directory, some haks on shipdata.plist and shipyard.plist and deploy the result in AddOns.
I code the same chance as for Adder, Python or Cobra MKI.
The logs indicate that oolite have took the OXP, but I never see one of my vessel proposed on the market.
I think there is something which don't work properly, and I don't want to spend too many hours in try and test if I can monitor my OXP process by oolite.
Regards,
B.
NB :
In my future projects I would like to have some better radar and hud functions as switching target, better target follow-up, display more informations ans so on ...
I would like also select the container to eject. A lot of small points in fact.
"In the space bar, the barbarians of all races"
- Smivs
- Retired Assassin
- Posts: 8408
- Joined: Tue Feb 09, 2010 11:31 am
- Location: Lost in space
- Contact:
The frequency of ships at shipyards is determined by the 'Chance' entry near the top of the shipyard.plist. This also determines the frequency of equipment fitted. The higher the number the more likely the ship is to appear. It is also dependent on Tech Level (near the bottom of the shipyard.plist). A lower number here will increase the frequency by making the ship available at more planets.McDjanoff wrote:Hello,
Thank you for your anwers.
For my first OXP, I follow the tutorial found on the wiki : http://wiki.alioth.net/index.php/OXP_tutorial and work from ACDK's OXP : illicit unlock.
My goal is to fly with vessels not found on the market or some uniq models based on Griff's works as illicit unlock does, but with a better chance to found them.
So I've made duplicate illicit unlock directory, some haks on shipdata.plist and shipyard.plist and deploy the result in AddOns.
I code the same chance as for Adder, Python or Cobra MKI.
The logs indicate that oolite have took the OXP, but I never see one of my vessel proposed on the market.
You can already cycle through the cargo to decide what to eject. Use 'R' (Shift-r) to cycle through the cargo, then 'd' to eject what you've selected.McDjanoff wrote:NB :
In my future projects I would like to have some better radar and hud functions as switching target, better target follow-up, display more informations ans so on ...
I would like also select the container to eject. A lot of small points in fact.
Commander Smivs, the friendliest Gourd this side of Riedquat.
- Disembodied
- Jedi Spam Assassin
- Posts: 6885
- Joined: Thu Jul 12, 2007 10:54 pm
- Location: Carter's Snort
You can switch between targets now, using the Multi-Targeting System and the Target System Memory Upgrade.McDjanoff wrote:In my future projects I would like to have some better radar and hud functions as switching target, better target follow-up, display more informations ans so on ...
- McDjanoff
- Competent
- Posts: 33
- Joined: Fri Apr 16, 2010 11:13 am
- Location: Space Bars or somewhere in space
I've read the wiki documentation about "Chance" and "Tech Level" entries , but I completely miss the Cargo Cycle command.Smivs wrote:
The frequency of ships at shipyards is determined by the 'Chance' entry near the top of the shipyard.plist. This also determines the frequency of equipment fitted. The higher the number the more likely the ship is to appear. It is also dependent on Tech Level (near the bottom of the shipyard.plist). A lower number here will increase the frequency by making the ship available at more planets.
[...]
You can already cycle through the cargo to decide what to eject. Use 'R' (Shift-r) to cycle through the cargo, then 'd' to eject what you've selected.
Thank you for your help Smivs.
Regards,
B.
"In the space bar, the barbarians of all races"
- McDjanoff
- Competent
- Posts: 33
- Joined: Fri Apr 16, 2010 11:13 am
- Location: Space Bars or somewhere in space
Correct me if I am wrong, but you may cycle between already acquired targets, and you can't select target class as ennemies, cargo or all to scan the surround ?Disembodied wrote:You can switch between targets now, using the Multi-Targeting System and the Target System Memory Upgrade.McDjanoff wrote:In my future projects I would like to have some better radar and hud functions as switching target, better target follow-up, display more informations ans so on ...
I'll get a try next play time and thanks for your help.
Regards,
B.
"In the space bar, the barbarians of all races"
- McDjanoff
- Competent
- Posts: 33
- Joined: Fri Apr 16, 2010 11:13 am
- Location: Space Bars or somewhere in space
This is what I name a good recipe :
Regards,
B.
How can I have missed that ???Ahruman wrote:Oolite has what amounts to a spell checker for shipdata.plist, called the OXP verifier. It can currently only be invoked from the command line.
On Windows or Linux:On Mac OS X:Code: Select all
oolite.app/oolite --verify-oxp <path to OXP>
Code: Select all
Oolite.app/Contents/MacOS/Oolite --verify-oxp <path to OXP>
Regards,
B.
"In the space bar, the barbarians of all races"
- Disembodied
- Jedi Spam Assassin
- Posts: 6885
- Joined: Thu Jul 12, 2007 10:54 pm
- Location: Carter's Snort
No, you're right, you have to choose your targets manually, but once they're selected you can store them and select others, and then swap between the targets that you've picked. And you can't automatically select all cargo canisters as targets, or all enemies.McDjanoff wrote:Correct me if I am wrong, but you may cycle between already acquired targets, and you can't select target class as ennemies, cargo or all to scan the surround ?
I'll get a try next play time and thanks for your help.
Regards,
B.
- Disembodied
- Jedi Spam Assassin
- Posts: 6885
- Joined: Thu Jul 12, 2007 10:54 pm
- Location: Carter's Snort
- 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:
- McDjanoff
- Competent
- Posts: 33
- Joined: Fri Apr 16, 2010 11:13 am
- Location: Space Bars or somewhere in space
Get my first OXP works ! but ....
Hello,
I've succeed to have my first OXP working. I thank every body for the help.
I can now fly with 'illicit vessels' which have no other interest than my curiosity.
During the tests, I've got a weird thing : the change I've made don't take effect at the next reload of the game as there is a persistant layer keeping the old data. I've seek for a cache or similar thing and don't ffind anything.
Is the normal way of working for Oolite app ?
Regards,
B.
I've succeed to have my first OXP working. I thank every body for the help.
I can now fly with 'illicit vessels' which have no other interest than my curiosity.
During the tests, I've got a weird thing : the change I've made don't take effect at the next reload of the game as there is a persistant layer keeping the old data. I've seek for a cache or similar thing and don't ffind anything.
Is the normal way of working for Oolite app ?
Regards,
B.
"In the space bar, the barbarians of all races"
- JensAyton
- Grand Admiral Emeritus
- Posts: 6657
- Joined: Sat Apr 02, 2005 2:43 pm
- Location: Sweden
- Contact:
Yes, there is a cache. It is refreshed if the immediate contents of the AddOns folder change, but not if OXP contents change. Hold down shift during startup to flush it (or use the always-flush-cache hidden setting).
E-mail: [email protected]