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 Glow
Saber Glow
2001-03-22, 4:42 AM #1
How do I remove the Glow (or light) from the saber?

------------------
Yub-Yub, Commander.
Author of the JK DataMaster, Parsec, Scribe, and the EditPlus Cog Files.
2001-03-22, 9:10 AM #2
As far as I know, you can't.

------------------
Together we stand.
Divided we fall.
2001-03-22, 12:00 PM #3
i don't know how but i am sure there is a way
roses are red, violets are blue, I am schizophrenic, and I am too!
2001-03-22, 12:11 PM #4
Mods that replace the saber with a sword still have the glow.

------------------
Together we stand.
Divided we fall.
2001-03-23, 10:00 AM #5
There is a way, look at Sniper Arena. Hideki replaced the saber with a knife and somehow removed the glow. How did he do it?
Author of the JK DataMaster, Parsec, Scribe, and the EditPlus Cog Files.
2001-03-23, 12:05 PM #6
Yes how did the god of cog do it ?

hmmm ...


Hekeki I'm waiting for you to apper at this thread [http://forums.massassi.net/html/biggrin.gif] !
2001-03-23, 10:42 PM #7
http://www.code-alliance.com/~editors/jediknight/docs/jk_specs/cog_flags.htm#jk_flags

In the selected message of the saber cog, take

jkSetFlags(player, turnOn_HasSaberFlags);

away, and it won't glow, and won't give the saber as well. You need a new model in order for something to appear replacing the saber.

------------------
http://millennium.massassi.net/ - Millennium
2001-03-24, 7:13 AM #8
That's what it was! You can disable the glow, but it takes the blade too.

------------------
Together we stand.
Divided we fall.
2001-03-24, 7:41 AM #9
so it would pretty much be an invisible blade of death [http://forums.massassi.net/html/biggrin.gif]
roses are red, violets are blue, I am schizophrenic, and I am too!
2001-03-24, 1:47 PM #10
In the selected message of the saber cog, it has a line that sets the flags to 0x80. I'm not sure about which flags are which, but the link you gave said 0x8 would turn the saber off.

Anyway, when I put a # before that jksetflags line, it made no difference

In the timer message, there is a jkSetFlags(player, 0x5); If I mark out that line, the saber doesn't work.(I have a model replacing the saber)

What am I doing wrong? [http://forums.massassi.net/html/confused.gif]

[This message has been edited by SaberMaster (edited March 24, 2001).]
Author of the JK DataMaster, Parsec, Scribe, and the EditPlus Cog Files.
2001-03-25, 3:56 PM #11
I don't have the cog here right now, but just take out the jkSetFlags anywhere in the cog.

The commenting in the code section is "//" and not "#", that's for the symbols section.

------------------
http://millennium.massassi.net/ - Millennium
2001-03-25, 5:27 PM #12
Well, I took out all of the jksetflags, and I got the same result as if I took out the 0x5 jksetflag. The model shows and the animation plays, but no saber effects.

Also, when the cog is run, is // interpreted any differently than #?

[http://forums.massassi.net/html/confused.gif] [http://forums.massassi.net/html/confused.gif] [http://forums.massassi.net/html/confused.gif]
Author of the JK DataMaster, Parsec, Scribe, and the EditPlus Cog Files.
2001-03-25, 10:19 PM #13
You mean, there are no collisions?

When I tested "//" didn't work in the symbols section, and that's the way LEC distinguished them in the cogs.


------------------
http://millennium.massassi.net/ - Millennium
2001-03-26, 4:37 AM #14
Yes, there are no collisions. It's like the saber never hits anything.

------------------
Yub-Yub, Commander.
Author of the JK DataMaster, Parsec, Scribe, and the EditPlus Cog Files.
2001-03-26, 11:45 AM #15
The jksetflags in the timer message probably is the one that ignites it, so if you just take that down and not the one in the selected message, that might be it.

------------------
http://millennium.massassi.net/ - Millennium
2001-03-26, 6:31 PM #16
Well, I didn't mean for it to drag out like this, but,

It seems to me - and I know precious little about cogs - that the jksetflag(player, 0x5) turns the saber on and the 0x8 flag turns it off. Simply blocking the 0x5 flag disables the saber completely. I just wan't to remove the glow.
Author of the JK DataMaster, Parsec, Scribe, and the EditPlus Cog Files.
2001-03-26, 9:39 PM #17
You cannot just disable the glow and leave a green sword out, either you have the glowing saber or nothing will be there, in order for the collision to appear you will have it by

jkSetFlags();

and

jkEnableSaber();

found in saber cogs.

------------------
http://millennium.massassi.net/ - Millennium
2001-03-28, 10:13 AM #18
I don't think you understand what I mean, Hideki. I want to take out the glow(and the green blade), but still have the saber damage effect.

I finally found out how to do it. The jksetflags(player, 0x5) turns on the saber as well as the glow. So, if you replace the 0x5 with 0x1, it will give you the saber without the blade or glow. And that's how it's done in Sniper Arena.

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

------------------
Yub-Yub, Commander.
Author of the JK DataMaster, Parsec, Scribe, and the EditPlus Cog Files.

↑ Up to the top!