18-12-2010, 05:16 PM
Script "shootclose10" (no reload)
------------------------------------------------------------------------------------------------------------------------------------------
;Artificial Intelligence Script
;Header (modifica By Tax: no reload weapon)
desc = Look and Shoot Close To Player
;Triggers
tate=0,plrcanbeseentate=1,settarget
tate=0:runfpidefault=1
tate=1:rotatetoplr
tate=1,plrcanbeseenettarget
tate=1,ifweapon=1,plrdistfurther=100,plrelevwithin=10:movetotarget=1,animate=5
tate=1,plrdistwithin=101:rotatetoplr
tate=1,ifweapon=1,plrdistwithin=101,plrcanbeseen=46,rateoffire:animate=1,rotatetoplr,freeze,useweapon,rundecal=6
tate=1,ifweapon=0:animate=1,freeze,state=2
tate=1,plrdistwithin=200,random=50tate=5
tate=1,plrdistwithin=50tate=10
tate=1,losetarget=100tate=5
tate=2tate=1,reloadweapon
tate=5,random=1tate=6,setframe=4
tate=5tate=7,setframe=3
tate=6:incframe=4,strafe=90,rotatetoplr
tate=6,frameatend=4tate=1,animate=1
tate=7:incframe=3,strafe=-90,rotatetoplr
tate=7,frameatend=3tate=1,animate=1
tate=10tate=11,setframe=5
tate=11:incframe=5,strafe=180,rotatetoplr
tate=11,frameatend=5tate=1,animate=1
;End of Script
------------------------------------------------------------------------------------------------------------------------------------------
Per far si che uno script da inserire in shoot nelle opzioni dell'entità, nn ricarichi l'arma, appena vede il plr. bisogna togliere i comandi come in questo script qui sotto:
Eliminare i comandi in rosso. "shootclose10" originale:
------------------------------------------------------------------------------------------------------------------------------------------
;Artificial Intelligence Script
;Header
desc = Look and Shoot Close To Player
;Triggers
tate=0,plrcanbeseentate=1,settarget
tate=0:runfpidefault=1
tate=1:rotatetoplr
tate=1,plrcanbeseenettarget
tate=1,ifweapon=1,plrdistfurther=100,plrelevwithin=10:movetotarget=1,animate=5
tate=1,plrdistwithin=101:rotatetoplr
tate=1,ifweapon=1,plrdistwithin=101,plrcanbeseen=46,rateoffire:animate=1,rotatetoplr,freeze,useweapon,rundecal=6
tate=1,ifweapon=0:animate=1,freeze,state=2,setframe=6tate=1,plrdistwithin=200,random=50tate=5
tate=1,plrdistwithin=50tate=10
tate=1,losetarget=100tate=5
tate=2:incframe=6
tate=2,frameatend=6tate=1,reloadweapon,sound=audiobank\guns\reload.wav
tate=5,random=1tate=6,setframe=4
tate=5tate=7,setframe=3
tate=6:incframe=4,strafe=90,rotatetoplr
tate=6,frameatend=4tate=1,animate=1
tate=7:incframe=3,strafe=-90,rotatetoplr
tate=7,frameatend=3tate=1,animate=1
tate=10tate=11,setframe=5
tate=11:incframe=5,strafe=180,rotatetoplr
tate=11,frameatend=5tate=1,animate=1
;End of Script
------------------------------------------------------------------------------------------------------------------------------------------
L'unica pecca e che nn ricarica mai l'arma, almeno, nn lo fà vedere, perchè eliminato animazione, in realtà ricarica eccome.
By Tax
------------------------------------------------------------------------------------------------------------------------------------------
;Artificial Intelligence Script
;Header (modifica By Tax: no reload weapon)
desc = Look and Shoot Close To Player
;Triggers
tate=0,plrcanbeseentate=1,settarget
tate=0:runfpidefault=1
tate=1:rotatetoplr
tate=1,plrcanbeseenettarget
tate=1,ifweapon=1,plrdistfurther=100,plrelevwithin=10:movetotarget=1,animate=5
tate=1,plrdistwithin=101:rotatetoplr
tate=1,ifweapon=1,plrdistwithin=101,plrcanbeseen=46,rateoffire:animate=1,rotatetoplr,freeze,useweapon,rundecal=6
tate=1,ifweapon=0:animate=1,freeze,state=2
tate=1,plrdistwithin=200,random=50tate=5
tate=1,plrdistwithin=50tate=10
tate=1,losetarget=100tate=5
tate=2tate=1,reloadweapon
tate=5,random=1tate=6,setframe=4
tate=5tate=7,setframe=3
tate=6:incframe=4,strafe=90,rotatetoplr
tate=6,frameatend=4tate=1,animate=1
tate=7:incframe=3,strafe=-90,rotatetoplr
tate=7,frameatend=3tate=1,animate=1
tate=10tate=11,setframe=5
tate=11:incframe=5,strafe=180,rotatetoplr
tate=11,frameatend=5tate=1,animate=1
;End of Script
------------------------------------------------------------------------------------------------------------------------------------------
Per far si che uno script da inserire in shoot nelle opzioni dell'entità, nn ricarichi l'arma, appena vede il plr. bisogna togliere i comandi come in questo script qui sotto:
Eliminare i comandi in rosso. "shootclose10" originale:
------------------------------------------------------------------------------------------------------------------------------------------
;Artificial Intelligence Script
;Header
desc = Look and Shoot Close To Player
;Triggers
tate=0,plrcanbeseentate=1,settarget
tate=0:runfpidefault=1
tate=1:rotatetoplr
tate=1,plrcanbeseenettarget
tate=1,ifweapon=1,plrdistfurther=100,plrelevwithin=10:movetotarget=1,animate=5
tate=1,plrdistwithin=101:rotatetoplr
tate=1,ifweapon=1,plrdistwithin=101,plrcanbeseen=46,rateoffire:animate=1,rotatetoplr,freeze,useweapon,rundecal=6
tate=1,ifweapon=0:animate=1,freeze,state=2,setframe=6tate=1,plrdistwithin=200,random=50tate=5
tate=1,plrdistwithin=50tate=10
tate=1,losetarget=100tate=5
tate=2:incframe=6
tate=2,frameatend=6tate=1,reloadweapon,sound=audiobank\guns\reload.wav
tate=5,random=1tate=6,setframe=4
tate=5tate=7,setframe=3
tate=6:incframe=4,strafe=90,rotatetoplr
tate=6,frameatend=4tate=1,animate=1
tate=7:incframe=3,strafe=-90,rotatetoplr
tate=7,frameatend=3tate=1,animate=1
tate=10tate=11,setframe=5
tate=11:incframe=5,strafe=180,rotatetoplr
tate=11,frameatend=5tate=1,animate=1
;End of Script
------------------------------------------------------------------------------------------------------------------------------------------
L'unica pecca e che nn ricarica mai l'arma, almeno, nn lo fà vedere, perchè eliminato animazione, in realtà ricarica eccome.
By Tax