|
Author | Message |
---|
Glitch Storm Trooper Corporal
Messages : 408 Registration Date : 2012-04-02 Age : 29 Location : Baktoid Combat Automata
| Subject: [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 |
|
| |
ARC_Troopa_Nate Clone Trooper Lietenant Colonel
Messages : 203 Registration Date : 2011-07-07 Age : 26 Location : Behind you...
| Subject: 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. |
|
| |
Glitch Storm Trooper Corporal
Messages : 408 Registration Date : 2012-04-02 Age : 29 Location : Baktoid Combat Automata
| Subject: Re: [résolu]Stealth Unit 5/20/2012, 11:51 pm | |
|
Last edited by Glitch25 on 5/21/2012, 12:05 am; edited 1 time in total |
|
| |
ARC_Troopa_Nate Clone Trooper Lietenant Colonel
Messages : 203 Registration Date : 2011-07-07 Age : 26 Location : Behind you...
| Subject: Re: [résolu]Stealth Unit 5/20/2012, 11:53 pm | |
| It worked? No problem! |
|
| |
Glitch Storm Trooper Corporal
Messages : 408 Registration Date : 2012-04-02 Age : 29 Location : Baktoid Combat Automata
| Subject: 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? |
|
| |
ARC_Troopa_Nate Clone Trooper Lietenant Colonel
Messages : 203 Registration Date : 2011-07-07 Age : 26 Location : Behind you...
| Subject: 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. |
|
| |
Glitch Storm Trooper Corporal
Messages : 408 Registration Date : 2012-04-02 Age : 29 Location : Baktoid Combat Automata
| Subject: 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 |
|
| |
ARC_Troopa_Nate Clone Trooper Lietenant Colonel
Messages : 203 Registration Date : 2011-07-07 Age : 26 Location : Behind you...
| Subject: 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! |
|
| |
Sponsored content
| Subject: Re: [résolu]Stealth Unit | |
| |
|
| |
|