Search found 55 matches

by marsrocks
Thu Nov 01, 2012 6:28 pm
Forum: Shipyards
Topic: With 50+ images -one selected randomly?
Replies: 16
Views: 6950

Re: With 50+ images -one selected randomly?

It looks like x and y won't accept variables. That leaves me with copy and paste, which is fine, I guess, unless anyone has any other ideas.
by marsrocks
Thu Nov 01, 2012 6:21 pm
Forum: Shipyards
Topic: With 50+ images -one selected randomly?
Replies: 16
Views: 6950

Re: With 50+ images -one selected randomly?

also tried removing the beginning and ending parentheses with same result.
by marsrocks
Thu Nov 01, 2012 6:15 pm
Forum: Shipyards
Topic: With 50+ images -one selected randomly?
Replies: 16
Views: 6950

Re: With 50+ images -one selected randomly?

Oops - ran it again like this - also defaulted Y to 0.

<Image imageID="&rsRanStation;" imageX="0" imageY="((subtract (multiply (rollDice 1 3) 128) 128))" imageWidth="128" imageHeight="128" />
by marsrocks
Thu Nov 01, 2012 6:13 pm
Forum: Shipyards
Topic: With 50+ images -one selected randomly?
Replies: 16
Views: 6950

Re: With 50+ images -one selected randomly?

I also tried substituting your formula directly into the code - and it also just defaulted the Y coordinate back to zero in the test:


<Image imageID="&rsRanStation;" imageX="0" imageY="(setq imgY (subtract (multiply (rollDice 1 3) 128) 128))" imageWidth="128" imageHeight="128" />
by marsrocks
Thu Nov 01, 2012 6:09 pm
Forum: Shipyards
Topic: With 50+ images -one selected randomly?
Replies: 16
Views: 6950

Re: With 50+ images -one selected randomly?

Cygnus - thank you for that attempt!

I plugged it into my experiment - but unfortunately, it came back with the error:

attribute value must be quoted.

So, I then tried putting the variable in quotes:

imageY="imgY"

but it just defaulted the Y coordinate back to zero.
by marsrocks
Thu Nov 01, 2012 5:40 pm
Forum: Shipyards
Topic: With 50+ images -one selected randomly?
Replies: 16
Views: 6950

With 50+ images -one selected randomly?

If I have a very large number of image variants (like 50, 100, 500 or more), do I still have to list each image variant location out separately under <image variants> or is there a way to fill in the X and Y coordinates with randomly generated numbers? For instance, instead of this: <ImageVariants> ...
by marsrocks
Wed Oct 10, 2012 11:55 pm
Forum: Shipyards
Topic: UNID Database
Replies: 564
Views: 421398

Re: UNID Database

|0xDABA|marsrocks|
by marsrocks
Tue Oct 09, 2012 5:04 pm
Forum: Shipyards
Topic: UNID Database
Replies: 564
Views: 421398

Re: UNID Database

|0xDDBN|marsrocks|

Please.

:D
by marsrocks
Sun Sep 30, 2012 1:30 pm
Forum: Mod Announcements
Topic: PM's mods
Replies: 408
Views: 2026180

Re: PM's mods

PM, Thank you!!!! It works perfectly now.

Wow! This mod is absolutely awesome!!!

Great job!!!!!
by marsrocks
Sat Sep 29, 2012 9:10 pm
Forum: Mod Announcements
Topic: PM's mods
Replies: 408
Views: 2026180

Re: PM's mods

Hello - I am really excited about the mod "Auton Assembly Hangar." I am running transcendence v 1.08g with the latest release of the mod from xelerus. I just bought the auton assembly hangar - but it is not working correctly for me. I press the button to use it, and it shows my items in the cargo ho...