Alright so I'm trying to figure out how to change a units attack. For the condition I just put always and then the action I tried modify weapon type and all that. Tried a few different ones. It tells me it wont work because its using players 9-12... What am I doing wrong?
I simply want to try and do something like give marine the lurker attack... Or an ultralisk the yomato cannon o_O
If it doesn't work then it doesn't work. The only way around it is the change it for a different unit and then changing that unit to match the unit that you originally wanted.
Giving the marine a lurker attack should be possible, and the Ultralisk with Yamato is possible but it won't look how you would expect it to. I'm not sure why you can't get Uberation to do it though.
With EUD you can choose to either set or add/subtract values. Wherever possible, use add or subtract, especially with values that are not four bytes long, like "unit ground weapon." I remember DT_Battlekruser said that Uber does not set values that are not exactly four bytes, that might be your problem. If that is the problem, you need to find out the old weapon ID and the new weapon ID for your unit, find the difference and add/subtract it with your triggers. The simplest way for you to find the old and new weapon ID might be just looking at the list of weapons in MemCalc, although an established modder would use Arsenal Zero.
QUOTE(BSTRhino @ Aug 8 2005, 10:10 PM)
I remember DT_Battlekruser said that Uber does not set values that are not exactly four bytes, that might be your problem.
[right][snapback]282528[/snapback][/right]
Should not be. Next time look at how the program works first. If you set fewer than four bytes you can set all of them at the same time and it should work.
Oh. I just looked at Uberation and so now I see how it works. Sorry LegacyWeapon.
While looking at Uberation I looked for "Modify Weapon Type" which you said you were editing, and I found it under the "Weapons" section. Everything under there changes the properties of weapons, whereas what's under units changes the properties of units. It might be a bit confusing at first, but the weapon that a unit uses is a property of a unit. Things such as weapon damage are properties of weapons. You need to choose something under the "Units" section to get what you want. Choose one of "Set Ground Weapon", "Modify Ground Weapon", "Set Air Weapon" or "Modify Air Weapon."