Page 9 of 460

Posted: Tue May 20, 2008 10:50 pm
by Kaks
pagroove wrote:
Hi Kaks,

Do you have to include the file extension .png after the name?
yep!
pagroove wrote:
addons/Sytem-Redux.oxp/textures
AddOns/Sytem-Redux.oxp/Textures should be the directory you need!
pagroove wrote:
Both things don't work
is the function case sensitive?
yes, and afaik it's spelled exactly the way you typed it.

It's all very strange!
pagroove wrote:
Shall I send the texture to you? Maybe you can include it for me?
Sure, just PM me with instructions on how to grab the texture, and I should be able to send you back a 'planet_redux pagroove limited edition'.oxp fairly quickly! :D

Posted: Wed May 21, 2008 5:06 am
by Wolfwood
pagroove wrote:
Hi Kaks,

Do you have to include the file extension .png after the name?
Because it still doesn't work.
Just make sure that you are not using the idiotic Windows (in you are a Windows user) feature "hide known extensions" on file names. If you are doing that, you may easily have a file name with a double extension like: "picture.png.png" which will throw off your code.

Posted: Wed May 21, 2008 6:40 am
by CaptKev
@pagroove, if you still haven't got it working, cut & past this code to your script.js. Rename Lave.png to home_planet17.png

Edit: Removed code example

Posted: Wed May 21, 2008 9:41 am
by JensAyton
Kaks wrote:
addons/Sytem-Redux.oxp/textures
should be the directory you need!
That should be “AddOns/System-Redux.oxp/Textures”. Directory names are also case-sensitive. :-) (This generally only matters under Linux, though.)

Posted: Wed May 21, 2008 12:44 pm
by Kaks
Ok, ok, I put the right capitalization, it might cause strange problems in linux & some macs otherwise! :)
That'll learn me to quote without using [ quote ]! :D

Posted: Wed May 21, 2008 4:51 pm
by pagroove
I like the way the code always goes 'flying' on this forum :D

But I will try some of the code posted here.

@ Kaks
If it doesn't work send the texture to you tomorrow. But I first have to release Standard Station Textures OXP 1.21. Griff looked at the spelling mistakes in my text for the WIKI as I am not a native English speaker or writer.

But Lave is just the first of a series of 'famous' planets of Galaxy 1. Maybe this could be little add on for the System Redux basic package.

But now lets get back to posting more screenshots (sorry for the slight off-topic)

Posted: Wed May 21, 2008 5:04 pm
by ovvldc
There is already a Lave OXP. I trust you made it sure it does not conflict? Or perhaps it is better to put the Lave-specific stuff in a revised Lave OXP (if the original author agrees)?

Best wishes,
Oscar

Posted: Wed May 21, 2008 6:15 pm
by CaptKev
@pagroove, creating a separate OXP for famous planets might be preferable to extending System Redux.

Have a look at Famous Planets and let me know how you get on.

Posted: Wed May 21, 2008 7:31 pm
by pagroove
Hi, Capt. Kev.

Good work!. It's useful! And thnx for this. I also think that's the best structure. Ii't try it when I get home


But let's get back to the screenshots!

Posted: Wed May 21, 2008 10:44 pm
by pagroove
@CaptKev about the famous Planets OXP script file:

It's working but I don't know how.

I thought the system ID for lave (or system number was 7?) Also in the line iIsee .png without a filename. How does the script know that this is famous_planet1.png???

Also if I change the number in the filename to for example famous_planet100.png then the system redux texture is loaded so is the number in the filename an ID? :?:

or is the function the first funtion called famous planet and if I want to call it Lave I must rename the function itself???

I'm very lost. I'm a real beginner in this code thing.

We probably have to open a seperate topic for this cause this is very off-topic.

So to the Others, just keeping posting screenies. :shock:

Posted: Thu May 22, 2008 7:28 am
by CaptKev
@pagroove, glad it's working.

I renumbered the system id's from 1 - 256 (as on the Wiki page) to make it a bit easier for you to find the required system.

this.system_info[galaxyNumber * 256 + system.ID] returns the texture number, with a prefix of famous_planet and a postfix of .png you get the full texture filename.

The texture in System Redux will be used if there's a zero in the array.

Example: If you wanted to add a new texture for Zaonce, change the array element at 130 on the first line to 2 then create a texture called famous_planet2.png

Posted: Sat May 24, 2008 3:51 pm
by pagroove
Image

8)

One picture before I move away from Lave again

Posted: Sat May 24, 2008 3:53 pm
by Frame
pagroove wrote:
http://www.snabbtorkande.com/fotos/lave3.jpg

8)

One picture before I move away from Lave again
Thats cool, but that moon, is: if we go by the fan fiction, litterd with hydrogen factories... as read in Status Quo

Posted: Sat May 24, 2008 4:23 pm
by pagroove
Just tested the famous planet together with the Lave OXP. It works on 171.1 8) together

Posted: Sat May 24, 2008 4:26 pm
by Svengali
@pagroove: That makes appetite for more :-)