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 → Switching poses...
Switching poses...
2001-11-17, 5:50 AM #1
Would somebody make me a cog that would be used as a hotkey. The hotkey would change saber satances every time you press it. Like if you press it once you hold your saber one way, press it again changes how you hold it. I need it to cycle trhough about 5 stances. If this is possible please let me know.

------------------
Ohh Crap! - Darien Fawkes (The Invisible Man)
Ohh Crap! - Darien Fawkes (The Invisible Man)
2001-11-17, 11:21 AM #2
It's possible....now all you need are 5 different saber stances.

------------------
-There are easier things in life than finding a good woman, like nailing Jello to a tree, for instance

-Tazz
-There are easier things in life than finding a good woman, like nailing Jello to a tree, for instance

Tazz
2001-11-17, 11:53 AM #3
I am still finishing the last saber stance. I thought of if way this could be done if somebody would do it for me. Make a cog the when activated changes the puppet so it will cycle through 5 puppets. Thanks!

------------------
Ohh Crap! - Darien Fawkes (The Invisible Man)
Ohh Crap! - Darien Fawkes (The Invisible Man)
2001-11-17, 1:52 PM #4
This should do the trick... [http://www.plauder-smilies.com/spiny.gif]

Code:
# 11/2001 GBK
Symbols
Message Activated
Thing Player		Local
Int Lock=0		Local
End
Code
Activated:
Player = Getlocalplayerthing();
If(Lock==4) { 
Parsearg(Player, "puppet=Newpup0.pup"); Lock=0; }
Else If(Lock==0) { 
Parsearg(Player, "puppet=Newpup1.pup"); Lock=1; }
Else If(Lock==1) { 
Parsearg(Player, "puppet=Newpup2.pup"); Lock=2; }
Else If(Lock==2) { 
Parsearg(Player, "puppet=Newpup3.pup"); Lock=3; }
Else If(Lock==3) { 
Parsearg(Player, "puppet=Newpup4.pup"); Lock=4; }
Stop;
End


 

It should work, but I didnt test it.



------------------
Success is the inverse relationship between effort, gain, and loss.
And when the moment is right, I'm gonna fly a kite.
2001-11-17, 2:42 PM #5
Two questions... 1, do I have to define all the Lock Symbols? 2, what do the quotes mean?

------------------
Ohh Crap! - Darien Fawkes (The Invisible Man)
Ohh Crap! - Darien Fawkes (The Invisible Man)
2001-11-17, 3:24 PM #6
I tried it... but nothing happened. I probably don't know what I'm talking about but doesn't the cog need flags to work?

------------------
Ohh Crap! - Darien Fawkes (The Invisible Man)
Ohh Crap! - Darien Fawkes (The Invisible Man)
2001-11-17, 3:41 PM #7
Yes, you have to define the stuff the quotes, those are your 5 pups, that contain your 5 saber stances.

------------------
Success is the inverse relationship between effort, gain, and loss.
And when the moment is right, I'm gonna fly a kite.
2001-11-17, 4:16 PM #8
hmm... how would u make the different saber stances?
-------------------------
May-The-Force-Be-With-U
2001-11-17, 6:26 PM #9
With PuppetJedi. A key making program.

------------------
Ohh Crap! - Darien Fawkes (The Invisible Man)
Ohh Crap! - Darien Fawkes (The Invisible Man)
2001-11-18, 3:48 AM #10
Ok, say my five puupets were... ky.pup gr.pup sa.pup r2.pup and ug.pup. These arn't my real puppets I know this would look rediculous. What exctly would I put for those five puppets? I defined everything and still got nothing.

------------------
Ohh Crap! - Darien Fawkes (The Invisible Man)
Ohh Crap! - Darien Fawkes (The Invisible Man)
2001-11-18, 8:06 AM #11
Those filenames would replate the 'Newpup' dummy filenames in the cog. Like I said, I didnt test the cog, Im not sure if it actully works.

------------------
Success is the inverse relationship between effort, gain, and loss.
And when the moment is right, I'm gonna fly a kite.
2001-11-19, 2:42 AM #12
It may also be done with PlayKey and JKPlayPOVKey rather than changing the entire pup file.



------------------
http://millennium.massassi.net/ - Millennium
2001-11-20, 2:07 AM #13
Would you please give me the cog for that. The puppet cog doesn't seem to work.

------------------
Ohh Crap! - Darien Fawkes (The Invisible Man)
Ohh Crap! - Darien Fawkes (The Invisible Man)
2001-11-20, 5:48 AM #14
I don't have it [http://forums.massassi.net/html/smile.gif]

In the puppet cog you had to make all those new pup files mentioned and I wonder if you've placed the cog properly to get called.

You may play a key so it stops at the last frame of the each keyframes. You still have to make individual key files though. Look in the jkspec or some lec cogs that has the verb and see what parenthesis does the trick, like in weapon cogs.

------------------
http://millennium.massassi.net/ - Millennium

[This message has been edited by Hideki (edited November 20, 2001).]
2001-11-20, 11:27 AM #15
I thought of a different way. Open up ky.pup, and add new pup modes. Make sure that they are based on the saber mode, just in case.

GBK's cog, with some minor modifications:
Code:
# 11/2001 GBK
Symbols
Message Activated
Thing Player		
LocalInt Lock=0	Local
End
Code
Activated:
Player = Getlocalplayerthing();
If(Lock==4) { 
SetArmedMode(player, 7);
Lock=0; }
Else If(Lock==0) { 
SetArmedMode(player, 8);
Lock=1; }
Else If(Lock==1) { 
SetArmedMode(player, 9);
Lock=2; }
Else If(Lock==2) { 
SetArmedMode(player, 10);
Lock=3; }
Else If(Lock==3) { 
SetArmedMode(player, 11);
Lock=4; }
Stop;
End


If you can't figure out what I'm trying to say, send the keys to me and I'll put something together. tazztazz@hotmail.com

I'm sure one of our native cog gurus knows what I'm trying to do, and they can probably explain it better than I.



------------------
-There are easier things in life than finding a good woman, like nailing Jello to a tree, for instance

-Tazz
-There are easier things in life than finding a good woman, like nailing Jello to a tree, for instance

Tazz
2001-11-20, 1:57 PM #16
Ok, I will send you the keys, I think I only have four right now but I can alwasys add to it later. I'm sending now.

------------------
Ohh Crap! - Darien Fawkes (The Invisible Man)
Ohh Crap! - Darien Fawkes (The Invisible Man)
2001-11-21, 2:13 AM #17
Ahhhh, here's three of them. I'm redoing some others right now. I will add the other myself. Just add these three for now. I just sent them. Thank you.

------------------
Ohh Crap! - Darien Fawkes (The Invisible Man)
Ohh Crap! - Darien Fawkes (The Invisible Man)

↑ Up to the top!