Library...

LightStriker

New Member
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?
 

Sevion

The DIY Ninja
Well, please indulge me, what kinds of math functions are in SC2 and what ones are missing that would be useful to add?
 

LightStriker

New Member
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
 

Sevion

The DIY Ninja
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.
 

LightStriker

New Member
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
 

Cheekything

New Member
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.
 

Cheekything

New Member
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.
 

Sevion

The DIY Ninja
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.
  • Ghan Ghan:
    The old shoutbox wasn't supported anymore. We updated xenForo, so it had to be replaced.
  • jonas jonas:
    let's see if everyone finds it... the nice thing about the shoutbox was I could check on it even while logged out, but the existence of this one is hidden when you're not logged in
  • Ghan Ghan:
    We can fix that.
  • Ghan Ghan:
    Chat should show on the sidebar when not logged in now.
  • Ghan Ghan:
    (You'll still need to log in to post messages)
  • Ghan Ghan:
    Test!
  • tom_mai78101 tom_mai78101:
    I must be in a test server.
  • tom_mai78101 tom_mai78101:
    Nice, Twitter tweets embedding now works
  • Wizard Wizard:
    Yup.
  • Ghan Ghan:
    Excellent.
  • Ghan Ghan:
    @tom_mai78101 Hello there.
  • Ghan Ghan:
    Tagging works in the chat too.
  • tom_mai78101 tom_mai78101:
    @Ghan Missed it.
  • Wizard Wizard:
    Still fixing things here and there. Added widgets to the portal, will make it match the ones here on the forum index tomorrow.
  • Ghan Ghan:
    The venerable World Editor Tutorials site has been converted to HTTPS at last.
  • jonas jonas:
    cool
  • jonas jonas:
    and I can even edit my messages, nice
  • seph ir oth seph ir oth:
    GENERAL CHIT CHAT, YOU ARE A BOLD ONE
  • Ghan Ghan:
    Hello there
  • The Helper The Helper:
    this new chatbox is great and the forum software update is great too
    +1
  • The Helper The Helper:
    upgrade has fixed forum registration spam problem
  • tom_mai78101 tom_mai78101:
    Something tells me we might be able to customize the chatbox a bit, considering that there's a gap under every message.
  • Wizard Wizard:
    Going to deploy a fix soon, just had to take some time for myself this weekend.
  • Varine Varine:
    Unbelievable. Time for yourself? How dare you!

    Members online

    No members online now.

    Affiliates

    Hive Workshop
    Top