๖ۣۜПpỡpờķع | # 1 | Понедельник, 23.07.12 в 12:53 |
| Коллекция Скриптов Сюда выкладываем разные Скрипты Если Скрипт не работает, то уберите лишние пробелы в строках и после строк
Скрипт сидящего персонажа
Ставим в Main персонажу и стулу
Code ;Artificial Intelligence Script
; by Jordan Siddall
;Header
desc = Sitting
;Triggers
:state=0:animate=10,state=1 :state=1:setframe=7 ;End of Script
Скрипт Невидимки v1.0
Отлично преследует ГГ и появляется в момент атаки сносит динамические предметы в определёном радиусе, если же он далеко от персонажа, то персонаж вновь исчезает
Code ; = desc = (By Никита) Невидимка
;===Script==== :state=0:decalphafade=0,state=10
;===Invisibility=== :state=10,alphafadeequal=0,plrcanbeseen:rotatetoplr,runfore=10,animate=5 :state=10,plrdistwithin=50:state=11 :state=11 :state=12,decalphafade=100,rotatetoplr,setframe=50,triggerforce=20
:state=12:incframe=50,rotatetoplr :state=12,alphafadeequal=100,framea tend=50:rotatetoplr,state=15
;===Attack=== :state=15,plrdistfurther=78:state=20,setframe=3,rotatetoplr,decalphafade=0 :state=15,plrdistwithin=75:state=16,rotatetoplr,se tframe=6 :state=16,plrdistfurther=90:state=15 :state=16:incframe=6,rotatetoplr :state=16,frameatend=6:plraddhealth=-20,state=15
;===Alpha Fade=== :state=20:incframe=3 :state=20,frameatend=3,decalphafade=0:state=0
;Script End
[b]Скрипт кислорода
В Триггер-Зону
Code ;Artificial Intelligence Script
; by Jordan Siddall
;Header
desc = Kislorod
;Triggers
:state=0:dimvar=air,setvar=air 100 :state=0:state=1
:state=1:hudreset,hudx=15,hudy=8,hudsizex=13,hudsizey=13,hudsize=25,hudtext=воздух,hudname=air,hudmake=display :state=1:hudreset,hudx=14,hudy=15,hudsizex=16,hudsizey=15,hudimage=gamecore\huds\numeric1.dds,hudname=ar,hudtype=6,huduservar=air,hudmake=nu meric :state=1:state=2
:state=2,plrunderwater=1,rateoffire:subvar=air 2 :state=2,plrunderwater=0:state=3 :state=2,varless=air 1:plraddhealth=-999999,setvar=air 0,state=4
:state=4:plrdisable=1 :state=4,plrunderwater=0:setvar=air 100,state=2
:state=3,rateoffire:addvar=air 9 :state=3,vargreater=air 98:setvar=air 100,state=2 :state=3,plrunderwater=1:state=2
;End of Script
Скрипт Времени Суток
Ставим Триггеру и живем
Code ;Artificial Intelligence Script
;Header
desc = day (by Evil Genius)
;Triggers
:state=0:state=1,timerstart :state=4,timergreater=300000:state=1,timerstart :state=1,timergreater=4100:ambience=255,ambienceblue=255,ambiencegreen=255,ambiencered=255 :state=1,timergreater=8200:ambience=250,ambienceblue=250,ambiencegreen=250,ambiencered=250 :state=1,timergreater=12300:ambience=245,ambienceblue=245,ambiencegreen=245,ambiencered=245 :state=1,timergreater=16400:ambience=240,ambienceblue =240,ambiencegreen=240,ambiencered=240 :state=1,timergreater=20500:ambience=235,ambienceblue=235,ambiencegreen=235,ambiencered=235 :state=1,timergreater=24600:ambience=230,ambienceblue=230,ambiencegreen=230,ambiencered=235 :state=1,timergreater=28700:ambience=225,amb ie nceblue= 225,ambiencegreen=225,ambiencered=235 :state=1,timergreater=32800:ambience=220,ambienceblue=220,ambiencegreen=220,ambiencered =235 :state=1 ,timergreater=36900:ambience=215,ambienceblue=215,ambiencegreen=215,ambiencered=230 :state=1,timergreater=41000:ambienc e=210, am bienceblue=2 10,ambiencegreen=210,ambiencered=225 :state=1,timergreater=45100:ambience=205,ambienceblue=205,ambiencegreen=205,ambiencered= 220 :state=1, timergreater=49200:ambience=200,ambienceblue=200,ambiencegreen=200,ambiencered=220 :state=1,timergreater=53300:ambience=1 95 ,ambienceblue=19 5,ambiencegreen=195,ambiencered=215 :state=1,timergreater=57400:ambience=190,ambienceblue=190,ambiencegreen=190,ambie ncered=210 :state=1,t imergreater=61500:ambience=185,ambienceblue=185,ambiencegreen=185,ambiencered=200 :state=1,timergreater=65600:amb ience= 180,ambienceblue=180 ,ambiencegreen=180,ambiencered=200 :state=1,timergreater=69700:ambience=175,ambienceblue=175,ambiencegreen=17 5,ambien cered=200 :state=1,ti mergreater=73800:ambience=170,ambienceblue=170,ambiencegreen=170,ambiencered=200 :state=1,timergreater=77 900:ambien ce=165,ambienceblue=165, ambiencegreen=165,ambiencered=200 :state=1,timergreater=82000:ambience=160,ambienceblue=160,ambienceg reen=160,amb iencered=190 :state=1,tim ergreater=86100:ambience=155,ambienceblue=155,ambiencegreen=155,ambiencered=180 :state=1,timergre ater=90200:amb ience=150,ambienceblue=150,a mbiencegreen=150,ambiencered=170 :state=1,timergreater=94300:ambience=145,ambienceblue=145,am biencegreen=145, ambiencered=160 :state=1,time rgreater=98400:ambience=140,ambienceblue=140,ambiencegreen=140,ambiencered=150 :state=1,t imergreater=106600 :ambience=135,ambienceblue=135,a mbiencegreen=135,ambiencered=140 :state=1,timergreater=110700:ambience=130,ambiencebl ue=130,ambiencegreen =130,ambiencered=130 :state=1,tim ergreater=114800:ambience=125,ambienceblue=125,ambiencegreen=125,ambiencered=125 : state=1,timergreater= 118900:ambience=120,ambienceblue=120 ,ambiencegreen=120,ambiencered=120 :state=1,timergreater=123000:ambience=115,a mbienceblue=115,ambienc egreen=115,ambiencered=115 :state=1,t imergreater=127100:ambience=110,ambienceblue=110,ambiencegreen=110,ambience red=110 :state=1,timergr eater=131200:ambience=105,ambienceblue=1 05,ambiencegreen=105,ambiencered=105 :state=1,timergreater=135300:ambi ence=100,ambienceblue=100,a mbiencegreen=100,ambiencered=100 :state=1 ,timergreater=139400:ambience=95,ambienceblue=95,ambiencegreen=95,a mbiencered=95 :state=1,timer greater=143500:ambience=90,ambienceblue=90,a mbiencegreen=90,ambiencered=90 :state=1,timergreater=147600:am bience=85,ambienceblue=85,ambie ncegreen=85,ambiencered=85 :state=1,timergrea ter=151700:ambience=80,ambienceblue=80,ambiencegreen=80,amb iencered=80 :state=1,timergreate r=155800:ambience=75,ambienceblue=75,ambiencegre en=75,ambiencered=75 :state=1,timergreater=159900:ambi ence=70,ambienceblue=70,ambiencegre en=70,ambiencered=70 :state=1,timergreater=164000 :ambience=65,ambienceblue=65,ambiencegreen=65,ambie ncered=65 :state=1,timergreater=1681 00:ambience=60,ambienceblue=60,ambiencegreen=60,ambi encered=60 :state=1,timergreater=172200:ambien ce=55,ambienceblue=55,ambiencegreen=55, ambiencered=55 :state=1,timergreater=176300:ambience= 50,ambienceblue=50,ambiencegreen=50,ambienc ered=50,state=2,timerstart
:state=2,ti mergreater=300000:state=3,timerstart :state=3,timergrea ter=4100:ambience=50,ambienceblue=50,am biencegreen=50,ambiencered=50 :state=3,tim ergreater=8200:ambience=55,ambienceblue=55,ambiencegreen=5 5,ambiencered=55 :state=3,timergre ater=12300:ambience=60,ambienceblue=60,ambien cegreen=60,ambiencered=60 :state=3,timergreater=16400:ambie nce=65,ambienceblue=65,ambience green=65,ambiencered=65 :state=3,timergreater= 20500:ambience=70,ambienceblue=70,ambiencegreen=70,ambiencered =70 :state=3,timergreater= 24600:ambience=75,ambienceblue=75,ambiencegreen=7 5,ambiencered=75 :state=3,timergreater=28700:ambience=80,ambien ceblue=80,ambiencegreen =80,ambiencered=80 :state=3,timergreater=32800:amb ience=85,ambienceblue=85,ambiencegreen=85,ambiencered=85 :state=3 ,timergreater=36900 :ambience=90,ambienceblue=90,ambiencegreen=90,ambienc ered=90 :state=3,timergreater=41000:ambience=95,ambienceblue=95,amb iencegreen=95,a mbiencered=95 :state=3,timergreater=45100:ambience=100 ,ambienceblue=100,ambiencegreen=100,ambiencered=100 :state=3,timergre ater=49200: ambience=105,ambienceblue=105,ambiencegreen=105,ambiencer ed=105 :state=3,timergreater=53300:ambience=110,ambienceblue=110,ambien cegreen =110,ambiencered=110 :state=3,timergreater=57400:ambience= 115,ambienceblue=115,ambiencegreen=115,ambiencered=115 :state=3,timergrea ter =61500:ambience=120,ambienceblue=120,ambiencegreen=120,ambien cered=120 :state=3,timergreater=65600:ambience=125,ambienceblue=120,ambienc e green=125,ambiencered=125 :state=3,timergreater=69700:ambien ce=130,ambienceblue=120,ambiencegreen=130,ambiencered=130 :state=3,timergrea t er=73800:ambience=135,ambienceblue=120,ambiencegreen=135,amb iencered=135 :state=3,timergreater=77900:ambience=140,ambienceblue=120,amb ience green=140,ambiencered=140 :state=3,timergreater=82000:amb ience=145,ambienceblue=125,ambiencegreen=145,ambiencered=145 :state=3,ti mergreate r=86100:ambience=150,ambienceblue=125,ambiencegreen=150, ambiencered=150 :state=3,timergreater=90200:ambience=155,ambienceblue= 125,ambienceg reen=155,ambiencered=155 :state=3,timergreater=94300: ambience=160,ambienceblue=125,ambiencegreen=160,ambiencered=160 :sta te=3,timergreater =98400:ambience=165,ambienceblue=130,ambiencegreen=1 65,ambiencered=165 :state=3,timergreater=106600:ambience=170,ambie nceblue=130,ambienceg reen=170,ambiencered=170 :state=3,timergreater=11 0700:ambience=175,ambienceblue=130,ambiencegreen=175,ambiencered= 175 :state=3,timergreate r=114800:ambience=180,ambienceblue=130,ambienceg reen=180,ambiencered=180 :state=3,timergreater=118900:ambience =185,ambienceblue=140,ambienc egreen=185,ambiencered=185 :state=3,timergrea ter=123000:ambience=190,ambienceblue=150,ambiencegreen=190,am biencered=190 :state=3,timergrea ter=127100:ambience=195,ambienceblue=160,amb iencegreen=195,ambiencered=195 :state=3,timergreater=13120 0:ambience=200,ambienceblue=170,ambie ncegreen=200,ambiencered=200 :state=3,tim ergreater=139400:ambience=205,ambienceblue=180,ambiencegr een=205,ambiencered=205 :state=3,timergr eater=143500:ambience=210,ambienceblue=1 90,ambiencegreen=210,ambiencered=210 :state=3,timergre ater=147600:ambience=215,ambienceblue=200,amb iencegreen=215,ambiencered=215 :state=3,timergreater=151700:ambience=220,ambienceblue=210, ambiencegreen=220,ambiencered=220 :state=3,timer greater=155800:ambience=225,ambience blue=220,ambiencegreen=225,ambiencered=225 :state= 3,timergreater=159900:ambience=230,ambienceblue=230,a mbiencegreen=230,ambiencered=230 :state=3,timergreater=164000:ambience=235,ambienc eblue=235,ambiencegreen=235,ambiencered=235 :state=3,tim ergreater=168100:ambience=240,amb ienceblue=240,ambiencegreen=240,ambiencered=24 0 :state=3,timergreater=172200:ambience=245,ambienceblue=245 ,ambiencegreen=245,ambiencered= 245 :state=3,timergreater=176300:ambience=2 50,ambienceblue=250,ambiencegreen=250,ambiencered=250 :state=3,timergreater=196300:ambience=2 55,ambienceblue=255,ambiencegreen=255,ambi encered=255,state=4,timerstart
;End of Script
Скрипт бегущего персонажа
Внедряете этот скрипт персонажу и в параметрах задаёте скорость 170-200. Персонаж будет передвигаться быстро и в тоже время будет проигрываться анимация бега. Code ;Artificial Intelligence Script
;Header desc = search melee and strafe zombie-script (Funny-Havok)
;Triggers :state=0:waypointstart :state=0,plrwithin:state=20 :state=1,plrcanbeseen:movefore=10,animate=5,state=20 :state=1:movefore=10,an imate=5,state=20
;-=>>>WAYPOINTS<<<=- :waypointstate=3:animate=2,waypointnext :waypointstate=5:animate=2,waypointrevers
;///PLR FOUND\\\ :state=20:movefore=40,animate=5
;End of Script
Скрипт подтверждения на взятие оружия
Ставьте на карту пушку, щёлкай на ней ПКМ, ищи вкладку Восстановление. Первый пункт - "Восстановить при запуске?" Поставь "Нет". Затем на место этой пушки ставь зону со скриптом Code state=0:hudreset,hudx=50,hudy=90,hudimagefine=languagebank\russian\gamecore\text\weaponhud.dds,hudname=weaponhud,hudhide=1,hudmake=display,s tate=1 :state=1,plrwithinzone=1:hudshow=weaponhud,state=2 :state=2,plrwithinzone=1,scancodekeypressed=33:activateifused=1,hudunshow=weapon hud,state=3
Скрип говорящего персонажа
Ставишь триггер зону рядом с персонажем, нажимаешь правой кнопкой на Триггер и после выбираем там в Main этот скрипт. Code ;Header desc = game conversation ;Triggers :state=0:hudreset,hudx=50,hudy=50,hudimagefine=[Путь до вашего рисунка с сообщением1], hudname=talk1,hudhide=1,hudmake=display :state=0:hudreset,hudx=50,hudy=50,hudimagefine=[Путь до вашего рисунка с сообщением2], hudname=talk2,hudhide=1,hudmake=display :state=0:hudreset,hudx=50,hudy=50,hudimagefine=[Путь до вашего рисунка с сообщением3], hudname=talk3,hudhide=1,hudmake=display,state=9 :state=9,plrdistwithin=160:rotatetoplr :state=9,plrdistwithin=60:state=10,sound= [Путь до Вашего звука] :state=10,plrdistwithin=60:rotatetoplr,hudshow=talk1,hudfadeout=talk1 :state=10,plrusingaction=1:timerstart,state=15 :state=15,timergreater=500:state=19 :state=19,plrdistwithin=60:state=20,sound= [Путь до Вашего звука] :state=20,plrdistwithin=60:rotatetoplr,hudshow=talk2,hudfadeout=talk2 :state=20,plrusingaction=1:timerstart,state=25 :state=25,timergreater=500:state=29 :state=29,plrdistwithin=60:state=30,sound=[Путь до Вашего звука] :state=30,plrdistwithin=60:rotatetoplr,hudshow=talk3,hudfadeout=talk3 :state=30,plrusingaction=1:timerstart,state=35 :state=35,timergreater=500:state=2 :state=2,plrdistfurther=60:state=9 ;End of Script
Скрипт делающий зомби более зоркими
Вот проблема что зомби некоторые дальше 3-4 клеток не видят. Получается что если на игрока нападают два зомби и он от них убегает по прямому коридору то когда повернётся они будут тупо стоять на месте и смотреть в никуда. Вот скрипт делающий их зорче. Code desc = Zombie see player far and attack player | Kaleeb
;Triggers
:state=0,plrdistwithin=900:state=1 :state=1,plrdistfurther=40:rotatetoplr,movefore=4,animate=2 :state=1,plrdistfurther=400:ani mate=2,state=0 :state=1,plrdistwithin=100,rateoffire:rotateplr,animate=92,plraddhealth=-20
Скрипт Персонажа, атакующего только если Вы его тронете
Персонаж сначала мирный, но при выстреле в него вами, он становится вашим врагом[/b] Code ;Artificial Intelegence Script
;Header
desc = Police V2
;Triggers
:activated=0,waypointstate=0:animate=2,waypointstart :activated=0,waypointstate=3:animate=2,waypointnext :activated=0,waypointstate=4:animate=2,waypointrandom :activated=0,waypointstate=5:animate=2,waypointreverse
:state=0,VAREQUAL=500,plrcanbeseen,plrdistwithin=1000:activate=1,waypointstop :state=0,shotdamage=5:activate=1,waypointstop,SETVAR=500 :state=0,activated=1,ifweapon=0:state=8,setframe=6 :activated=1,plrcanbeseen:settarget,rotatetotarget,rotatetoplr,resethead :activated=1,plrdistwithin=200:rotatetoplr,resethead
:state=0,activated=1,random=20:state=9 :state=0,activated=1,shotdamage=1:rotatetoplr,state=7 :state=0,activated=1,noiseheard=5:settarget,rotatetotarget,rotatetoplr,state=7 :state=0,activated=1,ifweapon=1,plrcanbeseen:state=2
:state=1:incframe=3,strafe=-90,rotatetoplr :state=1,ifweapon=1,plrcanbeseen:useweapon,rundecal=6 :state=1,frameatend=3:state=0,animate=1
:state=5:useweapon,rundecal=6,state=0 :state=4:state=5 :state=3:state=4 :state=2:state=3
:state=6:incframe=4,strafe=90,rotatetoplr :state=6,ifweapon=1,plrcanbeseen:useweapon,rundecal=6 :state=6,frameatend=4:state=0,animate=1
:state=7,random=1:state=6,setframe=4 :state=7:state=1,setframe=3
:state=8:incframe=6 :state=8,frameatend=6:state=0,reloadweapon,sound=audiobank\guns\reload.wav
:state=9,plrcannotbeseen:state=10 :state=9:state=0 :state=10,random=1:rotatetoplr,strafe=135 :state=10,random=1:rotatetoplr,strafe=-135 :state=10,random=1:rotatetoplr,strafe=-65 :state=10,random=1:rotatetoplr,strafe=65 :state=10:state=7
;End of Script Скрипт Персонажа, бегущего на Вас
Если увидит вас - то бежит на вас Code ;Triggers
:nearactivatable=0:settarget,activatetarget=2 :losetarget=50:freeze,runfpidefault=1 :plralive=0:freeze,runfpidefault=1
:state=0,plrdistfurther=100:state=1 :state=0,plrdistwithin=101:state=2,animate=1 :state=1,plrelevfurther=10,plrcanbeseen=46,plringunsight:freeze,settarget,animate=1,state=0 :state=1:followplr=1,animate=5 :state=1:state=0
:state=2:rotatetoplr,resethead :state=2:freeze,state=0
:state=4:incframe=6 :state=4,frameatend=6:state=0
:state=5,random=1:state=6,setframe=4 :state=5:state=7,setframe=3 :state=6:incframe=4,strafe=90,rotatetoplr :state=6,frameatend=4:state=1,animate=1 :state=7:incframe=3,strafe=-90,rotatetoplr :state=7,frameatend=3:state=1,animate=1
;End of Script Персонаж как в CS
Попытка сделать персонажа как в CS Code ;Triggers :state=0:state=1 :state=1,losetarget=5:state=10 :state=1,plrcanbeseen,plrdistwithin=400:state=20 :state=1,shotdamage=1:rotate toplr,state=20 :state=1,random=20:rotateheadrandom=55 :state=1:animate=2,movefore=2.5
:state=10,random=1:state=11 :state=10:rotatey=90 ,animate=2,movefore=2.5,state=0 :state=11:rotatey=-90,animate=2,movefore=2.5,state=0
:state=20,plrcanbeseen:state=21 :state=21,plrcanbe seen:settarget :state=21,plrcannotbeseen,losetarget=1:state=10 :state=21,healthless=31:state=40 :state=21,ifweapon=1,plrdistfurther=100:f ollowplr=1,animate=5 :state=21,plrdistwithin=101:rotatetoplr :state=21,ifweapon=1,plrdistwithin=301,plrcanbeseen=46:animate=1,rotatetoplr, freeze,useweapon,rundecal=6 :state=21,ifweapon=0:animate=1,freeze,state=22,setframe=6 :state=21,plrdistwithin=300,random=20:state=25 :state=21,plrdistwithin=100:state=30 :state=22:incframe=6 :state=22,frameatend=6:state=21,reloadweapon,sound=audiobank\guns\reload.wav :state=25,random=1:state=26,setframe=4 :state=25:state=27,setframe=3 :state=26:incframe=4,strafe=90,rotatetoplr :state=26,frameatend=4:state=21 ,animate=1 :state=27:incframe=3,strafe=-90,rotatetoplr :state=27,frameatend=3:state=21,animate=1 :state=30:state=31,setframe=5 :state=31 :incframe=5,strafe=180,rotatetoplr :state=31,frameatend=5:state=21,animate=1
:state=40:state=42 :state=42,ifweapon=1,plrdistwithin=601, plrcanbeseen=46:animate=1,rotatetoplr,freeze,useweapon,rundecal=6 :state=42:rotatetotarget,rotatey=180,resethead,animate=5,state=43 :state=43:runfore=10 :state=43,random=5:rotateheadrandom=65 :state=43,losetarget=1:state=50 :state=43,plrcanbeseen:settarget,state=42
:state=50:timerstart,state=51,rotatey=180,animate=31 :state=51,timergreater=5000:state=10,animate=5 :state=51,random=5:rotateheadrandom=35
;End of Script
Зона видимости Снайпера. Спустя несколько секунд в этой Зоне теряешь все здоровье
Зона обстрела снайпером Code ;Artificial Intelligence Script
;Header
desc = Over levl (by Evil Genius)
;Triggers
:state=0,plrwithinzone=1:loopsound=$0,timerstart,state=1 :state=1,plrwithinzone=0:state=0,stopsound :state=1,timergreater=10000,plrwithinzone=1:stopsound,state=0,plraddhealth=-10000
;End of Script Скрипт дружественной Вам комманде
Братва!!! Ставить в Appear. Code ;//TF-341 Artificial Intelligence Script
desc = default DAI appear for TF-341
;-------------------------------------------------------------------------------------------------------------------------------------------- ---------- ;//Local var setup here so as not to be reset when toggling between main and shoot scripts
;//Shotdamage protocol :state=0:dimlocalvar=beenshot,setvar=beenshot 0 ;//local var flags independent mode or fire-team assignment: FT0=Independent,FT1=Alpha Team,FT2=Bravo Team,FT3=Charlie Team,FT4=Delta Team :state=0:dimlocalvar=FT,setvar=FT 0 ;//NPC interact codes: 0=waiting,1=ready,2=active,3=NA,4=reset :state=0:dimlocalvar=interact,setvar=interact 0 ;//Set Entity Angle Y-axis :state=0:dimlocalvar=SEAY
;//Team Factions ;//Team 1 (Player team) :state=0:aiaddenemy=1 2|5|6,aiaddneutral=1 3,aiaddally=1 4 ;//Team 2 (Enemy team) :state=0:aiaddenemy=2 1|4|6,aiaddneutral=2 3,aiaddally=2 5 ;//Team 3 (Neutral team) :state=0:aiaddenemy=3 6,aiaddneutral=3 1|2|4|5 ;//Team 4 (Player Friendly team) :state=0:aiaddenemy=4 2|5|6,aiaddneutral=1 3,aiaddally=4 1 ;//Team 5 (Enemy Friendly team) :state=0:aiaddenemy=5 1|4|6,aiaddneutral=2 3,aiaddally=5 2 ;//Team 6 (Zombie team) :state=0:aiaddenemy=6 1|2|3|4|5 ;-------------------------------------------------------------------------------------------------------------------------------------------- ----------
;//Start & Team Settings :state=0:setalphafade=100,addaiteam=1,state=1 :state=1:runfpidefault=1,state=2 ;//End Скрипт Нейтрала
Никому не враг Code ;//TF-341 Artificial Intelligence Script
desc = default DAI appear for TF-341
;-------------------------------------------------------------------------------------------------------------------------------------------- ---------- ;//Local var setup here so as not to be reset when toggling between main and shoot scripts
;//Shotdamage protocol :state=0:dimlocalvar=beenshot,setvar=beenshot 0 ;//local var flags independent mode or fire-team assignment: FT0=Independent,FT1=Alpha Team,FT2=Bravo Team,FT3=Charlie Team,FT4=Delta Team :state=0:dimlocalvar=FT,setvar=FT 0 ;//NPC interact codes: 0=waiting,1=ready,2=active,3=NA,4=reset :state=0:dimlocalvar=interact,setvar=interact 0 ;//Set Entity Angle Y-axis :state=0:dimlocalvar=SEAY
;//Team Factions ;//Team 1 (Player team) :state=0:aiaddenemy=1 2|5|6,aiaddneutral=1 3,aiaddally=1 4 ;//Team 2 (Enemy team) :state=0:aiaddenemy=2 1|4|6,aiaddneutral=2 3,aiaddally=2 5 ;//Team 3 (Neutral team) :state=0:aiaddenemy=2 6,aiaddneutral=3 1|2|4|5 ;//Team 4 (Player Friendly team) :state=0:aiaddenemy=4 2|5|6,aiaddneutral=1 3,aiaddally=4 1 ;//Team 5 (Enemy Friendly team) :state=0:aiaddenemy=5 1|4|6,aiaddneutral=2 3,aiaddally=5 2 ;//Team 6 (Zombie team) :state=0:aiaddenemy=6 1|2|3|4|5
;-------------------------------------------------------------------------------------------------------------------------------------------- ----------
;//Start & Team Settings :state=0:setalphafade=100,addaiteam=3,state=1 :state=1:runfpidefault=1,state=2 ;//End Скрипт врага
Вашего врага... Code ;//TF-341 Artificial Intelligence Script
desc = default DAI appear for TF-341
;-------------------------------------------------------------------------------------------------------------------------------------------- ---------- ;//Local var setup here so as not to be reset when toggling between main and shoot scripts
;//Shotdamage protocol :state=0:dimlocalvar=beenshot,setvar=beenshot 0 ;//local var flags independent mode or fire-team assignment: FT0=Independent,FT1=Alpha Team,FT2=Bravo Team,FT3=Charlie Team,FT4=Delta Team :state=0:dimlocalvar=FT,setvar=FT 0 ;//NPC interact codes: 0=waiting,1=ready,2=active,3=NA,4=reset :state=0:dimlocalvar=interact,setvar=interact 0 ;//Set Entity Angle Y-axis :state=0:dimlocalvar=SEAY
;//Team Factions ;//Team 1 (Player team) :state=0:aiaddenemy=1 2|5|6,aiaddneutral=1 3,aiaddally=1 4 ;//Team 2 (Enemy team) :state=0:aiaddenemy=2 1|4|6,aiaddneutral=2 3,aiaddally=2 5 ;//Team 3 (Neutral team) :state=0:aiaddenemy=2 6,aiaddneutral=3 1|2|4|5 ;//Team 4 (Player Friendly team) :state=0:aiaddenemy=4 2|5|6,aiaddneutral=1 3,aiaddally=4 1 ;//Team 5 (Enemy Friendly team) :state=0:aiaddenemy=5 1|4|6,aiaddneutral=2 3,aiaddally=5 2 ;//Team 6 (Zombie team) :state=0:aiaddenemy=6 1|2|3|4|5
;-------------------------------------------------------------------------------------------------------------------------------------------- ----------
;//Start & Team Settings :state=0:setalphafade=100,addaiteam=2,state=1 :state=1:runfpidefault=1,state=2 ;//End Скрипт друга врага
У врага тоже есть братва! Code ;//TF-341 Artificial Intelligence Script
desc = default DAI appear for TF-341
;-------------------------------------------------------------------------------------------------------------------------------------------- ---------- ;//Local var setup here so as not to be reset when toggling between main and shoot scripts
;//Shotdamage protocol :state=0:dimlocalvar=beenshot,setvar=beenshot 0 ;//local var flags independent mode or fire-team assignment: FT0=Independent,FT1=Alpha Team,FT2=Bravo Team,FT3=Charlie Team,FT4=Delta Team :state=0:dimlocalvar=FT,setvar=FT 0 ;//NPC interact codes: 0=waiting,1=ready,2=active,3=NA,4=reset :state=0:dimlocalvar=interact,setvar=interact 0 ;//Set Entity Angle Y-axis :state=0:dimlocalvar=SEAY
;//Team Factions ;//Team 1 (Player team) :state=0:aiaddenemy=1 2|5|6,aiaddneutral=1 3,aiaddally=1 4 ;//Team 2 (Enemy team) <
На вопросы по FPSC в ЛС не отвечаю!
|
|
| |
goblinarium | # 2 | Четверг, 23.08.12 в 05:07 |
| а вот моё: СКРИПТ ПЕРСА, АТАКУЮЩЕГО ТОЛЬКО ЕСЛИ ВЫ ЕГО ТРОНЕТЕ Code ;Artificial Intelegence Script
;Header
desc = Police V2
;Triggers
:activated=0,waypointstate=0:animate=2,waypointstart :activated=0,waypointstate=3:animate=2,waypointnext :activated=0,waypointstate=4:animate=2,waypointrandom :activated=0,waypointstate=5:animate=2,waypointreverse
:state=0,VAREQUAL=500,plrcanbeseen,plrdistwithin=1000:activate=1,waypointstop :state=0,shotdamage=5:activate=1,waypointstop,SETVAR=500 :state=0,activated=1,ifweapon=0:state=8,setframe=6 :activated=1,plrcanbeseen:settarget,rotatetotarget,rotatetoplr,resethead :activated=1,plrdistwithin=200:rotatetoplr,resethead
:state=0,activated=1,random=20:state=9 :state=0,activated=1,shotdamage=1:rotatetoplr,state=7 :state=0,activated=1,noiseheard=5:settarget,rotatetotarget,rotatetoplr,state=7 :state=0,activated=1,ifweapon=1,plrcanbeseen:state=2
:state=1:incframe=3,strafe=-90,rotatetoplr :state=1,ifweapon=1,plrcanbeseen:useweapon,rundecal=6 :state=1,frameatend=3:state=0,animate=1
:state=5:useweapon,rundecal=6,state=0 :state=4:state=5 :state=3:state=4 :state=2:state=3
:state=6:incframe=4,strafe=90,rotatetoplr :state=6,ifweapon=1,plrcanbeseen:useweapon,rundecal=6 :state=6,frameatend=4:state=0,animate=1
:state=7,random=1:state=6,setframe=4 :state=7:state=1,setframe=3
:state=8:incframe=6 :state=8,frameatend=6:state=0,reloadweapon,sound=audiobank\guns\reload.wav
:state=9,plrcannotbeseen:state=10 :state=9:state=0 :state=10,random=1:rotatetoplr,strafe=135 :state=10,random=1:rotatetoplr,strafe=-135 :state=10,random=1:rotatetoplr,strafe=-65 :state=10,random=1:rotatetoplr,strafe=65 :state=10:state=7
;End of Script СКРИПТ ПЕРСА, КОТОРЫЙ БЕЖИТ НА ИГРОКА Code ;Triggers
:nearactivatable=0:settarget,activatetarget=2 :losetarget=50:freeze,runfpidefault=1 :plralive=0:freeze,runfpidefault=1
:state=0,plrdistfurther=100:state=1 :state=0,plrdistwithin=101:state=2,animate=1 :state=1,plrelevfurther=10,plrcanbeseen=46,plringunsight:freeze,settarget,animate=1,state=0 :state=1:followplr=1,animate=5 :state=1:state=0
:state=2:rotatetoplr,resethead :state=2:freeze,state=0
:state=4:incframe=6 :state=4,frameatend=6:state=0
:state=5,random=1:state=6,setframe=4 :state=5:state=7,setframe=3 :state=6:incframe=4,strafe=90,rotatetoplr :state=6,frameatend=4:state=1,animate=1 :state=7:incframe=3,strafe=-90,rotatetoplr :state=7,frameatend=3:state=1,animate=1
;End of Script
СКРИПТ УМНОГО ИГРОКА(КАК В КС) Code ;Triggers :state=0:state=1 :state=1,losetarget=5:state=10 :state=1,plrcanbeseen,plrdistwithin=400:state=20 :state=1,shotdamage=1:rotate toplr,state=20 :state=1,random=20:rotateheadrandom=55 :state=1:animate=2,movefore=2.5
:state=10,random=1:state=11 :state=10:rotatey=90 ,animate=2,movefore=2.5,state=0 :state=11:rotatey=-90,animate=2,movefore=2.5,state=0
:state=20,plrcanbeseen:state=21 :state=21,plrcanbe seen:settarget :state=21,plrcannotbeseen,losetarget=1:state=10 :state=21,healthless=31:state=40 :state=21,ifweapon=1,plrdistfurther=100:f ollowplr=1,animate=5 :state=21,plrdistwithin=101:rotatetoplr :state=21,ifweapon=1,plrdistwithin=301,plrcanbeseen=46:animate=1,rotatetoplr, freeze,useweapon,rundecal=6 :state=21,ifweapon=0:animate=1,freeze,state=22,setframe=6 :state=21,plrdistwithin=300,random=20:state=25 :state=21,plrdistwithin=100:state=30 :state=22:incframe=6 :state=22,frameatend=6:state=21,reloadweapon,sound=audiobank\guns\reload.wav :state=25,random=1:state=26,setframe=4 :state=25:state=27,setframe=3 :state=26:incframe=4,strafe=90,rotatetoplr :state=26,frameatend=4:state=21 ,animate=1 :state=27:incframe=3,strafe=-90,rotatetoplr :state=27,frameatend=3:state=21,animate=1 :state=30:state=31,setframe=5 :state=31 :incframe=5,strafe=180,rotatetoplr :state=31,frameatend=5:state=21,animate=1
:state=40:state=42 :state=42,ifweapon=1,plrdistwithin=601, plrcanbeseen=46:animate=1,rotatetoplr,freeze,useweapon,rundecal=6 :state=42:rotatetotarget,rotatey=180,resethead,animate=5,state=43 :state=43:runfore=10 :state=43,random=5:rotateheadrandom=65 :state=43,losetarget=1:state=50 :state=43,plrcanbeseen:settarget,state=42
:state=50:timerstart,state=51,rotatey=180,animate=31 :state=51,timergreater=5000:state=10,animate=5 :state=51,random=5:rotateheadrandom=35
;End of Script ЗОНА ВИДИМОСТИ ДЛЯ СНАЙПЕРА(ИЛИ НЕ ДЛЯ СНАЙПЕРА :D) СПУСТЯ НЕСКОЛЬКО СЕКУНД В ЭТОЙ ЗОНЕ ТЕРЯЕШЬ ВСЕ ХП) Code ;Artificial Intelligence Script
;Header
desc = Over levl (by Evil Genius)
;Triggers
:state=0,plrwithinzone=1:loopsound=$0,timerstart,state=1 :state=1,plrwithinzone=0:state=0,stopsound :state=1,timergreater=10000,plrwithinzone=1:stopsound,state=0,plraddhealth=-10000
;End of Script
|
|
| |