mirror of
https://github.com/sampletext32/ParkanPlayground.git
synced 2026-08-15 02:57:49 +04:00
docs and tiny RE
This commit is contained in:
@@ -183,6 +183,29 @@ public enum NodeFlags : ushort
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
MSH01_NO_SHADOW = 0x0040,
|
MSH01_NO_SHADOW = 0x0040,
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// If this MSH01 flag is set, depletion/restore of this NDP slot should not
|
||||||
|
/// participate in central-piece state updates. In practice it maps to
|
||||||
|
/// CONTROL_NDP_REF_FLAG_NO_CENTRAL_STATE_UPDATE and probably prevents this piece
|
||||||
|
/// from changing the "central" damage/mobility accounting.
|
||||||
|
/// </summary>
|
||||||
|
MSH01_NO_CENTRAL_STATE_UPDATE = 0x0100,
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// If this MSH01 flag is set, the matching ControlNdpRef becomes fatal/critical.
|
||||||
|
/// When that NDP slot is depleted, higher-level life logic likely treats the owning
|
||||||
|
/// object as destroyed or forces a kill/failure path.
|
||||||
|
/// </summary>
|
||||||
|
MSH01_NDP_FATAL_ON_DEPLETION = 0x0200,
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// If this MSH01 flag is set, this NDP slot derives or clamps its life ratio
|
||||||
|
/// from the parent piece/NDP slot. It maps to
|
||||||
|
/// CONTROL_NDP_REF_FLAG_INHERIT_PARENT_LIFE_RATIO and is likely used for
|
||||||
|
/// child/helper damage parts that should visually follow parent damage state.
|
||||||
|
/// </summary>
|
||||||
|
MSH01_NDP_INHERIT_PARENT_LIFE_RATIO = 0x0400,
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Used during attached MSH load: if parent/root description contains "central", piece gets hidden/excluded flag.
|
/// Used during attached MSH load: if parent/root description contains "central", piece gets hidden/excluded flag.
|
||||||
/// Exact semantic name still provisional.
|
/// Exact semantic name still provisional.
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
using System.Numerics;
|
using System.Numerics;
|
||||||
|
using System.Text.Json;
|
||||||
using CpDatLib;
|
using CpDatLib;
|
||||||
using ImGuiNET;
|
using ImGuiNET;
|
||||||
using MissionTmaLib;
|
using MissionTmaLib;
|
||||||
@@ -137,6 +138,7 @@ namespace NResUI.ImGuiUI
|
|||||||
cpDatSchemeViewModel.SetParseResult(parseResult, path);
|
cpDatSchemeViewModel.SetParseResult(parseResult, path);
|
||||||
|
|
||||||
Console.WriteLine("Read cp .dat");
|
Console.WriteLine("Read cp .dat");
|
||||||
|
Console.WriteLine(JsonSerializer.Serialize(parseResult.Scheme));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -499,6 +499,20 @@ Does not call primitive->Render; merges primitives into batched dynamic-VB draws
|
|||||||
Same primitive pointer list style as PrimLayer2.
|
Same primitive pointer list style as PrimLayer2.
|
||||||
Renders only when UseReflections is enabled and clears Z before render.
|
Renders only when UseReflections is enabled and clears Z before render.
|
||||||
|
|
||||||
|
## Item system RE
|
||||||
|
|
||||||
|
0x14 - CONTROL_ITEM_TYPE_CRITICAL_SUPPORT
|
||||||
|
|
||||||
|
```
|
||||||
|
If the unit has no special critical-support items, enter decay when total NDP life falls below the configured low-life threshold.
|
||||||
|
|
||||||
|
If the unit has multiple critical-support items, ignore the normal HP threshold and instead enter decay when enough support items report a failed/low value.
|
||||||
|
|
||||||
|
While in critical decay, apply continuous negative NDP life delta until the unit is destroyed.
|
||||||
|
```
|
||||||
|
|
||||||
|
0x16 - CONTROL_ITEM_TYPE_GUIDANCE
|
||||||
|
|
||||||
## Контакты
|
## Контакты
|
||||||
|
|
||||||
Вы можете связаться со мной в [Telegram](https://t.me/bird_egop).
|
Вы можете связаться со мной в [Telegram](https://t.me/bird_egop).
|
||||||
|
|||||||
Reference in New Issue
Block a user