The International Simutrans Forum

 

Author Topic: 1991 Dennis Dart (9.8m, Carlyle-bodied)  (Read 11483 times)

0 Members and 1 Guest are viewing this topic.

Offline FS1819

  • *
  • Posts: 46
  • Citybus 353
  • Languages: EN, ZH
1991 Dennis Dart (9.8m, Carlyle-bodied)
« on: November 20, 2013, 07:16:55 PM »



This is my very first attempt at using the 3D modelling method. It is very, very crude, as a result. :(

It is modelled after the Darts in service with China Motor Bus in Hong Kong. But it is very easy to delete the AC unit to make it look like a UK vehicle.
« Last Edit: November 20, 2013, 08:54:51 PM by FS1819 »

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 19268
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: 1991 Dennis Dart (9.8m, Carlyle-bodied)
« Reply #1 on: November 20, 2013, 08:45:14 PM »
That is interesting - thank you for posting. May I ask - what did you use to model these? To get them into the game, it is necessary to import them into Blender somehow.

Offline FS1819

  • *
  • Posts: 46
  • Citybus 353
  • Languages: EN, ZH
Re: 1991 Dennis Dart (9.8m, Carlyle-bodied)
« Reply #2 on: November 20, 2013, 08:54:40 PM »
Google Sketchup 2013.

I have updated the graphics a little.



Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 19268
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: 1991 Dennis Dart (9.8m, Carlyle-bodied)
« Reply #3 on: November 20, 2013, 09:11:58 PM »
Do you know of any way of getting these images into Blender?

Offline FS1819

  • *
  • Posts: 46
  • Citybus 353
  • Languages: EN, ZH
Re: 1991 Dennis Dart (9.8m, Carlyle-bodied)
« Reply #4 on: November 20, 2013, 09:23:54 PM »
No, sorry. I am trying to learn it. Or, I can try to position the camera in Sketchup to isometric view. But I am not sure how the scale works in that way.

I know that I can export it to .dae and open it in Blender. But what follows is what I don't know.

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 19268
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: 1991 Dennis Dart (9.8m, Carlyle-bodied)
« Reply #5 on: November 20, 2013, 09:36:12 PM »
Have you read this thread by any chance?

Offline FS1819

  • *
  • Posts: 46
  • Citybus 353
  • Languages: EN, ZH
Re: 1991 Dennis Dart (9.8m, Carlyle-bodied)
« Reply #6 on: November 20, 2013, 10:04:15 PM »
Have you read this thread by any chance?
That is what I have been trying to do. Unfortunately, this is what I have got:



My model is full-size. If I choose "View All", the view just goes to infinity and beyond, where nothing is visible.

Edit: This is how large it is.  :-[

« Last Edit: November 20, 2013, 10:11:42 PM by FS1819 »

Offline The Hood

  • Moderator
  • *
  • Posts: 2889
  • pak128.Britain developer
Re: 1991 Dennis Dart (9.8m, Carlyle-bodied)
« Reply #7 on: November 20, 2013, 10:15:25 PM »
Rescaling is no problem. Select everything then press "s" followed by a scale factor - e.g 0.1 would make it 1/10th size etc. All Sketchup imports into blender have this problem at first but thankfully trivial to fix.

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 19268
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: 1991 Dennis Dart (9.8m, Carlyle-bodied)
« Reply #8 on: November 20, 2013, 10:16:47 PM »
Ahh, yes, that is a bit on the large side. You need to (1) open a .blender file containing an existing 'bus; (2) save that file with a new name; (3) import your model into a different layer than the existing 'bus; (5) resize it (hotkey "s" then type a proportion, such as 0.01) to be approximately in the right sort of scale; and (6) adjust the size more precisely until it is in scale with the existing 'bus. Once that is done, you can then render and export the images.

Offline FS1819

  • *
  • Posts: 46
  • Citybus 353
  • Languages: EN, ZH
Re: 1991 Dennis Dart (9.8m, Carlyle-bodied)
« Reply #9 on: November 20, 2013, 11:36:22 PM »
Thank you for your help. How do you change the background colour to Simutrans transparent colour though?

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 19268
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: 1991 Dennis Dart (9.8m, Carlyle-bodied)
« Reply #10 on: November 21, 2013, 12:15:33 AM »
You do that after exporting. First, use the Rneder Post Processor tool (also known as "ImageMasker") to combine the 8 images into a single image. Then, open the image in The GIMP. Open another image that already has the background colour in it, and use the dropper tool to select the background colour. Go to the flood fill tool, and set the tolerance to zero in the tool properties. Then use the flood fill tool to replace the black background with the Simutrans background colour.

Offline FS1819

  • *
  • Posts: 46
  • Citybus 353
  • Languages: EN, ZH
Re: 1991 Dennis Dart (9.8m, Carlyle-bodied)
« Reply #11 on: November 21, 2013, 02:46:08 AM »
I can't pak the file properly using Online-Dat. Would you mind paking it for me please?

Thank you in advance.

Offline kierongreen

  • Dev Team, Coder/patcher
  • Moderator
  • *
  • Posts: 2269
Re: 1991 Dennis Dart (9.8m, Carlyle-bodied)
« Reply #12 on: November 21, 2013, 05:37:25 AM »
Try changing dat to following:
Code: [Select]
obj=vehicle
name=Dennis_Dart_CMB
copyright=FS1819
engine_type=diesel
waytype=road
length=7
freight=Passagiere
payload=59
speed=100
cost=1500000
weight=7
power=97
gear=095
RunningCost=65
intro_year=1991
intro_month=4
retire_year=2013
retire_month=11
Constraint[Prev][0]=none
EmptyImage[S]=Dennis_Dart_CMB.0.2
EmptyImage[N]=Dennis_Dart_CMB.0.4
EmptyImage[E]=Dennis_Dart_CMB.0.0
EmptyImage[W]=Dennis_Dart_CMB.0.6
EmptyImage[SE]=Dennis_Dart_CMB.0.1
EmptyImage[NW]=Dennis_Dart_CMB.0.5
EmptyImage[NE]=Dennis_Dart_CMB.0.3
EmptyImage[SW]=Dennis_Dart_CMB.0.7
----------------------------------
name shouldn't contain spaces and if you aren't using smoke or sound then just miss those out.

Offline FS1819

  • *
  • Posts: 46
  • Citybus 353
  • Languages: EN, ZH
Re: 1991 Dennis Dart (9.8m, Carlyle-bodied)
« Reply #13 on: November 21, 2013, 09:02:00 AM »
It still doesn't work. I suspect it is the website's problem. I have tried Safari, Chrome, and Firefox and it still doesn't work.

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 19268
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: 1991 Dennis Dart (9.8m, Carlyle-bodied)
« Reply #14 on: November 21, 2013, 09:34:38 AM »
How are you compiling it?

Offline FS1819

  • *
  • Posts: 46
  • Citybus 353
  • Languages: EN, ZH
Re: 1991 Dennis Dart (9.8m, Carlyle-bodied)
« Reply #15 on: November 21, 2013, 11:30:27 AM »
Online-Dat -> Dat Upload -> /*Upload the files*/ -> Save .dat and create pak

I have got Windows working now. So I might try using the Windows makeobj.

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 19268
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: 1991 Dennis Dart (9.8m, Carlyle-bodied)
« Reply #16 on: November 21, 2013, 11:39:38 AM »
How did you create the .pak file?

Offline FS1819

  • *
  • Posts: 46
  • Citybus 353
  • Languages: EN, ZH
Re: 1991 Dennis Dart (9.8m, Carlyle-bodied)
« Reply #17 on: November 21, 2013, 02:21:44 PM »
How did you create the .pak file?
I used Online-dat. But it hasn't been working in the past few months. I am trying to use makeobj now that I have got Windows working on my Mac.

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 19268
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: 1991 Dennis Dart (9.8m, Carlyle-bodied)
« Reply #18 on: November 21, 2013, 07:11:17 PM »
Ahh, I have never used Online-dat, so do not know how it works. Do let us know how you get on with Makeobj. You might find that you need to make the 'bus a little smaller and the roof a little darker to fit in with other vehicles.

Offline FS1819

  • *
  • Posts: 46
  • Citybus 353
  • Languages: EN, ZH
Re: 1991 Dennis Dart (9.8m, Carlyle-bodied)
« Reply #19 on: November 22, 2013, 12:49:39 AM »
Ahh, I have never used Online-dat, so do not know how it works. Do let us know how you get on with Makeobj. You might find that you need to make the 'bus a little smaller and the roof a little darker to fit in with other vehicles.
I will probably make the current white regions a very light shade of grey instead.

By the way, what is the standard colour for Pak128Britain windows? The current one I use is the darker special colour.

Offline kierongreen

  • Dev Team, Coder/patcher
  • Moderator
  • *
  • Posts: 2269
Re: 1991 Dennis Dart (9.8m, Carlyle-bodied)
« Reply #20 on: November 22, 2013, 01:01:16 AM »
Black.

Offline greenling

  • Lounger
  • *
  • Posts: 1728
  • Simutransarchology it my hobby!
  • Languages: DE,EN
Re: 1991 Dennis Dart (9.8m, Carlyle-bodied)
« Reply #21 on: November 24, 2013, 11:21:45 AM »
Hello FS1819
That the onlinedat have not packing a pakfile out your Png and dat, lay on on your pngfile.
Onlinedat works on a linuxsystem and there can a wrong pngfile format get a strikeof onlinedat.

Offline FS1819

  • *
  • Posts: 46
  • Citybus 353
  • Languages: EN, ZH
Re: 1991 Dennis Dart (9.8m, Carlyle-bodied)
« Reply #22 on: December 05, 2013, 03:10:01 PM »
Hello FS1819
That the onlinedat have not packing a pakfile out your Png and dat, lay on on your pngfile.
Onlinedat works on a linuxsystem and there can a wrong pngfile format get a strikeof onlinedat.
Sorry, I don't quite understand what you mean. Do you mean my png file is somehow in the wrong format?

Offline Lmallet

  • Devotee
  • *
  • Posts: 727
  • 128 on the brain...
  • Languages: FR, EN
Re: 1991 Dennis Dart (9.8m, Carlyle-bodied)
« Reply #23 on: December 05, 2013, 08:08:39 PM »
If I recall correctly, your PNG needs to be in a colour depth of 24 bits per pixel (usually via your image editor's save options).  Your file above is saved in 32 bpp.

Offline FS1819

  • *
  • Posts: 46
  • Citybus 353
  • Languages: EN, ZH
Re: 1991 Dennis Dart (9.8m, Carlyle-bodied)
« Reply #24 on: December 09, 2013, 02:39:31 AM »
I used PakHelper and it works now. I don't know how though. How does PakHelper pak a file without me selecting a png image?

Anyway, thank you very much to everyone who helped me.
« Last Edit: December 09, 2013, 03:06:24 AM by FS1819 »

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 19268
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: 1991 Dennis Dart (9.8m, Carlyle-bodied)
« Reply #25 on: December 09, 2013, 01:31:34 PM »
Pak128.Britian is an open source pakset, so you will need to release the sources (.dat and png) for this to be included.

Offline FS1819

  • *
  • Posts: 46
  • Citybus 353
  • Languages: EN, ZH
Re: 1991 Dennis Dart (9.8m, Carlyle-bodied)
« Reply #26 on: December 09, 2013, 02:36:53 PM »
Pak128.Britian is an open source pakset, so you will need to release the sources (.dat and png) for this to be included.
It is the same as the files above.

*edit: I will upload it anyway.

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 19268
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: 1991 Dennis Dart (9.8m, Carlyle-bodied)
« Reply #27 on: December 09, 2013, 08:24:20 PM »
Thank you!

Offline The Hood

  • Moderator
  • *
  • Posts: 2889
  • pak128.Britain developer
Re: 1991 Dennis Dart (9.8m, Carlyle-bodied)
« Reply #28 on: January 19, 2014, 08:23:09 PM »
Now included in standard - thanks!

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 19268
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: 1991 Dennis Dart (9.8m, Carlyle-bodied)
« Reply #29 on: January 20, 2014, 12:35:10 AM »
May I ask, do you have a .blend file for this? I ask because it will be necessary to rescale all the road vehicles at some point to make them match the other vehicles, and this can only satisfactorily be done with the original .blend file.

Offline FS1819

  • *
  • Posts: 46
  • Citybus 353
  • Languages: EN, ZH
Re: 1991 Dennis Dart (9.8m, Carlyle-bodied)
« Reply #30 on: February 16, 2014, 01:44:58 PM »
May I ask, do you have a .blend file for this? I ask because it will be necessary to rescale all the road vehicles at some point to make them match the other vehicles, and this can only satisfactorily be done with the original .blend file.
Sorry, I didn't see this until now.

https://www.dropbox.com/s/xokyfj0r6y29tu2/Dennis%20Dart%20New.blend