I'm quite new to the Galaxy editor, and so on the way to learn all sort of tricks it can offer, tought theres a few things i like to make, one of them projectiles that collide. I'd like to apply it for all short of weapons, like yamato shot to plasma shots, with few more addition properties ( like a yamato shot can damage / kill any small unit that gets in it's path, but only get destroyed by a massive unit, and deal the main damage )
Also would be good if could make this projectiles ( some of them ) fired in the direction which the unit looks at that moment.
Anyone could help with this, tutorials or guide in the right direction?
Also would be good if could make this projectiles ( some of them ) fired in the direction which the unit looks at that moment.
For this, you would pick an Effect - Instant ability, which starts an initial persistent effect with an offset. You would set the Target: Location Offset - Start/End fields to Unknown, so the offset facing angle will instead use the Target: Offset Facing Fallback, which would be the facing of the source unit by default.
I started play around in the target area, what i get at the moment, that the projectiles begin pile up on the unit ( fired but they dont go in anywere ) currently changing the dukes revange weapons, basicly get an arcade battlecruiser, main weapons fire frontal only into the air.
Search in the forums, I'm pretty sure detailed solutions have been laid out for colliding projectiles. Feel free to ask specific questions if you run into any issue.
Kueken531's solution is very unusual... I would rather recommend an ability with an arc of 0 (or an Instant ability if you don't want to click a target point), a Launch Missile effect, a missile unit with a custom Throw-type mover that never reaches its destination (Arrival type:Never), and a behavior on the missile unit with a periodic effect that searches the area for anything to impact with.
Kueken531's solution is very unusual... I would rather recommend an ability with an arc of 0 (or an Instant ability if you don't want to click a target point), a Launch Missile effect, a missile unit with a custom Throw-type mover that never reaches its destination (Arrival type:Never), and a behavior on the missile unit with a periodic effect that searches the area for anything to impact with.
Do you mean the suggestion in my previous post? That one was specifically constructed for his request to shoot missiles in the direction a unit is facing instead of targeting a specific point.
Your solution would still require to pick a target point; from my understanding this was not, what he wants.
As for a default colliding missile, I linked the 2 tutorials.
Right, to avoid picking a target, just an instant ability linked to a Launch Missile with a throw-type mover that shoots straight towards 0,-1,0 with a never arrival type would work.
Right, to avoid picking a target, just an instant ability linked to a Launch Missile with a throw-type mover that shoots straight towards 0,-1,0 with a never arrival type would work.
I had some issues with throw movers messing with heights and facings of the missiles in an undesirable way back when I tried it. Maybe something changed since then, but I like to work with persistent effect offsets for colliding projectiles. Also you can easily define a specific maximum range this way, instead of having to use a timeout or a range validator, and you don't have to use a custom mover if you don't want to; any guided mover will do.
Okie, i followed your tutorial ( fireball type ) and have troubles with it and sure nooby mistakes of mine.
Ability is intended for the Dreadnought ( Archade Battlecruiser ) and it dosent show up on the Ability card, everything i named with Armada Prefix so all related parts be easy to find.
I attached the map file to the post so can have a better look
Thats been done and now see the ability on the command bar, tough cant fire the weapon yet, playing around with the ability ( Effect target and Effect instant versions )
Hello there!
I'm quite new to the Galaxy editor, and so on the way to learn all sort of tricks it can offer, tought theres a few things i like to make, one of them projectiles that collide. I'd like to apply it for all short of weapons, like yamato shot to plasma shots, with few more addition properties ( like a yamato shot can damage / kill any small unit that gets in it's path, but only get destroyed by a massive unit, and deal the main damage )
Also would be good if could make this projectiles ( some of them ) fired in the direction which the unit looks at that moment.
Anyone could help with this, tutorials or guide in the right direction?
here or there
For this, you would pick an Effect - Instant ability, which starts an initial persistent effect with an offset. You would set the Target: Location Offset - Start/End fields to Unknown, so the offset facing angle will instead use the Target: Offset Facing Fallback, which would be the facing of the source unit by default.
@Kueken531: Go Thank you for the quick replay! =)
I started play around in the target area, what i get at the moment, that the projectiles begin pile up on the unit ( fired but they dont go in anywere ) currently changing the dukes revange weapons, basicly get an arcade battlecruiser, main weapons fire frontal only into the air.
Search in the forums, I'm pretty sure detailed solutions have been laid out for colliding projectiles. Feel free to ask specific questions if you run into any issue.
Kueken531's solution is very unusual... I would rather recommend an ability with an arc of 0 (or an Instant ability if you don't want to click a target point), a Launch Missile effect, a missile unit with a custom Throw-type mover that never reaches its destination (Arrival type:Never), and a behavior on the missile unit with a periodic effect that searches the area for anything to impact with.
Do you mean the suggestion in my previous post? That one was specifically constructed for his request to shoot missiles in the direction a unit is facing instead of targeting a specific point.
Your solution would still require to pick a target point; from my understanding this was not, what he wants.
As for a default colliding missile, I linked the 2 tutorials.
Right, to avoid picking a target, just an instant ability linked to a Launch Missile with a throw-type mover that shoots straight towards 0,-1,0 with a never arrival type would work.
I had some issues with throw movers messing with heights and facings of the missiles in an undesirable way back when I tried it. Maybe something changed since then, but I like to work with persistent effect offsets for colliding projectiles. Also you can easily define a specific maximum range this way, instead of having to use a timeout or a range validator, and you don't have to use a custom mover if you don't want to; any guided mover will do.
Interesting, I just never did colliding projectiles that way. How would you then define a maximum range, without a timeout or a range validator?
By setting the initial persistent's offset to your desired maximum range and make the missile target this offset point ;)
Its all in the 2nd tutorial I linked before.
Ah yes, I see. Interesting use of Unknown and fallback :).
Icesmaster, there are several ways to implement this, pick whichever you want.
Okie, i followed your tutorial ( fireball type ) and have troubles with it and sure nooby mistakes of mine. Ability is intended for the Dreadnought ( Archade Battlecruiser ) and it dosent show up on the Ability card, everything i named with Armada Prefix so all related parts be easy to find.
I attached the map file to the post so can have a better look
You checked the Defines Default Value checkbox when creating the effects and the ability. Deactivate it.
@Kueken531: Go
Thats been done and now see the ability on the command bar, tough cant fire the weapon yet, playing around with the ability ( Effect target and Effect instant versions )
Okie, i remade the whole thing, with the tutorial help, have the following issues:
-Launch Points ( projectiles spread out from the middile of the unit, I use the SS_Battlecruiser )
-Weapon only fires if i give a target with mouse ( if change it to instant effect, says must target unit )
Edited: Launch Effect fixed. Projectile / Actor related issue fixed ( how come duplicate works, new dosent???? )
Uploading map current version, still have issues i couldnt get around yet =/