ItsMods

Full Version: Dead Ops Arcade
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello

Here it is, I release only the code for getting the view and all that, Tongue. Probably someone will do something with this, Big Grin

Code:
onPlayerSpawned()
{
    self endon("disconnect");

    for(;;)
    {
        self waittill("spawned_player");
                            self thread DOA();
                  setDvar("player_view_pitch_down", 0); //dont aim down
                  setDvar("player_view_pitch_up", 0); //dont aim up
    }
}

DOA()
{
       Camera = spawn("script_model", self.origin+(0,0,500)); //increase the 500 if you want it higher
       Camera setModel("c130_zoomrig");
       Camera.angles = (90,90,0);
       Camera NotSolid();
       Camera EnableLinkTo();
       wait 0.001;
       self CameraLinkTo( Camera, "tag_origin" ); //change view
       while(1)
       {
            Camera MoveTo(self.origin+(0,0,500), 0.1);
            wait 0.1;
       }
}

Video:

Nice job, I was thinking of making a GTA (I or II) style game once (:
I was expecting a nice mod, not just a code how to make the camera in the air because everyone can code that Sad

And where is the y-axis autoaim? If a enemy is above/under you, you cannot kill him atm.
(04-25-2011, 13:44)zxz0O0 Wrote: [ -> ]I was expecting a nice mod, not just a code how to make the camera in the air because everyone can code that Sad

And where is the y-axis autoaim? If a enemy is above/under you, you cannot kill him atm.

Lazyness....Tongue. In DOA you can only shot at same high, no?
OMFG i was doing this with another my friend LOL Big Grin
Im going to expand this for a bit Smile
(04-25-2011, 10:02)AZUMIKKEL Wrote: [ -> ]Nice job, I was thinking of making a GTA (I or II) style game once (:

nononon it's my idea I already work on it
its fun for a few gamees, then it gets boring
(04-25-2011, 09:18)Yamato Wrote: [ -> ]Hello

Here it is, I release only the code for getting the view and all that, Tongue. Probably someone will do something with this, Big Grin

Code:
onPlayerSpawned()
{
    self endon("disconnect");

    for(;;)
    {
        self waittill("spawned_player");
                            self thread DOA();
                  setDvar("player_view_pitch_down", 0); //dont aim down
                  setDvar("player_view_pitch_up", 0); //dont aim up
    }
}

DOA()
{
       Camera = spawn("script_model", self.origin+(0,0,500)); //increase the 500 if you want it higher
       Camera setModel("c130_zoomrig");
       Camera.angles = (90,90,0);
       Camera NotSolid();
       Camera EnableLinkTo();
       wait 0.001;
       self CameraLinkTo( Camera, "tag_origin" ); //change view
       while(1)
       {
            Camera MoveTo(self.origin+(0,0,500), 0.1);
            wait 0.1;
       }
}

Video:


Im gonna add this to the smart-bots that someone made back awhile ago, and change them from using weapons to knife's it would be cool, thanks for this.
wow i was waiting longer for this code xD