How to make a disguise [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

Post Reply
User avatar
swado95
Rebel Warrant Officer
Rebel Warrant Officer
Posts: 304
Joined: Wed Apr 08, 2009 7:36 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Where I whant to be.

How to make a disguise [Solved]

Post 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.
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: how to make a disguise

Post 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.
User avatar
swado95
Rebel Warrant Officer
Rebel Warrant Officer
Posts: 304
Joined: Wed Apr 08, 2009 7:36 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Where I whant to be.

Re: how to make a disguise

Post by swado95 »

Ok that still works what is the file name called? And where is it located in the bf1 tools?
Xavious
Sith Master
Sith Master
Posts: 2783
Joined: Mon Jun 12, 2006 3:46 pm

Re: how to make a disguise

Post 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.
User avatar
Delta-1035
Sith Master
Sith Master
Posts: 2651
Joined: Mon Aug 04, 2008 10:32 am
Projects :: TOR GCWII GCW1035 BF1035
xbox live or psn: Johnny_Sciroppo
Location: Pizza Land

Re: how to make a disguise

Post 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 = ""
User avatar
swado95
Rebel Warrant Officer
Rebel Warrant Officer
Posts: 304
Joined: Wed Apr 08, 2009 7:36 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Where I whant to be.

Re: how to make a disguise

Post by swado95 »

Ok thanks it works right away right? Also dose it have a common or dose bf1 not have them.
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: how to make a disguise

Post 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
User avatar
swado95
Rebel Warrant Officer
Rebel Warrant Officer
Posts: 304
Joined: Wed Apr 08, 2009 7:36 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Where I whant to be.

Re: how to make a disguise

Post by swado95 »

Thanks I got it working.
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: how to make a disguise

Post by Fiodis »

Hmm, how does the DisguiseOwnerModel = "" line work? Is it a piece of redundant odf coding?
AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

Re: how to make a disguise

Post by AQT »

That parameter may be obsolete considering the disguise kit was an unused weapon from SWBFI.
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: how to make a disguise

Post 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.
User avatar
AceMastermind
Gametoast Staff
Gametoast Staff
Posts: 3285
Joined: Mon Aug 21, 2006 6:23 am
Contact:

Re: how to make a disguise

Post 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.
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: How to make a disguise [Solved]

Post 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.
Caleb1117
2008 Most Original Avatar
Posts: 3096
Joined: Sun Aug 20, 2006 5:55 pm
Projects :: No Mod project currently.
xbox live or psn: No gamertag set
Location: X-Fire: caleb1117 ಠ_ಠ

Re: how to make a disguise

Post 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.
User avatar
swado95
Rebel Warrant Officer
Rebel Warrant Officer
Posts: 304
Joined: Wed Apr 08, 2009 7:36 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Where I whant to be.

Re: How to make a disguise [Solved]

Post 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.
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: How to make a disguise [Solved]

Post by DarthD.U.C.K. »

if you want him to be complöetely invisible use the botans stealthweapon or the jedimindtrick odf
User avatar
swado95
Rebel Warrant Officer
Rebel Warrant Officer
Posts: 304
Joined: Wed Apr 08, 2009 7:36 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Where I whant to be.

Re: How to make a disguise [Solved]

Post 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.
Post Reply