I see, that makes sense. The only reason I'd need to be able to shoot into the sky is currently if any player were to shoot into the sky it would automatically hit the nearest unit and I am unsure how to change that.
The issue i am having is that players automatically hit the closest unit if no terrain or no target unit is hit. I am unsure how to have this where it either hits the terrain or a unit, or if the shot hits neither terrain or a unit, it hits nothing instead of the closest unit. The issue is with the variable TargetClosestUnit, unless the trigger needs to be revamped.
I had to make the traceline and shoot triggers for each player ingame. Now how about making it not automatically hit the closest unit if nothing was hit? Can't find a solution from tweaking variables so would it have to be from a different trigger?
I mean in the variable below in the traceline trigger.
Variable - Set TargetClosestUnit = (Closest unit to TracePoint in (Any units in TraceRegion owned by player Any Player matching Excluded: Self, Missile, Dead, Hidden, with at most Any Amount))
It is different than what you have because im trying to find the correct thing to use for it.
Instead of opening as XML, delete .XML and put .SC2LIB
I have successfully implemented this engine for multiplayers on my map, the only thing is I am unsure of how to make it where players can shoot eachother, not just hostile units. Its probably a simple fix that I don't see but help would be appreciated.
I'm just having a little issue with using rock archways as the intirior of a cave, and not being able to make them stay solid 100% of the time. I'm not sure if it could be done with triggers or if its a camera thing. I already tried messing around with both camera and triggers and can't seem to find what would fix it. Could post pictures if needed, Help much appreciated!
0
I see, that makes sense. The only reason I'd need to be able to shoot into the sky is currently if any player were to shoot into the sky it would automatically hit the nearest unit and I am unsure how to change that.
0
Is it possible to have the skybox as a target through a traceline function? Considering neither a unit nor terrain was hit, it would check for skybox?
0
Anyone at all?
0
Or maybe if someone has a working multiplayer TPS engine I could take a look at or borrow from?
0
Decided to attach the map
0
The issue i am having is that players automatically hit the closest unit if no terrain or no target unit is hit. I am unsure how to have this where it either hits the terrain or a unit, or if the shot hits neither terrain or a unit, it hits nothing instead of the closest unit. The issue is with the variable TargetClosestUnit, unless the trigger needs to be revamped.
0
I had to make the traceline and shoot triggers for each player ingame. Now how about making it not automatically hit the closest unit if nothing was hit? Can't find a solution from tweaking variables so would it have to be from a different trigger?
0
@martinolsson: Go
So then do you know what I could use so it would fire at enemy units of triggering player or something of the sort?
0
@martinolsson: Go
I mean in the variable below in the traceline trigger. Variable - Set TargetClosestUnit = (Closest unit to TracePoint in (Any units in TraceRegion owned by player Any Player matching Excluded: Self, Missile, Dead, Hidden, with at most Any Amount))
It is different than what you have because im trying to find the correct thing to use for it.
0
@martinolsson: Go
Found that, changed it, and now every option available seems to always make the player target itself. Even after excluding self for available targets.
0
@Dudell: Go
Instead of opening as XML, delete .XML and put .SC2LIB
I have successfully implemented this engine for multiplayers on my map, the only thing is I am unsure of how to make it where players can shoot eachother, not just hostile units. Its probably a simple fix that I don't see but help would be appreciated.
0
Great that works. Thanks a ton! xD
0
I'm just having a little issue with using rock archways as the intirior of a cave, and not being able to make them stay solid 100% of the time. I'm not sure if it could be done with triggers or if its a camera thing. I already tried messing around with both camera and triggers and can't seem to find what would fix it. Could post pictures if needed, Help much appreciated!
0
Black man scapin skillz FTW. This map is PURE WIN. I highly suggest trying it out if you havent already.
0
@s3rius: Go
That worked thanks, just had to rename the end to .sc2lib other then w/e it was.
@martinolsson: Go
Also just implemented your engine and it works amazingly. No bugs. Now is there an easy way to have this set for several players in the map?