Pizza Tower-Styled Afterimages

Pizza Tower-Styled Afterimages v2

luigi budd updated Pizza Tower-Styled Afterimages with a new update entry:

Customizable colors!

Yeah that's right! Customizable colors! For the afterimages!

What's new in this build?
-Added two commands to change the afterimages' colors
ptafterimagescolor1 - Changes the color of the first afterimage
ptafterimagescolor2 - Changes the color of the second afterimage
-Modified 2 commands
ptafterimageshelp - Shows the two commands from above
ptafterimagesstyle - New style added for the custom colors...

Read the rest of this update entry...
 
small bug report
putting letters in ptafterimagesstyle or active gives an error.
easiest way would be checking for the argument value (or whatever local argument value), to nil.

nevermind. the error is only for ptafterimagesactive for whatever reason.
 
small bug report
putting letters in ptafterimagesstyle or active gives an error.
easiest way would be checking for the argument value (or whatever local argument value), to nil.

nevermind. the error is only for ptafterimagesactive for whatever reason.
You need to use numbers for ptafterimagesactive.
 
luigi budd updated Pizza Tower-Styled Afterimages with a new update entry:

Custom Character Support!

Yeah that's right! We're goin' back in time to the first Thanksgiving to get Turkeys off the menu! I added better support for custom skins, so now you don't have to copy all the files now. (hopefully)

Here's how you can add Pizza Tower Afterimages to your skin!
Lua:
if not PizzaTowerAfterImagesCode
    rawset(_G, "PizzaTowerAfterImagesCode", {})
end

--[[
Copy the above into your script!

Add a PizzaTowerAfterImagesCode function somewhere in your script to spawn the afterimages...

Read the rest of this update entry...
 
how do you make the function not run if the mod is not loaded in???
Check for player.ptaiinit.
I think that should work.
Or put that little block of code on the update before any of your scripts run. SRB2 shouldn't give a nil error if you try using the function after that.
 
little problem, after images wont work?
the only other mod i have loaded is momentum v9?
srb20183.gif
 
luigi budd updated Pizza Tower-Styled Afterimages with a new update entry:

Improved Custom Character Support!

Note: If you want global afterimages, go download v1.3!

Updates:
  • Improved custom character thing. Now more similar to CC_Tricks or solchars.
  • Lua:
    //candidate system
    
    if not PizzaTowerAICandidates
        rawset(_G, "PizzaTowerAICandidates", {})
    end
    
    /*
        Add candidate for Afterimages.
        Stuff to put:
        -isspecial : Sets PTAI Specical char for that skin. Best for characters with custom dashmodes
        -cmdcustom : Allows the player's custom colors
        -skincustom : Replaces...

Read the rest of this update entry...
 

Who is viewing this thread (Total: 0, Members: 0, Guests: 0)

Back
Top