Jump to content

Imperial Proximity Mines


Kodor
 Share

Recommended Posts

Quick question: Anyone know how to give imperial troops the proximity mines ability?

 

I've been trying. I think the problem is with the fact that the empire cannot purchase the black market item. Perhaps there is a way around this? If there is it escapes me. Thanks.

Link to comment
Share on other sites

Eh no that's not it, the ability will show up for any other faction - it just ignores the black market line....its something else.

http://img.photobucket.com/albums/v423/kc1991/droid803sig.jpg

"That was fun"

Link to comment
Share on other sites

I have done this for all my custom coding using abilities this way. Yea it makes it show for any faction you wish to use the ability for however there is more to doing abilities than just that - I forgot to mention.. I was first talking about doing this...

 

EXAMPLE:

 

SWAP_WEAPONS

TEXT_TOOLTIP_SHADOW_SWAP

TEXT_SHADOW_SWAP_DESCRIPTION

                No

                Disruptor_Swap_Weapon

Unit_Assist_Attack_Rebel_Soldier

 

This was just modified fromt he swap weapons ability. I set the requirement to no. The ablity works fine then..

 

BUT IF you are doing an ability that is a bit more complicated like using Buzz Droids then you need to comment that above AND also the BlackmarketItems.xml file and add the unit you want to have the ability to the relevant section: For Proximity mines for example..

 

        5.5

        Rebel

        1

        Grenadier_Proximity, Grenadier_Proximity_Solo

        1000

        i_sa_bl_proximity_mines.tga

        TEXT_BM_DEF_MINES

        TEXT_TOOLTIP_BM_DEF_MINES

        Underworld_Merc

   

 

so we change it to

 

        5.5

        Rebel

        1

        Grenadier_Proximity, Grenadier_Proximity_Solo

        1000

        i_sa_bl_proximity_mines.tga

        TEXT_BM_DEF_MINES

        TEXT_TOOLTIP_BM_DEF_MINES

        Underworld_Merc, Rebel_Soldier

   

 

So that means now if you have added the proximity mines ability to the Rebel Soldier - and did the trick with the Black Market items as I mentioned in the first part of the post, then Rebel Soldiers will (should now be able to lay the mines).

 

The code here is example only and not the exact code. Hopefully this explains what I was saying better.

Edited by jedi_consulor

http://i37.photobucket.com/albums/e99/drone_pilot/JC_Sig.jpg

 

Sote Mod Website @

 

http://sote-mod.com/forum/index.php?act=home

Link to comment
Share on other sites

OK, Thanks for the great responses guys.

 

However it seems the issue is more complex than simply entering a "No" into the bought on black market tag and editing the blackmarket items file.

 

I'm about to give up on the idea. I can't find anything in any of the entries in any of the files having anything to do with the mines or the units using them to give me a clue.

 

Does anyone know of a successful attempt to give prox mines to units of a faction other than the underworld?

Link to comment
Share on other sites

Does anyone know of a successful attempt to give prox mines to units of a faction other than the underworld?

What happens if you force corrupt a grenadier?

"I feel fantastic and I'm

Still Alive

and when you're dying I will be

Still Alive

and when you're dead I will be

Still Alive

STILL ALIVE"~GLaDOS

Anybody who thinks Palpatine is a sepratist knows NOTHING about star Wars

When in doubt- rocket it.

Dowload The Underworld's Might beta from Filefront!

Link to comment
Share on other sites

Ok, its absolutely NOTHING to do with black market...you're barking up the wrong tree...

I've attempted to make a minelayer drone that makes proxymines, and everything works up to actually dropping the mines (the ability gets a  no-go sound). I probably just missed a BEHAVIOR tag or a entry for it or something...but I didn't bother fixing it.

 

Force corrupted grenadiers work do they not?

http://img.photobucket.com/albums/v423/kc1991/droid803sig.jpg

"That was fun"

Link to comment
Share on other sites

I am pretty sure I got this ability working with some special ops guys I was using in my mod. The ability worked for me. ;)

 

- yep I thought I had used it on another unit. I use it for my Katarn Commandoes.. Here is people telling me I do not know my work..

 

Yes this actually works.

 

For the sake of more negative feedback I'll just post my code.

 

ABILITY_COUNTDOWN, SURFACE_FX,WALK_LOCOMOTOR,TARGETING,WEAPON, STUNNABLE, REVEAL,HIDE_WHEN_FOGGED,DAMAGE_TRACKING, IDLE, GARRISON_UNIT

 

SWAP_WEAPONS

TEXT_TOOLTIP_KATARN_SWAP

I_SA_CONCUSSIVE.TGA

TEXT_KATARN_SWAP_DESCRIPTION

                No

                Disruptor_Swap_Weapon

Unit_Attack_Rebel_Infiltrator

                PROXIMITY_MINES

                80.0

                Grenadier_Proximity_Solo

                500.0

               

                50.0

                No

           

           

           

           

                User_Input

                0.0

                70.0

                Proximity_Mine

                30

                3

                3

                Unit_Lightsaber_Projectile_Block

                Yes

           

 

 

I think this is all I did to make it work. I think DROID you may of missed the bit at the end ? The Proximity mine ability name - if not then I do not know what you have done. By the way calm down and talk to people properly instead of ranting like that. I have tried to explain to the guy who made this thread I have this ability working with my own units, so IMO I do know what I am on about. Although Blackmarketitems is not needed for this ability to work in this case. Looks like you did miss some thing in the land behaviour code I think.

Edited by jedi_consulor

http://i37.photobucket.com/albums/e99/drone_pilot/JC_Sig.jpg

 

Sote Mod Website @

 

http://sote-mod.com/forum/index.php?act=home

Link to comment
Share on other sites

Thanks for the help consulor. The only difference I see in your code is that it uses the Grenadier_proximity_solo. I am using grenadier_proximity. I'm not sure if this will make a difference, but if you say it works for you I'll give it a try.

 

BTW I don't think D803 meant to jump on your throat. He is a bit of a snob.  :P 

Link to comment
Share on other sites

Yea... I wasn't jumping on you...I was just trying to get the point across that the black market had nothing to do with it...that's all...

Darn it, I hate it when I get misunderstood...or maybe I am a snob?

http://img.photobucket.com/albums/v423/kc1991/droid803sig.jpg

"That was fun"

Link to comment
Share on other sites

  • 3 weeks later...

Just as an Update,

 

I got the mines to work. It was as simple as entering No in the tag. And....  Making the troopers unique or hero units.

 

I don't know how to get prox mines to work for the rebels and empire otherwise.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

Copyright (c) 1999-2022 by SWRebellion Community - All logos and trademarks in this site are property of their respective owner. The comments are property of their posters. Star Wars(TM) is a registered trademark of LucasFilm, Ltd. We are not affiliated with LucasFilm or Walt Disney. This is a fan site and online gaming community (non-profit). Powered by Invision Community

×
×
  • Create New...