new element help

  • Tasha04
    24th Sep 2017 Member 0 Permalink

    hey, im needing some help on making my own element for my mod, i did the coding and everything but what do i do next, do i open the powder toy or what?

  • zaccybot2
    24th Sep 2017 Member 0 Permalink

    Using lua or c++?

  • QuanTech
    24th Sep 2017 Member 0 Permalink
    @Tasha04 (View Post)
    Once you've coded some stuff, you must consult the wiki for compiling guides. To get a final working executable you can run, you need to compile the source code and convert it into the executable.
  • Tasha04
    24th Sep 2017 Member 0 Permalink

    @zaccybot2 (View Post)

     im using VS [visual studio] becuase the wiki told mee to use it

     

    @QuanTech (View Post)

     yea but how do i do that?

    Edited 2 times by Tasha04. Last: 24th Sep 2017
  • zaccybot2
    24th Sep 2017 Member 0 Permalink

    I'm assuming you either used the premade project, or followed the guide to set it up for yourself. In either of these cases, just go into the build menu at the top and select build solution. You will find your executable in the \build directory. 

    Edited once by zaccybot2. Last: 24th Sep 2017
  • Tasha04
    24th Sep 2017 Member 0 Permalink

    @zaccybot2 (View Post)

    i used the premade one, where the heck is the build mode

    Edited once by Tasha04. Last: 24th Sep 2017
  • zaccybot2
    24th Sep 2017 Member 0 Permalink

    @Tasha04 (View Post)

     on visual studio, open up the solution, and look at the top where the toolbar is (file, edit, view, etc.) One of these will say build. The top entry in this menu is "build solution".

  • Tasha04
    24th Sep 2017 Member 0 Permalink

    @zaccybot2 (View Post)

     but where is the solution

  • zaccybot2
    24th Sep 2017 Member 0 Permalink

    @Tasha04 (View Post)

     the file you downloaded,  the premade solution. 

    Not to come across as rude here, but what changes have you made which you now want to compile to test? Have you used visual studio before? You just seem to be a little unsure on some things and if that is the case, I'm not convinced coding for the powder toy is the best way to start...

    Edited 2 times by zaccybot2. Last: 24th Sep 2017
  • Tasha04
    24th Sep 2017 Member 0 Permalink

    @zaccybot2 (View Post)

     no i have not used it yet but its just i want to try it out

     

    EDIT: nothing named build solution is there

    Edited 2 times by Tasha04. Last: 24th Sep 2017