What is not a Data Asset¶
Some Blueprints hold their settings in Class Defaults rather than in a Data Asset. You still change them without a graph, but you cannot keep two sets of values side by side.
Steps¶
- Open the Blueprint. The paths below start from
Content/ZombieSurvival/. - Click Class Defaults and change the value in the Details panel.
- Where the section says so, change the value on the component of
BP_Survivortoo. A component placed in a Blueprint keeps its own copy of each value. - Compile and save.
Blueprints/Player/BP_Survivor¶
| Setting | What it does |
|---|---|
| Camera yaw, orthographic zoom range and step | The isometric camera |
| Walk and run speed | Movement |
| Interaction radius | Reach of E |
AttackConeDot |
Attack cone width |
AttackImpactDelay |
The delay between the swing and the blow |
ApproachArriveDistance |
How far the survivor walks before a queued context action fires (260) |
StompDamage, StompRange, StompCooldown |
The stomp on a downed zombie (50 damage, 170 uu) |
MeleeNeedsPenalty |
How much of the melee blow the needs eat |
OutlineTargetRadius |
How close to the reticule a zombie must be to be outlined as the next target |
NoiseInterval |
How often footsteps make a noise |
GamepadAimDeadzone, GamepadAimDistance |
The gamepad aim (0.3, 400 uu) |
CrouchSpeedMultiplier, CrouchNoiseMultiplier, CrouchSightMultiplier |
The crouch, as multipliers of the speed (0.55), of the loudness of the steps (0.4) and of the range a zombie sees the survivor from (0.6) |
ContextSearchRadius, ContextCursorMargin, ContextMinExtent |
How the context menu finds its target |
AttackSlots |
The unarmed blows |
The loudness of each gesture is in the noise table.
The camera is the IsoCamera component. A game starts at OrthoWidthMax, the widest view, and the
Ortho Width stored on the component is overwritten at BeginPlay. Its clip planes are set by hand:
Ortho Near Clip Plane is -1500, which is 1500 uu behind the camera, with
Use Camera Height As View Target off. Tall props at the bottom of the screen are then never sliced,
whatever the zoom or the height of your map. Move the near plane further back if you raise
OrthoWidthMax, shorten the CameraBoom or add meshes taller than about 1000 uu.
Blueprints/ActorComponents/AC_Wounds¶
| Setting | What it does |
|---|---|
BleedStopBandage |
How much of the bleed a bandage stops |
BandageSoilSeconds |
How long a bandage stays clean |
InfectionPerMinute |
How fast wound infection grows |
NeckBleedMultiplier |
The bleed multiplier of the neck |
BoneToPart |
25 bone names, each mapped to a body zone |
WoundTypeDefs, TreatmentDefs |
The wound type and treatment Data Assets (DataAssets/Wounds/) |
If you replace the character skeleton, rewrite BoneToPart, here and on
the Wounds component of BP_Survivor.
AC_Needs, AC_Infection, AC_Status, AC_Mood, AC_BodyTemperature¶
All five are in Blueprints/ActorComponents/. Each has a TimeFactor (1.0), which is how fast it
runs against the world's clock. The length of a day is set elsewhere, by the Day length game
option.
Blueprints/World/BP_WorldEnvironment¶
| Setting | Default |
|---|---|
LampMeshes, the meshes that count as lamp posts |
SM_LampPost |
UpdateInterval |
0.1 s |
Its numbers are in the lighting and weather Data Assets.
Blueprints/Core/BP_ZSPlayerController¶
DeathScreenDelay is how long the death screen waits after the survivor dies (1.5 s).
Blueprints/AI/BP_Zombie¶
CorpseSeconds is how long a body stays on the ground (180 s). Raise it to keep the bodies in a
street you cleared, at the cost of one actor per corpse.
Blueprints/ActorComponents/AC_Building¶
These settings are on the class and on the Building component of BP_Survivor. The game reads the
survivor's copy, so change them there.
| Setting | What it does |
|---|---|
OverlapMargin |
Part of the occupancy test (25 uu) |
FloorClearance |
Part of the occupancy test (25 uu) |
SupportDepth |
Part of the occupancy test (30 uu) |
BlockerObjectTypes, SupportObjectTypes |
The object types the occupancy test checks |
DemolishToolUse |
The sledgehammer and its wear |
CascadeRadius |
How far the host looks for pieces left without support after a demolition (600 uu) |
CascadePasses |
How many times it looks (5) |
Blueprints/ActorComponents/AC_Inventory¶
DropDistance, DropTraceDepth and DropPickupClass say where a
dropped item lands. They are on the class and on the Inventory component of
BP_Survivor. The game reads the survivor's copy, so change them there.
Interactables¶
Blueprints/Interactables/BP_Interactable also carries Settings shared by every interactable,
climbing and highlight among them.
Test it¶
- Change one value, for example
CorpseSecondsonBP_Zombie, then compile and save. - Open
Content/ZombieSurvival/Maps/L_Worldand press Play. - Kill a zombie and check that its body stays for the new time.
If it does not work¶
- The value did not change in play: a child Blueprint keeps its own copy of an inherited default, so a value changed on a parent does not reach the children that already override it. Set it on the child you care about, or on all of them.