Phlogiston

  • cyberdragon
    11th May 2013 Member 0 Permalink

    W.I.P 

    I hate github, and you really don't want my messed up ElementClasses files (just add the standard declarations and functionupdates) so here: 

     

    http://pastebin.com/ZR4SsBpd

     

    I'm still working on it and will post about any major changes. Also, please tell me about what to change/add.

    EDIT: added code to extinguish ignition cord, added code to extinguish fuse (somewhat effective, may need imporvement)

    EDIT: lowered diffusion

     

    Operational Parameters:

    - tmp = 0 fire extinguisher

    - tmp = 1 or ctype(fire) makes it flamable with oxygen

    - ctype(smke) makes it turn to smoke with CO2

    - tmp2 = 1 makes it decay after contact (normal properties still function)

     

    normal pixal radius is 1 (killzone, conversion zone)

     

    pixal radius for kill plant, fix iron, and automatic property transfer is 4

     

    extinguisher pixal radius is 2

     

    Also, I need help with the automatic property transfer because it will only work once.

  • cyberdragon
    15th May 2013 Member 0 Permalink

    Bump. I need feedback. I'm chewing my nails wondering if you like it. I need to know of any improvements. (bite-bite-chomp-chomp-gnaw-gnaw)

     

     

     

    Mr.Giggles

  • NF
    15th May 2013 Member 0 Permalink

    Nice code by the way if the mythical category it would be in there right?

  • fireball5000
    15th May 2013 Member 0 Permalink
    I get this error: "Filenamehere" "Unexpected symbol near '/' "
  • cyberdragon
    15th May 2013 Member 0 Permalink

    On what line?

  • edza101
    15th May 2013 Member 0 Permalink

    @cyberdragon (View Post)

     This might just be me but when I run generator.py it doesnt seem to insert 

    static int update(UPDATE_FUNC_ARGS);

    In the ElementClasses.h files. This might be your updating problem. Try adding it manually ...

  • cyberdragon
    16th May 2013 Member 0 Permalink

    No, I already did that, It wouldn't work otherwise. If you mean the property transfer, no, it's actually coded to only detect a one way change, I don't know how to make it go back. If it was set to go both ways then when it goes to change it would change both ways and get stuck in an alternating loop. I need to prevent that somehow (a master particle?)

  • TPTROXRLYITSTRUE
    16th May 2013 Banned 0 Permalink
    This post is hidden because the user is banned
  • cyberdragon
    17th May 2013 Member 0 Permalink

    I don't know any lua. I might have a lua compiler lurking somewhere though.