• 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!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Camera like CoD?

Status
Not open for further replies.
Level 6
Joined
Feb 16, 2014
Messages
193
How can i make the camera of the player like the camera of the Drone in Call of Duty Modern Warfare 2,3 ?
 
Level 32
Joined
Apr 2, 2013
Messages
3,955
In case someone who wants to help doesn't know too much about Call of Duty, this is what it looks like:


Anyway Louie, it would always help to be more specific since not everyone might understand what you exactly need.

EDIT: The Warcraft 3 camera and the missile camera are both birds eye view. Is it the markings you want? The rotation? The color filter?
 
Level 24
Joined
Aug 1, 2013
Messages
4,658
You need a fade filter that greys out the screen. (Semi-transparant with medium to high equal color values.)

You have to set distance to target to a certain number and angle of attack too every 0.03 seconds.

I guess that that's it.

EDIT: Zooming and changing camera to mouse is impossible.
 
Level 6
Joined
Feb 16, 2014
Messages
193
Ok thx guys,i think i have an idea now on how to do that :) though i have another question,how do i make a unit constantly move(using SetUnitX/Y) towards another unit,because im trying to make a flying unit(like a jet) and it can shoot a guided missile that will follow another flying unit,heres what i've done so far.
  • Normal Missile
    • Events
      • Unit - A unit Is attacked
    • Conditions
    • Actions
      • Set UnitLoc = (Position of (Attacking unit))
      • Unit - Create 1 Normal Missile for (Owner of (Attacking unit)) at UnitLoc facing (Facing of (Attacking unit)) degrees
      • Unit - Order (Last created unit) to Follow (Attacked unit)
      • Animation - Change (Last created unit) flying height to (Current flying height of (Attacked unit)) at 50.00
      • Countdown Timer - Start Missile_Timer as a Repeating timer that will expire in 0.50 seconds
      • Custom script: call RemoveLocation(udg_UnitLoc)
      • Custom script: call RemoveLocation(udg_PUnitLoc)
      • Custom script: call RemoveLocation(udg_MissileTarget)
that is when the unit attacks another unit(like a dummy attack with 1 damage) then another unit(it was a peasant but i changed the model file) will spawn and follow the target.
to cluster rocket)
  • NMissileExpl
    • Events
      • Unit - A unit Is issued an order targeting an object
    • Conditions
    • Actions
      • Set MissileNear = (Units within 200.00 of (Target point of issued order) matching ((Unit-type of (Picked unit)) Equal to Normal Missile))
      • Unit Group - Pick every unit in MissileNear and do (Actions)
        • Loop - Actions
          • Animation - Play (Picked unit)'s death animation
          • Unit - Cause (Picked unit) to damage circular area after 0.00 seconds of radius 350.00 at (Target point of issued order), dealing 800.00 damage of attack type Siege and damage type Demolition
          • Special Effect - Create a special effect at (Position of (Picked unit)) using Abilities\Spells\Orc\WarStomp\WarStompCaster.mdl
          • Wait 0.50 seconds
          • Unit - Kill (Picked unit)
that's when the missiles becomes near a unit then it explodes and does damage
  • MissileMove
    • Events
      • Time - Missile_Timer expires
    • Conditions
    • Actions
      • Unit Group - Pick every unit in (Units owned by (Owner of (Ordered unit))) and do (Actions)
        • Loop - Actions
As for this one,i have no idea now on how to do it,i want it to be that the Missile constantly will get nearer the target,though i dont know how to do it,help please.
 
Level 24
Joined
Aug 1, 2013
Messages
4,658
I think that you should search for a missile system that supports advanced homing, flying missiles and flying targets.

Yes I am working on a missile system that supports as many as I can think of and am currently very busy with the maths for exacly what you want... but am a bit stuck atm...
However this is real hard stuff so I suggest you to look for a simpler missile system that still supports homing missiles and use that one for the time being.
 
Level 6
Joined
Feb 16, 2014
Messages
193
I think that you should search for a missile system that supports advanced homing, flying missiles and flying targets.

Yes I am working on a missile system that supports as many as I can think of and am currently very busy with the maths for exacly what you want... but am a bit stuck atm...
However this is real hard stuff so I suggest you to look for a simpler missile system that still supports homing missiles and use that one for the time being.
Ok thx,good to hear that your working on a Missile System,it will help alot of people(including me) in this kind of stuff(like missiles,projectiles) :goblin_good_job:
 
Status
Not open for further replies.
Top