Page 2 of 2

Re: Asteroidia mod [req] [idea]

Posted: Sat Jul 01, 2017 5:33 am
by meems
Holyfeck it works !
Can't quite believe I've got something to work, even if it was just following what others were telling me to do.
Thanks for help Veden. You can have a job on the staff of Astroidia any time.

So on dev day #16, Astroidia has taken its 1st step forward. can't help think it would have been better to get a modder to do it, in like 16 seconds. But we got there.

Now onto task #2, set 'always daytime' = True.

As with godmode, even a noob like me can find in a few seconds how to set 'eternal day' from the console

Code: Select all

game.surfaces[1].always_day=true
but will this work in a mod script?

edit:

Answer : yes

Worked 1st time. Stuck it in on_player_created function.
Can't believe a noob like me who takes 16 days to implement his 1st goal can implement his 2nd goal within seconds of trying.

Now onto task #3. Create space tile.
Dunno which way to go about this one, would it be best to create a new tile entry, or should I mod the water tile? I guess modding the water tile would be easiest since I haven't created a terrain tile b4.

Re: Asteroidia mod [req] [idea]

Posted: Sun Jul 02, 2017 7:03 am
by featherwinglove
Maybe try copying water tile code and renaming it to start on your space tile. I have a feeling that modding the water tile will do strange things to Nauvis.