How do I make a vehicle prop? [Solved]

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

Private
User avatar
Posts: 36
Joined: Mon Aug 28, 2017 12:14 pm
Projects :: No Mod project currently.
xbox live or psn: No gamertag set

How do I make a vehicle prop? [Solved]

Postby Cattermelon » Sat May 12, 2018 10:49 am

I was wondering if there was any way to make a vehicle into a prop, so that, for example, i could have three at-st's lined up in a row, but instead of actual vehicles you can enter, they're simply props. I looked around the forums and tried an idea from one thread I found, but with no luck. Help would be much appreciated!
Last edited by Cattermelon on Sun May 13, 2018 9:39 am, edited 1 time in total.

Resistance Leader
User avatar
Posts: 5168
Joined: Tue Feb 09, 2010 8:43 pm
Location: Greater Seattle Area
Projects :: EVERYWHERE + Zero Munge + TCW
Games I'm Playing :: Cities Skylines
xbox live or psn: Marth8880

Re: How do I make a vehicle prop?

Postby Marth8880 » Sat May 12, 2018 1:25 pm

Which thread did you try an idea from? :o

In any regard, all you need to do (in most cases) is create a prop ODF for the vehicle. :)

Code: Select all
[GameObjectClass]
ClassLabel      = "prop"
GeometryName    = "vehicle_mesh_name.msh"

[Properties]
GeometryName    = "vehicle_mesh_name"

FoleyFXGroup    = "metal_foley"

Private
User avatar
Posts: 36
Joined: Mon Aug 28, 2017 12:14 pm
Projects :: No Mod project currently.
xbox live or psn: No gamertag set

Re: How do I make a vehicle prop?

Postby Cattermelon » Sat May 12, 2018 4:54 pm

I honestly don't remember, ha ha. But I'm pretty sure it was the same thing you suggested to me. Anyways, I tried it, and it worked... kind of. This is what I wrote in the prop odf file, which I saved in my world's odf folder.

Code: Select all
[GameObjectClass]
ClassLabel = "prop"
GeometryName = "imp_walk_atst.msh"

[Properties]
GeometryName = "imp_walk_atst"

FoleyFXGroup = "metal_foley"


When I placed the prop in the editor as well as in-game it looked quite odd (i have screenshots ready to send but couldn't figure out how to embed pictures). I had no errors in my debug log either. So, what now?

2nd Lieutenant
User avatar
Posts: 372
Joined: Sun Sep 02, 2012 2:47 am
Location: Starkiller Base
Projects :: None
Games I'm Playing :: SWBF2
xbox live or psn: No gamertag set

Re: How do I make a vehicle prop?

Postby DylanRocket » Sat May 12, 2018 7:06 pm

I believe that happens because you haven't assigned any animation to the prop.

Try this:

Code: Select all
[GameObjectClass]

ClassLabel      =   "animatedprop"
GeometryName    =   "imp_walk_atst.msh"


[Properties]

GeometryName    =   "imp_walk_atst"
AnimationName   =   "imp_walk_atst"
Animation       =   "idle"

FoleyFXGroup = "metal_foley"


It will probably still look weird in Zero Editor but should look fine in-game. Be sure to copy the AT-ST animations to your map's munged folder.

Gametoast Staff
User avatar
Posts: 4957
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA
Projects :: Naboo Selton

Re: How do I make a vehicle prop?

Postby AQT » Sat May 12, 2018 9:02 pm


You can also find a static prop version of the stock AT-ST here:

Private
User avatar
Posts: 36
Joined: Mon Aug 28, 2017 12:14 pm
Projects :: No Mod project currently.
xbox live or psn: No gamertag set

Re: How do I make a vehicle prop?

Postby Cattermelon » Sat May 12, 2018 9:51 pm

So, everything seems to be in order now except, and I know this sounds crazy, the cockpit isn't in place. It's, like, half submerged in the ground.

UPDATE:
I found this error in the debug log, figured it would be helpful.

Code: Select all
Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\FLEffect.cpp(427)
Attach: model '' [ddf82d1c] has no hardpoint '' [845f8034]


2nd update:
I went over everything again, and this time the solution AQT pointed me to worked. Everything is running smoothly now. Thanks a bunch for the help!

Return to SWBF2 Modding

Who is online

Users browsing this forum: No registered users and 5 guests