I created a map based off the game Supreme Commander for the PC, and I'm in the process of redoing the map since it was originally made in the beta version of the game and I want access to the campaign models. So I'm starting from scratch heh.
Anyway what my question is, is it possible to edit how missiles work so they behave literaly like a bullet? Meaning they fire straight from the Attacker to the target, and will impact the first thing they come into contact with (other than allies), such as terrain, other enemy units, or possibly even an effect such as a giant shield?
ive posted the same question, except i WANT the bullet to hit allies, on four different forums now. no one seems to know/care to answer. getting good help is hard.
traceline does not seem to be what either of us are asking for. i may be wrong, but i believe supreme commander is an RTS with no hero units and many, many vehicles, i think we both need this without mouselook.
check out the map "crush company - the last hope" i believe their projectiles are trigger based and you will just have to slightly modify them to make them hit allys as well as enemies.
Or also the Metal Slug map, though i believe it is done from data editor, just simply fire a missile in a straight line, apply a behavior on the missile that search every 0.1s for unit around it , if found apply damage effect to the unit target and suicide the missile
The thing is most of those maps are trigger related or from 1 unit, Supreme Commander uses mass armies of units. So tracelines won't work.
I need the missile to fire linear from the attacker toward the attacker, the missile needs to impact anything between there, if the unit is elevated or behind a slope and there is not direct line of sight the missile needs to impact the terrain and die at that point, or if theres another enemy in the way it impacts that enemy. This also needs to be useable with many, many, MANY, units.
Idk if what your asking for is possible without triggering the effect. But most notably I don't think the collision with terrain is even possible at all.
Maybe look into how reapers detect a cliff before jump.
The thing is most of those maps are trigger related or from 1 unit, Supreme Commander uses mass armies of units. So tracelines won't work.
I need the missile to fire linear from the attacker toward the attacker, the missile needs to impact anything between there, if the unit is elevated or behind a slope and there is not direct line of sight the missile needs to impact the terrain and die at that point, or if theres another enemy in the way it impacts that enemy. This also needs to be useable with many, many, MANY, units.
Let the missile be a unit, attach a region to it, order the unit to 'fire' (read: order move) in a straight line. Make a trigger that triggers whenever another unit enters the attached region, and have it go boom when it does.
Let the missile be a unit, attach a region to it, order the unit to 'fire' (read: order move) in a straight line. Make a trigger that triggers whenever another unit enters the attached region, and have it go boom when it does.
How's that?
The issue with using triggers is that there will be 100's of units using it a time when the game starts to reach a boiling point, we're not talking squads of 10-20 units that you would see in SC2 or WC3, I'm talking gigantic armies of anywhere between 50-400 units from just one player.
Hehe, I already have done the map in another form, It didn't quite use the system I'm asking for though and it was based off SupCom 2 rather than the first SupCom. Having alot of units doesn't have as huge as an effect yet that I've seen. But if I can't get help with the missile system I'll just forget the idea of a missile system and move on with the map.
That fireball had a small bug that the fireball wouldn't dissapear when it hit a target, I went ahead and fixed that (The suicide ability he was using didn't exist for some reason?) That is virtually what I want but it also needs to impact terrain that may be in the way, but if theres no way of really doing that then oh well I guess lol =/
traceline does not seem to be what either of us are asking for. i may be wrong, but i believe supreme commander is an RTS with no hero units and many, many vehicles, i think we both need this without mouselook.
Traceline have nothing to do with heroes or mouse look, it's a way of understanding what is located between 2 points.
I created a map based off the game Supreme Commander for the PC, and I'm in the process of redoing the map since it was originally made in the beta version of the game and I want access to the campaign models. So I'm starting from scratch heh.
Anyway what my question is, is it possible to edit how missiles work so they behave literaly like a bullet? Meaning they fire straight from the Attacker to the target, and will impact the first thing they come into contact with (other than allies), such as terrain, other enemy units, or possibly even an effect such as a giant shield?
Bump?
Any ideas anyone? Just got off work and was planning on working on the map.
ive posted the same question, except i WANT the bullet to hit allies, on four different forums now. no one seems to know/care to answer. getting good help is hard.
Search for "traceline" and you will find tones of threads about the topic.
traceline does not seem to be what either of us are asking for. i may be wrong, but i believe supreme commander is an RTS with no hero units and many, many vehicles, i think we both need this without mouselook.
The infestor attack from battlecraft sounds like what you are looking for, do some research on that.
@KerenskyLI: Go
check out the map "crush company - the last hope" i believe their projectiles are trigger based and you will just have to slightly modify them to make them hit allys as well as enemies.
@happy04: Go
Or also the Metal Slug map, though i believe it is done from data editor, just simply fire a missile in a straight line, apply a behavior on the missile that search every 0.1s for unit around it , if found apply damage effect to the unit target and suicide the missile
The thing is most of those maps are trigger related or from 1 unit, Supreme Commander uses mass armies of units. So tracelines won't work.
I need the missile to fire linear from the attacker toward the attacker, the missile needs to impact anything between there, if the unit is elevated or behind a slope and there is not direct line of sight the missile needs to impact the terrain and die at that point, or if theres another enemy in the way it impacts that enemy. This also needs to be useable with many, many, MANY, units.
Idk if what your asking for is possible without triggering the effect. But most notably I don't think the collision with terrain is even possible at all.
Maybe look into how reapers detect a cliff before jump.
Let the missile be a unit, attach a region to it, order the unit to 'fire' (read: order move) in a straight line. Make a trigger that triggers whenever another unit enters the attached region, and have it go boom when it does.
How's that?
@Siaon: Go
That's what I would do but he doesn't want triggers to run the projectile.
The issue with using triggers is that there will be 100's of units using it a time when the game starts to reach a boiling point, we're not talking squads of 10-20 units that you would see in SC2 or WC3, I'm talking gigantic armies of anywhere between 50-400 units from just one player.
Skip to about 1:45 in that video.
Is the idea for your map to break Starcraft?
@BasicGear: Go
Hehe, I already have done the map in another form, It didn't quite use the system I'm asking for though and it was based off SupCom 2 rather than the first SupCom. Having alot of units doesn't have as huge as an effect yet that I've seen. But if I can't get help with the missile system I'll just forget the idea of a missile system and move on with the map.
Lol sry, here is something more constructive.
This person designed an ability, problem is the impact but you may be able to sort it out.
http://forums.sc2mapster.com/development/map-development/4399-make-a-fireball-ability/
That fireball had a small bug that the fireball wouldn't dissapear when it hit a target, I went ahead and fixed that (The suicide ability he was using didn't exist for some reason?) That is virtually what I want but it also needs to impact terrain that may be in the way, but if theres no way of really doing that then oh well I guess lol =/
i also search this (i allready have the clutch map :P)
Traceline have nothing to do with heroes or mouse look, it's a way of understanding what is located between 2 points.
The answer to this question (minus terrain impact) is extremely simple.
Just give your projectile unit a behavior with a periodic search effect to check collision.
You can also do it without a missile if you specify periodic offsets for which to check collision.
Terrain collision is simple too if you know the height of the terrain. I don't know if you can get that through triggers.
Your missile is either high enough to clear a particular patch of terrain, or it's not.