[QUESTION] [SOLVED] Problem with base-language

Discussion about Mods for Prison Architect

Moderator: NBJeff

User avatar
dsdude123
level2
level2
Posts: 77
Joined: Tue May 27, 2014 2:40 am
Location: Seattle,WA
Contact:

[QUESTION] [SOLVED] Problem with base-language

Postby dsdude123 » Sun Aug 31, 2014 4:17 am

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
Last edited by dsdude123 on Sun Aug 31, 2014 3:44 pm, edited 1 time in total.
User avatar
Phraxas
level2
level2
Posts: 107
Joined: Sun Aug 31, 2014 12:10 am
Location: USA - PA

Re: Problem with base-language

Postby Phraxas » Sun Aug 31, 2014 4:37 am

How are you referencing it in your script? The format seems correct.
User avatar
dsdude123
level2
level2
Posts: 77
Joined: Tue May 27, 2014 2:40 am
Location: Seattle,WA
Contact:

Re: Problem with base-language

Postby dsdude123 » Sun Aug 31, 2014 4:42 am

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
User avatar
Phraxas
level2
level2
Posts: 107
Joined: Sun Aug 31, 2014 12:10 am
Location: USA - PA

Re: Problem with base-language

Postby Phraxas » Sun Aug 31, 2014 5:01 am

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.
User avatar
knoest26
level5
level5
Posts: 1380
Joined: Thu Jul 11, 2013 6:55 pm
Location: The Netherlands
Contact:

Re: Problem with base-language

Postby knoest26 » Sun Aug 31, 2014 9:37 am

make a few enters before and after your text in the base-language, I have no idea why but the game requires that
User avatar
dsdude123
level2
level2
Posts: 77
Joined: Tue May 27, 2014 2:40 am
Location: Seattle,WA
Contact:

Re: Problem with base-language

Postby dsdude123 » Sun Aug 31, 2014 3:11 pm

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?
Image
User avatar
NukeLord
level4
level4
Posts: 525
Joined: Fri Nov 03, 2006 2:08 pm

Re: Problem with base-language

Postby NukeLord » Sun Aug 31, 2014 3:40 pm

That's not a problem with your mod, it happens for items in the game proper as well:
Image
User avatar
dsdude123
level2
level2
Posts: 77
Joined: Tue May 27, 2014 2:40 am
Location: Seattle,WA
Contact:

Re: Problem with base-language

Postby dsdude123 » Sun Aug 31, 2014 3:43 pm

NukeLord wrote:That's not a problem with your mod, it happens for items in the game proper as well:
Image


Thanks, I never actually realized that happens with everything.

Return to “Modding”

Who is online

Users browsing this forum: No registered users and 10 guests