• 💀 Happy Halloween! 💀 It's time to vote for the best terrain! Check out the entries to Hive's HD Terrain Contest #2 - Vampire Folklore.❗️Poll closes on November 14, 2023. 🔗Click here to cast your vote!
  • 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 HD Level Design Contest #1 is OPEN! Contestants must create a maze with at least one entry point, and at least one exit point. The map should be made in HD mode, and should not be openable in SD. Only custom models from Hive's HD model and texture sections are allowed. The only exceptions are DNC models and omnilights. This is mainly a visual and design oriented contest, not technical. The UI and video walkthrough rules are there to give everyone an equal shot at victory by standardizing how viewers see the terrain. 🔗Click here to enter!

Rotating RPG camera?

Status
Not open for further replies.
Level 3
Joined
Dec 29, 2010
Messages
40
Hello.
I only have a question, and such, how can you create a RPG camera which can also rotate around the unit? As in, third person follow-camera which can rotate, similar to world of warcraft's camera. This video is what I mean (Around 1:00 in)

Basicly, I need a RPG rotating camera badly. You can help by either:
-Posting links to spells that do that;
-Posting triggers that help accomplish that;
-Posting anything that helps accomplish that.

Please help.
 
That probably works with arrows, when left arrow is pressed, set rotation of camera to (Rotation of camera - X); if the right arrow is pressed, set rotation of camera to (Rotation of Current camera - Y).
Stuff you'll need:
• The event(s):
  • Events
    • Player - Player 1 (Red) Presses the Left Arrow key
    • Player - Player 1 (Red) Presses the Right Arrow key
• The action:
  • Camera - Set Player 1 (Red)'s camera Rotation to 0.00 over 0.00 seconds
 
Level 33
Joined
Mar 27, 2008
Messages
8,035
Download the test map and test it
All settings can be changed in SRCS Setup Trigger

But beware, that this system will contradict the Auto-rotate Camera Following Unit's Facing Angle System, so choose either one to activate one at a time.

This system is fully MPI (can be used in Multiplayers (RPG and such))

Only the settings for constant is not MPI (all must follow the same settings)
But if you wish to change that too, simply turn the constant variable to an array-type variable, and inside the array, just find for words (Player number of (Triggering player))
This function can be found at Player - Player Number

And you can have your own custom settings for the camera just for you (different constant settings for different players)

It requires more triggering (it's not that hard, but I'm not gonna make it because that is not a basic camera system, whereas you requested for a basic one.

I can also include a mode that you can change the constant settings in-game! but you know the drill :)
Here's the most basic rotating system.

Happy Mapping !
 

Attachments

  • Simple Rotating Camera System by defskull.w3x
    15.6 KB · Views: 145
Status
Not open for further replies.
Top