Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsCog Forum → Maths in cogs?
Maths in cogs?
2002-02-20, 6:35 PM #1
During maths when i got bored i started thinking 'bout cogs (i hadnt even opened a cog for over 10 days) and wondered what sort of math could be done in cogs if we wanted to. Though i wonder if it would be worth doing it.
2002-02-20, 7:34 PM #2
Like, working math calculations just for the purpose of doing the math? Probably not worth doing. There are much better and simpler ways.

------------------
Have Lightsaber Will Travel JK Editing tips, troubleshooting information, resources and more.
www.swgalaxies.net For all your Star Wars Galaxies needs
The Massassi A SW Galaxies Player Association
Have Lightsaber Will Travel JK Editing tips, troubleshooting information, resources and more.
www.swgalaxies.net For all your Star Wars Galaxies needs
The Massassi A SW Galaxies Player Association
2002-02-20, 8:42 PM #3
you can add multiply subtract devide, you cant do root functions, you might be able to figure out a way to do Sin Cos Tan...ect.....its really not practical
I'm just an old man with a skooma problem.
2002-02-20, 11:27 PM #4
A great way to do sin cos tan is by using sin cos and tan, respectively [http://forums.massassi.net/html/smile.gif]

It's the inverse trig functions that aren't available.
Dreams of a dreamer from afar to a fardreamer.
2002-02-20, 11:54 PM #5
just an idea that i got, just thought ill post it and see if its worth it.
2002-02-21, 7:41 AM #6
hmm..fardreamer...so there is a way to get sin cos tan? Interesting...we could create reflective projectiles (reflecting more than twice) if we took the vector of the proj and the surf normal of the wall, then divide the vectordot by the vectordot of the absolute values, which would result the cos of the angle. Argg, we need invcos here.
"Häb Pfrässe, süsch chlepfts!" - The coolest language in the world (besides Cherokee)
2002-02-21, 11:34 AM #7
Why don't you create a JK Calculator room. Set up a large room with all the calculator buttons - Kyle then runs around pressing buttons to enter the figures and your cog then displays the answer [http://forums.massassi.net/html/biggrin.gif]

Raynar


------------------
... the Jedi I admire the most, met up with Darth Maul, now he's toast ...
Rbots - a project to develop a working Bot for Jedi Knight... download the latest development version here
Pagewizard_YKS: "making your own lightsaber doesn't make you a nerd... "
Raynar - the man with a 10.75" ePenis
2002-02-21, 12:30 PM #8
I had an idea once. To make a mod, with 15 or so hotkeys. (Hmm, that might not be possible.. Oh well) Which would be assigned to the numerical keypad on your keyboard. Pressing one of those buttons would send a trigger to a main cog, that would run the actual calculations, and output the answer to the console.

------------------
Success is the inverse relationship between effort, gain, and loss.
And when the moment is right, I'm gonna fly a kite.
2002-02-21, 6:49 PM #9
heh
2002-02-21, 9:37 PM #10
You need arccos for any sort of angle calculations, since the only way to retrieve angles is with the dot product.

An easy way to work around this problem, while not perfect, is to make predefined settings for angels, i.e.

if (ThingViewDot(a, b) <= -0.9) angle = 180;
Dreams of a dreamer from afar to a fardreamer.

↑ Up to the top!