News:

Simutrans.com Portal
Our Simutrans site. You can find everything about Simutrans from here.

Townhall won't work

Started by RealAmerican1776, September 08, 2020, 10:58:30 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

RealAmerican1776

Hello, my town hall won't work, every time I open the game it freezes and won't start.

Here's my .dat file.

Obj=building
Name=meeting_house
Type=tow
intro_year=1750
intro_month=1
retire_year=1860
intro_month=1
Build_Time=0
population_and_visitor_demand_capacity=25
copyright=TheRoadmaster1996
employment_capacity=20
mail_demand=20
climates=temperate, tundra
class_proportion[0]=3
class_proportion[1]=7
class_proportion[2]=25
class_proportion[3]=30
class_proportion[4]=30
class_proportion_jobs[0]=5
class_proportion_jobs[1]=10
class_proportion_jobs[2]=45
class_proportion_jobs[3]=25
class_proportion_jobs[4]=15
needs_ground=1
noconstruction=1
dims=1,1,4
BackImage[0][0][0][0][0][0]=meeting_house.0.0
BackImage[0][0][0][0][0][1]=meeting_house.0.1
BackImage[1][0][0][0][0][0]=meeting_house.0.2
BackImage[1][0][0][0][0][1]=meeting_house.1.0
BackImage[2][0][0][0][0][0]=meeting_house.1.1
BackImage[2][0][0][0][0][1]=meeting_house.1.2
BackImage[3][0][0][0][0][0]=meeting_house.2.0
BackImage[3][0][0][0][0][1]=meeting_house.2.1

Phystam

Do you have other townhalls for the other climates?
Please comment out the "climate=" section and try again.
(And "retire_*" section, too)

RealAmerican1776

No I don't have town halls for other climates yet. And I did get rid of the retire_date. I am experiencing another issue. I can't change the name of the town. Is the reason because I only have one town hall for only two regions?

Phystam

I don't know. And this is probably a pakset-specific thread, so this should be moved to the Extended pakset board. (TheRoadmaster, how many times do you take such similar mistakes?)

RealAmerican1776

#4
This is the first time it happened to me. Actually, I don't really make mistakes anymore I've grown since I first started and I've gotten pretty good at making stuff. For vehicles they might be unaligned but that's an easy fix if you got templates.

Phystam

You can just copy dat files from the British one. That is something like a template.

RealAmerican1776

No, I'm talking about the image, not the .dat file. It happens all the time, what I do is keep a finished vehicle that is aligned with all of its images and use that as my temp.

RealAmerican1776

Oh, I got the town hall thing figured out. Apparently you cannot have a one tile town hall in Pak256. It has to be four tiles or larger. I think the one tile hall is just too small for the pakset to read. It must be in the coding.