Hi there,
I am new to fps and have been spending most of my nights over the past week either in the forum or reading the manual looking for answers. So after reading your online tutorials, I still have some questions.
First...After I write or edit on a script in notepad, how do I save as fpi.? I cannot find Fpi as an option, either in save or save as.
Second- I am working on the second map of a large game. On both maps I have had trouble with the AI. Only some of the enemies will attack and fire their weapons. I followed the manual for main and shoot scripts and the scripts I used are the stock ones in the program. Some of the enemies will behave correctly, but most will not fire. I have them set as
Main- homing
Shoot-shoot
Rate of fire-0
Not much more simple than that. They will all come find me (player) but on the first map only 3 actually shoot and on the second...none of them will. I have deleted all of them and replaced with different characters with the same result.
I am running these scripts-
"Main"
;Artificial Intelligence Script
;Header
desc = Homing In behaviour
;Triggers
:state=0:rotatetoplr
:state=1:rotatetoplr
:plrcanbeseen,plrdistfurther=70:settarget,state=1
:noiseheard=5:rotateheadrandom=85
:random=10:rotateheadrandom=45
:state=1:movetotarget,animate=2
:state=1,plrdistwithin=61:freeze,animate=1,state=0
:plrdistwithin=50,rateoffire:plraddhealth=-5
;End of Script
"Shoot"
;Artificial Intelligence Script
;Header
desc = Look and Shoot
;Triggers
:state=0,plrcanbeseen:state=1,settarget
:losetarget=10:runfpidefault=1
:state=0:runfpidefault=1
:state=1:rotatetoplr
:state=1,ifweapon=1,plrcanbeseen=46,plringunsight,rateoffire:useweapon,rundecal=6
:state=1,ifweapon=0:state=2,setframe=6
:state=2:incframe=6
:state=2,frameatend=6:state=1,reloadweapon,sound=audiobank\guns\reload.wav
;End of Script
Any helpful ideas or suggestions would be greatly appriciated
thanks,
sungod
And even in our sleep, pain which cannot forget falls drop by drop upon the heart, until in our own despite, against our will, comes wisdom.