Cockpits for Ground Vehicle

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
User avatar
Lorul1
Rebel Colonel
Rebel Colonel
Posts: 562
Joined: Wed Apr 24, 2013 10:34 pm
Projects :: Assault on Theed
Games I'm Playing :: Battlegrounds
xbox live or psn: No gamertag set
Location: Your House

Cockpits for Ground Vehicle

Post by Lorul1 »

I already figured out how to make the cockpits work for star-fighters, but its not working for ground vehicles. How do I make them work because I've seen them work before.
thelegend
Sith
Sith
Posts: 1433
Joined: Thu Jan 23, 2014 6:01 am
Projects :: Star Wars - Battlefront III Legacy
Games I'm Playing :: Swbf GTA CoD LoL KH
xbox live or psn: El_Fabricio#
Location: Right behind you :)

Re: Cockpits for Ground Vehicle

Post by thelegend »

In side assets there are odf's. and cockpit msh files. I think you should remove the "//" near "FirstPerson" in your vehicle's odf file.
But I think the problem is not the cockpit. More the change between 3rd and 1st person. I asked myself how to change this. Maybe in a "com_vehicle.odf" (Don't know if this exists..) there is a line that call: "VehicleFirstPerson = 1". And you have to set the 1 to 0...I think so. Never tested it.

Edit: I have found an interesting line. Look in your vehicle's odf for this line:

Code: Select all

ForceMode = 1
Change the 1 to 0. Maybe (I have not tested it..but) you should be able to change the 3rd. person view to 1st. person; If you press "V".
Hope this works.

Edit2: Look for the "//ForceMode = 2" line. Remove the // and your ground vehicle should got the cockpit view. But you can not switch between the views.
User avatar
Lorul1
Rebel Colonel
Rebel Colonel
Posts: 562
Joined: Wed Apr 24, 2013 10:34 pm
Projects :: Assault on Theed
Games I'm Playing :: Battlegrounds
xbox live or psn: No gamertag set
Location: Your House

Re: Cockpits for Ground Vehicle

Post by Lorul1 »

thanks for the help :thumbs:
but is there any way that I CAN switch between views while in a ground vehicles ?
User avatar
Firefang
Major
Major
Posts: 518
Joined: Mon Nov 15, 2010 8:55 pm
Location: California

Re: Cockpits for Ground Vehicle

Post by Firefang »

Nope. That part of the code was removed from swbf1 to swbf2.
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Re: Cockpits for Ground Vehicle

Post by Marth8880 »

Firefang wrote:Nope. That part of the code was removed from swbf1 to swbf2.
Conversion Pack has first-person cockpits.
User avatar
Firefang
Major
Major
Posts: 518
Joined: Mon Nov 15, 2010 8:55 pm
Location: California

Re: Cockpits for Ground Vehicle

Post by Firefang »

That are switchable for ground vehicles? I remember only being able to get those working by making them the only option. Flying vehicles could switch between the two but I'm pretty sure that ground can't.
thelegend
Sith
Sith
Posts: 1433
Joined: Thu Jan 23, 2014 6:01 am
Projects :: Star Wars - Battlefront III Legacy
Games I'm Playing :: Swbf GTA CoD LoL KH
xbox live or psn: El_Fabricio#
Location: Right behind you :)

Re: Cockpits for Ground Vehicle

Post by thelegend »

But ground and fly vehicles are the same. I added a cockpit to an atte. Looks nice..but I was not able to switch. I wonder why they (pandemic) have added the models, codes..and so on to our assets (maybe was planned to add in game) but do not have used it in game. If they did the models It should be work to add cockpits and should be able to switch.
User avatar
Lorul1
Rebel Colonel
Rebel Colonel
Posts: 562
Joined: Wed Apr 24, 2013 10:34 pm
Projects :: Assault on Theed
Games I'm Playing :: Battlegrounds
xbox live or psn: No gamertag set
Location: Your House

Re: Cockpits for Ground Vehicle

Post by Lorul1 »

Well, I guess there's some kind of difference because I have flying vehicles that can switch views and the ground vehicles can't. If anyone finds the answer to enable the switching for ground vehicles you can post it here, thanks to everyone who tried
thelegend
Sith
Sith
Posts: 1433
Joined: Thu Jan 23, 2014 6:01 am
Projects :: Star Wars - Battlefront III Legacy
Games I'm Playing :: Swbf GTA CoD LoL KH
xbox live or psn: El_Fabricio#
Location: Right behind you :)

Re: Cockpits for Ground Vehicle

Post by thelegend »

Maybe someone can ask one pandemic game developer. They should know why we cant switch between 1st and 3rd view.
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Re: Cockpits for Ground Vehicle

Post by Teancum »

Pandemic hasn't been around for years. The only ex-Pandemic dev we still know left the company early into SWBF2's development. Fact is though that it's hard coded so we can't fix it.
Post Reply