PDA

View Full Version : Handy ;)


thevilone
2nd June 2003, 18:41
Well I got really bored one day . And thought of an idea for Changing vecs to suit models . And since NS has a Difference in models . I thought it would come in handy For you :)


if (cvar.m_switcher && gAimbot.target == ax && (vPlayers[ax].entinfo.model) != lastTargetModel )
{
char signal[128];
sprintf( signal, "m_%s", (vPlayers[ax].entinfo.model));
cmd.exec(signal);
lastTargetModel = (vPlayers[ax].entinfo.model);
}


Also Make a global ;)


char * lastTargetModel = "none";


And Generally i think thats that . Since i have no NS vecs since i rarely play it . And use bones mainly . I'll use jessens vecs to Show how it works :)


alias m_alien1 "modelaim 0;avclear;avadd 0 3.28 3.0 0.14;avadd 1 2.56 2.2 0"
alias m_alien2 "modelaim 0;avclear;avadd 0 5.28 5.0 0.14;avadd 1 3.56 3.2 0"
alias m_alien3 "modelaim 0;avclear;avadd 0 27.28 3.0 0.14;avadd 1 30.56 2.2 0"
alias m_alien4 "modelaim 0;avclear;avadd 0 24.28 3.0 0.14;avadd 1 28.56 2.2 0"
alias m_alien5 "modelaim 0;avclear;avadd 0 15.28 3.0 0.14;avadd 1 17.56 2.2 0"
alias m_heavy "modelaim 0;avclear;avadd 0 22.28 3.0 0.14;avadd 1 30.56 2.2 0"
alias m_gestate "modelaim 0;avclear;avadd 0 3.28 3.0 0.14;avadd 1 2.56 2.2 0"

Thats the general Jist :) . If you want any more of these Just ask . I have about 10 , Height , Weapon Etc. Mainly modified from Agenchu's old code :D

Da BuzZ
3rd June 2003, 13:26
Nice :D Can i use this in 1.6 ? ;P

thevilone
3rd June 2003, 14:30
Off course my s3x0r one :D