; Player Body Script (Why am I doing this AGAIN?)
; Scripted by Plystire
;Header
desc = Player body
;Triggers
;set up entity as player body
:state=0:bindentitytocam=0,offsetentmovebeforerotate=1,offsetenty=-23,offsetentfore=-15,animate=1,dimvar=Calc,dimvar=Moving,dimvar=Anim,state=1
;animations
:ALWAYS:setvar=Moving 0
:keypressed=17 1,plrusingrun=0:addvar=Moving 1
:keypressed=17 1,plrusingrun=1:addvar=Moving 2
:keypressed=31 1,plrusingrun=0:addvar=Moving -1
:keypressed=31 1,plrusingrun=1:addvar=Moving -2
:ALWAYS:setvar=Calc 0
:keypressed=30 1:addvar=Calc -90
:keypressed=32 1:addvar=Calc 90
:vargreater=Moving 1:divvar=Calc 2
:varless=Moving -1:divvar=Calc -2
:ALWAYS:addvar=Calc 180
:varnotequal=Calc 90,varnotequal=Calc -90: offsetentyang=%Calc
:varequal=Moving 2:setanimspeed=100,setvar=Anim 5
:varequal=Moving 1:setanimspeed=100,setvar=Anim 2
:varequal=Moving 0:setanimspeed=100,setvar=Anim 1
:varequal=Moving 0,varnotequal=Calc 180,plrusingrun=0:setanimspeed=100,setvar=Anim 3
:varequal=Moving 0,varnotequal=Calc 180,plrusingrun=1:setanimspeed=100,setvar=Anim 3
:varequal=Moving -1:setanimspeed=-100,setvar=Anim 2
:varequal=Moving -2:setanimspeed=-100,setvar=Anim 5
;Crouching
:keypressed=46 1:addvar=Anim 30,offsetenty=7
:keypressed=46 0:offsetenty=-23
:ALWAYS:animate=%Anim
Place a charecter down into your level then change the main script to what ever you called this file then play.
How to make the file -
Open up notpad and copy the code into it, before savinging make sure it on all files mode in the save window , give the file a name such as legs. after naming it put a ".FPI" at the end but dont inclued the "" then save your file into the "fps creator directory/files/scriptbank"
Hope this helps
Your signature has been erased by a mod because it's taller than 600x120