Library...

LightStriker

New Member
Reaction score
1
I was just wondering if someone put up a library (.mod) of useful stuff... Like some missing math and such.

I've checked quickly on battle.net and found nothing.

Since I'm building my own (Hate to work without a normalize function around), I was wondering if there isn't an already existing solution, and if not, some people would be interrested?
 
Well, please indulge me, what kinds of math functions are in SC2 and what ones are missing that would be useful to add?
 
Well, please indulge me, what kinds of math functions are in SC2 and what ones are missing that would be useful to add?

Normalize, Cross product, Dot Product, rotation, clamp/min/max...
Couple of constant like Pi, VectorI-J-K.

I also use Global To Local and Local To Global which is sometime useful to find a vector (point) relative to a specific object orientation instead of world orientation.

Since I'm a noob with Galaxy, they might be all there already and I haven't found them yet. Wouldn't be the first time it happens. :D
 
Well, Pi is just 3.14159265(...). So, it's not really needed to put it in. But I can see where it'd be helpful. I suppose you'd also want to put e(uler's constant) in there as well.
 
Well, Pi is just 3.14159265(...). So, it's not really needed to put it in. But I can see where it'd be helpful. I suppose you'd also want to put e(uler's constant) in there as well.

Yup, exactly.
But you know, not everybody remember the Pi as precisly as you.

As myself, I got for 3.14159. Can't manage to remember beyond that. :D
 
Most people just use google :p

"pi to 100 digits"

3.1415926535 8979323846 2643383279 5028841971 6939937510 5820974944 5923078164 0628620899 8628034825 3421170679

Alternatively you can just use the formulae for pi if you can find one that suits your needs.


However i'd love a library if anyone does one please make a big shout about it.

It'd be also nice if the simple stuff that alot of people might use was added.

I.e. Timers that count up which is simply create timer 0:00 then loop pause wait 1 second +1 unpause.

Move Players to Team 1/2/3

:rolleyes: I'm actually out of ideas but you know which ones I mean.
 
Actually, I could make something for teams ;) An in-game team selection via dialogs...
 
Actually, I could make something for teams ;) An in-game team selection via dialogs...

I thought of that but it might lead to the problem of people all trying to be on the same team.

So maybe have a have a option do you want to be on a team with.

"Don't care", "Player 1,2,3,4,5,6,7,8,9,10..."

It's a bit more complex but allows friends to play together.
 
Well, it would be really nice to have something like this because in some games, even if I move my friend (from my party) up to my "team" we still end up playing against each other. And I think this is because Player 2 is actually the SECOND player to join the game. Which makes no sense >_<
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    News portal has been retired. Main page of site goes to Headline News forum now
  • The Helper The Helper:
    I am working on getting access to the old news portal under a different URL for those that would rather use that for news before we get a different news view.
  • Ghan Ghan:
    Easily done
    +1
  • The Helper The Helper:
    https://www.thehelper.net/pages/news/ is a link to the old news portal - i will integrate it into the interface somewhere when i figure it out
  • Ghan Ghan:
    Need to try something
  • Ghan Ghan:
    Hopefully this won't cause problems.
  • Ghan Ghan:
    Hmm
  • Ghan Ghan:
    I have converted the Headline News forum to an Article type forum. It will now show the top 20 threads with more detail of each thread.
  • Ghan Ghan:
    See how we like that.
  • The Helper The Helper:
    I do not see a way to go past the 1st page of posts on the forum though
  • The Helper The Helper:
    It is OK though for the main page to open up on the forum in the view it was before. As long as the portal has its own URL so it can be viewed that way I do want to try it as a regular forum view for a while
  • Ghan Ghan:
    Yeah I'm not sure what the deal is with the pagination.
  • Ghan Ghan:
    It SHOULD be there so I think it might just be an artifact of having an older style.
  • Ghan Ghan:
    I switched it to a "Standard" article forum. This will show the thread list like normal, but the threads themselves will have the first post set up above the rest of the "comments"
  • The Helper The Helper:
    I don't really get that article forum but I think it is because I have never really seen it used on a multi post thread
  • Ghan Ghan:
    RpNation makes more use of it right now as an example: https://www.rpnation.com/news/
  • The Helper The Helper:
  • The Helper The Helper:
    What do you think Tom?
  • tom_mai78101 tom_mai78101:
    I will have to get used to this.
  • tom_mai78101 tom_mai78101:
    The latest news feed looks good

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top