View Full Version : Help porting Sid Railroads! Train Model


Jeckel
Mar 01, 2008, 11:14 PM
I found a model by AlazkanAssassin that he ported from Sid Railroads! demo and it rocks. So I went out and bought Railroads! hoping to rip a few more of its models.

Unfortunetly I can't seem to get the model to accually show up in the game. I'm sure its because there are things in the nif file that are specific to Railroads!, but nifscope is like greek to me.

Could one of the graphic skilled get this model working in the game for me. I would really appriceate it. I don't care about the animations, just need the model.

A zip with the nif, dds, and k* files is attached to this post.

Can anyone help?

snipperrabbit!!
Mar 02, 2008, 04:41 AM
I imported one of the nif in blender and exported it back to nif with the Civilization settings ( Civilization IV ; 4.2.2.0 ) and get this file (http://forums.civfanatics.com/uploads/105110/emd_f3_a1.zip). I cannot test if it works though so let me know if it has done it.

Jeckel
Mar 02, 2008, 10:28 AM
Thanx snipperrabbit!!, I'll give it a try when I get home tonight. :D

Jeckel
Mar 02, 2008, 09:31 PM
O, my bad, I should have said, but I wasn't at home and couldn't download the file. Could you please repost that. Sorry for the trouble.

EDIT: Hmm, I thought that maybe you had removed the file thinking I had already downloaded it, but it seems that either I can't download anything from CFC or the download server is down.

Shqype
Mar 03, 2008, 12:24 AM
O, my bad, I should have said, but I wasn't at home and couldn't download the file. Could you please repost that. Sorry for the trouble.

EDIT: Hmm, I thought that maybe you had removed the file thinking I had already downloaded it, but it seems that either I can't download anything from CFC or the download server is down.

I'm getting the same problem in another thread. It seems that the download server is down ... hopefully only for scheduled maintenance, I hope.

snipperrabbit!!
Mar 03, 2008, 03:29 PM
It's not my file, I had same problem yesterday when I tried to view Amra's preview. And it's still actuall.

Jeckel
Mar 03, 2008, 06:57 PM
Glad to hear its not just me, wonder if anyone has informed Thunderfall.

Jeckel
Mar 04, 2008, 09:25 AM
Weird, that file still seems to be missing.
I guess I'm going to have to learn to do this myself.

I downloaded and installed blender, but I can't seem to figure out how to import nif files?

NikNaks
Mar 05, 2008, 02:16 PM
You'll need the Nif Scripts as well (try here (http://sourceforge.net/news/?group_id=149157)).

Jeckel
Mar 05, 2008, 07:31 PM
Ahh, that would explain it, thanx NikNaks93. :cool:

Jeckel
Jun 26, 2008, 05:51 PM
I imported one of the nif in blender and exported it back to nif with the Civilization settings ( Civilization IV ; 4.2.2.0 ) and get this file (http://forums.civfanatics.com/uploads/105110/emd_f3_a1.zip). I cannot test if it works though so let me know if it has done it.

Alright, well I got side tracked a little bit, but am back looking at this project. It turns out that between the time sinpperrabbit posted that file and the time I got home the hacker struck and so much was lost.

I have reuploaded the zip of the train graphics from Sid Railroads. The zip is attached to the opening post of this thread. If some one could convert the file to Civ4 format I would really appriciate it. Heck if anyone is interested I have tons of these graphics and no idea how to convert them.

But I am off to bed for a bit, hope I can get some help from one of you graphics wizards. :band:

Jeckel
Jul 27, 2008, 06:19 AM
:bump:

Anyone?

I released one of the small modcomps from this project and have a few more done, but I don't want to release the acual train mod without a modern train graphic.

Please help me. :)

Shiggs713
Jul 27, 2008, 05:24 PM
Yes these train models or other various models would be awesome. some one with graphical skills please help.

Chuggi
Jul 27, 2008, 10:33 PM
I checked it out and I thought it was some of the shaders causing the problem, so I removed all these and just put a base civ iv shader on it, but it still doesn't work with the train animations. Do you think it would look alright with the tank animations? You might need to find some train sounds to make it more authentic though. One other thing is that it probably won't stay on the tracks all the time in game, which could look a bit strange.

Jeckel
Jul 28, 2008, 01:12 AM
Yea, tank animations will be fine. I think that or mech infantry animations is what I'm using for the Industrial train graphic I already have.

Chuggi
Jul 28, 2008, 02:22 AM
Cool. :thumbsup: I should have something for you to try tonight or tomorrow.

Jeckel
Jul 28, 2008, 10:24 PM
Awesome man, I would be really grateful. :goodjob:

Chuggi
Jul 30, 2008, 01:31 PM
Sorry. been a bit busy, I'll try and do it today. I want to make it less high poly while I'm at it. :p

Chuggi
Aug 08, 2008, 02:41 AM
Sorry again for the delay, this should work with the tank animations.

(attached)

Jeckel
Aug 12, 2008, 07:30 AM
No prob on the delay bro, this is a long term project at the moment so I'm not in a big hurry. Just glad your lending a hand. :goodjob:

I just got around to trying the model you posted and it doesn't seem to work ingame.

Here is the UnitArtInfo I'm using, maybe I am not calling the nif file in the right place?

<UnitArtInfo>
<Type>ART_DEF_UNIT_MODERN_ENGINE</Type>
<Button>Art/Interface/Buttons/Units/ModernEngine.dds</Button>
<fScale>0.65</fScale>
<fInterfaceScale>1.3</fInterfaceScale>
<bActAsLand>0</bActAsLand>
<bActAsAir>0</bActAsAir>
<NIF>Art/Units/Tank/Tank.nif</NIF>
<KFM>Art/Units/Tank/Tank.kfm</KFM>
<SHADERNIF>Art/Units/EMD_F_Series/tank_fx.nif</SHADERNIF>
<ShadowDef>
<ShadowNIF>Art/Units/01_UnitShadows/TankShadow.nif</ShadowNIF>
<ShadowAttachNode>BIP Pelvis</ShadowAttachNode>
<fShadowScale>1.0</fShadowScale>
</ShadowDef>
<fBattleDistance>0.35</fBattleDistance>
<fRangedDeathTime>0.31</fRangedDeathTime>
<bSmoothMove>1</bSmoothMove>
<bActAsRanged>0</bActAsRanged>
<TrainSound>AS2D_UNIT_BUILD_UNIT</TrainSound>
<AudioRunSounds>
<AudioRunTypeLoop>LOOPSTEP_TRANSPORT</AudioRunTypeLoop>
<AudioRunTypeEnd>ENDSTEP_TRANSPORT</AudioRunTypeEnd>
</AudioRunSounds>
<SelectionSound>AS3D_UN_TRANSPORT_FORT</SelectionSound>
<ActionSound>AS3D_UN_TRANSPORT_FORT</ActionSound>
</UnitArtInfo>

Thanx again for the help and I hope we can get this working. :D

NikNaks
Aug 12, 2008, 07:35 AM
I think the <NIF> path should link to the same file as the <SHADERNIF> if there's no alternative. What's the problem exactly?

Chuggi
Aug 12, 2008, 07:57 AM
From what I can see, use the modified nif for the <SHADERNIF> and the <NIF> paths. Like what NikNaks said. What's happening when you view the unit in game?

NikNaks
Aug 12, 2008, 08:01 AM
Er, didn't you basically repeat everything I said? :lol:

Jeckel
Aug 12, 2008, 08:02 AM
I think the <NIF> path should link to the same file as the <SHADERNIF> if there's no alternative. What's the problem exactly?

My bad, how many times have I pointed out to people that its hard to help with a problem if you don't define what the problem is.. Sorry bout that, its gettin late. :crazyeye:

Well, when I go to the Pedia Units Page from the Main Menu, and select the that unit, I get a python exception and only the image of the Unit's Button shows on the page. The exception is the vague one about an undefined C++ problem, but from my knowledge of the PediaUnit.py file, I'm pretty sure the problem arises when it tries to display the animation panel.

That and the game crashes when I try to place the unit in World Builder.

As per your suggestion, I changed the NIF path to the same as SHADERNIF and that did not fix the problem.

Any help would really be apprieceated. This graphics stuff is completly outside my real of expertise. :confused:

NikNaks
Aug 12, 2008, 08:13 AM
Hm, normally that error occurs when the animation is wrong or the model itself isn't working.

Chuggi, it's your work, it seems.

Chuggi
Aug 12, 2008, 09:09 AM
Ah ok, I'll check it out. He was asking me I think so I thought I should say something. Even if it was just repeating your post. :crazyeye:

There must be something from the Railroads! shaders in there still. I'll try a clean export.

Modeltrainman
Aug 16, 2008, 07:05 PM
Ah ok, I'll check it out. He was asking me I think so I thought I should say something. Even if it was just repeating your post. :crazyeye:

There must be something from the Railroads! shaders in there still. I'll try a clean export.

Please get this to work,this would be great.