Summary

Methods

Shows the step and fades it in, playing the click sound.
Fades the step out and hides it, playing the rollover sound.
Init()client
Builds the attributes creation step (cw.characterStageFour) with a row for each attribute shown on the character screen.
OnNext()client
Stores the points of each attribute in the creation info.
Draws nothing.
Sizes the step to fit its attribute list, up to 60% of the screen height.
Think()client
Updates the remaining points text and runs the fade animation.

Methods

Shows the step and fades it in, playing the click sound.

When the step is already visible or animating, it is made fully visible at once.

Parameters

  • speed Number Length of the fade in seconds
  • Callback Function optional, defaults to nil Called once the step is fully visible

PANEL:FadeOut(speed, Callback)

client gamemodes/catwork/gamemode/core/derma/cl_character.lua:1599

Fades the step out and hides it, playing the rollover sound.

When the step is already transparent or animating, it is hidden at once.

Parameters

  • speed Number Length of the fade in seconds
  • Callback Function optional, defaults to nil Called once the step is hidden

Builds the attributes creation step (cw.characterStageFour) with a row for each attribute shown on the character screen.

The point budget is the default_attribute_points config value, scaled by the faction's attributePointsScale or replaced by its maximumAttributePoints.

Stores the points of each attribute in the creation info.

Draws nothing.

Parameters

  • w
  • h

Sizes the step to fit its attribute list, up to 60% of the screen height.

Parameters

  • w
  • h

Updates the remaining points text and runs the fade animation.

Defined in