Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
How do we focus camera to a certain point indefinitely? Player should not be able to move it in any way; so we are forcing player to view a certain part of map during game.
And when game camera is rotated to 270 degrees; units look darker (from that side =) ) Is there a way to light the environment so they wont look so dark? =)
I would pick another, better method (sorry Pharaoh_).
With Pharaoh's method, the players can still move the camera, it will just shock back to it's initial position.
However, if you create a dummy unit (not visible, no shadow, no food cost, no attack, abilities: locust and invulnerable neutral) and lock the camera to that unit, then the camera will not be able to change whatsoever.
Aside from that, it only needs to run once, so it won't drain CPU usage by running every 0.05 seconds.
Actions
Set TempLoc = (Center of (Playable map area))
Unit - Create 1 Camera Dummy for Player 1 (Red) at TempLoc facing 0.00 degrees
For each (Integer LoopInt) from 1 to 10, do (Actions)
Loop - Actions
Camera - Lock camera target for (Player(LoopInt)) to (Last created unit), offset by (0.00, 0.00) using Default rotation
Custom script: call RemoveLocation(udg_TempLoc)
Note: every time you apply a new camera, you will need to relock the camera, so you might want to make the "Camera Dummy" a unit variable.
About the light problem: you can change the default warcraft lighing, but I did not test this yet.
If you use xdep on your map, you will get a few text-files called "war3mapMisc.txt" and "war3mapSkin.txt" (and maybe "war3mapExtra.txt").
Open up war3mapMisc.txt and insert this line at the bottom:
Code:
[Light]
// Vector from light to world
Direction=0.3,0.3,-0.25
Save this file and import it in your map (under the exact same name, "war3mapMisc.txt")!
You can change the "Direction=...." to fit your settings, the line I've given is the default one.
I already did camera like you said above. But I need help with "xdep" thing; I've searched forum titles but came across nothing useful. What is xdep for instance? =)
I already did camera like you said above. But I need help with "xdep" thing; I've searched forum titles but came across nothing useful. What is xdep for instance? =)
Umm, xdep is a russian de-protection tool (not really allowed on the hive :/).
I usually use it just to get the files from a map or check the triggers of someone (to help him, don't get me wrong here ).
There are probably other tools you can use as well, I'm going to search for one now...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.