About the custom value 0 being the height;
You will have to specifically give the unit that custom value to get the system to work.
For example: I've set the Zerglings to have 0.5 height in the test map - it seems pretty realistic.
To answer your last post: You should press Delete (or the red button you were talking about) on those zoom levels to remove them completely, otherwise the player will be able to zoom out and it will be ugly ;)
If they don't stay deleted, perhaps save the map after you've deleted them, then reload the map.
@chaosjones17:
Yes, it's possible to make a top-down shooter. You just gotta play around with the camera triggers a bit :)
Have you tried adding the dependencies? And are you sure you have set your lighting settings (in the game video options) to something higher than "Low"?.
Are you sure the units actually get their custom value 0 set?
When you spawn the unit, see if it actually has their custom value 0 set to something else than 0.
I've updated the original post now. There's instructions on how to get the library to work with your map.
The problem of not being able to shoot units is that their height is set to 0 as default (the custom value 0 = 0 from the start), so you need to alter it for every unit (which is supposed to be shot) you spawn on your map.
Are you sure you set the custom value 0 of every unit to the height of the unit? This need to be manually done for the traceline to know the height of the unit, since there's no way to otherwise get that information (that I know of).
I will edit the original post and make a guide for how to implement the library into a map.
I've now updated the original post with the latest version of the engine, and I also attached the engine as a library, which should make it a lot easier to implement it into any map :)
@zeldarules28:
You can change the height of the camera by adding a camera trigger to change the camera object property.
0
@HierarchArtanis:
The units can have custom values. Add a trigger called Set Custom value of Unit, and set the custom value 0 to the height of the specific unit.
0
@HierarchArtanis:
That's really weird. You could send me the map so I could check if it's something I can fix. Perhaps it's an editor bug.
0
@HierarchArtanis:
About the custom value 0 being the height;
You will have to specifically give the unit that custom value to get the system to work.
For example: I've set the Zerglings to have 0.5 height in the test map - it seems pretty realistic.
To answer your last post: You should press Delete (or the red button you were talking about) on those zoom levels to remove them completely, otherwise the player will be able to zoom out and it will be ugly ;)
If they don't stay deleted, perhaps save the map after you've deleted them, then reload the map.
@chaosjones17:
Yes, it's possible to make a top-down shooter. You just gotta play around with the camera triggers a bit :)
0
@MAL22:
You should read the other posts. Sometimes when you open the map in another editor, the trigger and variable names disappear for some odd reason.
@Anthis:
It lags when you play on B.net.
0
@Osmar90:
Have you tried adding the dependencies? And are you sure you have set your lighting settings (in the game video options) to something higher than "Low"?.
0
@HatsuneMikuMegurine:
Hey. I started working on a map that uses the controls you're referring to.
I attached the map file for you to grab if you want :)
0
Nice job :)
I also like that I see my engine is getting used ^^
0
@Aspernation:
You're new to triggering? :)
You could display a text message showing the custom value 0 of the unit.
0
@Aspernation:
Are you sure the units actually get their custom value 0 set?
When you spawn the unit, see if it actually has their custom value 0 set to something else than 0.
0
@Aspernation:
I've updated the original post now. There's instructions on how to get the library to work with your map.
The problem of not being able to shoot units is that their height is set to 0 as default (the custom value 0 = 0 from the start), so you need to alter it for every unit (which is supposed to be shot) you spawn on your map.
0
@Aspernation:
Are you sure you set the custom value 0 of every unit to the height of the unit? This need to be manually done for the traceline to know the height of the unit, since there's no way to otherwise get that information (that I know of).
I will edit the original post and make a guide for how to implement the library into a map.
0
@Aspernation: Go
Read the original post :)
0
I've now updated the original post with the latest version of the engine, and I also attached the engine as a library, which should make it a lot easier to implement it into any map :)
@zeldarules28:
You can change the height of the camera by adding a camera trigger to change the camera object property.
0
@BacklitAvenger:
Ahh, sorry BacklitAvenger. My bad for skimming through the text! I will try the map again :)
EDIT: I tried the map again. The shooting was good, I liked it! :) All I can complain about now is the movement.
0
@Krakarn:
Really weird... they're all named in my file :S