COD4
Results 1 to 6 of 6

Thread: Switch Between 3rd Person View And 1st Person View

  1. #1

    Switch Between 3rd Person View And 1st Person View

    Quote Originally Posted by Number7 View Post
    Thanks Hellsonix. EagleEye - you'll want to add a couple lines to the bottom of spawnPlayer() , which is in the _globallogic script.
    This will initiate the dvar, then thread them to a monitoring function.

    Here is the code that i've made:


    bottom of spanwplayer:
    Code:
        self setClientDvar("cg_thirdPerson", 1);
        self thread thirdPersonADS();
    add this function to the _globallogic script:

    Code:
    thirdPersonADS()    // called from spawnePlayer()
    {
        self endon( "killed_player" );
        self endon( "joined_spectators" );
        self endon( "disconnect" );
    
        lastAds = false;
    
        while (isPlayer(self) && self.sessionstate == "playing")
        {
            wait .05;
    
            curAds = self playerAds();
            if (curAds && curAds != lastAds)
                self setClientDvar("cg_thirdPerson", 0);
            else if (!curAds && curAds != lastAds)
            {
                if (!self meleeButtonPressed())
                    self setClientDvar("cg_thirdPerson", 1);
            }
            lastAds = curAds;
        }
    }


    **Using The Toggle To Aim Down Your Gun As A Switch Between 3rd Person View And 1st Person View**


    OK, i am going to make this as clear as possible....

    -CoD4-MW v1.7 server

    As of right now when you toggle the zoom/aim, it zooms the screen in closer to the back of the characters head instead of being able to see whats is directly in front of you. If there is ANYONE who could help me out with this it would be greatly appreciated.
    to make a long story short, server is in 3rd person and i would like to be able to use the toggle/aim to switch back and forth from 3rd person to 1st person. Can this be done?

    I got this a little while ago but i am unsure as too how i am supposed to add this to my server in order for clients to be able to aim down the weapon and use scopes with cross hairs in view (while in scope or 1st person view). Gameplay would always be in 3rd person view, but when players use the aim/toggle to look down their gun they will be able to do so instead of looking closer at the back of their own heads. Could Someone help me out here i am getting desperate and so is the clan and friends lol.

    Just a Note;
    Many have told me good information on this but none have explained how i add the info into the server without it crashing/not loading all the time, so if you have NOOB info please let me know.

    Thanks in advance to those who can and have helped out.


  2. #2

    Default

    I would like to say thanks to all those whom have helped out over the last few days with my mod. Its up and running and working great.

    Special thanks goes out to

    Hellsonix
    Number7
    {PST}*Joker


    Thanks from all of us at {EFC}Calamity Of War


  3. #3

    Default

    Its finished and here it is;

    After several hours and many headaches, I am please to announce that we now have our server running in 3rd Person Mode.


    Standard Play = 3rd Person View


    Toggle Aim/Scope = 1st Person View


    You are still expected to judge the center of your screen when you are in 3rd Person View, but when you toggle Aim/Scope you will have your crosshairs.

    Happy Hunting, and i hope you enjoy!


  4. #4

    Default

    Well I have completed my mod with 3rd and 1st person view in the game with the added feature of the ranking system. Would like to say thanks to those whom helped out and for those whom have not... well your still welcome to the server to check it out and send us your feed back.



    *****Original Post*****

    Hi all;

    I have made my own mod, but i only have raw files in my folders. My question is, how do i make them into a workable mod because i have tried to compile the folders and they always seem to hang (not load). Could someone tell me how to do this please.

    Thanks in advance.


  5. #5
    Join Date
    May 2009
    Location
    Liverpool, England
    Posts
    346

    Default

    Quad Post :S
    iLOVEHER[:


    I AM GOING TO BE AN UNCLE (:

    Dont Forget to Visit
    My Forum Im Hiring Staff'


    Avatar - Me


  6. #6

    Default

    How about making crosshair for third person?

Similar Threads

  1. Third person view in single player?
    By amari in forum COD4: PC
    Replies: 2
    Last Post: 03-27-2012, 02:13 PM
  2. I would _______ the person Above me.
    By SchaffinOSX in forum The Bar & Grill
    Replies: 1468
    Last Post: 10-17-2010, 06:19 PM
  3. Pistol first person view Sux compared to COD4
    By ATF311 in forum Call of Duty: World at War Forums
    Replies: 16
    Last Post: 12-02-2008, 07:03 PM
  4. 1st Person P.O.V. Soccer Video Ad: Take It To The Next Level
    By News Reporter in forum In The News
    Replies: 0
    Last Post: 05-06-2008, 05:20 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •