ULX

Author Topic: Pluging into Spraymesh  (Read 2014 times)

0 Members and 1 Guest are viewing this topic.

Offline LuaTenshi

  • Hero Member
  • *****
  • Posts: 545
  • Karma: 47
  • Just your ordinary moon angel!
    • Mirai.Red
Pluging into Spraymesh
« on: March 04, 2016, 12:24:59 AM »
Hello, everyone I have recently created a sort of context menu plugin for Spraymesh. This is in no way a release because I would like to add much more to this, but if any one wants to use it in its current state they can find it here... https://gist.github.com/LuaTenshi/2a32e660ade31b5474fb

The above also contains a context menu builder function I created a long time ago, feel free to use it in your projects. (I should probably make a lib of some sort.)
Screenshot attached.


Next Planned Spraymesh Plugin...
Instead of showing you that cat picture on your first spray it will open a GUI box telling you about spraymesh and asking you to give a URL as well as giving you the ability to choose some presets.

I also plan to make a context menu plugin for SprayURL
« Last Edit: March 04, 2016, 12:33:09 AM by LuaTenshi »
I cry every time I see that I am not a respected member of this community.

Offline roastchicken

  • Respected Community Member
  • Sr. Member
  • *****
  • Posts: 476
  • Karma: 84
  • I write code
Re: Pluging into Spraymesh
« Reply #1 on: March 04, 2016, 04:16:09 AM »
Looks really nice! One question though: Do the context menus always show, or is there a command you can use to turn them off? Looking at the code it looks it's activated by right clicking, but I woke up too recently for my brain to be completely trustworthy yet :p

I love SprayMesh and it's always great to see people making great things for it.
Give a man some code and you help him for a day; teach a man to code and you help him for a lifetime.

Offline LuaTenshi

  • Hero Member
  • *****
  • Posts: 545
  • Karma: 47
  • Just your ordinary moon angel!
    • Mirai.Red
Re: Pluging into Spraymesh
« Reply #2 on: March 04, 2016, 01:57:13 PM »
Looks really nice! One question though: Do the context menus always show, or is there a command you can use to turn them off? Looking at the code it looks it's activated by right clicking, but I woke up too recently for my brain to be completely trustworthy yet :p

I love SprayMesh and it's always great to see people making great things for it.

You hold C (to bring up the context menu stuff) and then just right click on the spray you want to get info about.
I cry every time I see that I am not a respected member of this community.

Offline Bletotum

  • Newbie
  • *
  • Posts: 1
  • Karma: 1
Re: Pluging into Spraymesh
« Reply #3 on: March 04, 2016, 03:06:55 PM »
spraymesh creator guy here

just wanted to say thanks; i'm too busy to add features like this right now so it's nice to see good scripts made for it