Game Development Reference
In-Depth Information
Initializing dangerous influences
Initializing the actual influence layer for dangerous areas is identical to the team's influence
map layer. A value of 20 percent falloff and 50 percent inertia produces desirable results:
SoldierTactics.lua :
local function InitializeDangerousAreas(sandbox, layer)
Sandbox.SetFalloff(sandbox, layer, 0.2);
Sandbox.SetInertia(sandbox, layer, 0.5);
end
Search WWH ::




Custom Search