Page 1 of 1
How do I make a vehicle prop? [Solved]
Posted: Sat May 12, 2018 10:49 am
by Cattermelon
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!
Re: How do I make a vehicle prop?
Posted: Sat May 12, 2018 1:25 pm
by Marth8880
Which thread did you try an idea from?
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"
Re: How do I make a vehicle prop?
Posted: Sat May 12, 2018 4:54 pm
by Cattermelon
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?
Re: How do I make a vehicle prop?
Posted: Sat May 12, 2018 7:06 pm
by DylanRocket
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.
Re: How do I make a vehicle prop?
Posted: Sat May 12, 2018 9:02 pm
by AQT
You can also find a static prop version of the stock AT-ST here:
Re: How do I make a vehicle prop?
Posted: Sat May 12, 2018 9:51 pm
by Cattermelon
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!