My mod

  • Luezma
    26th May 2013 Member 5 Permalink

    Hello, I did this mod, I'm new on Lua but I learn VERY FAST almost anything

    http://pastebin.com/k25sKFLE

     

    Explainations:
    -RAY: A particle that leaves SMKS, heating up it, causing FIRE and sometimes PLSM. Heats up automaticly to 10000.0 degress, expulses pressure but it is damped by SMKS.

    -PRAY: As it's descriptions say, pure RAY, does not leave SMKS or FIRE. Expulses a lot of pressure arround it.

    -GRVT: Particles alike photons that generates gravity, is an experimental particle yet.

    -GRV2: Just GRVT with a Loss of 0, suposed to be a moving black hole, experimental yet.

    -SMKS: Sparks, like BCOL but creating SMKE. Dissapears when it's life reachs 0, cools down with time.

    -KILL: Turret, particles with their own AI. Tryes to kill STKM, STK2 and FIGH. still BETA so it has {bugs}.

    -Bullet[BLET]: Used by turrets to kill, transforms to BOMB when close to them, requires KILL to work.

    -MGNT: Magnetron, laggy. Creates a beam of microwaves when sparked(conducts), does not attracts metalics particles yet. Change tmp to set the {directions}.

    -Microwave[MICR]: Generated by MGNT, dissapears fast. It has differents {interactions} with elements.

     

    BUGS: Stop detecting STKM, STK2 or FIGH if something is created before, sometimes returns working if deleting SPWN.

     

    DIRECTIONS:

    -0=right

    -1=right-up

    -2=up

    -3=left-up

    -4=left

    -5=left-down

    -6=down

    -7=right-down

    -To 0 again

     

    INTERACTIONS: Heats up about 500.0 degress under contact with IRON or BRCK. Heats up under contact with WATR because it streches water particles, I fotget to add something so it still as beta.  Sparks METL and NSCN

     

    To run it:

    -Copy the code

    -Open notepad

    -Paste and save it as autorun.lua file on the TPT folder

    -Enjoy!

     

    Hope you like

  • lapuminator
    27th May 2013 Member 1 Permalink

    @Luezma 

    Well done on the gun, also the destructivness is just right with everything. +1 :)

  • Luezma
    27th May 2013 Member 0 Permalink

    Thanks, I'll accept any suggestion

  • evsey
    21st Sep 2013 Member 0 Permalink

    Kill doesnt do anything to stickmans and fighters (installed mod in TPT script manager)

  • Luezma
    28th Sep 2013 Member 0 Permalink

    It does not actually works, I have to fix it

  • KOTOM
    29th Sep 2013 Member 0 Permalink

    BLET spams something in log, MICR does not do anything. I love RAY, it is beautiful. PRAY is strange couse it is only vertical.