Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Clothing saved on character[Solved]

A topic by Voc007 created Jan 23, 2024 Views: 231 Replies: 5
Viewing posts 1 to 4

Would be nice when the created characters saved, the clothes would too.

it can be fixed by @export on the equipment and adding this on line 138 of CharacterCreation.gd


    apply_customization_options()
    attach_equipment()
    
    return instance
func attach_equipment() -> void:
    for eq in equipment:
        equipment[eq].attach(self)
    update_equipment_styles()

thanks, i will try that, any idea why saving and loading only works in the runtime in godot, not on the export build, I get error 7, saying it cant save, when the save menu comes up it has res:// directory, I think it has to be user://  ?

okay changed the ACCESS_RESOURCES to  ACCESS_FILESYSTEM... just had to read a bit

"any idea why saving and loading only works in the runtime in godot" no not yet, if I figure that part I'll let you know

In order for the clothing to show up in the editor @tool needs to be appended to the start of the equipment scripts