Dual weapons addon dissapear

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
CodaRez
Field Commander
Field Commander
Posts: 940
Joined: Mon May 25, 2009 6:49 am
Projects :: I would like one.....
Location: Ride around the world! And I won't give you anything :P

Dual weapons addon dissapear

Post by CodaRez »

More specifically, how would u make an addon dissapear when switching weapons?(like dual pistols)

Or did Darth D.U.C.K's anim assets alrdy cover this somehow?

If I made a new kind of dual weapon set(say a DC15 carbine with rifle counterpart)is tehre something special to make it dissapear?(transparency map?)
Deviss
Master of the Force
Master of the Force
Posts: 3772
Joined: Tue Aug 12, 2008 7:59 pm
Projects :: Clone Wars Extended
Games I'm Playing :: BF2

Re: Dual weapons addon dissapear

Post by Deviss »

CodaRez wrote:More specifically, how would u make an addon dissapear when switching weapons?(like dual pistols)

Or did Darth D.U.C.K's anim assets alrdy cover this somehow?

If I made a new kind of dual weapon set(say a DC15 carbine with rifle counterpart)is tehre something special to make it dissapear?(transparency map?)
i suppose must exist a way for decide when the addon mesh must disappear because in campaign for example mygeeto mission you take the cristal and when arrive to laat the addon mesh of the cristal disappear
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: Dual weapons addon dissapear

Post by Maveritchell »

DEVISS-REX wrote:
CodaRez wrote:More specifically, how would u make an addon dissapear when switching weapons?(like dual pistols)

Or did Darth D.U.C.K's anim assets alrdy cover this somehow?

If I made a new kind of dual weapon set(say a DC15 carbine with rifle counterpart)is tehre something special to make it dissapear?(transparency map?)
i suppose must exist a way for decide when the addon mesh must disappear because in campaign for example mygeeto mission you take the cristal and when arrive to laat the addon mesh of the cristal disappear
That's because it's a flag, not an addon mesh. Addon meshes don't disappear (unless you are in a jet state).
YaNkFaN
Field Commander
Field Commander
Posts: 943
Joined: Sat Dec 13, 2008 8:17 am

Re: Dual weapons addon dissapear

Post by YaNkFaN »

i was just going to say that so in essence you're asking can i remove part of the unit ie an arm or a leg which cannot be done unless you switch the models (which would involve killing the player and then re spawning him)
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: Dual weapons addon dissapear

Post by Fiodis »

An addon mesh is somewhat different than an arm or leg. But the same still holds that you can't make it disappear without having to respawn the character.
YaNkFaN
Field Commander
Field Commander
Posts: 943
Joined: Sat Dec 13, 2008 8:17 am

Re: Dual weapons addon dissapear

Post by YaNkFaN »

i understand it's different but i wanted him to get the idea that you can't just tell it to dissappear
Post Reply