Page 1 of 1

Making gun into a prop

Posted: Thu Oct 06, 2016 4:03 am
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

Re: Making gun into a prop

Posted: Thu Oct 06, 2016 7:30 am
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....

Re: Making gun into a prop

Posted: Thu Oct 06, 2016 8:49 pm
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

Re: Making gun into a prop

Posted: Sat Oct 08, 2016 4:03 am
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?

Re: Making gun into a prop

Posted: Sat Oct 08, 2016 9:08 pm
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

Re: Making gun into a prop

Posted: Sun Oct 09, 2016 2:33 am
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.