I seem to be having an issue with base-language.txt when trying to name an object in my mod it appears as "object_computerstandard" instead of "Computer". However, the room names appear correctly. Anyone have any idea why this is happening?
Link to base-language: https://www.dropbox.com/s/6x3wjtjj8w9xn ... e.txt?dl=0
[QUESTION] [SOLVED] Problem with base-language
Moderator: NBJeff
[QUESTION] [SOLVED] Problem with base-language
Last edited by dsdude123 on Sun Aug 31, 2014 3:44 pm, edited 1 time in total.
Re: Problem with base-language
How are you referencing it in your script? The format seems correct.
Re: Problem with base-language
Phraxas wrote:How are you referencing it in your script? The format seems correct.
Here's the code for the object.
Code: Select all
BEGIN Object
Name ComputerStandard
Price -450
Width 1
Height 1
ConstructionTime 2.00000
Toughness 10.0000
MaxStackSize 1
RenderDepth 1
Properties StaticObject
Properties Electrical
Properties ExplodeWhenWet
Properties Sellable
Group StaticObject
BlockedBy Wall
BlockedBy StaticObject
BEGIN Sprite
x 10
y 0
w 2
h 2
RotateType 4
END
END
Re: Problem with base-language
Maybe you have to have the two first lines of your base-language.txt empty spaces? It might have issues gathering the first line or something.
Re: Problem with base-language
make a few enters before and after your text in the base-language, I have no idea why but the game requires that
Re: Problem with base-language
knoest26 wrote:make a few enters before and after your text in the base-language, I have no idea why but the game requires that
Thanks! The name is appearing properly now. However, when the job to install the computer is issued it appears as "Install ComputerStandard" Any idea why this is happening?
Re: Problem with base-language
That's not a problem with your mod, it happens for items in the game proper as well:
Re: Problem with base-language
NukeLord wrote:That's not a problem with your mod, it happens for items in the game proper as well:
Thanks, I never actually realized that happens with everything.
Who is online
Users browsing this forum: No registered users and 10 guests