SWBF CUSTOM

The best way to custom your games.
 
HomeFAQSearchMemberlistUsergroupsRegisterLog in

Share | 
 

 [résolu]Stealth Unit

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

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

PostSubject: [résolu]Stealth Unit   5/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
View user profile http://imageshack.us/a/img841/5206/glitchesultimatesidemod.jpg
ARC_Troopa_Nate
Clone Trooper Lietenant Colonel
Clone Trooper Lietenant Colonel


Messages : 200
Registration Date : 2011-07-07
Age : 18
Location : Behind you...

PostSubject: Re: [résolu]Stealth Unit   5/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
View user profile http://www.moddb.com/mods/star-wars-battlefront-expansion-mod
Glitch
Storm Trooper Corporal
Storm Trooper Corporal
avatar

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

PostSubject: Re: [résolu]Stealth Unit   5/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
View user profile http://imageshack.us/a/img841/5206/glitchesultimatesidemod.jpg
ARC_Troopa_Nate
Clone Trooper Lietenant Colonel
Clone Trooper Lietenant Colonel


Messages : 200
Registration Date : 2011-07-07
Age : 18
Location : Behind you...

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

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

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

PostSubject: Re: [résolu]Stealth Unit   5/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
View user profile http://imageshack.us/a/img841/5206/glitchesultimatesidemod.jpg
ARC_Troopa_Nate
Clone Trooper Lietenant Colonel
Clone Trooper Lietenant Colonel


Messages : 200
Registration Date : 2011-07-07
Age : 18
Location : Behind you...

PostSubject: Re: [résolu]Stealth Unit   5/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
View user profile http://www.moddb.com/mods/star-wars-battlefront-expansion-mod
Glitch
Storm Trooper Corporal
Storm Trooper Corporal
avatar

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

PostSubject: Re: [résolu]Stealth Unit   5/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
View user profile http://imageshack.us/a/img841/5206/glitchesultimatesidemod.jpg
ARC_Troopa_Nate
Clone Trooper Lietenant Colonel
Clone Trooper Lietenant Colonel


Messages : 200
Registration Date : 2011-07-07
Age : 18
Location : Behind you...

PostSubject: Re: [résolu]Stealth Unit   5/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
View user profile http://www.moddb.com/mods/star-wars-battlefront-expansion-mod
Sponsored content




PostSubject: Re: [résolu]Stealth Unit   

Back to top Go down
 

[résolu]Stealth Unit

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

 Similar topics

-
» DARK ELDAR UNIT GUIDE - Plastikente
» I.C.U. (Intensive Care Unit) Clan
» Most powerful 40k unit
» Stealth (Demo) Released
» Scoring Unit

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