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 → Saber Blocking
Saber Blocking
2001-04-27, 7:49 AM #1
What controls saber blocking? I thought it was the blocked message in kyle.cog, but when I put a print("blocked"); in that message, it won't print anything when I'm blocking a laser bolt.

------------------
Warning! User is not Windows compatible.
Author of the JK DataMaster, Parsec, Scribe, and the EditPlus Cog Files.
2001-04-27, 2:31 PM #2
SetActorFlags(player, 0x2000); - Block on
ClearActorFlags(player, 0x2000); - Block off
- Wisdom is 99% experience, 1% knowledge. -
2001-04-27, 4:57 PM #3
Sorry if my post was confusing, Guy. I'll explain what I mean a little clearer.

In the blocked message of kyle.cog, I put Print("blocked"); But when I block a laser bolt with saber, "blocked" doesn't print. Why?

------------------
Warning! User is not Windows compatible.
Author of the JK DataMaster, Parsec, Scribe, and the EditPlus Cog Files.
2001-04-27, 5:53 PM #4
Blocked:
Sent by a path-controlled thing when something is blocking the path.
That's out of the JK specs. Blocked has nothing to do with the saber.

------------------
Together we stand.
Divided we fall.
2001-04-27, 7:46 PM #5
Actaully I'm still confused but try adding your message to

user0

in kyle.cog.


Although that just plays an animation. Im not positive but this is how I think it works. The bryar bolt reflects off of you because saber sets the Actor Flag 0x2000. If you set this flag even without saber any 'reflectable' projectiles will bounce off and the player does a little cringe as if deflecting it with the saber.
- Wisdom is 99% experience, 1% knowledge. -
2001-04-28, 10:12 AM #6
Oh. I was thinking that the cogs controlled the saber blocking animations.

Thanks for your help [http://forums.massassi.net/html/wink.gif]

------------------
Warning! User is not Windows compatible.
Author of the JK DataMaster, Parsec, Scribe, and the EditPlus Cog Files.
2001-04-29, 11:41 PM #7
It does.
Maybe you put it under "return;"?

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

↑ Up to the top!