-
Notifications
You must be signed in to change notification settings - Fork 0
API Hero load_appearance
Endpoint: gm.hero.load_appearance
gm.hero.load_appearance <hero> <filename> [force]
| Parameter | Type | Required | Position | Description |
|---|---|---|---|---|
hero |
string | Yes | 0 | Hero name, StringId, or player
|
filename |
string | Yes | 1 | Name of the save file (without .json extension) |
force |
bool | No | 2 | Set to true to allow loading across genders (default: false) |
Loads a hero's appearance from a previously saved JSON file and applies it to the target hero. The loaded data includes face code, body properties (facial features, hair, beard, tattoos, body shape, height).
Age is NOT applied when loading an appearance — age is tied to the hero's birth date and game timeline. Use gm.hero.set_age to adjust age separately.
By default, the command enforces gender matching — you cannot load a female appearance onto a male hero or vice versa. Set force:true to bypass this restriction.
Use gm.hero.list_appearances to see all available saved files, and gm.hero.save_appearance to create them.
gm.hero.load_appearance derthert my_faceOutput:
[gm.hero.load_appearance] hero: Derthert | filename: my_face.json | force: False
SUCCESS: Loaded appearance onto Derthert from my_face.json
gm.hero.load_appearance 'Ira of the Aserai' warrior_facegm.hero.load_appearance 'Ira of the Aserai' warrior_face force:truegm.hero.load_appearance hero:derthert filename:king_lookgm.hero.load_appearance player my_characterStandard Appearance Transfer Workflow:
# 1. Find which appearance files are available
gm.hero.list_appearances
# 2. Load desired appearance onto target hero
gm.hero.load_appearance derthert king_lookBackup and Restore Workflow:
# Backup before editing
gm.hero.save_appearance derthert derthert_backup
# Make changes via face editor or load a preset
gm.hero.edit_appearance derthert
# Restore if needed
gm.hero.load_appearance derthert derthert_backupCross-Gender Loading:
# Apply a female appearance file to a male hero (use force)
gm.hero.load_appearance derthert ira_look force:trueHero Not Found:
Error: No hero found matching '{query}'.
Solution: Use gm.query.hero to verify the hero name or StringId.
File Not Found:
Error: Appearance file not found: '{filename}.json'
Solution: Use gm.hero.list_appearances to see available files.
Gender Mismatch (without force):
Error: Cannot load a female appearance onto a male hero. Use force:true to override.
Solution: Add force:true as the third argument if cross-gender loading is intended.
Filename Empty:
Error: Filename cannot be empty.
Solution: Provide a valid filename as the second argument.
- gm.hero.save_appearance - Save a hero's appearance to a file
- gm.hero.list_appearances - List all saved appearance files
- gm.hero.edit_appearance - Open the native face generator UI
- gm.hero.set_age - Set hero age (not applied by this command)
- gm.hero.load_development - Load hero skills and progression
- gm.hero.load_traits - Load hero traits
- gm.hero.load_character - Load full character data (appearance + development + traits + equipment)
- API-Hero-Overview - All hero commands
Age Not Applied: Age is tied to the hero's birth date in the game timeline and is not transferred. Adjust age separately with gm.hero.set_age.
Gender Enforcement: By default, only appearances from the same gender can be loaded. This prevents visual glitches from mismatched body geometry. Use force:true only if you understand the visual consequences.
Immediate Effect: The appearance change takes effect immediately. The hero's updated appearance will be visible in the game world without reloading the save.
Single Quotes Required: The TaleWorlds console requires SINGLE QUOTES (not double quotes) for multi-word arguments.
Named and Positional Arguments: Both named (hero:value) and positional arguments are supported. Named arguments use the format argName:value with no spaces around the colon.
Last Updated: 3/3/2026
🏠 Home | Quick Reference | Syntax Guide
Hero Commands
- gm.hero.abort_pregnancy
- gm.hero.add_gold
- gm.hero.add_hero_to_party
- gm.hero.create_companions
- gm.hero.create_lord
- gm.hero.create_party
- gm.hero.divorce
- gm.hero.edit_appearance
- gm.hero.edit_party
- gm.hero.equip_hero
- gm.hero.export_character
- gm.hero.generate_lords
- gm.hero.give_birth
- gm.hero.heal
- gm.hero.import_character
- gm.hero.impregnate
- gm.hero.imprison
- gm.hero.kill
- gm.hero.list_appearances
- gm.hero.list_characters
- gm.hero.list_developments
- gm.hero.list_traits
- gm.hero.load_appearance
- gm.hero.load_character
- gm.hero.load_development
- gm.hero.load_traits
- gm.hero.marry
- gm.hero.open_inventory
- gm.hero.release
- gm.hero.remove_clan
- gm.hero.rename
- gm.hero.save_appearance
- gm.hero.save_development
- gm.hero.save_traits
- gm.hero.set_age
- gm.hero.set_clan
- gm.hero.set_culture
- gm.hero.set_gold
- gm.hero.set_relation
- gm.hero.start_convrsation
Clan Commands
- gm.clan.add_gold
- gm.clan.add_gold_leader
- gm.clan.add_hero
- gm.clan.add_renown
- gm.clan.create_clan
- gm.clan.create_minor_clan
- gm.clan.destroy
- gm.clan.edit_banner
- gm.clan.equip_heroes
- gm.clan.generate_clans
- gm.clan.give_gold
- gm.clan.rename
- gm.clan.set_culture
- gm.clan.set_gold
- gm.clan.set_leader
- gm.clan.set_renown
- gm.clan.set_tier
- gm.clan.sync_kingdom_colors
Kingdom Commands
- gm.kingdom.add_clan
- gm.kingdom.call_ally_to_war
- gm.kingdom.create_kingdom
- gm.kingdom.declare_alliance
- gm.kingdom.declare_war
- gm.kingdom.destroy
- gm.kingdom.edit_banner
- gm.kingdom.equip_heroes
- gm.kingdom.generate_kingdoms
- gm.kingdom.get_tribute_info
- gm.kingdom.make_peace
- gm.kingdom.pay_tribute
- gm.kingdom.remove_clan
- gm.kingdom.rename
- gm.kingdom.set_ruler
- gm.kingdom.sync_vassal_banners
- gm.kingdom.trade_agreement
Settlement Commands
- gm.settlement.add_militia
- gm.settlement.fill_garrison
- gm.settlement.give_food
- gm.settlement.give_gold
- gm.settlement.rename
- gm.settlement.reset_names
- gm.settlement.set_culture
- gm.settlement.set_hearths
- gm.settlement.set_loyalty
- gm.settlement.set_owner
- gm.settlement.set_owner_clan
- gm.settlement.set_prosperity
- gm.settlement.set_security
- gm.settlement.set_village_bound_settlement
- gm.settlement.set_village_trade_bound_settlement
- gm.settlement.spawn_wanderer
- gm.settlement.upgrade_buildings
Item Commands
- gm.item.add
- gm.item.equip
- gm.item.equip_slot
- gm.item.list_equipped
- gm.item.list_inventory
- gm.item.load_equipment
- gm.item.load_equipment_both
- gm.item.load_equipment_civilian
- gm.item.remove
- gm.item.remove_all
- gm.item.remove_equipped
- gm.item.remove_equipped_modifier
- gm.item.save_equipment
- gm.item.save_equipment_both
- gm.item.save_equipment_civilian
- gm.item.set_equipped_modifier
- gm.item.set_inventory_modifier
- gm.item.transfer
- gm.item.unequip
- gm.item.unequip_all
- gm.item.unequip_slot
Query Commands
- gm.query.character_objects
- gm.query.character_objects_any
- gm.query.character_objects_info
- gm.query.clan
- gm.query.clan_any
- gm.query.clan_info
- gm.query.culture
- gm.query.culture_info
- gm.query.hero
- gm.query.hero_any
- gm.query.hero_info
- gm.query.item
- gm.query.item_any
- gm.query.item_info
- gm.query.kingdom
- gm.query.kingdom_any
- gm.query.kingdom_info
- gm.query.modifier_info
- gm.query.modifiers
- gm.query.settlement
- gm.query.settlement_any
- gm.query.settlement_info
- gm.query.troop
- gm.query.troop_any
- gm.query.troop_info