lfnetwork.com mark read register faq members calendar

Thread: RGB Saber Colors
Thread Tools Display Modes
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Old 11-29-2003, 10:31 PM   #1
NickR
 
NickR's Avatar
 
Join Date: Apr 2002
Location: Kent, UK
Posts: 141
Enhanced Ideas: RGB Saber Colors

Since I've finished the Force Fall code, and because no one else has start working on it, I decided to get cracking on getting RGB Saber Colors into JA. Rather than take my old RGB Saber Color code that I did for JK2, I've completely rewritten it.

I've got the client side part of the code working, i.e. you can set the rgb color values for you two saber blades via cvars but they are only seen by you. The cvars are:

>cg_saber_rgbcolors (0/1)
>cg_saber_rgbcolor (255.255.255)
>cg_saber2_rgbcolor (255.255.255)

The good thing about this new format is that you don't have 1 cvar for each rgb value. Instead you use a . to seperate each rgb value, like above.

I'm now working on getting this working in the menu.


I get dumped on alot. It's one of the hazards of being me!

Last edited by NickR; 12-02-2003 at 11:56 AM.
NickR is offline   you may: quote & reply,
Old 11-30-2003, 01:37 AM   #2
razorace
Impressive, Terran!
 
razorace's Avatar
 
Join Date: May 2002
Posts: 9,172
I suggest you use 3 cvars for each of the two blades. It would be more like the standard established by Raven and be more user friendly.

Also, please post that you're working on this in the "What's New?" thread. Thanks!


---Jedi Guardian of the Newbie Questions
---Masters of the Force Team Leader / Creator
---Open Jedi Project Lead Moderator / Co-Founder
razorace is offline   you may: quote & reply,
Old 11-30-2003, 10:05 PM   #3
NickR
 
NickR's Avatar
 
Join Date: Apr 2002
Location: Kent, UK
Posts: 141
Quote:
I suggest you use 3 cvars for each of the two blades. It would be more like the standard established by Raven and be more user friendly.
You're kinding? I've just the thing finished. For my JO version it did use 3 cvars for each but I found it less user friendly than my current version. And what standard would that be? They use one cvar each for both blade colors, as does mine. If you can give me a suitable reason I'll gladly change it.

Quote:
Also, please post that you're working on this in the "What's New?" thread. Thanks!
Sure, no problem!


I get dumped on alot. It's one of the hazards of being me!
NickR is offline   you may: quote & reply,
Old 12-01-2003, 02:31 AM   #4
razorace
Impressive, Terran!
 
razorace's Avatar
 
Join Date: May 2002
Posts: 9,172
The standard cvars used to set the player colors.

Besides, using three cvars makes manual color tweaking and the menu additions much easier to do.


---Jedi Guardian of the Newbie Questions
---Masters of the Force Team Leader / Creator
---Open Jedi Project Lead Moderator / Co-Founder
razorace is offline   you may: quote & reply,
Old 12-01-2003, 05:10 PM   #5
NickR
 
NickR's Avatar
 
Join Date: Apr 2002
Location: Kent, UK
Posts: 141
Yeah, I think you're right. I've realised some people might want to use scripts to tweak they blade colors. They could even create a blade that constantly changes colors, which would be cool to see. Anyway, I've already altered the code with the 3 cvars for each blade done. I'm just sorting the 2 menus out now.


I get dumped on alot. It's one of the hazards of being me!
NickR is offline   you may: quote & reply,
Old 12-01-2003, 05:47 PM   #6
razorace
Impressive, Terran!
 
razorace's Avatar
 
Join Date: May 2002
Posts: 9,172
Thanks.

How are you handling the blade shape or glow? Is it based off one file?

I'm asking since I think some of us would really like to add selectable blade styles to the game that's compatible with RGB saber colors.


---Jedi Guardian of the Newbie Questions
---Masters of the Force Team Leader / Creator
---Open Jedi Project Lead Moderator / Co-Founder
razorace is offline   you may: quote & reply,
Old 12-01-2003, 09:08 PM   #7
NickR
 
NickR's Avatar
 
Join Date: Apr 2002
Location: Kent, UK
Posts: 141
Just using one gray blade image and one grey glow image.

I could add support for have control over the color of the blade core aswell if you like.


I get dumped on alot. It's one of the hazards of being me!
NickR is offline   you may: quote & reply,
Old 12-01-2003, 09:48 PM   #8
razorace
Impressive, Terran!
 
razorace's Avatar
 
Join Date: May 2002
Posts: 9,172
mmmm. That's a good question. I'm not sure how much people would want that and if it would work out good.


---Jedi Guardian of the Newbie Questions
---Masters of the Force Team Leader / Creator
---Open Jedi Project Lead Moderator / Co-Founder
razorace is offline   you may: quote & reply,
Old 12-02-2003, 11:50 AM   #9
NickR
 
NickR's Avatar
 
Join Date: Apr 2002
Location: Kent, UK
Posts: 141
I'm struggling to organise the layout of the 2 sets of rgb sliders in the main and ingame menu so 2 more sets for the blade core would make it harder. Unless of course I should make a popup menu instead.


I get dumped on alot. It's one of the hazards of being me!
NickR is offline   you may: quote & reply,
Old 12-02-2003, 09:25 PM   #10
razorace
Impressive, Terran!
 
razorace's Avatar
 
Join Date: May 2002
Posts: 9,172
Good idea, that's probably the way to go.

Remember that you need to set things up so that other people will see your blade colors.


---Jedi Guardian of the Newbie Questions
---Masters of the Force Team Leader / Creator
---Open Jedi Project Lead Moderator / Co-Founder
razorace is offline   you may: quote & reply,
Old 12-02-2003, 11:03 PM   #11
NickR
 
NickR's Avatar
 
Join Date: Apr 2002
Location: Kent, UK
Posts: 141
Don't worry I've added server support now and basic bot support so you can add rgb colors to the bot files.


I get dumped on alot. It's one of the hazards of being me!
NickR is offline   you may: quote & reply,
Old 12-03-2003, 01:57 AM   #12
Emon
Strong Bad's Henchman
 
Emon's Avatar
 
Join Date: Jan 2002
Location: The Massassi Temple
Posts: 3,468
You should include a wide variety of presets, including various shades of each color. People are stupid, and if not given presets, will turn them all the way up, making them horribly bright and ugly.


Clarionet, n. An instrument of torture operated by a person with cotton in his ears. There are two instruments that are worse than a clarionet -- two clarionets.
Emon is offline   you may: quote & reply,
Old 12-03-2003, 05:11 PM   #13
NickR
 
NickR's Avatar
 
Join Date: Apr 2002
Location: Kent, UK
Posts: 141
I could add some presets, but then there already are some if you don't have rgb selected.


I get dumped on alot. It's one of the hazards of being me!
NickR is offline   you may: quote & reply,
Old 12-03-2003, 11:22 PM   #14
Emon
Strong Bad's Henchman
 
Emon's Avatar
 
Join Date: Jan 2002
Location: The Massassi Temple
Posts: 3,468
Yeah, but people are stupid. Also, people go in there to get different shades of teal, and other colors, and they crank them up because they're clueless.


Clarionet, n. An instrument of torture operated by a person with cotton in his ears. There are two instruments that are worse than a clarionet -- two clarionets.
Emon is offline   you may: quote & reply,
Old 12-03-2003, 11:41 PM   #15
NickR
 
NickR's Avatar
 
Join Date: Apr 2002
Location: Kent, UK
Posts: 141
I think we should discuss the layout of the rgb options. Because I'll be buggered if I spend hours working on a design and you guys say that it should be done differently.

About the rgb presets, I'll have to add extra code to make preset boxs coloured the correct way, and right now I'm not totally sure how I can achieve that via the Quake3 menu system. In UT2003 it would be simple to do, but unless we do it the old fashioned way and get loads of different colored images it'll be hard to alter a white box with specific rgb values. And it wouldn't make extended the rgb presets easy either.


I get dumped on alot. It's one of the hazards of being me!
NickR is offline   you may: quote & reply,
Old 12-04-2003, 12:17 AM   #16
razorace
Impressive, Terran!
 
razorace's Avatar
 
Join Date: May 2002
Posts: 9,172
Have you tried the method that Raven used for the color tinting on the icons? That might work?

Anyway, I don't really see much point of having presets for the RGB saber colors. What other colors would people want other than the original presets?


---Jedi Guardian of the Newbie Questions
---Masters of the Force Team Leader / Creator
---Open Jedi Project Lead Moderator / Co-Founder
razorace is offline   you may: quote & reply,
Old 12-04-2003, 01:26 AM   #17
NickR
 
NickR's Avatar
 
Join Date: Apr 2002
Location: Kent, UK
Posts: 141
I agree with Razor, I don't think we should have rgb presets.


I get dumped on alot. It's one of the hazards of being me!
NickR is offline   you may: quote & reply,
Old 12-04-2003, 01:44 AM   #18
Emon
Strong Bad's Henchman
 
Emon's Avatar
 
Join Date: Jan 2002
Location: The Massassi Temple
Posts: 3,468
Have you ever played many games in JO with RGB sabers? Trust me, you need it, people don't know how to do it themselves.


Clarionet, n. An instrument of torture operated by a person with cotton in his ears. There are two instruments that are worse than a clarionet -- two clarionets.
Emon is offline   you may: quote & reply,
Old 12-04-2003, 02:19 AM   #19
razorace
Impressive, Terran!
 
razorace's Avatar
 
Join Date: May 2002
Posts: 9,172
But this isn't the same as the JK2 RBG mods. We're leaving the original presets in.


---Jedi Guardian of the Newbie Questions
---Masters of the Force Team Leader / Creator
---Open Jedi Project Lead Moderator / Co-Founder
razorace is offline   you may: quote & reply,
Old 12-05-2003, 07:34 PM   #20
razorace
Impressive, Terran!
 
razorace's Avatar
 
Join Date: May 2002
Posts: 9,172
NickR, since you're tearing things apart anyway, should you mind setting it up so that players can choose the blade styles (blade shape jpgs) for both the original presets and the RGB blades?

If you need help with making the uiscript for such a setup, I'm willing to help.


---Jedi Guardian of the Newbie Questions
---Masters of the Force Team Leader / Creator
---Open Jedi Project Lead Moderator / Co-Founder
razorace is offline   you may: quote & reply,
Old 12-11-2003, 05:13 PM   #21
locdog420
Rookie
 
Join Date: Nov 2003
Posts: 12
so how is this coming? is it about done , can we get an update please?
locdog420 is offline   you may: quote & reply,
Old 12-11-2003, 06:15 PM   #22
NickR
 
NickR's Avatar
 
Join Date: Apr 2002
Location: Kent, UK
Posts: 141
I think that TCK should have his RGB legacy kept intact, so how about I just incorporate the blade styles modifier you want and the second staff blade color change I've made?

I'm pretty sure both myself and TCK have probably coded the RGB blade color system exactly the same, so there's no point using mine and have people think he did it anyway!


I get dumped on alot. It's one of the hazards of being me!
NickR is offline   you may: quote & reply,
Old 12-11-2003, 06:45 PM   #23
Azymn
 
Azymn's Avatar
 
Join Date: Jul 2002
Location: ~(40.14, -111.40)
Posts: 544
I hope Tck doesn't mind me speaking for him, but he's done exactly what you've guess NickR.
I've seen a video on his sabers shifting through colors like christmas lights - very nice.
As far as selectable rgb blades go - doing them for all 6 blades and for the rgb styles mean you have to make a minimum of 14 jpegs for each different blade type (core and coreglow), or 28 jpegs per blade if you wanna do it well.

So if you only made 5 different blades to choose from you'd have to make 140 jpegs if you account for differences in core, coreglow, trail, and radial glow.
Azymn is offline   you may: quote & reply,
Old 12-11-2003, 11:29 PM   #24
razorace
Impressive, Terran!
 
razorace's Avatar
 
Join Date: May 2002
Posts: 9,172
NickR, as I have already suggested to TCK, I'm going to suggest that you get in contact with TCK so you guys can coordinate. I don't want to have to clean up a train wreak when you guys submit your stuff.


---Jedi Guardian of the Newbie Questions
---Masters of the Force Team Leader / Creator
---Open Jedi Project Lead Moderator / Co-Founder
razorace is offline   you may: quote & reply,
Old 12-12-2003, 12:19 AM   #25
babywax
 
babywax's Avatar
 
Join Date: Mar 2003
Posts: 259
Please link both blades on the saber staff, otherwise the game will turn into swinging rainbow
babywax is offline   you may: quote & reply,
Old 12-12-2003, 03:24 AM   #26
razorace
Impressive, Terran!
 
razorace's Avatar
 
Join Date: May 2002
Posts: 9,172
Don't think that's nessicary as a requirement but a "link" button option would be cool.


---Jedi Guardian of the Newbie Questions
---Masters of the Force Team Leader / Creator
---Open Jedi Project Lead Moderator / Co-Founder
razorace is offline   you may: quote & reply,
Old 12-13-2003, 01:11 PM   #27
Tchouky
 
Tchouky's Avatar
 
Join Date: Apr 2002
Location: Eclipse (jeedai secret base)
Posts: 543
hiya everyone.

As Azymn said, ive done more than my old rgb sabers.

you can see here a few screenshots and vids :
http://mbalch.free.fr/jk3/


here are the features of this small mod :
-rgb blades
-black saber ( with black trails)
-multicolor sabers ( watch the pimp videos.)
-scripted saber.

the later allows you to control which are the colors your saber will go through, the order, and the transition time between each color.

ill make a small vid if you like.

the script system is simple and efficient, it works this way :

tck_script1 ( or 2 for second blade, and the cvar names are temporary, asuming it gets included in ojp, maybe it will be better to call them OJP_script1 etc..)

so :
tck_script1 :R1,G1,B1:T1:R2,G2,B2:T2:.....:R10:G10:B10:T10:

you can have up to 10 colors. but there is no min limit.


I also made the menus, and the cvars for the definition of the saber are like this :
tck_saber1 R,G,B
the ui cvars which are used for sliders and stuff are disociated.


anyway, NickR, try to hang out on #jkacoding on quakenet so we can talk about it.
(just click on my sig =) )


btw if they re any serious testers interested, i ll give out the mod, so it can be extensively tested.

btw2, i won't release it as a stand alone mod.

ill try to make a small vid of a scripted saber and ill upload it soon.
cya.

Edit :
i uploaded a scripted sabers video.
the script used was red to blue with 1 sec between color change.
like this :
tck_script1 :255,0,0:1000:0,0,255:1000:


Last edited by Tchouky; 12-13-2003 at 01:47 PM.
Tchouky is offline   you may: quote & reply,
Old 12-13-2003, 01:47 PM   #28
t3rr0r
Goblet of Fire
 
t3rr0r's Avatar
 
Join Date: Mar 2002
Location: ontario
Posts: 1,674
i'm glad how the blades don't look overly bright when when multiple settings of 255 are selected... awesome work. are you going to be able to chang the core colour this time around (i hope not :x)?


overlord

Last edited by t3rr0r; 12-13-2003 at 07:36 PM.
t3rr0r is offline   you may: quote & reply,
Old 12-13-2003, 06:28 PM   #29
razorace
Impressive, Terran!
 
razorace's Avatar
 
Join Date: May 2002
Posts: 9,172
Quote:
Originally posted by Tchouky

tck_script1 ( or 2 for second blade, and the cvar names are temporary, asuming it gets included in ojp, maybe it will be better to call them OJP_script1 etc..)
I think saber_script or sab_script would be more approprate.


---Jedi Guardian of the Newbie Questions
---Masters of the Force Team Leader / Creator
---Open Jedi Project Lead Moderator / Co-Founder
razorace is offline   you may: quote & reply,
Old 12-13-2003, 08:25 PM   #30
Wudan
Got Balance?
 
Wudan's Avatar
 
Join Date: Oct 2002
Location: Salt Lake, UT
Posts: 1,442
Easy 'nuff to do, foo


Mt-Wudan.com
I made a silly little program called Dragon, which is an animation tool for the GLA format, used in Jedi Outcast, Jedi Academy and Krakatoa.
Wudan is offline   you may: quote & reply,
Old 12-14-2003, 02:33 AM   #31
razorace
Impressive, Terran!
 
razorace's Avatar
 
Join Date: May 2002
Posts: 9,172
Wudan, don't you have some coding to do instead of spamming the OJP forums?


---Jedi Guardian of the Newbie Questions
---Masters of the Force Team Leader / Creator
---Open Jedi Project Lead Moderator / Co-Founder
razorace is offline   you may: quote & reply,
Old 12-14-2003, 06:18 AM   #32
Lathain Valtiel
Ex-Angel
 
Lathain Valtiel's Avatar
 
Join Date: Jul 2002
Posts: 929
LFN Staff Member 
I'd ask for an RGB Core option if only because It'd let me copy KOTOR's Heart of the Guardian sabers. Heh.


Kurgan's Meatgrinder (JA Server: 72.5.248.212:29070)

Player tested, Valtiel approved.

Valtiel approved downloads for Meatgrinder: http://strategy.jediknight.net/jka/downloads.shtml
Lathain Valtiel is offline   you may: quote & reply,
Old 12-28-2003, 05:32 PM   #33
locdog420
Rookie
 
Join Date: Nov 2003
Posts: 12
So....is this mod done yet....whats the deal!
locdog420 is offline   you may: quote & reply,
Old 12-28-2003, 07:12 PM   #34
razorace
Impressive, Terran!
 
razorace's Avatar
 
Join Date: May 2002
Posts: 9,172
From what I understand, NickR's and TCK's systems are basically done. However, since they concurrently created seperate systems, they're going to have to figure out which system (or a hybrid system) will be used for OJP.


---Jedi Guardian of the Newbie Questions
---Masters of the Force Team Leader / Creator
---Open Jedi Project Lead Moderator / Co-Founder
razorace is offline   you may: quote & reply,
Old 12-28-2003, 08:49 PM   #35
NickR
 
NickR's Avatar
 
Join Date: Apr 2002
Location: Kent, UK
Posts: 141
I don't have mirc installed atm, sorry.

I think Tchouky has everything covered. I only have the standard rgb functionality done with an unfinished menu.

Unless Tchouky has some rgb problems then you should use his rgb system. He's obviously put more effort and time into it than I have.


I get dumped on alot. It's one of the hazards of being me!
NickR is offline   you may: quote & reply,
Old 12-29-2003, 05:15 AM   #36
Teancum
 
Teancum's Avatar
 
Join Date: Apr 2003
Posts: 187
I have only one comment concerning this. Don't allow the RGB mode to change the saber core. To me it just ruins the whole Star Wars feel when people have a black (usually the color picked) core.

I lied. I have two comments. Make the saber menu like the RGB for the player menu. It keeps the presets, for those like me, who are fine with the current sabers, and allows others to use RGB.
Teancum is offline   you may: quote & reply,
Old 12-29-2003, 07:51 AM   #37
Marker0077
 
Marker0077's Avatar
 
Join Date: Jul 2002
Posts: 510
I think people should have the freedom to do whatever they like. Granted, the black core does look uglier tha hell IMO but some people like it & they should be permitted to use them if they like.

I think the best solution would be to have a client side CVar that just disables the core colors. Making it white would probably be best.

Also, as far as the presets are concerned, as long as each color is configurable via a CVAr then those can be scripted (like JediMod was). All it takes is a tutorial on how to write them, I can take care of that if you guys like.


Cool Links
Star Wars Funnies
Cool Mods for Medal of Honor
Cool Mods for the Jedi Knight Series
Don't want to wait for Star Wars 3? Well here ya go!

In-Game Names
Marker0077 (normal name)
Obi-wannabe (practice name)
Bar Upstairs from AA Building (drinking name)

Contact Info
ICQ: 16442029
AOL, Yahoo, Jabber, & IRC (QuakeNet): Marker0077
Cool Mods E-Mail: MoH @ Cool-Mods.com or JK @ Cool-Mods.com
E-Mail & MSN IM: Marker0077 @ Hotmail.com (*** anywhere in subject or won't get email)
Marker0077 is offline   you may: quote & reply,
Old 12-29-2003, 08:33 AM   #38
razorace
Impressive, Terran!
 
razorace's Avatar
 
Join Date: May 2002
Posts: 9,172
According to TCK, we can't do RGB cores due to the way the trails are handled. However, TCK has been able to get it to do white and black.

He's also done some scripting stuff to allow you do shifting color stuff but I have no clue how that's set up.


---Jedi Guardian of the Newbie Questions
---Masters of the Force Team Leader / Creator
---Open Jedi Project Lead Moderator / Co-Founder
razorace is offline   you may: quote & reply,
Old 02-02-2004, 07:21 PM   #39
locdog420
Rookie
 
Join Date: Nov 2003
Posts: 12
so where can i download the saber mod at??? is this thing done or...
locdog420 is offline   you may: quote & reply,
Old 02-02-2004, 07:58 PM   #40
AIVAS
Junior Member
 
AIVAS's Avatar
 
Join Date: Dec 2003
Posts: 305
Quote:
Originally posted by Tchouky
hiya everyone.

As Azymn said, ive done more than my old rgb sabers.

you can see here a few screenshots and vids :
http://mbalch.free.fr/jk3/


here are the features of this small mod :
-rgb blades
-black saber ( with black trails)
-multicolor sabers ( watch the pimp videos.)
-scripted saber.

the later allows you to control which are the colors your saber will go through, the order, and the transition time between each color.

ill make a small vid if you like.

the script system is simple and efficient, it works this way :

tck_script1 ( or 2 for second blade, and the cvar names are temporary, asuming it gets included in ojp, maybe it will be better to call them OJP_script1 etc..)

so :
tck_script1 :R1,G1,B1:T1:R2,G2,B2:T2:.....:R10:G10:B10:T10:

you can have up to 10 colors. but there is no min limit.


I also made the menus, and the cvars for the definition of the saber are like this :
tck_saber1 R,G,B
the ui cvars which are used for sliders and stuff are disociated.


anyway, NickR, try to hang out on #jkacoding on quakenet so we can talk about it.
(just click on my sig =) )


btw if they re any serious testers interested, i ll give out the mod, so it can be extensively tested.

btw2, i won't release it as a stand alone mod.

ill try to make a small vid of a scripted saber and ill upload it soon.
cya.

Edit :
i uploaded a scripted sabers video.
the script used was red to blue with 1 sec between color change.
like this :
tck_script1 :255,0,0:1000:0,0,255:1000:
WOW, are you releasing this? where can I get this? It's exactly what I've been waiting for!
AIVAS is offline   you may: quote & reply,
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Go Back   LucasForums > Network > JediKnight Series > Community > Hosted Forums > Open Jedi Project (OJP) > RGB Saber Colors

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:01 AM.

LFNetwork, LLC ©2002-2011 - All rights reserved.
Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.