Skip to content

[BUG] REDkit - Gardener tool doesn't remember template property #21

@Aelto

Description

@Aelto

Describe the bug
The Gardener tool allows us to define up to 10 meshes/templates so we can quickly & randomly place them around. In any of the 10 entries per preset, we can either assign a template or mesh, unfortunately in the current state the editor ignores the template when loading the presets.

The preset properly saves the templates as seen in this snippet found in r4LavaEditor2.ini

[Tools/Gardener/rocks_0/Stamp6]
ScaleMean=1
YawVariance=180
CastShadows=1
Template=
MaxNormalSnapAngle=6.6
LocalWindSimulation=0
YawMean=0
Mesh=environment\terrain_surroundings\common\dirt_wall\dirt_wall_round_cap_moss.w2mesh
ScaleVariance=0
AddCollisions=1
[Tools/Gardener/rocks_0/Stamp7]
ScaleMean=1
YawVariance=0
CastShadows=1
Template=dlc\dlcwild_monster_hunt\data\environment\meshes\gardener\gardener_cliff_rock.w2ent
MaxNormalSnapAngle=283
LocalWindSimulation=0
YawMean=13.85
Mesh=
ScaleVariance=0.25
AddCollisions=1

But when opening the Gardener tool after saving the preset, the entry with the w2ent will be null. The entry with the mesh is correct however.

To Reproduce
Steps to reproduce the behavior:

  1. Open Gardener tool
  2. Name the preset
  3. Setup the first entry with any w2ent
  4. Save the preset
  5. Close & Reopen the tool
  6. Confirm the template field is now null

Expected behavior
Remember templates the same way it remembers meshes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions