Freedom Reborn

Freedom Force Forums => Mods => Topic started by: BentonGrey on September 12, 2016, 04:14:37 AM

Title: Replacing Cars
Post by: BentonGrey on September 12, 2016, 04:14:37 AM
Okay guys, here's a weird one.  I am trying to replace the cars in my Pulp Mod with the civ_ger_auto, but what should be working isn't.  I've changed the templates of the cars to point to the appropriate mesh, but in game the cars still have the old shapes, but now they are missing their textures.  I'm quite confused.  Anyone have any ideas?
Title: Re: Replacing Cars
Post by: detourne_me on September 12, 2016, 06:15:01 AM
Have you tried renaming the civ_ger_auto files to the standard car filenames and putting them in a folder?
Sometimes changes to the templates in FFEdit don't matter, and the .nifs have to be spoofed.
Title: Re: Replacing Cars
Post by: BentonGrey on September 12, 2016, 03:20:38 PM
Hey, great idea DM!  I'll give that a try.  I don't know why I didn't think of that.  :wacko:
Title: Re: Replacing Cars
Post by: BentonGrey on September 12, 2016, 11:12:24 PM
Bah!  No luck!  I'm afraid I'm going to have to give up on this.  I haven't a clue what the problem is.
Title: Re: Replacing Cars
Post by: Cyber Burn on September 12, 2016, 11:31:35 PM
What if you renamed the Nif File to "Character.Nif", would that work?
Title: Re: Replacing Cars
Post by: BentonGrey on September 13, 2016, 02:58:15 AM
Unfortunately it seems to make no difference.
Title: Re: Replacing Cars
Post by: Cyber Burn on September 13, 2016, 03:11:38 AM
Maybe I just broke the Mesh?  :doh:
Title: Re: Replacing Cars
Post by: BentonGrey on September 13, 2016, 03:53:13 AM
Haha, I don't think that's the problem, my friend.  If so, I'd have one of those weird boxes.  Nope, for some reason,  :ffvstr: will just not hear of changing the cars.  It's rather annoying.
Title: Re: Replacing Cars
Post by: GogglesPizanno on September 13, 2016, 10:59:31 PM
I think what you were doing would have worked ok if you were adding vehicles fresh to a map as they would load in the new nif template path that you set. For replacing vehicles on existing maps that NIF path was hard coded into the map file when it was placed, so changing the template will have no effect.

* As an aside, this is similar to doing the map pack. I had to manually replace all the paths in existing map files via a hex editor to convert them, while also changing the template paths for any future editing using FF1 assets. Its a 2 part conversion).


Anyway To do what you want to do, you have to manually overwrite the existing vehicle files in your mod.
To get the cars replaced you can do this:

1. In your mod folder navigate to the "\Art\library\vehicles" folder (if its not there, just create it)
2. Create folders for each vehicle you want to replace and name the folder to match the NIF Path name in FFEdit (NOT the template name itself).
3. Rename the nif files to use the nif path name from FFEdit.

Confused?

Let's use car_1 as an example.
Lets say we want to replace car_1 with car_ger_civauto1

Load up a level with car_1 in it (Such as City Landmarks) and you should see german vehicles parked around town.
Title: Re: Replacing Cars
Post by: BentonGrey on September 14, 2016, 10:34:01 PM
Goggles, you're the man.  I can only imagine how much craziness you had to deal with creating that awesome mappack! 

Anyway, we've got partial success.  The night cars have all been successfully replaced thanks to your advice  I've apparently screwed something up with the day cars, but I'll mess around with it and see if I can figure things out.  Most city missions take place at night anyway.