Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Scripts / Ally scripting

Author
Message
Bozo907
14
Years of Service
User Offline
Joined: 13th Mar 2010
Location: Outside your bedroom window O_o
Posted: 14th Mar 2010 06:01
Is there any free ally scripts that work good? i have one but my allies crouch then shoot the ground rather than the enemy(ies). I would like a script where the ally(ies) will shoot my enemies and free roam.

Thanks!
Bugsy
16
Years of Service
User Offline
Joined: 24th Nov 2008
Location: another place in time
Posted: 14th Mar 2010 20:11
well, ally and enemy AI upgrade 9 will work like that, I don't know about free roaming. for a better and easier experience, try fenix mod dark ai. most likely, free roam for allys will be added.


zeza
16
Years of Service
User Offline
Joined: 27th Jun 2008
Location:
Posted: 14th Mar 2010 21:54
Bozo907
14
Years of Service
User Offline
Joined: 13th Mar 2010
Location: Outside your bedroom window O_o
Posted: 15th Mar 2010 01:53
Thanks!!
Script Junkie
14
Years of Service
User Offline
Joined: 9th Mar 2010
Location:
Posted: 28th Mar 2010 16:43
i dont know whats going on but i cant get the script to work.I attached it tho the main fpi in a civilian main and a prisoner. doesn't seem to work.
Script Junkie
14
Years of Service
User Offline
Joined: 9th Mar 2010
Location:
Posted: 28th Mar 2010 22:15
Here is the script i used in the civilian main fpi:

;Artificial Intelligence Script

;Header

desc = Ally Main AI

;Triggers
;waypointstop
:waypointstate=1:waypointstop
:waypointstate=2:waypointstop
:waypointstate=3:waypointstop
:waypointstate=4:waypointstop
:waypointstate=5:waypointstop

:shotdamage=1:shootplr
:state=0,plrdistwithin=100:rotatetoplr,state=1
;v to send ally forward
:state=0,scancodekeypressed=47:animate=2,runfore=50,globalvar=68,setvar=3
:state=0,varequal=2:shootplr,state=1
:state=1:globalvar=68
:state=1,varequal=2:shootplr
:state=1,plrcanbeseen,plrdistfurther=100:state=5
:state=1,plrcanbeseen,plrdistwithin=50:state=6
:state=1,plrcannotbeseen:rotatetoplr
:state=5:rotatetoplr,movefore=20,animate=2,state=1
:state=6:animate=1,freeze,state=1

;Controls
;z to attack
:state=1,scancodekeypressed=44:rotatey=180,shootplr
;c to crouch and sneak
:state=1,scancodekeypressed=46:animate=31
;v to send ally forward
;:state=1,scancodekeypressed=47:animate=2,runfore=50
;b to retreat
:state=1,scancodekeypressed=48:rotatey=180,animate=5,runfore=100
;g to let ally freely roam
:state=1,scancodekeypressed=34:state=2

;Free Roam
;******waypoint
:state=2:runfpi=AI Upgrade\OTHER\allwaypointsystem.fpi,state=0

;******randomly roam
;:state=2,waypointstate=999:animate=2,waypointstart
;:state=2,scancodekeypressed=35:state=4
;:state=2,shotdamage=1:shootplr
;:state=2:incframe=2
;:state=2:movefore=8
;:state=2,frameatend=2:animate=1,state=3
;:state=3,scancodekeypressed=35:state=1
;:state=3,random=1:rotatey=35,state=2,setframe=2
;:state=3,random=5:rotatey=-35,state=2,setframe=2
;:state=3,random=10:rotatey=180

;End of Script
HELP ME!!!!!!!!!!!
14
Years of Service
User Offline
Joined: 16th Feb 2010
Location:
Posted: 3rd May 2010 07:41
6 letters, DARK AI. Works perfectly for me and you'll need fenix mod.

uman
Retired Moderator
20
Years of Service
User Offline
Joined: 22nd Oct 2004
Location: UK
Posted: 3rd May 2010 19:53
Wait for the Migration is by far the best option if you can.

I know you cant so whatever you learn now will serve you in good stead.




250 seamless textures : http://www.umedia.co.uk
bobochobo
16
Years of Service
User Offline
Joined: 9th Jul 2008
Location: My house, in the middle of my street
Posted: 3rd May 2010 21:41
Nah, mods let you jump the queue :p.

Script Junkie could it be because all of this is commented out?


Login to post a reply

Server time is: 2024-11-24 23:33:15
Your offset time is: 2024-11-24 23:33:15