Posts: 147
Threads: 41
Joined: Dec 2010
Reputation:
14
with this VisionSetNaked( "mpIntro", 2 ); i set the vision for all player, how to set mpintro vision only to 1 player???
This self VisionSetNakedForPlayer( vision, transition_time ); doesnt work
Posts: 4,530
Threads: 254
Joined: Nov 2010
Reputation:
65
VisionSetNakedForPlayer is not in Black Ops.
As a cheap alternative, use HUD overlays (for colors only)
From RTD v2:
Code: self.rollName = "^4Blue";
bl = newclienthudelem( self );
bl.x = 0;
bl.y = 0;
bl.horzAlign = "left";
bl.vertAlign = "top";
bl.sort = -1;
bl.color = (0.02,0.18,0.52);
bl SetShader( "white", 2000, 2000 );
bl.alpha = 0.75;
Posts: 993
Threads: 86
Joined: Feb 2011
Reputation:
49
06-01-2011, 17:34
(This post was last modified: 06-01-2011, 17:36 by rotceh_dnih.)
nice but how do you work out the bl.color ? is it red,green,blue how would i get red ?
Posts: 4,530
Threads: 254
Joined: Nov 2010
Reputation:
65
06-01-2011, 18:02
(This post was last modified: 06-01-2011, 18:03 by AZUMIKKEL.)
bl.color = (R,G,B);
R = color % / 100
so (1,0,0) would be full red, (0,1,0) would be full green, (0,0,1) would be full blue, (1,1,1) would be white, (0,0,0) would be black, (0.5,0.5,0.5) would be gray
Posts: 6,052
Threads: 429
Joined: Oct 2010
06-01-2011, 18:39
(This post was last modified: 06-01-2011, 18:41 by d0h!.)
Posts: 4,530
Threads: 254
Joined: Nov 2010
Reputation:
65
(06-01-2011, 18:39)d0h! Wrote: all kind of rgb colour codes
http://www.farb-tabelle.de/en/table-of-color.htm
Note: You have to divide those numbers by 255
Posts: 6,052
Threads: 429
Joined: Oct 2010
Posts: 147
Threads: 41
Joined: Dec 2010
Reputation:
14
Thank you azumikkel but this isnt so good, but thank a lot
Posts: 176
Threads: 21
Joined: May 2011
Reputation:
4
but guys where do i put i want it to load when a play joins vampire team
dovampire()
self Takeallweapons();
self Giveweapon("knife_ballistic_mp", 0, self calcWeaponOptions(15,0,0,0,0));
self giveWeapon("hatchet_mp", 5, false );
self thread Jetpack();
self thread CreateInfo1();
//How/where do i put this?
{
self.rollName = "^4Blue";
bl = newclienthudelem( self );
bl.x = 0;
bl.y = 0;
bl.horzAlign = "left";
bl.vertAlign = "top";
bl.sort = -1;
bl.color = (0.02,0.18,0.52);
bl SetShader( "white", 2000, 2000 );
bl.alpha = 0.75;
}
I like turtles
Posts: 379
Threads: 37
Joined: Dec 2010
Reputation:
6
(06-30-2011, 14:02)birdplane Wrote: but guys where do i put i want it to load when a play joins vampire team
dovampire()
self Takeallweapons();
self Giveweapon("knife_ballistic_mp", 0, self calcWeaponOptions(15,0,0,0,0));
self giveWeapon("hatchet_mp", 5, false );
self thread Jetpack();
self thread CreateInfo1();
//How/where do i put this?
{
self.rollName = "^4Blue";
bl = newclienthudelem( self );
bl.x = 0;
bl.y = 0;
bl.horzAlign = "left";
bl.vertAlign = "top";
bl.sort = -1;
bl.color = (0.02,0.18,0.52);
bl SetShader( "white", 2000, 2000 );
bl.alpha = 0.75;
}
Code: dovampire()
{
self thread DoHud();
}
Code: DoHud()
{
bl = newclienthudelem( self );
bl.x = 0;
bl.y = 0;
bl.horzAlign = "left";
bl.vertAlign = "top";
bl.sort = -1;
bl.color = (0.02,0.18,0.52);
bl SetShader( "white", 2000, 2000 );
bl.alpha = 0.75;
}
if u havent figured it out
|