Modding the weapon switch ability -1 reply

Please wait...

Jubei256

I don't spend enough time here

50 XP

28th May 2008

0 Uploads

16 Posts

0 Threads

#1 8 years ago

How can you make other land forces switch between weapons? For example, rebel infantry can switch from shooting their laser weapon to a missile? Is there a secret to the T4-B tank ability? I tried modding the same ability to other things but it doesn't work. Can you please help?:confused:




Guest

I didn't make it!

0 XP

 
#2 8 years ago

You need a hardpoint to be added or another projectile , its fairly simple . look at underworld disrupter mercs and the t4b code to get a better idea




Sith of Steel

I exist

50 XP

19th September 2008

0 Uploads

269 Posts

0 Threads

#3 8 years ago

Look at Bossk's coding, it's much easier to do. Just have both projectiles (separated by a comma) in the projectile line, and add Bossk's Switch Weapons coding. The first will be default, and the second will be the one you switch to. Look at Bossk's coding to see how to arrange the projectiles in the projectile line (although it's fairly simple).




Jubei256

I don't spend enough time here

50 XP

28th May 2008

0 Uploads

16 Posts

0 Threads

#4 8 years ago

Thanks a lot guys. I've been playing with the FX Mod and its pretty cool. The Imperial Commandos have that weapon switch feature and I was trying to give the Rebel Riflemen the same kind of thing. :bows:




Jubei256

I don't spend enough time here

50 XP

28th May 2008

0 Uploads

16 Posts

0 Threads

#5 8 years ago

Hmmm, tried it with Bossk's weapon switch ability and still didn't work. I guess maybe each one needs its own special weapon switch ability? The T4B has rocket_launch and Bossk has weapon swap but they just don't want to work with the Rifleman file in the FX Mod. Totally confused as to why it won't work with it. :confused:




Sith of Steel

I exist

50 XP

19th September 2008

0 Uploads

269 Posts

0 Threads

#6 8 years ago

Well, with infantry squads it's a little more tricky. Did you make sure that the ability is included in the Rebel Soldier container? Otherwise, yeah, it won't work.




Jubei256

I don't spend enough time here

50 XP

28th May 2008

0 Uploads

16 Posts

0 Threads

#7 8 years ago
Sith of Steel;5389933Well, with infantry squads it's a little more tricky. Did you make sure that the ability is included in the Rebel Soldier container? Otherwise, yeah, it won't work.

Yea, it works now but I have another problem with it. I can get the weapon swap icon to appear for their ability on the ability bar. I can right click on the group to get it to work though. :)




Sith of Steel

I exist

50 XP

19th September 2008

0 Uploads

269 Posts

0 Threads

#8 8 years ago

What problem do you have with it now, then?




Jubei256

I don't spend enough time here

50 XP

28th May 2008

0 Uploads

16 Posts

0 Threads

#9 8 years ago
Sith of Steel;5390311What problem do you have with it now, then?

Well, you how the icon for the ability appear in your command bar for the groups of units, ex. tie fighters have the hunt icon in the bar for the hunt ability and neublon-b frigates have the shield icon for the shield ability. How do I make the icon for the swap weapons ability show up on the ability bar over the riflemen group I control, so I don't have to right click on the group directly? Thanx, I appreciate this. :bows: