The International Simutrans Forum
September 10, 2010, 07:53:03 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
Simutrans.com Portal
Our Simutrans site. You can find everything about Simutrans from here.
 
   Home   Help Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: LMS pax & mail carriage constraints bug.  (Read 263 times)
0 Members and 1 Guest are viewing this topic.
AEO
*
Offline Offline

Posts: 330



« on: July 22, 2010, 04:31:53 AM »

After the TPO carriage, only the standard and parcel brake carriage can be used.
Logged
The Hood
Devotee
Moderator
*
Offline Offline

Posts: 1354


pak128.Britain developer


« Reply #1 on: July 22, 2010, 08:43:23 AM »

Noted.  Not sure when I'll get time to fix though...
Logged
jamespetts
Devotee
*
Offline Offline

Posts: 3416


Cake baker


WWW
« Reply #2 on: August 30, 2010, 10:44:41 PM »

Here's the fix:

Quote
obj=vehicle
name=LMS-Mail
speed=160
copyright=Kieron/James
intro_year=1933
intro_month=6
retire_year=1951
retire_month=2
waytype=track
freight=Post
payload=60
length=9

weight=30
cost=510000
runningcost=26
sound=-1

can_lead_from_rear=0
bidirectional=1

loading_time=8500
comfort=0

Constraint[Next][0]=LMS-d1904-Coach
Constraint[Next][1]=LMS-d2007-Parcel-Brake
Constraint[Next][2]=LMS-d1904-Dining
Constraint[Next][3]=LMS-Mail
Constraint[Next][4]=LMS-TPO

EmptyImage[E]=./images/lms-mail.0
EmptyImage[SE]=./images/lms-mail.1
EmptyImage=./images/lms-mail.2
EmptyImage[SW]=./images/lms-mail.3
EmptyImage[W]=./images/lms-mail.4
EmptyImage[NW]=./images/lms-mail.5
EmptyImage[N]=./images/lms-mail.6
EmptyImage[NE]=./images/lms-mail.7

---------------------------------

obj=vehicle
name=LMS-TPO
speed=160
copyright=Kieron/James
intro_year=1933
intro_month=6
retire_year=1951
retire_month=2
waytype=track
freight=Post
payload=40
length=9

weight=30
cost=720000
runningcost=37
sound=-1

can_lead_from_rear=0
bidirectional=1
catering_level=1
loading_time=8500
comfort=0
increase_maintenance_after_years=15
years_before_maintenance_max_reached=30
# Wooden bodied vehicles become obsolete sooner.

Constraint[Next][0]=LMS-d1904-Coach
Constraint[Next][1]=LMS-d2007-Parcel-Brake
Constraint[Next][2]=LMS-d1904-Dining
Constraint[Next][3]=LMS-Mail
Constraint[Next][4]=LMS-TPO


EmptyImage[E]=./images/lms-tpo.0
EmptyImage[SE]=./images/lms-tpo.1
EmptyImage=./images/lms-tpo.2
EmptyImage[SW]=./images/lms-tpo.3
EmptyImage[W]=./images/lms-tpo.4
EmptyImage[NW]=./images/lms-tpo.5
EmptyImage[N]=./images/lms-tpo.6
EmptyImage[NE]=./images/lms-tpo.7

The bolded parts are the changed parts. Some of this file has been changed for Experimental purposes, but copying and pasting the constraints part alone should fix the issue. (Previously, the figure 0 had been used for most of the constraints, rather than an ascending series of numbers).
Logged

James E. Petts

Download the experimental version of Simutrans and help to test lots of new features here.

Download Pak128.Britain here.
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.10 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.156 seconds with 24 queries.