Making gun into a prop

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
SkinnyODST
Lieutenant Colonel
Lieutenant Colonel
Posts: 545
Joined: Mon Jul 04, 2016 10:56 pm
Location: My other account
Contact:

Making gun into a prop

Post by SkinnyODST »

How do I make a weapon into a place-able prop in ZE? I`ve seen it done so I know it`s possible. I tried doing the same thing as making a vehicle into a prop with no success
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: Making gun into a prop

Post by thelegend »

What exactly did you do then? A simple prop just needs the calsslabel "prop" and nothing more than both Geometry names. If you already got it working for vehicles then why not doing the same with weapons just with their proper names. By the way what exactly didn't work? No success could mean anything: Crash, freeze, Munge Error, Doesn't look alright in-game, invisible, not there at all....
SkinnyODST
Lieutenant Colonel
Lieutenant Colonel
Posts: 545
Joined: Mon Jul 04, 2016 10:56 pm
Location: My other account
Contact:

Re: Making gun into a prop

Post by SkinnyODST »

Here`s the odf
Hidden/Spoiler:
[code][GameObjectClass]

ClassLabel = "prop"
GeometryName = "rep_weap_inf_rifle.msh"

[Properties]
GeometryName = "rep_weap_inf_rifle"
[/code]
It`s invisible in ZE. I should have put that in there my bad
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: Making gun into a prop

Post by thelegend »

Invisible you say. Make sure all necessary parts of your weapon/model are inside msh/odf, otherwise things wouldn't show up.
Make sure you have a proper .msh called "rep_weap_inf_rifle" inside your Msh folder. By the way what happens when you place your weapon in ZE? Does it crash? Can you still move/rotate it? Is it visible in-game at least?
SkinnyODST
Lieutenant Colonel
Lieutenant Colonel
Posts: 545
Joined: Mon Jul 04, 2016 10:56 pm
Location: My other account
Contact:

Re: Making gun into a prop

Post by SkinnyODST »

I`ve placed all the rifle msh`s and odf`s I could find in the folders. As for placing, I can place it and move it but theres just nothing there
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: Making gun into a prop

Post by thelegend »

I think I know where the problem is: The rifle has a specular map applied and textures with an alpha channel, which have an alpha layer applied, are invisible in ZE. As invisible as spaceships, command posts and unit models.
Post Reply