I've been able to figure out how to get a unit to fire two weapons at the exact same time. What I'd like to be able to do is have the unit fire it's weapons based on the period intervals.
Look for a modifiable variable under each weapon, called Weapon - Options(it is one of the last modifiable fields, right above Weapon - Target Filters). Edit that, and make sure to uncheck Linked Cooldown on both weapons. And, you could also put a check next to Display Cooldown for each weapon, that way you can see when your 3sec and 10sec attacks are going to happen.
Oh and... when first acquiring a target, if both weapon's cooldowns are ready, you will fire both the photon and the phase disruptor at the same time. (at 0 sec... just pointing this out because you state that at 0, only 1 weapon fires) :)
<s>Update: Okay, I think I see the problem. I disabled the Phase Disruptors through the weapon options and focused on the Ibiks Cannon. When I tried to attack, I got Error - Can't turn towards unit. I had a feeling this meant the weapon could only fire from a certain angle. After trying them all, it appears that the weapon will only fire when the Immortal is above (north) of the attack target).
<s>After figuring this out, I enabled both weapons again, started the Immortal above the target...and viola. Both weapons were firing at their correct intervals.
<s>I have a feeling this problem has to due with the interaction between the Ibiks Cannon Weapon and the Immortal's Turret. I'm thinking there's probably a setting or something I have to change to get the two to play nice.
<s>Any ideas?
END UPDATE</B></s>
<s>Okay, no luck quite yet. The method by which I was getting the Immortal to fire two weapons at once was an Effects Set containing the Disruptors and Ibkis Cannon damage effects. The Weapon used that set as it's effect, permitting each attack to deal both the Disruptor damage and the Ibiks damage + explosion.
<s>However, when I try adding Disruptor Weapon (linked to a custom Disruptor Effect) and the Ibiks Weapon (linked to a custom Ibiks effect), only the Disruptor will fire. I tried messing with the period, even setting the Ibiks Weapon to 0.1 just to see if it'd do anything, but he still wont use the attack.
<s>I'll give a quick layout of pertinent information
Unit: Immortal (I did not make a copy, rather, edited the base unit which generated a green-colored duplicate.)
Combat - Weapons - Turret: Immortal
Combat - Weapons - Weapons: Phase Disruptor (Custom), Planetary Fortress Ibiks Cannon (Custom)
Weapon: Phase Disruptor (Custom)
Stats - Backswing: 0
Stats - Period: 3
Options - Can Initiate Attack, all others are unchecked.
Effect - Effect: Immortal - Phase Disruptor Copy (Damage)
Weapon: Planetary Fortress Ibiks Cannon (Custom)
Stats - Backswing: 0
Stats - Period: 0.3
Options - Continuous Scan, all others are unchecked. (I have tried various permutations of Initiate Attack, Fire atr Attack Target, and Only Fire When Attacking to no avail.)
Effect - Effect: Planetary Fortress - Twin Ibiks Cannon Copy (Damage)
Also, as to BorgDragon's final comment: Is there any particular way to force the second weapon to wait for it's period duration before firing on an initial attack? This info will be more useful to me once I get the above snafu corrected, of course. x:</s>
</s></s></s></s></s>
After doing some tinkering, turns out the solution was rather simple. I guess every weapon the Immortal uses requires a Turret instance to go with it.
In the Data entry of the Immortal Unit, all I had to do was add duplicate turrets to the Combat - Weapons - Turret field.
It now looks like this.
Combat - Weapons - Turret: Immortal | Immortal
Doesn't affect the Immortal visually at all, and allows both weapons to fire at their own intervals. I havent tried this with more weapons yet, but I'd imagine it'd work.
I still would like to know how to force a weapon to wait it's period before firing when it acquires a target. (Basically, unit enters combat with a weapon that fires every 15 seconds, but instead of firing it's first shot instantly like most weapons do, it has to actually wait 15 seconds.)
I've been able to figure out how to get a unit to fire two weapons at the exact same time. What I'd like to be able to do is have the unit fire it's weapons based on the period intervals.
Example:
Immortal Weapons: Phase Disruptors (Custom), Photon Cannon (Custom)
The Disruptors would be set to fire every 10 seconds, while the Photon Cannon would be set to fire every 3 seconds.
The end result, when the Immortal attacks a ground unit, is as follows:
0sec: Target Acquired, Photon Cannon fires.
3sec: Photon Cannon fires.
6sec: Photon Cannon fires.
9sec: Photon Cannon fires.
10sec: Disruptor Cannon fires.
12, 15, 18sec: Photon Cannon fires.
20sec: Disruptor Cannon fires.
So on and so forth.
How might I go about accomplishing this? Thusfar, my attempts to figure it out have simply stumped me. D:
change the period (speed) of the weapons themselves to match the times?
@Khazetuha: Go
Very very easy to accomplish.
Look for a modifiable variable under each weapon, called Weapon - Options(it is one of the last modifiable fields, right above Weapon - Target Filters). Edit that, and make sure to uncheck Linked Cooldown on both weapons. And, you could also put a check next to Display Cooldown for each weapon, that way you can see when your 3sec and 10sec attacks are going to happen.
Oh and... when first acquiring a target, if both weapon's cooldowns are ready, you will fire both the photon and the phase disruptor at the same time. (at 0 sec... just pointing this out because you state that at 0, only 1 weapon fires) :)
@Khazetuha: Go
There are 2 fields in weapon's stats called:
- Random delay minimum
- Random delay maximum
you tryied them already?
What about the damage point? This is the delay, until the weapon is fired (dunno if it keeps other weapons from firing during that period)
You could always add a 10 sec persistant effect to your immortal weapon aswell.
Isn't backswing the variable that controls how long after a weapon fires before it starts to arm up again?
ED: Er before it fires its first shot, mi needz cofey.