Author Topic: Got some problem with Requirements and XP  (Read 6119 times)

BeLugh

  • Jr. Member
  • **
  • Posts: 85
    • View Profile
Re: Got some problem with Requirements and XP
« Reply #15 on: August 05, 2014, 01:53:07 pm »
I have tried to add more asteroids to have more diversity, as i want to use 16 resources to mine. The resources/ores are working great.
But when i add another asteroid it hangs on loading savegames/creating a new world

I found that the asteroids are created in systempresets.js

e.g. CSGen.CreateAsteroidsByPrefix es( args, {rock:10, ice:1}, 4, 1, 3 );

can you please tell me what the 4, 1 and 3 represents?
right now i would guess it has like 3 rings from the star. it places 10*3 rocky asteroids and 1x*3 in the inner or outer one.... and then 10*1 rocky 1*1 icy etc...

Can you please tell me if its possible to add more asteroids to the game, if yes what do i have to do after adding them to the asteroids folder with a new id?

Lurler

  • AtomicTorch Founder
  • Hero Member
  • *****
  • Posts: 1174
    • View Profile
Re: Got some problem with Requirements and XP
« Reply #16 on: August 05, 2014, 07:18:22 pm »
To answer your questions:
We'd like to add experience for trading but such system isn't yet possible. But will likely be added in the future.
As for how asteroids are generated, unfortunately I have no idea :)
Maybe someone else from the team can answer that here.

BeLugh

  • Jr. Member
  • **
  • Posts: 85
    • View Profile
Re: Got some problem with Requirements and XP
« Reply #17 on: August 06, 2014, 12:48:16 am »
Do you know who coded the asteroid function? So i can ask him directly if he does not answer here.
I would really like to add more asteroids (i was going to have 10xrock 3xice 3xlava in total)

BeLugh

  • Jr. Member
  • **
  • Posts: 85
    • View Profile
Re: Got some problem with Requirements and XP
« Reply #18 on: August 06, 2014, 02:20:54 pm »
Adding more asteroids works, my msitake was that i had a typo in scale of asteroid 7 and i always tried to have at least asteroid 7 added... ;)

Btw i found the function for creating asteroids, its in CSGen