Unit dump tool Mod.

Everything about mods can be found here.

Moderator: Morax

Unit dump tool Mod.

Postby Janus » 11 Jun 2017, 03:15

Here is a tool I developed, it is a work in progress however, inspired and adapted from code from many places.
It is presented here as a mod, but it is intended to be used in other mods to help troubleshoot problems.
The MOD is mostly a template showing how to use the functions inside.

It is called debuglogger, and comes in an scd file, which is really just a zip file.
To use it, you can place the scd file in the gamedata, or mods directory.
Though it is intended to be extracted into the the mods directory so you customize the unit list to be dumped.
Next, enable the debug file using the commandline options.
I created an extra desktop icon with the debug parts added.

---
???\Supreme Commander - Forged Alliance\bin\ForgedAlliance.exe" /debug /log "SCFARunlog.txt"
---

It shows up in mods as debuglogger with a generic icon.
When enabled, it searches the active units for those that match the list it has.
If a unit matches, it the then dumps the bp file as it is in memory.

All you need to do is run the game and launch a skirmish with just one AI opponent.
Then exit the game, and look at the log file, it will contain what you are after.
I have included a sample dump below.

It does the same thing as php var_dump or print_r which inspired it.
The layout is awkward because LUA is not intended to be used this way.

However, it is enough to convey how the table/object of the unit is stored and used in memory.
Not everyone will like it, but I figured I would share.

Been tinkering with LOUD to try to work around some of the limitations in it that do not work for me.
I used it to make sure the changes I was making were being put in the right places.
I really like my AA2AG, and can now target ground forces, but it still doesn't automatically fire at them.

The thing to remember using this, is that it is intended to be put into something else, then dump the data so you can see if the changes were made, and done correctly.

You will see lines like this

info: urb2304:Weapon:1:FireTargetLayerCapsTable

What this actually means is bp.Weapon[1].FireTargetLayerCapsTable which has three entries that are listed next.

In addition to simply dumping the entire bp structure.
You can use tprint(bp.Categories) to dump just the categories, selectable, builtby???, etc.
The same can happen to any part of it you wish to examine.

Just remember, words are used in dot notation, while numbers go in indices[?] like this
The above shows how to read and use it.

Once you have name, you can modify it.
bp.Weapon[1].FireTargetLayerCapsTable.Air = will let you change targeting for airborne targets.

I think you get the idea.
I hope this helps people like me who were stuck until they could visualize the structure.

Here is a sample dump so you can see if will help you.

Spoiler: show
info: urb2304:Categories
info: 1 -> SELECTABLE
info: 2 -> BUILTBYTIER3ENGINEER
info: 3 -> BUILTBYTIER3COMMANDER
info: 4 -> CYBRAN
info: 5 -> STRUCTURE
info: 6 -> DEFENSE
info: 7 -> TECH3
info: 8 -> ANTIAIR
info: 9 -> DRAGBUILD
info: 10 -> SIZE4
info: 11 -> VISIBLETORECON
info: 12 -> RECLAIMABLE
info: 13 -> SORTDEFENSE
info: urb2304
info: Description -> AA SAM Launcher
info: BlueprintId -> urb2304
info: Source -> /units/urb2304/urb2304_unit.bp
info: SelectionThickness -> 0.60000002384186
info: urb2304:General
info: urb2304:General:CommandCaps
info: RULEUCC_Repair -> false
info: RULEUCC_Attack -> true
info: RULEUCC_Nuke -> false
info: RULEUCC_Capture -> false
info: RULEUCC_Transport -> false
info: RULEUCC_RetaliateToggle -> true
info: RULEUCC_Stop -> true
info: RULEUCC_Move -> false
info: RULEUCC_CallTransport -> false
info: RULEUCC_Guard -> false
info: RULEUCC_Patrol -> false
info: RULEUCC_Reclaim -> false
info: urb2304:General
info: Classification -> RULEUC_Weapon
info: TechLevel -> RULEUTL_Secret
info: UnitWeight -> 1
info: Category -> Defense
info: FactionName -> Cybran
info: UnitName -> Myrmidon
info: Icon -> amph
info: SelectionPriority -> 5
info: urb2304
info: LifeBarSize -> 1.25
info: urb2304:AI
info: urb2304:AI:TargetBones
info: 1 -> Turret
info: urb2304:AI
info: urb2304
info: BuildIconSortPriority -> 120
info: StrategicIconSortPriority -> 195
info: StrategicIconName -> icon_structure3_antiair
info: SizeZ -> 0.30000001192093
info: urb2304:Economy
info: BuildTime -> 950
info: urb2304:Economy:RebuildBonusIds
info: 1 -> urb2304
info: urb2304:Economy
info: BuildCostEnergy -> 10500
info: BuildCostMass -> 950
info: urb2304
info: urb2304:Footprint
info: MinWaterDepth -> 2
info: urb2304
info: urb2304:Interface
info: HelpText -> SAM Launcher
info: urb2304
info: SizeY -> 2
info: urb2304:Defense
info: ArmorType -> Structure
info: Health -> 3850
info: RegenRate -> 2
info: MaxHealth -> 3850
info: AirThreatLevel -> 44
info: urb2304
info: urb2304:Audio
info: Destroyed -> userdata: CSndParams* at 13EB9D80 = [CSndParams at 0x13915C30]
info: UISelection -> userdata: CSndParams* at 13EB9D94 = [CSndParams at 0x124A9D20]
info: urb2304
info: CollisionOffsetY -> -0.5
info: SizeX -> 0.60000002384186
info: urb2304:Wreckage
info: EnergyMult -> 0.5
info: urb2304:Wreckage:WreckageLayers
info: Air -> false
info: Land -> true
info: Seabed -> false
info: Water -> true
info: Sub -> false
info: urb2304:Wreckage
info: ReclaimTimeMultiplier -> 1
info: HealthMult -> 0.89999997615814
info: Blueprint -> /props/DefaultWreckage/DefaultWreckage_prop.bp
info: MassMult -> 0.89999997615814
info: urb2304
info: SelectionSizeX -> 0.64999997615814
info: urb2304:Intel
info: WaterVisionRadius -> 0
info: VisionRadius -> 43
info: urb2304
info: SelectionSizeZ -> 0.64999997615814
info: urb2304:Physics
info: TurnRate -> 0
info: MaxSteerForce -> 0
info: DragCoefficient -> 0.20000000298023
info: SkirtOffsetZ -> -0.5
info: urb2304:Physics:BuildOnLayerCaps
info: LAYER_Sub -> false
info: LAYER_Land -> true
info: LAYER_Seabed -> false
info: LAYER_Orbit -> false
info: LAYER_Water -> true
info: LAYER_Air -> false
info: urb2304:Physics
info: SkirtSizeZ -> 2
info: MotionType -> RULEUMT_None
info: SkirtSizeX -> 2
info: FlattenSkirt -> true
info: MinSpeedPercent -> 0
info: SkirtOffsetX -> -0.5
info: BankingSlope -> 0
info: urb2304
info: urb2304:Veteran
info: Level2 -> 32
info: Level3 -> 48
info: Level1 -> 16
info: Level4 -> 60
info: Level5 -> 72
info: urb2304
info: LifeBarOffset -> 0.34999999403954
info: urb2304:Display
info: Phase2MeshBlueprint -> /units/urb2304/urb2304_mesh_phase2
info: Phase1MeshBlueprint -> /units/urb2304/urb2304_mesh_phase1
info: CloakMeshBlueprint -> /units/urb2304/urb2304_mesh_cloak
info: UniformScale -> 0.03999999910593
info: MeshBlueprint -> /units/urb2304/urb2304_mesh
info: BuildMeshBlueprint -> /units/urb2304/urb2304_mesh_build
info: urb2304:Display:Abilities
info: 1 -> Aquatic
info: urb2304:Display
info: MeshBlueprintWrecked -> /units/urb2304/urb2304_mesh_wreck
info: SpawnRandomRotation -> true
info: urb2304:Display:Mesh
info: urb2304:Display:Mesh:LODs
info: urb2304:Display:Mesh:LODs:1
info: ShaderName -> Insect
info: LODCutoff -> 100
info: urb2304:Display:Mesh:LODs
info: urb2304:Display:Mesh:LODs:2
info: LODCutoff -> 215
info: ShaderName -> Insect
info: SpecularName -> urb2304_lod1_specteam.dds
info: AlbedoName -> urb2304_lod1_albedo.dds
info: urb2304:Display:Mesh:LODs
info: urb2304:Display:Mesh
info: Source -> /units/urb2304/urb2304_unit.bp
info: BlueprintId -> /units/urb2304/urb2304_mesh
info: IconFadeInZoom -> 130
info: urb2304:Display
info: PlaceholderMeshName -> UXB0001
info: urb2304
info: urb2304:Buffs
info: urb2304:Buffs:Regen
info: Level2 -> 4
info: Level3 -> 6
info: Level1 -> 2
info: Level4 -> 8
info: Level5 -> 10
info: urb2304:Buffs
info: urb2304
info: LifeBarHeight -> 0.075000002980232
info: urb2304:Weapon
info: urb2304:Weapon:1
info: DamageRadius -> 0
info: AlwaysRecheckTarget -> true
info: TargetCheckInterval -> 1.1764705181122
info: RateOfFire -> 0.85000002384186
info: TurretYaw -> 0
info: urb2304:Weapon:1:RackBones
info: urb2304:Weapon:1:RackBones:1
info: urb2304:Weapon:1:RackBones:1:MuzzleBones
info: 1 -> Turret_Left_Muzzle01
info: 2 -> Turret_Left_Muzzle02
info: 3 -> Turret_Left_Muzzle03
info: 4 -> Turret_Left_Muzzle04
info: urb2304:Weapon:1:RackBones:1
info: RackBone -> Turret_Left_Muzzle01
info: urb2304:Weapon:1:RackBones
info: urb2304:Weapon:1:RackBones:2
info: urb2304:Weapon:1:RackBones:2:MuzzleBones
info: 1 -> Turret_Right_Muzzle01
info: 2 -> Turret_Right_Muzzle02
info: 3 -> Turret_Right_Muzzle03
info: 4 -> Turret_Right_Muzzle04
info: urb2304:Weapon:1:RackBones:2
info: RackBone -> Turret_Right_Muzzle01
info: urb2304:Weapon:1:RackBones
info: urb2304:Weapon:1
info: Damage -> 110
info: ProjectileLifetime -> 4
info: DamageType -> Normal
info: urb2304:Weapon:1:Audio
info: Fire -> userdata: CSndParams* at 13EB9DBC = [CSndParams at 0x13D75870]
info: urb2304:Weapon:1
info: TurretPitch -> 25
info: CannotAttackGround -> true
info: TurretPitchRange -> 80
info: TurretPitchSpeed -> 120
info: TurretBoneYaw -> Turret
info: RackSalvoSize -> 1
info: RangeCategory -> UWRC_AntiAir
info: RackSlavedToTurret -> false
info: urb2304:Weapon:1:TargetPriorities
info: 1 -> SPECIALHIGHPRI
info: 2 -> AIR MOBILE HIGHPRIAIR
info: 3 -> AIR MOBILE BOMBER
info: 4 -> AIR MOBILE GROUNDATTACK
info: 5 -> AIR MOBILE TRANSPORTATION
info: 6 -> AIR MOBILE
info: urb2304:Weapon:1
info: MaxRadius -> 60
info: ProjectileId -> /projectiles/CAAMissileNanite02/CAAMissileNanite02_proj.bp
info: MuzzleVelocity -> 30
info: RackFireTogether -> false
info: RackSalvoChargeTime -> 0
info: TurretBoneMuzzle -> Turret_Left_Muzzle01
info: MuzzleSalvoSize -> 4
info: urb2304:Weapon:1:FireTargetLayerCapsTable
info: Water -> Air
info: Land -> Air
info: urb2304:Weapon:1
info: BallisticArc -> RULEUBA_None
info: MuzzleSalvoDelay -> 0.20000000298023
info: Turreted -> true
info: TurretYawSpeed -> 90
info: TurretYawRange -> 360
info: RackReloadTimeout -> 0
info: RackRecoilDistance -> 0
info: advancedTracking -> true
info: TrackingRadius -> 1.3999999761581
info: TargetRestrictDisallow -> UNTARGETABLE,SATELLITE, SATELLITE
info: FiringTolerance -> 50
info: RackSalvoReloadTime -> 0
info: TurretDualManipulators -> false
info: TurretBonePitch -> Turret_Barrel
info: Label -> Missile01
info: CollideFriendly -> false
info: urb2304:Weapon
info: urb2304
info: 1 -> SELECTABLE
info: 2 -> BUILTBYTIER3ENGINEER
info: 3 -> BUILTBYTIER3COMMANDER
info: 4 -> CYBRAN
info: 5 -> STRUCTURE
info: 6 -> DEFENSE
info: 7 -> TECH3
info: 8 -> ANTIAIR
info: 9 -> DRAGBUILD
info: 10 -> SIZE4
info: 11 -> VISIBLETORECON
info: 12 -> RECLAIMABLE
info: 13 -> SORTDEFENSE
info: urb2304:Categories
info: 1 -> SELECTABLE
info: 2 -> BUILTBYTIER3ENGINEER
info: 3 -> BUILTBYTIER3COMMANDER
info: 4 -> CYBRAN
info: 5 -> STRUCTURE
info: 6 -> DEFENSE
info: 7 -> TECH3
info: 8 -> ANTIAIR
info: 9 -> DRAGBUILD
info: 10 -> SIZE4
info: 11 -> VISIBLETORECON
info: 12 -> RECLAIMABLE
info: 13 -> SORTDEFENSE
info: urb2304
info: Description -> AA SAM Launcher
info: BlueprintId -> urb2304
info: Source -> /units/urb2304/urb2304_unit.bp
info: SelectionThickness -> 0.60000002384186
info: urb2304:General
info: urb2304:General:CommandCaps
info: RULEUCC_Repair -> false
info: RULEUCC_Attack -> true
info: RULEUCC_Nuke -> false
info: RULEUCC_Capture -> false
info: RULEUCC_Transport -> false
info: RULEUCC_RetaliateToggle -> true
info: RULEUCC_Stop -> true
info: RULEUCC_Move -> false
info: RULEUCC_CallTransport -> false
info: RULEUCC_Guard -> false
info: RULEUCC_Patrol -> false
info: RULEUCC_Reclaim -> false
info: urb2304:General
info: Classification -> RULEUC_Weapon
info: TechLevel -> RULEUTL_Secret
info: UnitWeight -> 1
info: Category -> Defense
info: FactionName -> Cybran
info: UnitName -> Myrmidon
info: Icon -> amph
info: SelectionPriority -> 5
info: urb2304
info: LifeBarSize -> 1.25
info: urb2304:AI
info: urb2304:AI:TargetBones
info: 1 -> Turret
info: urb2304:AI
info: urb2304
info: BuildIconSortPriority -> 120
info: StrategicIconSortPriority -> 195
info: StrategicIconName -> icon_structure3_antiair
info: SizeZ -> 0.30000001192093
info: urb2304:Economy
info: BuildTime -> 950
info: urb2304:Economy:RebuildBonusIds
info: 1 -> urb2304
info: urb2304:Economy
info: BuildCostEnergy -> 10500
info: BuildCostMass -> 950
info: urb2304
info: urb2304:Footprint
info: MinWaterDepth -> 2
info: urb2304
info: urb2304:Interface
info: HelpText -> SAM Launcher
info: urb2304
info: SizeY -> 2
info: urb2304:Defense
info: ArmorType -> Structure
info: Health -> 3850
info: RegenRate -> 2
info: MaxHealth -> 3850
info: AirThreatLevel -> 44
info: urb2304
info: urb2304:Audio
info: Destroyed -> userdata: CSndParams* at 13EB9D80 = [CSndParams at 0x13915C30]
info: UISelection -> userdata: CSndParams* at 13EB9D94 = [CSndParams at 0x124A9D20]
info: urb2304
info: CollisionOffsetY -> -0.5
info: SizeX -> 0.60000002384186
info: urb2304:Wreckage
info: EnergyMult -> 0.5
info: urb2304:Wreckage:WreckageLayers
info: Air -> false
info: Land -> true
info: Seabed -> false
info: Water -> true
info: Sub -> false
info: urb2304:Wreckage
info: ReclaimTimeMultiplier -> 1
info: HealthMult -> 0.89999997615814
info: Blueprint -> /props/DefaultWreckage/DefaultWreckage_prop.bp
info: MassMult -> 0.89999997615814
info: urb2304
info: SelectionSizeX -> 0.64999997615814
info: urb2304:Intel
info: WaterVisionRadius -> 0
info: VisionRadius -> 43
info: urb2304
info: SelectionSizeZ -> 0.64999997615814
info: urb2304:Physics
info: TurnRate -> 0
info: MaxSteerForce -> 0
info: DragCoefficient -> 0.20000000298023
info: SkirtOffsetZ -> -0.5
info: urb2304:Physics:BuildOnLayerCaps
info: LAYER_Sub -> false
info: LAYER_Land -> true
info: LAYER_Seabed -> false
info: LAYER_Orbit -> false
info: LAYER_Water -> true
info: LAYER_Air -> false
info: urb2304:Physics
info: SkirtSizeZ -> 2
info: MotionType -> RULEUMT_None
info: SkirtSizeX -> 2
info: FlattenSkirt -> true
info: MinSpeedPercent -> 0
info: SkirtOffsetX -> -0.5
info: BankingSlope -> 0
info: urb2304
info: urb2304:Veteran
info: Level2 -> 32
info: Level3 -> 48
info: Level1 -> 16
info: Level4 -> 60
info: Level5 -> 72
info: urb2304
info: LifeBarOffset -> 0.34999999403954
info: urb2304:Display
info: Phase2MeshBlueprint -> /units/urb2304/urb2304_mesh_phase2
info: Phase1MeshBlueprint -> /units/urb2304/urb2304_mesh_phase1
info: CloakMeshBlueprint -> /units/urb2304/urb2304_mesh_cloak
info: UniformScale -> 0.03999999910593
info: MeshBlueprint -> /units/urb2304/urb2304_mesh
info: BuildMeshBlueprint -> /units/urb2304/urb2304_mesh_build
info: urb2304:Display:Abilities
info: 1 -> Aquatic
info: urb2304:Display
info: MeshBlueprintWrecked -> /units/urb2304/urb2304_mesh_wreck
info: SpawnRandomRotation -> true
info: urb2304:Display:Mesh
info: urb2304:Display:Mesh:LODs
info: urb2304:Display:Mesh:LODs:1
info: ShaderName -> Insect
info: LODCutoff -> 100
info: urb2304:Display:Mesh:LODs
info: urb2304:Display:Mesh:LODs:2
info: LODCutoff -> 215
info: ShaderName -> Insect
info: SpecularName -> urb2304_lod1_specteam.dds
info: AlbedoName -> urb2304_lod1_albedo.dds
info: urb2304:Display:Mesh:LODs
info: urb2304:Display:Mesh
info: Source -> /units/urb2304/urb2304_unit.bp
info: BlueprintId -> /units/urb2304/urb2304_mesh
info: IconFadeInZoom -> 130
info: urb2304:Display
info: PlaceholderMeshName -> UXB0001
info: urb2304
info: urb2304:Buffs
info: urb2304:Buffs:Regen
info: Level2 -> 4
info: Level3 -> 6
info: Level1 -> 2
info: Level4 -> 8
info: Level5 -> 10
info: urb2304:Buffs
info: urb2304
info: LifeBarHeight -> 0.075000002980232
info: urb2304:Weapon
info: urb2304:Weapon:1
info: DamageRadius -> 0
info: AlwaysRecheckTarget -> true
info: TargetCheckInterval -> 1.1764705181122
info: RateOfFire -> 0.85000002384186
info: TurretYaw -> 0
info: urb2304:Weapon:1:RackBones
info: urb2304:Weapon:1:RackBones:1
info: urb2304:Weapon:1:RackBones:1:MuzzleBones
info: 1 -> Turret_Left_Muzzle01
info: 2 -> Turret_Left_Muzzle02
info: 3 -> Turret_Left_Muzzle03
info: 4 -> Turret_Left_Muzzle04
info: urb2304:Weapon:1:RackBones:1
info: RackBone -> Turret_Left_Muzzle01
info: urb2304:Weapon:1:RackBones
info: urb2304:Weapon:1:RackBones:2
info: urb2304:Weapon:1:RackBones:2:MuzzleBones
info: 1 -> Turret_Right_Muzzle01
info: 2 -> Turret_Right_Muzzle02
info: 3 -> Turret_Right_Muzzle03
info: 4 -> Turret_Right_Muzzle04
info: urb2304:Weapon:1:RackBones:2
info: RackBone -> Turret_Right_Muzzle01
info: urb2304:Weapon:1:RackBones
info: urb2304:Weapon:1
info: Damage -> 110
info: ProjectileLifetime -> 4
info: DamageType -> Normal
info: urb2304:Weapon:1:Audio
info: Fire -> userdata: CSndParams* at 13EB9DBC = [CSndParams at 0x13D75870]
info: urb2304:Weapon:1
info: TurretPitch -> 25
info: CannotAttackGround -> true
info: TurretPitchRange -> 80
info: TurretPitchSpeed -> 120
info: TurretBoneYaw -> Turret
info: RackSalvoSize -> 1
info: RangeCategory -> UWRC_AntiAir
info: RackSlavedToTurret -> false
info: urb2304:Weapon:1:TargetPriorities
info: 1 -> SPECIALHIGHPRI
info: 2 -> AIR MOBILE HIGHPRIAIR
info: 3 -> AIR MOBILE BOMBER
info: 4 -> AIR MOBILE GROUNDATTACK
info: 5 -> AIR MOBILE TRANSPORTATION
info: 6 -> AIR MOBILE
info: urb2304:Weapon:1
info: MaxRadius -> 60
info: ProjectileId -> /projectiles/CAAMissileNanite02/CAAMissileNanite02_proj.bp
info: MuzzleVelocity -> 30
info: RackFireTogether -> false
info: RackSalvoChargeTime -> 0
info: TurretBoneMuzzle -> Turret_Left_Muzzle01
info: MuzzleSalvoSize -> 4
info: urb2304:Weapon:1:FireTargetLayerCapsTable
info: Water -> Air
info: Land -> Air
info: urb2304:Weapon:1
info: BallisticArc -> RULEUBA_None
info: MuzzleSalvoDelay -> 0.20000000298023
info: Turreted -> true
info: TurretYawSpeed -> 90
info: TurretYawRange -> 360
info: RackReloadTimeout -> 0
info: RackRecoilDistance -> 0
info: advancedTracking -> true
info: TrackingRadius -> 1.3999999761581
info: TargetRestrictDisallow -> UNTARGETABLE,SATELLITE, SATELLITE
info: FiringTolerance -> 50
info: RackSalvoReloadTime -> 0
info: TurretDualManipulators -> false
info: TurretBonePitch -> Turret_Barrel
info: Label -> Missile01
info: CollideFriendly -> false
info: urb2304:Weapon
info: urb2304
Attachments
DebugLogger.zip
(1.59 KiB) Downloaded 71 times
Janus
Crusader
 
Posts: 44
Joined: 17 Mar 2017, 06:24
Has liked: 0 time
Been liked: 11 times
FAF User Name: Janus

Re: Unit dump tool Mod.

Postby Uveso » 17 Jun 2017, 17:30

You can realize a blueprint dump with only 2 commands:

To access a blueprint, you don't need to loop over all blueprints until you find it.
You can directly access it over the global variable "__blueprints[]"
To format the output of an array inside the log window you can use "repr()"

This will show the blueprint of unit urb2304:

Code: Select all
    local UnitBluePrint = __blueprints["urb2304"]
    LOG('UnitBlueprint ', repr(UnitBluePrint), '\n')


If you want to dump the Display array of the blueprint type this:

Code: Select all
    local UnitBluePrint = __blueprints["urb2304"]
    LOG('UnitBlueprint ', repr(UnitBluePrint.Display), '\n')


This is how the dump looks, if its formated with "repr()"

Code: Select all
INFO: UnitBlueprint \000{
INFO:   Abilities={ "<LOC ability_aa>Anti-Air", "<LOC ability_aquatic>Aquatic" },
INFO:   BuildMeshBlueprint="/units/urb2304/urb2304_mesh_build",
INFO:   CloakMeshBlueprint="/units/urb2304/urb2304_mesh_cloak",
INFO:   DisplayName="",
INFO:   HideLifebars=false,
INFO:   IconName="urb2304",
INFO:   Mesh={
INFO:     BlueprintId="/units/urb2304/urb2304_mesh",
INFO:     BlueprintOrdinal=1864,
INFO:     Description="",
INFO:     IconFadeInZoom=130,
INFO:     LODs={
INFO:       {
INFO:         AlbedoName="/units/urb2304/urb2304_albedo.dds",
INFO:         LODCutoff=100,
INFO:         LookupName="",
INFO:         MeshName="/units/urb2304/urb2304_lod0.scm",
INFO:         NormalsName="/units/urb2304/urb2304_normalsTS.dds",
INFO:         Occlude=false,
INFO:         Scrolling=false,
INFO:         SecondaryName="",
INFO:         ShaderName="Insect",
INFO:         Silhouette=false,
INFO:         SpecularName="/units/urb2304/urb2304_SpecTeam.dds"
INFO:       },
INFO:       {
INFO:         AlbedoName="/units/urb2304/urb2304_lod1_albedo.dds",
INFO:         LODCutoff=215,
INFO:         LookupName="",
INFO:         MeshName="/units/urb2304/urb2304_lod1.scm",
INFO:         NormalsName="/units/urb2304/urb2304_normalsTS.dds",
INFO:         Occlude=false,
INFO:         Scrolling=false,
INFO:         SecondaryName="",
INFO:         ShaderName="Insect",
INFO:         Silhouette=false,
INFO:         SpecularName="/units/urb2304/urb2304_lod1_specteam.dds"
INFO:       }
INFO:     },
INFO:     SortOrder=0,
INFO:     Source="/units/urb2304/urb2304_unit.bp",
INFO:     StraddleWater=false,
INFO:     UniformScale=1
INFO:   },
INFO:   MeshBlueprint="/units/urb2304/urb2304_mesh",
INFO:   MeshBlueprintWrecked="/units/urb2304/urb2304_mesh_wreck",
INFO:   PlaceholderMeshName="UXB0001",
INFO:   SpawnRandomRotation=true,
INFO:   Tarmacs={
INFO:     {
INFO:       Albedo="Tarmacs/Tar6x_cybran_01_albedo",
INFO:       DeathLifetime=300,
INFO:       FadeOut=150,
INFO:       Length=6.4000000953674,
INFO:       Normal="Tarmacs/Tar6x_cybran_01_normals",
INFO:       Orientations={ 0, 90, 180, 270 },
INFO:       RemoveWhenDead=false,
INFO:       Width=6.4000000953674
INFO:     }
INFO:   },
INFO:   UniformScale=0.03999999910593
INFO: }\000
User avatar
Uveso
Supreme Commander
 
Posts: 1788
Joined: 11 Dec 2015, 20:56
Location: Germany
Has liked: 70 times
Been liked: 291 times
FAF User Name: Uveso

Re: Unit dump tool Mod.

Postby Janus » 17 Jun 2017, 18:46

Thank you for the information.
I had no idea it was there.
If I had, I would have adapted it to get what I needed rather than writing my own.
Especially since it has better formatting than mine does.

Sadly however, it lacks a couple of things I personally need, not that others will need them.
I will however, be adapting it add what I need.

So if someone else needs or wants

Weapon[1].???

instead of

Weapon{{,???

notation wise, it will be available once I get done adapting.
I will post it when I am done.

For most however, repr, will probably do everything they need.

Janus.
Janus
Crusader
 
Posts: 44
Joined: 17 Mar 2017, 06:24
Has liked: 0 time
Been liked: 11 times
FAF User Name: Janus


Return to Mods & Tools

Who is online

Users browsing this forum: No registered users and 1 guest