1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. The SharpCraft World Editor Extended (WEX) has been updated for the latest Warcraft 3 version: Forum.
    Dismiss Notice
  3. The Paired Modeling/Texturing Contest #3 - Leaders has begun! Artists group up and struggle! May the best team lead the run.
    Dismiss Notice
  4. The long awaited results for Mini-Mapping Contest #13 is here! Congratulate the winners!
    Dismiss Notice
  5. Vote for the best Concept Art Contest - Bounty Hunter entry!
    Dismiss Notice

Choppy gameplay

Discussion in 'StarCraft II Modding' started by Cobrajet127, Nov 6, 2011.

  1. Cobrajet127

    Cobrajet127

    Joined:
    Mar 23, 2010
    Messages:
    46
    I'm trying out another FPS and it is VERY choppy...
    Is there some sort of war to add a fog of war- with out the map itself being blacked out.
    There is a system that the game Halo Reach uses. It takes away detail from everything that is far away.
    World of Warcraft uses a certain unique fog of war that accomplishes the same thing.
    Skip to 1:59 in the youtube video http://www.youtube.com/watch?v=joNPrnY4K_4


    Any ideas that might help?
     
    Last edited: Nov 6, 2011
  2. Dr Super Good

    Dr Super Good

    Joined:
    Jan 18, 2005
    Messages:
    22,706
    Both of these are games designed for huge distance viewing thus their graphic engines handle it more efficiently. SC2 is designed for RTS viewing so you will never be able to get the performance in long distance views that other games have.

    The good news is that SC2 does include camera clipping. Just set the clipping distance for the camera you are using to something reasonable (like 10 or 20) and you should be fine.
     
  3. Cobrajet127

    Cobrajet127

    Joined:
    Mar 23, 2010
    Messages:
    46
    Where do I find this? In triggers?
     
  4. Dr Super Good

    Dr Super Good

    Joined:
    Jan 18, 2005
    Messages:
    22,706
    Code (Text):

    const int c_cameraValueNearClip         = 1;
    const int c_cameraValueFarClip          = 2;
    const int c_cameraValueShadowClip       = 3;

    native void         CameraInfoSetValue (camerainfo c, int type, fixed value);
    native fixed        CameraInfoGetValue (camerainfo c, int type);
     
    Like all cameras, this is logically done via galaxy script. This script can be generated via GUI or via camera objects set in the editor if you do not wish to write the script directly.

    I mentio near clip so you do not get confused. Near clip is the opposite of far clip and clips stuff infront of the camera. It should not be modiified as it prevents wierd visual artifacts if the camera ever mixes with geometry.

    Far clip and shadow clip govern the maximum distance from the camera which the appropiate content will be rendered. Smaller values boost performance. If values are too small the cutoff will become easilly noticable (the world will start to look like a early PS1/N64 game).
     
  5. Rispetto

    Rispetto

    Joined:
    Jul 1, 2009
    Messages:
    1,078
    Gogo retro games?