Lua Element Creation Help

  • RAYZR
    25th May 2012 Member 0 Permalink

    Ok so I am a complete noob when it comes to Lua, and know almost nothing about it. In fact, I can't even remember how to open the console. Anyway, I need help with the creation of an element. I am trying to change OIL into NPLM, and have very specific details it needs to meet. Here are my list of properties it should have.

     

    - It needs to ignite at high temperatures, about 1000.

     

    - It needs to stick to solids, flaming or not.

     

    - It needs to sit on top of all types of water and remain burning.

     

    - It needs to be difficult to put out.

     

    - I would like it to spawn in the explosives menu.

     

    - I also would like it to be a very heavy liquid.

     

    At some point it would be nice if it actually made a future update.

     

    I know I want alot, but if someone could help me or give me a script code for something similar, It would be greatly appreciated.

  • mniip
    26th May 2012 Developer 0 Permalink
    lua.org/pil
    then look api on wiki
    if you're smart you'll get all that in a week or 2