SWBF CUSTOM
Would you like to react to this message? Create an account in a few clicks or log in to continue.

SWBF CUSTOM

The best way to custom your games.
 
HomeLatest imagesSearchRegisterLog in

Share
 

 [résolu]Stealth Unit

View previous topic View next topic Go down 
AuthorMessage
Glitch
Storm Trooper Corporal
Storm Trooper Corporal
Glitch

Messages : 408
Registration Date : 2012-04-02
Age : 29
Location : Baktoid Combat Automata

[résolu]Stealth Unit Empty
PostSubject: [résolu]Stealth Unit   [résolu]Stealth Unit I_icon_minitime5/20/2012, 11:21 pm

The bothan spy has the ability to become transparent for a short period of time.
I tried to get that ability to work on a side mod I'm working on.

Copied all_weap_inf_invisibility.odf to cis\odf and renamed it to cis_weap_inf_invisibility.odf

Then added

WEAPONSECTION = 2
WeaponName = "cis_weap_inf_invisibility"
WeaponAmmo = 0

to the class I wanted to use it.


When I tried it in game the class did not become transparent when the item was used. Am I missing something? What did i do wrong?



Last edited by Glitch on 7/27/2012, 8:17 pm; edited 2 times in total
Back to top Go down
https://2img.net/r/ihimg/a/img841/5206/glitchesultimatesidemod.jpg
ARC_Troopa_Nate
Clone Trooper Lietenant Colonel
Clone Trooper Lietenant Colonel
avatar

Messages : 203
Registration Date : 2011-07-07
Age : 26
Location : Behind you...

[résolu]Stealth Unit Empty
PostSubject: Re: [résolu]Stealth Unit   [résolu]Stealth Unit I_icon_minitime5/20/2012, 11:40 pm

It should work, keep the name all_weap_inf_invisibility for the weapon. I've added it to a republic guy and it worked fine when I kept the name the same.
Back to top Go down
http://www.moddb.com/mods/star-wars-battlefront-expansion-mod
Glitch
Storm Trooper Corporal
Storm Trooper Corporal
Glitch

Messages : 408
Registration Date : 2012-04-02
Age : 29
Location : Baktoid Combat Automata

[résolu]Stealth Unit Empty
PostSubject: Re: [résolu]Stealth Unit   [résolu]Stealth Unit I_icon_minitime5/20/2012, 11:51 pm

Haha awesome, thanks!


Last edited by Glitch25 on 5/21/2012, 12:05 am; edited 1 time in total
Back to top Go down
https://2img.net/r/ihimg/a/img841/5206/glitchesultimatesidemod.jpg
ARC_Troopa_Nate
Clone Trooper Lietenant Colonel
Clone Trooper Lietenant Colonel
avatar

Messages : 203
Registration Date : 2011-07-07
Age : 26
Location : Behind you...

[résolu]Stealth Unit Empty
PostSubject: Re: [résolu]Stealth Unit   [résolu]Stealth Unit I_icon_minitime5/20/2012, 11:53 pm

It worked? No problem! Smile
Back to top Go down
http://www.moddb.com/mods/star-wars-battlefront-expansion-mod
Glitch
Storm Trooper Corporal
Storm Trooper Corporal
Glitch

Messages : 408
Registration Date : 2012-04-02
Age : 29
Location : Baktoid Combat Automata

[résolu]Stealth Unit Empty
PostSubject: Re: [résolu]Stealth Unit   [résolu]Stealth Unit I_icon_minitime5/21/2012, 12:04 am

I think it would be interesting to use the white meter to the left (used by jet troopers, droideka's etc) instead of relying on your stamina. Would you know how to make it use that by chance?
Back to top Go down
https://2img.net/r/ihimg/a/img841/5206/glitchesultimatesidemod.jpg
ARC_Troopa_Nate
Clone Trooper Lietenant Colonel
Clone Trooper Lietenant Colonel
avatar

Messages : 203
Registration Date : 2011-07-07
Age : 26
Location : Behind you...

[résolu]Stealth Unit Empty
PostSubject: Re: [résolu]Stealth Unit   [résolu]Stealth Unit I_icon_minitime5/21/2012, 12:07 am

I'm not sure that if that is possible, it could be hardcoded. Compare the droideka shield odf to the stealth odf and see what you find.
Back to top Go down
http://www.moddb.com/mods/star-wars-battlefront-expansion-mod
Glitch
Storm Trooper Corporal
Storm Trooper Corporal
Glitch

Messages : 408
Registration Date : 2012-04-02
Age : 29
Location : Baktoid Combat Automata

[résolu]Stealth Unit Empty
PostSubject: Re: [résolu]Stealth Unit   [résolu]Stealth Unit I_icon_minitime5/21/2012, 12:21 am

ARC_troopa_Nate wrote:
I'm not sure that if that is possible, it could be hardcoded. Compare the droideka shield odf to the stealth odf and see what you find.

Didn't see anything in particular. But I did realize that I could mess around with how much energy it uses. I guess that will work just fine Smile
Back to top Go down
https://2img.net/r/ihimg/a/img841/5206/glitchesultimatesidemod.jpg
ARC_Troopa_Nate
Clone Trooper Lietenant Colonel
Clone Trooper Lietenant Colonel
avatar

Messages : 203
Registration Date : 2011-07-07
Age : 26
Location : Behind you...

[résolu]Stealth Unit Empty
PostSubject: Re: [résolu]Stealth Unit   [résolu]Stealth Unit I_icon_minitime5/21/2012, 12:24 am

Yep, you learn most things in modding from experimenting and looking at odfs. Good job! Great
Back to top Go down
http://www.moddb.com/mods/star-wars-battlefront-expansion-mod
Sponsored content




[résolu]Stealth Unit Empty
PostSubject: Re: [résolu]Stealth Unit   [résolu]Stealth Unit I_icon_minitime

Back to top Go down
 

[résolu]Stealth Unit

View previous topic View next topic Back to top 
Page 1 of 1

 Similar topics

-
» [résolu]Weapon and Unit Names.
» Unit Voices
» How to put shields for unit???
» All ODF's and MUNGE problems (included crashed maps)
» How to give a unit a wrist rocket?

Permissions in this forum:You cannot reply to topics in this forum
SWBF CUSTOM :: Star Wars Battlefront Games :: Modding-