Title: GDC 2005
1(No Transcript)
2The Universal Character System in Saints Row 2
3What was in the original Saints Row?
- Customization System
- The Player
- Paper Doll Systems
- Randomized NPC Classes
- Unique Meshes
- One-Off NPCs
4Character Goals of Saints Row 2
- More Powerful Player Customization
- Greater Variance in NPCs
- Better Quality in All Characters
5Solution for Saints Row 2
- One unified system to drive all characters in the
game - The player
- Randomized NPC Classes
- One-Off NPCs
6Main Topics
- THE BASE BODY MESH
- CHARACTER COMPONENTS
- NPC ASSEMBLY
- PROS AND CONS
7THE BASE BODY MESH
8The Base Body Mesh, Subtopics
- The Base Body Mesh Itself
- Global Morph Targets
- Normal Map Blending
- Local Morph Targets
9What is the Base Body Mesh?
- Naked human body model used as foundation for
every character - Neutered
- Average
- Androgynous
- Racially Ambiguous
10VA Base Mesh
11Global Morph Targets
- Creation morphs that affect the entire
characters body - Gender
- Fat
- Muscularity
- Age
12VA Global Morph Targets
13VA Global Morph Target Examples
14Normal Map Blending
- Normal maps help define more detail than geometry
can alone - Since the body type can be arbitrary with 4
sliders, we need to generate a normal map
specific for each possible body type
15Video Normal Map Blending
16VA Normal Map Blending Curves
17Local Morph Targets
- Enable fine control over the shape of the face
18VA Local Morph Target Groups
19VA Local Morph Target Examples
202. CHARACTER COMPONENTS
21Character Components, Subtopics
- What are character components?
- Layered Clothing
- Shader-Based Customization
22Examples of Character Components
- Hair, Facial Hair
- Layered Clothing
- Accessories
- Tattoos
- Piercings
23Character Components (cont.)
- Individual meshes built around the base body mesh
- Contain all the morph targets so they can fit all
character shapes - Contain their own shader-based customization
24Layered Clothing
- Template System
- VID-Hiding System
25VA Layered Clothing Slots
26VA Layered Clothing Templates
27VA VIDs
28VA VID Hiding Sheet
29Shader-Based Component Customization
- Colors
- Pattern Maps
- Logos
30Video Clothing Customization
31Pattern Maps
- Drive the colors of clothing and accessories
- Allow random or player chosen colors
- Use a special map format where each color channel
represents one of three pattern masks - Uses its own UV channel to be better optimized
32VA Pattern Map Example
33Logos
- Adds another option of customization
- Any item can have an arbitrary logo and logo color
34VA Logo Map
353. NPC ASSEMBLY
36NPC Assembly, Subtopics
- What is an NPC in Saints Row 2?
- Character Assembly Tree
- Randomized NPC Classes
- One-Off NPCs
37What is an NPC in Saints Row 2?
- An NPC is essentially a table file describing how
to assemble the character - Game generates a random NPC from this table each
time an instance of this character class spawns
38Two Types of NPCs
- Randomized Classes
- Pedestrians, Workers, Gang Members, Police
- One-Off Characters
- Major Story Characters
- Other Unique Characters
39VA NPC Young Male Generic
40VA NPC Cop
41VA NPC Assembly Tree
42VA One-Off Characters
43Building One-Off Characters
- Custom skin texture maps
- Custom sculpted morphs
- Custom clothing
- Assembly
445. PROS AND CONS
45Pros
- Automatic consistency
- Re-use of assets
- Universal animation
- Easy to globally balance colors
- Templates aided in asset creation
- Morph and rig propagation was virtually automatic
- Universal facial animation morphs
46Cons
- Gameplay and cinematic animations had to be
somewhat generic - Every character and component needs to follow
strict guidelines - System required heavy testing
- Character rendering less efficient to support
modularity - Relies on solid foundation thats difficult to
revise later - Technical problems during exporting
47Numbers
- Base Body Triangles 6,222
- Creation Morphs 115
- Bones 126
- Component Slots 53
- Player memory 6.16 MB 2
- Total Components 1200
- Total VIDs 235
- NPC slots 8
- NPC instances 150
- NPC memory 25.28 MB
- Total NPCs 218
- Animation Memory 17 MB
- Total Animations 4,000
48Summary
- The Base Body Mesh
- Character Components
- NPC Assembly
- Pros and Cons
49Questions?