Page 1 of 1

How to make a disguise [Solved]

Posted: Thu Dec 03, 2009 5:35 pm
by swado95
I'm wondering how to make a disguise kit like the one in dark times. But I want it so my guy is still invisible to the ai like im clocking but my msh changes. How do I set that up? Also how could I make him turn into a tree? Yes I look around and I couldn't find it.

Re: how to make a disguise

Posted: Thu Dec 03, 2009 5:52 pm
by Fiodis
The disguise kit is a stock BF1 odf. It automatically makes the user take on the mesh of the first unit of the opposite team. So unless the first unit of the opposite team is, actually, a tree, this won't work out too nicely.

Re: how to make a disguise

Posted: Thu Dec 03, 2009 8:48 pm
by swado95
Ok that still works what is the file name called? And where is it located in the bf1 tools?

Re: how to make a disguise

Posted: Thu Dec 03, 2009 8:58 pm
by Xavious
I'm pretty sure it's all_weap_inf_disguisekit (or something along those lines), and it's in the all side odf folder.

Re: how to make a disguise

Posted: Fri Dec 04, 2009 7:53 am
by Delta-1035
It's all_weap_inf_disguise.odf

if I could not find it:
Hidden/Spoiler:
[WeaponClass]
ClassLabel = "disguise"

[Properties]

IconTexture = "IMP_fusioncutter_icon"

Label = "Disguise Kit"

GeometryName = ""
RoundsPerClip = 0

AnimationBank = "tool"

DisguiseOwnerModel = ""

Re: how to make a disguise

Posted: Fri Dec 04, 2009 5:23 pm
by swado95
Ok thanks it works right away right? Also dose it have a common or dose bf1 not have them.

Re: how to make a disguise

Posted: Fri Dec 04, 2009 5:25 pm
by DarthD.U.C.K.
it has no parent file, you can see that on the "classlabel = labelname" thing on top, if it would be a childodf it would have a "classparent = odfname" line there

Re: how to make a disguise

Posted: Fri Dec 04, 2009 5:27 pm
by swado95
Thanks I got it working.

Re: how to make a disguise

Posted: Fri Dec 04, 2009 8:10 pm
by Fiodis
Hmm, how does the DisguiseOwnerModel = "" line work? Is it a piece of redundant odf coding?

Re: how to make a disguise

Posted: Fri Dec 04, 2009 8:16 pm
by AQT
That parameter may be obsolete considering the disguise kit was an unused weapon from SWBFI.

Re: how to make a disguise

Posted: Fri Dec 04, 2009 8:17 pm
by Fiodis
It seems to me that it specifies which mesh for the trooper to take on, and so would be obsolete. I would test it myself, but nothing 3D works on my computer, including BF2.

Re: how to make a disguise

Posted: Sat Dec 05, 2009 12:43 am
by AceMastermind
Fiodis wrote:Hmm, how does the DisguiseOwnerModel = "" line work? Is it a piece of redundant odf coding?
I've never had any use for this weapon but if that line works in SWBF2 then I think you would enter a msh name without .msh appended between the quotation marks for the disguise that you want that unit to take on when it uses that weapon.
My theory is that if no msh is specified on that line then the game will default to using the 1st unit msh on the opposing team.

It should be an easy test to see if it works, just type the msh name of the 3rd unit on the opposing team in that line then go try it out and let us know what happens.

Re: How to make a disguise [Solved]

Posted: Sat Dec 05, 2009 1:35 pm
by Fiodis
I would if my BF2 were working at the moment. As it were, I'm modding blind for now, with no way to test things.

Re: how to make a disguise

Posted: Sat Dec 05, 2009 2:57 pm
by Caleb1117
AceMastermind wrote:
Fiodis wrote:Hmm, how does the DisguiseOwnerModel = "" line work? Is it a piece of redundant odf coding?
I've never had any use for this weapon but if that line works in SWBF2 then I think you would enter a msh name without .msh appended between the quotation marks for the disguise that you want that unit to take on when it uses that weapon.
My theory is that if no msh is specified on that line then the game will default to using the 1st unit msh on the opposing team.

It should be an easy test to see if it works, just type the msh name of the 3rd unit on the opposing team in that line then go try it out and let us know what happens.
Now I may be wrong, but waaaaay back when I was working on Dantooine, I tinkered with this kind of thing. IF I remember right, all that line did was somehow change the mesh used for the Icon. When I tested ingame the HUD icon had become a giant image of the player model I set in the parameters.

Re: How to make a disguise [Solved]

Posted: Sun Dec 06, 2009 3:14 pm
by swado95
Well Idk know if this has to do 100% with this topic but it is a disguise sort of. But for the cloaking device am I able to make it so when he dose clock he has camo on but hes not invisible? Like skin it.

Re: How to make a disguise [Solved]

Posted: Mon Dec 07, 2009 11:30 am
by DarthD.U.C.K.
if you want him to be complöetely invisible use the botans stealthweapon or the jedimindtrick odf

Re: How to make a disguise [Solved]

Posted: Mon Dec 07, 2009 5:58 pm
by swado95
no I want him be invisible to the spy and vanish from the mini map but he puts on camo not turns invisible.