CDPR-Modding-Documentation / CDPR-Modding-Documentation/REDkit-bugtracker

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

Open
#21 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
7
Forks
1
PR merge metrics
No merged PRs in 30d

Description

**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`
```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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.