ItsMods

Full Version: Code to see people thru walls or their names
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
want to add a code snippet to promod so when people watch the theatre they can tell if people are tracing etc, is there a way to make enemy name plates always show, or put a green box on players or something?
you can put waypoint icons so you can follow them throught walls and stuff but doing it only in theatre could be tricky

one idea i have ,no clue if it would work but ,

pseudocode:

if ! mp_nuked,mp_array, ect

put waypoint icon on all players heads

might work might not
what's the code to put waypointicon on someones head?

couldnt i just have a mod named the same but one with the hack part in it, i load that mod when i watch theatre, then players will have the names above their head?
would be easily possible in MW2, but not BO due to missing dvars.
hectors solution sounds plausible
should work

Code:
precacheShader("waypoint_koth_contested");
and
Code:
testshiz()
{

    for ( index = 0; index < level.players.size; index++ )
    {

            if(self.team == "axis")
{

    self maps\mp\_entityheadicons::setEntityHeadIcon("allies", self, (0,0,90), "waypoint_koth_contested", true, true);
wait 0.5;
}
else if(self.team == "allies")
{
self maps\mp\_entityheadicons::setEntityHeadIcon("axis", self, (0,0,90), "waypoint_koth_contested", true, true);
wait 0.5;
}
    
}

}

puts it about there head so will have to lower it , also not sure how your going to get it to work only in demo mode you could give it to admins with a getxuid if statement .
was planning two have two versions of the mod named the same, then just swap them in our out to watch the demos, that would save having to worry about all that shit, just give it to select people, thanks man ill try it out..
doesnt seem to work, not sure why.. i dont get an error, im guessing the file isnt being cached properly or something..
(01-10-2012, 13:44)koil Wrote: [ -> ]doesnt seem to work, not sure why.. i dont get an error, im guessing the file isnt being cached properly or something..
not sure i can zip my example if you like but im guessing you might just need to grab the iwi put it in your iwd & also add

Code:
material,waypoint_koth_contested
to your mod.cvs
yeh still not working, im tired as hell, guarantee its something simple too..
(01-10-2012, 13:44)koil Wrote: [ -> ]doesnt seem to work, not sure why.. i dont get an error, im guessing the file isnt being cached properly or something..

everything from the gscs is recorded in the demo.. swapping mods only works for client side stuff like fx and models.
Pages: 1 2