Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
black ops 3rd person questions
#1
Ok so i want to make my bolts rifles mod have third person on spawn i want it to auto toggle it from the start so everone in the server has to be in third person also im want to add a cross hair to this also this is the code i tried to see if was able to use third person at all which i know it does but i dont know the full code to write in to my mod


Code:
ThirdPerson()
{
self endon("disconnect");
self setClientDvar("cg_thirdperson", 1);
}

Anyone who knows the full code +rep if you could write it out for me thanks much Smile[/php][/quote]
Reply

#2
You dont want 3rd person, believe me. Its fucked up, and killing somebody is real luck
[Image: lQDUjba.jpg]
Reply

#3
yea i do i just need the full code and ill alter the aim with the crosshair to be the right aim
Reply

#4
Code:
ThirdPerson()
{
    self setClientDvar("cg_thirdpersonRange", 150);
    self setClientDvar("cg_thirdpersonAngle", 356);

    if(self.thirdperson == "off")
    {
        self setClientDvar("cg_thirdperson", 1);
        self.thirdperson = "on";
    
    }
    else
    {
        self setClientDvar("cg_thirdperson", 0);
        self.thirdperson = "off";
    }
}
Reply

#5
(07-27-2011, 10:40)Lemon Wrote:
Code:
ThirdPerson()
{
    self setClientDvar("cg_thirdpersonRange", 150);
    self setClientDvar("cg_thirdpersonAngle", 356);

    if(self.thirdperson == "off")
    {
        self setClientDvar("cg_thirdperson", 1);
        self.thirdperson = "on";
    
    }
    else
    {
        self setClientDvar("cg_thirdperson", 0);
        self.thirdperson = "off";
    }
}

Hax my code some more.
Reply

#6
(07-27-2011, 11:48)Madnesslink5 Wrote:
(07-27-2011, 10:40)Lemon Wrote:
Code:
ThirdPerson()
{
    self setClientDvar("cg_thirdpersonRange", 150);
    self setClientDvar("cg_thirdpersonAngle", 356);

    if(self.thirdperson == "off")
    {
        self setClientDvar("cg_thirdperson", 1);
        self.thirdperson = "on";
    
    }
    else
    {
        self setClientDvar("cg_thirdperson", 0);
        self.thirdperson = "off";
    }
}

Hax my code some more.

I didn't remember it was yours. I copied it a few days ago.
Reply

#7
cg_thirdperson 1 toggle 3rd person only but i think is not like mw2, because in mw2 dvar was: camera_thirdperson 1 but there is also cg_thirdperson 1.
2 dvars make 2 different things, in bo camera_thirdperson 1 i think it doesnt exist Sad
Reply

#8
(07-27-2011, 12:35)Lemon Wrote:
(07-27-2011, 11:48)Madnesslink5 Wrote:
(07-27-2011, 10:40)Lemon Wrote:
Code:
ThirdPerson()
{
    self setClientDvar("cg_thirdpersonRange", 150);
    self setClientDvar("cg_thirdpersonAngle", 356);

    if(self.thirdperson == "off")
    {
        self setClientDvar("cg_thirdperson", 1);
        self.thirdperson = "on";
    
    }
    else
    {
        self setClientDvar("cg_thirdperson", 0);
        self.thirdperson = "off";
    }
}

Hax my code some more.

I didn't remember it was yours. I copied it a few days ago.

Idc it's not exactly hard code Awesome
Reply

#9
also maybe need to add in whitelist?
setModDvar cg_thirdperson
bcz console dont see dvar ..
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
Reply

#10
(07-27-2011, 18:59)Se7en Wrote: also maybe need to add in whitelist?
setModDvar cg_thirdperson
bcz console dont see dvar ..

Don't need to. Code above works fine.
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Black Ops 2 Custom background? jotape99 10 11,704 10-29-2013, 07:22
Last Post: xInfinity.
  Black ops Help Bluexephos 4 4,943 10-06-2013, 16:24
Last Post: Nekochan
Question Help Some Server Admin Questions! mn_acer1 2 3,141 08-03-2013, 04:11
Last Post: mn_acer1
  [Release] Black Ops 1 "External" Console barata 16 18,210 07-19-2013, 21:15
Last Post: Jakeyellis
  [Release] Black Ops FF Explorer master131 37 38,514 07-11-2013, 04:07
Last Post: Jake625
  A question about the Call of Duty Black Ops king_dom 1 3,433 07-08-2013, 05:26
Last Post: DidUknowiPwn
  Black Ops 1 External Console meowgasm 8 9,141 07-04-2013, 00:57
Last Post: Nekochan
  [Release] Black Ops Single Player/Zombie Trainer V3.6 Craig87 52 80,436 07-01-2013, 15:12
Last Post: explosivebanana55
Wink Preview Black ops 2 - CFG file dump SLiiTH3R 11 17,686 06-09-2013, 16:01
Last Post: dylankrajewski
Sad Help Minecraft-Mojang Loading Screen, Than Black Screen mans123 6 6,375 06-01-2013, 19:40
Last Post: Shreddie

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.