The International Simutrans Forum

 

Author Topic: City road  (Read 4473 times)

0 Members and 1 Guest are viewing this topic.

Offline Krisztian

  • *
  • Posts: 41
  • by Krisztian
    • no
  • Languages: HU
City road
« on: September 09, 2009, 02:23:37 PM »
no can make pak files help  ::'(

Offline vilvoh

  • One of the good guys
  • Administrator (Inactive)
  • *
  • Posts: 4504
  • I'm the constructor, the architect
    • Escala real
Re: City road
« Reply #1 on: September 09, 2009, 02:37:44 PM »
The references to the icon and the cursor where disabled and the game needs them for the toolbars.

Code: [Select]
Obj=way
Name=city_road
waytype=road
cost=3000
maintenance=10
topspeed=50
max_weight=80
intro_year = 1900
intro_month = 6
#icon=> ./images/city_road.3.4 <=================================
#cursor=./images/city_road.3.5 <=================================
Image[-][0]=./images/city_road.1.2
Image[N][0]=./images/city_road.1.5
Image[S][0]=./images/city_road.2.1
Image[E][0]=./images/city_road.2.2

The solution is easy: remove the # from those lines and it should work. In addition, I would rename the image reference to city_road instead of /images/city_road. Remember to place the image and the dat file in the same place as the pakhelper binary.

Offline The Hood

  • Devotees (Inactive)
  • *
  • Posts: 2889
  • pak128.Britain developer
Re: City road
« Reply #2 on: September 09, 2009, 02:46:47 PM »
Given those files are the city road from pak128.Britain, they do work... If you plan on releasing these anywhere, please remember to credit Kieron Green.

Offline Krisztian

  • *
  • Posts: 41
  • by Krisztian
    • no
  • Languages: HU
Re: City road
« Reply #3 on: September 09, 2009, 02:56:36 PM »
Given those files are the city road from pak128.Britain, they do work... If you plan on releasing these anywhere, please remember to credit Kieron Green.
i know that this Pak Britain I ruin something only and I cannot do the accessory because of that I wrote it here here excuse me