Invisible Unit Bugs
Moderator: Forum Moderators
Forum rules
- Please use [code] BBCode tags in your posts for embedding WML snippets.
- To keep your code readable so that others can easily help you, make sure to indent it following our conventions.
Invisible Unit Bugs
I can't make my unit pictures appear. I need someone to tell me what is wrong with my script so I can fix it:
The Unit pictures are stored in a folder called images, within the units folder of my addon.
please help.
Code: Select all
#textdomain wesnoth-units
[unit_type]
id=Sailor
name= _ "Sailor"
race=human
alignment=lawful
usage=scout
description= _ "Just a standard sailor."
image="images/Sailor.png"
profile=
{MAGENTA_IS_THE_TEAM_COLOR}
hitpoints=30
movement=7
movement_type=swimmer
cost=15
level=1
experience=40
advances_to="Pirate, First_Mate"
[attack]
name= _ "Knife"
icon=attacks/sword-human.png
type=pierce
range=melee
damage=3
number=3
[/attack]
[/unit_type]
please help.
Re: Invisible Unit Bugs
Did you set [binary_path] in _main.cfg?
Welcome to the forums!
Welcome to the forums!
Re: Invisible Unit Bugs
Make sure you have it in binarypath/images/images/Sailor.png.