ItsMods

Full Version: vision
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
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;
nice but how do you work out the bl.color ? is it red,green,blue how would i get red ?
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
(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
ah good to know, thanks
Thank you azumikkel but this isnt so good, but thank a lot Smile
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;
}
(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