Author Topic: Customizing Player Models  (Read 24031 times)

Meisseli

  • Spam Killer
  • *
  • Posts: 765
  • Turrets: +83/-25
Re: Customizing Player Models
« Reply #30 on: April 21, 2011, 11:43:30 am »
Hello pink bsuit I am blue granger nice to meet you!

Note: I realize that coloring entire models like this does not look very good. It is just temporary while people that understand shaders figure that part out.
Not bad. I hope that only some very minor bits can be customized though, for example those brownish, small little areas on the battlesuit skin.

Lakitu7

  • Tremulous Developers
  • *
  • Posts: 1002
  • Turrets: +120/-73
Re: Customizing Player Models
« Reply #31 on: April 21, 2011, 05:36:11 pm »
Yeah, more minor bits is pretty much the plan for most models I think, with the possible exception of the human base model since those are already clothes.

Ingar figured out how to do the shaders for partial, so now we're just making assets (i.e. figuring out which parts to color) and then this can happen I think.

vcxzet

  • Posts: 467
  • Turrets: +21/-13
Re: Customizing Player Models
« Reply #32 on: April 21, 2011, 06:07:35 pm »
Chosen color must determine hue not value. I'd hate to see black ninja grangers

Dr. A. Goon

  • Posts: 40
  • Turrets: +2/-0
Re: Customizing Player Models
« Reply #33 on: April 21, 2011, 06:29:04 pm »
I'm happy that it might get implemented, and I would like a glowing purple granger if one is available.

gimhael

  • Posts: 546
  • Turrets: +70/-16
Re: Customizing Player Models
« Reply #34 on: April 21, 2011, 06:43:10 pm »
Chosen color must determine hue not value. I'd hate to see black ninja grangers

If the colored part is implemented with a second "rgbGen entity" stage, you'll probably have the colored parts always at fullbright intensity as you cannot specify rgbGen lightingDiffuse in the same stage.

You could do this correctly in a 3-stage shader: 1st stage renders the base texture with rgbGen identity, 2nd stage adds the colored parts with rgbGen entity and then do a final pass with $whiteimage and rgbGen lightingDiffuse to modulate the light intensity for everything.

Lakitu7

  • Tremulous Developers
  • *
  • Posts: 1002
  • Turrets: +120/-73
Re: Customizing Player Models
« Reply #35 on: April 21, 2011, 06:52:58 pm »
Chosen color must determine hue not value. I'd hate to see black ninja grangers

If the colored part is implemented with a second "rgbGen entity" stage, you'll probably have the colored parts always at fullbright intensity as you cannot specify rgbGen lightingDiffuse in the same stage.

You could do this correctly in a 3-stage shader: 1st stage renders the base texture with rgbGen identity, 2nd stage adds the colored parts with rgbGen entity and then do a final pass with $whiteimage and rgbGen lightingDiffuse to modulate the light intensity for everything.


Yeah both of those are the current plan.
« Last Edit: April 21, 2011, 06:55:59 pm by Lakitu7 »

sirshiz

  • Posts: 75
  • Turrets: +3/-5
Re: Customizing Player Models
« Reply #36 on: April 21, 2011, 08:31:54 pm »
I can't wait to make a bind that will cycle through all the colors over and over just to hypnotize the other team.

Lakitu7

  • Tremulous Developers
  • *
  • Posts: 1002
  • Turrets: +120/-73
Re: Customizing Player Models
« Reply #37 on: April 21, 2011, 08:50:07 pm »
Yes that is specifically prevented.

sirshiz

  • Posts: 75
  • Turrets: +3/-5
Re: Customizing Player Models
« Reply #38 on: April 21, 2011, 10:00:51 pm »
Yes that is specifically prevented.

Okay good I was worried about that.

How often could you change your color then?

Lakitu7

  • Tremulous Developers
  • *
  • Posts: 1002
  • Turrets: +120/-73
Re: Customizing Player Models
« Reply #39 on: April 21, 2011, 10:30:08 pm »
My current plan (haven't coded/tested it yet) is to only read your color preference when you're spawning / evolving.

Cadynum

  • Posts: 222
  • Turrets: +29/-13
Re: Customizing Player Models
« Reply #40 on: April 22, 2011, 01:58:40 am »
I'm very skeptical to this. I have a feeling it will just look stupid.

Spl@

  • Posts: 20
  • Turrets: +1/-0
Re: Customizing Player Models
« Reply #41 on: April 22, 2011, 02:54:56 am »
I'm very skeptical to this. I have a feeling it will just look stupid.
Agreed!

Lakitu7

  • Tremulous Developers
  • *
  • Posts: 1002
  • Turrets: +120/-73
Re: Customizing Player Models
« Reply #42 on: April 22, 2011, 03:02:28 am »
I hate garish rainbow colors everywhere too. It'll be subtle.

vcxzet

  • Posts: 467
  • Turrets: +21/-13
Re: Customizing Player Models
« Reply #43 on: April 22, 2011, 08:19:39 am »
I hate garish rainbow colors everywhere too. It'll be subtle.
you can go with another option; predefined skins, instead of colors
that would effectively limit the colors that can be used.
something used in q3a:
each model has a few different skins and each skin has a few color variations (but those are also considered skins)
cg_color is only used by railgun iirc

KillerWhale

  • Spam Killer
  • *
  • Posts: 469
  • Turrets: +63/-26
Re: Customizing Player Models
« Reply #44 on: April 22, 2011, 05:27:49 pm »
something used in q3a:
each model has a few different skins and each skin has a few color variations (but those are also considered skins)
cg_color is only used by railgun iirc
Not quite true; Q3 also had bright skins (although I do not it was as so by default) that were colour-set by cvar.
Although, predefined textures could be a better way to do it, or even both.

Perhaps doing something like the Advanced Marauder's texture where the lightning is separate from the rest of the skin, but for all of the changeable assets.
Of course, I could just be very stupid.

Kasofa

  • Posts: 69
  • Turrets: +5/-2
Re: Customizing Player Models
« Reply #45 on: April 22, 2011, 05:50:25 pm »
Want want want. Great work, anyone who doesn't think so should just shut their mouth and stop their keyboard.

-K

Plague Bringer

  • Posts: 3814
  • Turrets: +147/-187
Re: Customizing Player Models
« Reply #46 on: July 21, 2011, 04:32:31 am »
Any progress on this? I just discovered this while creeping through Lakitu's posts and it's frigging brilliant.
U R A Q T

ULTRA Random ViruS

  • Posts: 924
  • Turrets: +4/-101
    • ZdrytchX's reference website
Re: Customizing Player Models
« Reply #47 on: July 21, 2011, 07:19:08 pm »
I think we should at least start with a female model for [/sex female] command.