In an attempt to run before I can walk (still haven't got to grips with wings3d) I was wondering how these new shaders work from a texture and scripting point of view.
I've downloaded shady cobra and freaky thargoids and I just don't get it - sorry.
Is there a definite thread I could be pointed at to read up on the nitty gritty of texturing and scripting for the shader?
Finally, some time over a year ago Littlebear created a tiny oxp that with a bit of jiggery-pokery made sure that one of your ships was sat just outside the station when you launched. I have searched but cannot find. Again, could somebody shove me in the right direction of the thread or reproduce the details here.
TIA
DaddyH
EDIT: D'oh! have just found: https://bb.oolite.space/viewtopic.php?t=3460&start=0 will investigate but may be back with question later!
Shaders - help required
Moderators: winston, another_commander
- DaddyHoggy
- Intergalactic Spam Assassin
- Posts: 8515
- Joined: Tue Dec 05, 2006 9:43 pm
- Location: Newbury, UK
- Contact:
Shaders - help required
Last edited by DaddyHoggy on Sun Jun 08, 2008 10:16 pm, edited 1 time in total.
Oolite Life is now revealed hereSelezen wrote:Apparently I was having a DaddyHoggy moment.
- LittleBear
- ---- E L I T E ----
- Posts: 2882
- Joined: Tue Apr 04, 2006 7:02 pm
- Location: On a survey mission for GalCop. Ship: Cobra Corvette: Hidden Dragon Rated: Deadly.
Just need to put this in a Script file:-
A ship with the role "my_test_ship" will be added near the w/p everytime you jump anywhere. Give you ship the role "my_test_ship" then it'll be spawned by the w/p. If there is something wrong with your code though (for the ship) then it may not appear and you'll get an error report in the stdrr.
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>testship</key>
<array>
<dict>
<key>conditions</key>
<array>
<string>status_string equal STATUS_EXITING_WITCHSPACE</string>
</array>
<key>do</key>
<array>
<string>addShipsWithinRadius: my_test_ship 1 wpm 0 0 4000 10000</string>
</array>
</dict>
</array>
</dict>
</plist>
OXPS : The Assassins Guild, Asteroid Storm, The Bank of the Black Monks, Random Hits, The Galactic Almanac, Renegade Pirates can be downloaded from the Elite Wiki here.
- DaddyHoggy
- Intergalactic Spam Assassin
- Posts: 8515
- Joined: Tue Dec 05, 2006 9:43 pm
- Location: Newbury, UK
- Contact:
Much appreciated LB.
I'm now reading through Griff's shader explanation and I have to admit, I'm scared, excited, but definitely scared - I haven't got a hope!
I'm now reading through Griff's shader explanation and I have to admit, I'm scared, excited, but definitely scared - I haven't got a hope!
Oolite Life is now revealed hereSelezen wrote:Apparently I was having a DaddyHoggy moment.
- 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: Shaders - help required
You wanted the ship outside the station, not after the next jump. There are two ways to achieve that:DaddyHoggy wrote:Finally, some time over a year ago Littlebear created a tiny oxp that with a bit of jiggery-pokery made sure that one of your ships was sat just outside the station when you launched. I have searched but cannot find. Again, could somebody shove me in the right direction of the thread or reproduce the details here.
(1) change two lines in LB's code: STATUS_LAUNCHING instead of STATUS_EXITING_WITCHSPACE and "addSystemShips: my_test_ship 1 1" instead of the addShipsWithinRadius.
(2) and much easier: Install Debug.oxp, which adds a nice Debug-menu to Oolite, which contains the entry "Create Ship...". Click on that (or use the keyboard-shortcut), and enter the role of the ship you want to spawn in the pop-up box. The ship will be spawned close to the station. And you can repeat that as much as you want, with any role you want, without having to restart the game and edit a plist.
- DaddyHoggy
- Intergalactic Spam Assassin
- Posts: 8515
- Joined: Tue Dec 05, 2006 9:43 pm
- Location: Newbury, UK
- Contact:
@Cmdr M - now that sounds like an excellent oxp - this game/life has come on leaps and bounds since I was involved last time!
Oolite Life is now revealed hereSelezen wrote:Apparently I was having a DaddyHoggy moment.