PDA

View Full Version : Viewing Edited Skins


meshead00
04-04-2002, 08:05 PM
Is there a way in-game to rotate around your player model? I am asking this because I edited the face of the reborn skin and would like to view it, however, as you all know you're initially limited to only viewing the backside of your player model.

Thanks for any input.

Sir Lucius
04-04-2002, 08:53 PM
I think the command is cg_thirdpersonangle #

# being the angle, so to view the front you type in the console


cg_thirdpersonangle 180




...I'm pretty sure.

Sir Lucius
04-04-2002, 08:54 PM
cg_thirdpersonrange #


should work too. If you want to zoom in and zoom out.

Octavius
04-05-2002, 02:11 AM
Below is a script you can use to allow you to view your model in thirdperson, as well as rotate/zoom on them. It binds the controls to your number pad through the 8 4 6 2 arrows, and 5 which switches between first and third person. This is useful for anyone testing a skin or who wants to take a screenshot of the skin. I suggest pasting teh text below into a file and naming it skinview.cfg or something like that. Then when in game, type this into the browser "exec skinview.cfg" without the quotations or course. Doing it this way will allow you to keep those keys free for other binds during regular gameplay, and only load them when you are intending to test a skin.

// BOF
bind kp_5 "toggle cg_thirdperson;vstr a0;vstr r40"
bind kp_uparrow "vstr closer"
bind kp_downarrow "vstr farther"
bind kp_leftarrow "vstr left"
bind kp_rightarrow "vstr right"

set a0 "cg_thirdpersonangle 0;set left vstr a10;set right vstr a350"
set a10 "cg_thirdpersonangle 10;set left vstr a20;set right vstr a0"
set a20 "cg_thirdpersonangle 20;set left vstr a30;set right vstr a10"
set a30 "cg_thirdpersonangle 30;set left vstr a40;set right vstr a20"
set a40 "cg_thirdpersonangle 40;set left vstr a50;set right vstr a30"
set a50 "cg_thirdpersonangle 50;set left vstr a60;set right vstr a40"
set a60 "cg_thirdpersonangle 60;set left vstr a70;set right vstr a50"
set a70 "cg_thirdpersonangle 70;set left vstr a80;set right vstr a60"
set a80 "cg_thirdpersonangle 80;set left vstr a90;set right vstr a70"
set a90 "cg_thirdpersonangle 90;set left vstr a100;set right vstr a80"
set a100 "cg_thirdpersonangle 100;set left vstr a110;set right vstr a90"
set a110 "cg_thirdpersonangle 110;set left vstr a120;set right vstr a100"
set a120 "cg_thirdpersonangle 120;set left vstr a130;set right vstr a110"
set a130 "cg_thirdpersonangle 130;set left vstr a140;set right vstr a120"
set a140 "cg_thirdpersonangle 140;set left vstr a150;set right vstr a130"
set a150 "cg_thirdpersonangle 150;set left vstr a160;set right vstr a140"
set a160 "cg_thirdpersonangle 160;set left vstr a170;set right vstr a150"
set a170 "cg_thirdpersonangle 170;set left vstr a180;set right vstr a160"
set a180 "cg_thirdpersonangle 180;set left vstr a190;set right vstr a170"
set a190 "cg_thirdpersonangle 190;set left vstr a200;set right vstr a180"
set a200 "cg_thirdpersonangle 200;set left vstr a210;set right vstr a190"
set a210 "cg_thirdpersonangle 210;set left vstr a220;set right vstr a200"
set a220 "cg_thirdpersonangle 220;set left vstr a230;set right vstr a210"
set a230 "cg_thirdpersonangle 230;set left vstr a240;set right vstr a220"
set a240 "cg_thirdpersonangle 240;set left vstr a250;set right vstr a230"
set a250 "cg_thirdpersonangle 250;set left vstr a260;set right vstr a240"
set a260 "cg_thirdpersonangle 260;set left vstr a270;set right vstr a250"
set a270 "cg_thirdpersonangle 270;set left vstr a280;set right vstr a260"
set a280 "cg_thirdpersonangle 280;set left vstr a290;set right vstr a270"
set a290 "cg_thirdpersonangle 290;set left vstr a300;set right vstr a280"
set a300 "cg_thirdpersonangle 300;set left vstr a310;set right vstr a290"
set a310 "cg_thirdpersonangle 310;set left vstr a320;set right vstr a300"
set a320 "cg_thirdpersonangle 320;set left vstr a330;set right vstr a310"
set a330 "cg_thirdpersonangle 330;set left vstr a340;set right vstr a320"
set a340 "cg_thirdpersonangle 340;set left vstr a350;set right vstr a330"
set a350 "cg_thirdpersonangle 350;set left vstr a0;set right vstr a340"
set r5 "cg_thirdpersonrange 5;set farther vstr r10;set closer vstr r500"
set r10 "cg_thirdpersonrange 10;set farther vstr r20;set closer vstr r5"
set r20 "cg_thirdpersonrange 20;set farther vstr r30;set closer vstr r10"
set r30 "cg_thirdpersonrange 30;set farther vstr r40;set closer vstr r20"
set r40 "cg_thirdpersonrange 40;set farther vstr r50;set closer vstr r30"
set r50 "cg_thirdpersonrange 50;set farther vstr r60;set closer vstr r40"
set r60 "cg_thirdpersonrange 60;set farther vstr r70;set closer vstr r50"
set r70 "cg_thirdpersonrange 70;set farther vstr r80;set closer vstr r60"
set r80 "cg_thirdpersonrange 80;set farther vstr r90;set closer vstr r70"
set r90 "cg_thirdpersonrange 90;set farther vstr r100;set closer vstr r80"
set r100 "cg_thirdpersonrange 100;set farther vstr r120;set closer vstr r90"
set r120 "cg_thirdpersonrange 120;set farther vstr r140;set closer vstr r100"
set r140 "cg_thirdpersonrange 140;set farther vstr r160;set closer vstr r120"
set r160 "cg_thirdpersonrange 160;set farther vstr r180;set closer vstr r140"
set r180 "cg_thirdpersonrange 180;set farther vstr r200;set closer vstr r160"
set r200 "cg_thirdpersonrange 200;set farther vstr r220;set closer vstr r180"
set r220 "cg_thirdpersonrange 220;set farther vstr r240;set closer vstr r200"
set r240 "cg_thirdpersonrange 240;set farther vstr r260;set closer vstr r220"
set r260 "cg_thirdpersonrange 260;set farther vstr r280;set closer vstr r240"
set r280 "cg_thirdpersonrange 280;set farther vstr r300;set closer vstr r260"
set r300 "cg_thirdpersonrange 300;set farther vstr r350;set closer vstr r280"
set r350 "cg_thirdpersonrange 350;set farther vstr r400;set closer vstr r300"
set r400 "cg_thirdpersonrange 400;set farther vstr r500;set closer vstr r350"
set r500 "cg_thirdpersonrange 500;set farther vstr r5;set closer vstr r400"

// EOF

Make sure you only past the section outlines by comments (the // marks). Let me know if this helps...

Sir Lucius
04-05-2002, 12:17 PM
or you could use the autoexec.cfg

I think you have to make it if it's not there, but it'll run any scripts you want to put in.


PS: I'm going to use that, thx :]

Sir Lucius
04-05-2002, 12:46 PM
hrmmm, I might add you need to enable cheats on your server to change the 3rd person angle value.

Octavius
04-06-2002, 02:26 AM
You are right, cheats must be enabled. You can do that by typing devmap {mapname} (without the {}) a typical map I use is ffa_bespin

also, I don't put that script in the autoexec, because I do not want it loading every time I play. It is only meant for times when I PLAN to use it, so typing in exec in the console does not bother me =)

Octa out

By the way. I downloaded an SOF2 model viewer that loads the glm files, so chances are I will take screenshots from that anyway. Not sure, still trying to find the control for changing the skin in the viewer, models work though... ---- hmmmm.