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 → I worked out how to get the VectorZ of a thing Lookvec without having to fire a ghost
I worked out how to get the VectorZ of a thing Lookvec without having to fire a ghost
2001-09-13, 10:19 PM #1
Sorry for the big title , really had no other way.

Thats right I found out how to get the VectorZ of a things Lvec without needing to fire a projectile. Ask me and i'll tell you more :P
2001-09-14, 5:32 AM #2
Tell us.
-Hell Raiser
2001-09-14, 5:59 AM #3
How do you do it?

------------------
Fiction must be more realistic than truth or no one will believe it.
Author of the JK DataMaster, Parsec, Scribe, and the EditPlus Cog Files.
2001-09-14, 7:31 AM #4
His ego raises...

------------------
http://millennium.massassi.net/ - Millennium
2001-09-14, 10:38 AM #5
and i have this sickening fear it will continue to rise........
roses are red, violets are blue, I am schizophrenic, and I am too!
2001-09-14, 1:06 PM #6
[sarcasm]
Oh Siefer, mighty god of cog!

Please bless us with your immeasurable knowledge and wisdom!
[/sarcasm]

What kind of prat posts a message saying he's worked something out and then doesn't even mention the solution? [http://forums.massassi.net/html/rolleyes.gif] Sheesh!

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
2001-09-14, 1:29 PM #7
The reason is I'M STILL PERFECTING IT RAYNAR
2001-09-14, 2:39 PM #8
LOL! [http://forums.massassi.net/html/biggrin.gif] So you haven't worked it out after all, but you've got an idea on how to do it. Care to post this idea?

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
2001-09-14, 6:22 PM #9
Sure thing my friend

Althought it's not perfect

If you get a things Look vec

Then use SetThingLook(player, Vectorset(vectorx(lvec), vectory(lvec), vectorz(lvec) + 0.1);

It would make him look up a bit and stand on his heals, now if you get the look vec now it will have VectorZ on it.

Then simply store that and use

SetThingLook(player, Vectorset(vectorx(lvec), vectory(lvec), vectorz(lvec) - 0.1);

and then reatattch him to the ground to make his heels flat again.


It should work like that, i haven't treied it yet thou.
2001-09-14, 6:57 PM #10
It sounds like VectorZ will return 0.1.

------------------
http://millennium.massassi.net/ - Millennium
2001-09-14, 7:56 PM #11
Not if you start doing it at the start of the level or if you fire a projectile ONCE to get the current lvec.
2001-09-15, 5:10 AM #12
Interesting, but if you tried to use this approach in a guided missile or sniper rifle with a 0.01 pulse your player will be doing an odd little shuffle dance. I was hoping to hear you solved it using trigonometry. [http://forums.massassi.net/html/wink.gif]
- Wisdom is 99% experience, 1% knowledge. -
2001-09-15, 10:41 AM #13
might make it a little strange but then in the readme you could say that kyle has an overactive bladder and can barely hold it
roses are red, violets are blue, I am schizophrenic, and I am too!

↑ Up to the top!