Sprays

Sprays 1.1

BuckleyTim

Member
Modder
Mar 24, 2024
43
37
530
In the arena!
BuckleyTim submitted a new mod:

Sprays - Adds a TF2-Like spray system to Mario 64!

View attachment 5325

View attachment 5326

SPRAYS:

  • Spray with dpad_down to graffiti all over any eligible wall!
  • mario version of jet set radio sfx to accompany the tagging
  • default spray is [character]: it will conform to your lives icon, it's compatible with Character Select and will conform to custom lives icon used in that as well!
  • a few other basegame sprays as well (including my good friend Finn (i trapped him in...

Read more about this mod...
 
You should have been more clearer with how to make custom sprays. Like i dont know where to put the code exactly. It was very vaguely explained
 
You should have been more clearer with how to make custom sprays. Like i dont know where to put the code exactly. It was very vaguely explained
Ah, sorry. There's an example Lua file for adding the code needed to recognize any texture files you add, open that up and it should show you how to add new ones.
 
Ah, sorry. There's an example Lua file for adding the code needed to recognize any texture files you add, open that up and it should show you how to add new ones.
But i mean where in that lua file. Also if it supposed to be in main.lua or api lua.
 
But i mean where in that lua file. Also if it supposed to be in main.lua or api lua.
Ah! Sorry about that. The additional code can go in that file or a new seperate one (or even a separate mod) as the code itself checks if the spray mod exists in the modloader before trying to add the new spray. hope that helps.
 
Ah! Sorry about that. The additional code can go in that file or a new seperate one (or even a separate mod) as the code itself checks if the spray mod exists in the modloader before trying to add the new spray. hope that helps.
it seems to not work. this seem to be only possible to people that knows how to handle lua files
Don't double post! Use that edit button! Post automatically merged:

wait if i type {name = 'name of spray', texture = get_texture_info("name of spray")}, just under
--add spray textures

spray_table = { -- add new custom sprays here
{name = 'finn', texture = get_texture_info("spray_finn")},
{name = 'warger', texture = get_texture_info("spray_warger")},
{name = 'trollface', texture = get_texture_info("spray_trollface")},
{name = 'retro', texture = get_texture_info("spray_retro")},
{name = 'bup', texture = get_texture_info("spray_bup")},
in the main.lua file it worked
Don't double post! Use that edit button! Post automatically merged:

also how large can a spray be in pixels?
 
Last edited:
Hm... I notice one issue. You can place as many of the sprays as you want down. So, you could in theory cover a whole wall with the spray. Which... I can't imagine would be good for performance. So, someone could potentially grief the server by overloading the game with sprays.

Perhaps a limit could be added at some point? But then again, if there is no potential slowdown issues. Then I guess it's fine.
 
it seems to not work. this seem to be only possible to people that knows how to handle lua files
Don't double post! Use that edit button! Post automatically merged:

wait if i type {name = 'name of spray', texture = get_texture_info("name of spray")}, just under
--add spray textures

spray_table = { -- add new custom sprays here
{name = 'finn', texture = get_texture_info("spray_finn")},
{name = 'warger', texture = get_texture_info("spray_warger")},
{name = 'trollface', texture = get_texture_info("spray_trollface")},
{name = 'retro', texture = get_texture_info("spray_retro")},
{name = 'bup', texture = get_texture_info("spray_bup")},
in the main.lua file it worked
Don't double post! Use that edit button! Post automatically merged:

also how large can a spray be in pixels?
uh oh... my coding must've been wrong

[i made the API]

show me how you're trying to use the API
 
Nice mod. Would be cool if the spray sounds played to other players and have the API extended to also support custom spray sounds per spray or fall back to default if not given.
 
Last edited:
BuckleyTim updated Sprays with a new update entry:

1.1 (Character Select 1.16+ graffiti compatibility)

This is very late to the party, but I'm updating the sprays mod to support CS 1.16+ compatibility regarding graffiti. CS Graffiti is now the default spray type, though 'livesicon' has been added to the spray type list and will work as it did in 1.0 if you select it. I believe this mod is still compatible with versions before 1.16, but to be on the safe side I'd update CS to the latest version before using it with this mod.

Hope I didn't break anything with this, lol.

Read the rest of this update entry...
 

Users who are viewing this thread