I was wondering it possible to make Homeworld like fighter attack with data editor, where your units move to the target and attacking it and than moves away without attacking than moves back to target while attacking and this is repeated automatically?
Not at home right now, so cant check, but isn't this how the Carrier's Interceptors fly around already. Not certain if it's possible to apply this mover, behavior or whatever causes them to move like this, but should be worth checking out.
I think this would have to be done via triggers. I could see the event 'unit becomes idle' being very useful for such a thing. The problem I see with either doing it through the data editor, if that is possible, or through triggers is getting the location they were at before they moved to attack.
Edit: The Patrol Command/Ability might be a useful reference here. I wonder if it would be possible to remove the bouncing back between points and just make it a boomerang command, you patrol out, do what fighting you need to do, and then come home.
well coming home is not really important, as I want to make this for my space map this, I just want it too look like that the fighter has fixed weapon like the American A10 airplane. it has too go in shoot than leave the target and than fly again on the target to shoot.
I will now look into the patrol and carrier, good ideas.
hmm interceptor weapon is doing similar, but the only problem is with that it fires anytime and it doesnt changes the unit model backwards when leaving the target...
You could do this with triggers. Make a custom wraith or valk and scale it down to like 30%, and then give it commands to attack a target, and then once they've attacked once fly on to the next target (you might need to make them move past the target, and edit them so they can attack while moving so it looks more like a "bombing run" rather than them stopping and attacking.
working on such a thing myself. The idea is to have the unit attacking A: be edited in the data editor to attack while moving and have the adjusted firing arcs. and then, B, have a trigger that repeats when the unit is in combat. The trigger being a set flight path the unit flies that is constantly re order to the unit like a queue, that is also based off of it's target's position and facing. For instance, a figure 8. The flight path is located at the target origin and is laid out according to the targets facing. Thats, the plan that is.
I want a random trigger system using this, so that fighters have multiple flight path options to use. There for dogfights don't end up sterile as each fighter mirrors each other. It is also a planned "stat" that some fighters are more trained and use more moves.
I've yet to create anything close to that, as I've been side tracked by the car physics map that came up, studying that. If you do get something, do let us know, it'd be neat to see.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I was wondering it possible to make Homeworld like fighter attack with data editor, where your units move to the target and attacking it and than moves away without attacking than moves back to target while attacking and this is repeated automatically?
Not at home right now, so cant check, but isn't this how the Carrier's Interceptors fly around already. Not certain if it's possible to apply this mover, behavior or whatever causes them to move like this, but should be worth checking out.
@Hookah604: Go
I think this would have to be done via triggers. I could see the event 'unit becomes idle' being very useful for such a thing. The problem I see with either doing it through the data editor, if that is possible, or through triggers is getting the location they were at before they moved to attack.
Edit: The Patrol Command/Ability might be a useful reference here. I wonder if it would be possible to remove the bouncing back between points and just make it a boomerang command, you patrol out, do what fighting you need to do, and then come home.
well coming home is not really important, as I want to make this for my space map this, I just want it too look like that the fighter has fixed weapon like the American A10 airplane. it has too go in shoot than leave the target and than fly again on the target to shoot.
I will now look into the patrol and carrier, good ideas.
hmm interceptor weapon is doing similar, but the only problem is with that it fires anytime and it doesnt changes the unit model backwards when leaving the target...
You could do this with triggers. Make a custom wraith or valk and scale it down to like 30%, and then give it commands to attack a target, and then once they've attacked once fly on to the next target (you might need to make them move past the target, and edit them so they can attack while moving so it looks more like a "bombing run" rather than them stopping and attacking.
@Anthius: Go
working on such a thing myself. The idea is to have the unit attacking A: be edited in the data editor to attack while moving and have the adjusted firing arcs. and then, B, have a trigger that repeats when the unit is in combat. The trigger being a set flight path the unit flies that is constantly re order to the unit like a queue, that is also based off of it's target's position and facing. For instance, a figure 8. The flight path is located at the target origin and is laid out according to the targets facing. Thats, the plan that is. I want a random trigger system using this, so that fighters have multiple flight path options to use. There for dogfights don't end up sterile as each fighter mirrors each other. It is also a planned "stat" that some fighters are more trained and use more moves.
I've yet to create anything close to that, as I've been side tracked by the car physics map that came up, studying that. If you do get something, do let us know, it'd be neat to see.