More advanced CRAY (and clones)

  • Alec_the_Martin
    23rd Feb 2013 Member 0 Permalink
    I don't know how difficut it would be to program, but what if there were a new variable on elements? The new variable would be a string of commands that gives the properties that a cray would give to its printed particles. I'm picturing just a string of commands like "temp:1200 ctype:watr" And the cray would put in whatever it's supposed to like what happens now, except the temp of the placed particle will be 1200 and its ctype would be water. If you wanted to have a cray that prints out wifi on a certain channel, just type in the new variable slot "temp:" then the temp corresponding to the channel. It would probably be easier for channels if the cray printed particles at the same temp as the cray, like what aray does. The new variable slot would be useful for having some mechanism that places clne that clones specific items (the cray's ctype would be clne and its string command would be "ctype:element"). It could place a cray with a determined tmp and ctype. This would allow for the mechanisms in the game to be much more advanced and machines that build useful machines could be made. If you don't understand what I mean, just ask. Sometimes I can be difficult to understand. Basically, my idea is a new variable reached through the property edit tool that you fill with the variables you want a cloned or placed item to have.
  • boxmein
    23rd Feb 2013 Former Staff 0 Permalink
    @Alec_the_Martin (View Post)
    I made ERAY just for that. I have it on my mod but it may be a bit difficult to run. :(
  • Alec_the_Martin
    23rd Feb 2013 Member 0 Permalink
    Does it work well? Could it someday be a part of the official game?
  • boxmein
    23rd Feb 2013 Former Staff 0 Permalink
    @Alec_the_Martin (View Post)
    It works flawlessly and I am hoping it to become a part of the official game, but I made a badly formatted pull request because of my ill knowledge with Git and lack of fore-thinking. I also used a sort of complicated system of "mnemonic" ctype values for CRAY to determine what kind of property it edits, e.g. it uses ctype BIZR for it to change deco colour (because BIZR paints other elements as well), FIRE for temperature (because if you say temperature hot might be the first thing to come to mind) and so on. The code is fairly simple though.

    Do try it out yourself though on my mod :D
    (Chances are you won't need the VS C++ redistributable)
    image
    if you ever get my mod, the save is here:
  • Alec_the_Martin
    25th Feb 2013 Member 0 Permalink
    Sorry it's been a while -- I've been busy with a new project. How do you save mods?
  • boxmein
    25th Feb 2013 Former Staff 0 Permalink
    @Alec_the_Martin (View Post)
    Follow the tutorial on my mod page.