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 / Scripting Difficulties For AI-

Author
Message
Armageddon Games
15
Years of Service
User Offline
Joined: 29th Apr 2009
Location: Im In my Little bubble, Find your own...
Posted: 16th May 2009 04:37
Can someone please help me with adding AI Allies-- I have the Addon for it Ally V8-- but i dont know what the dude is talking about when he typed--

here is the AI Shoot script if anyone can set t up for me it would be Greatly Appreciated-- I just want the AI to shoot at enemies without me telling them to-- like Ill be running somewhere and the ally will be behind me except shooting at the enemies with me

AI SCRIPT -- Ally Shoot


;Artificial Intelligence Script

;Header

desc = Ally Shoot

;Triggers
:scancodekeypressed=35:runfpidefault=1
:state=0:animate=5,state=3
:plringunsight:runfpidefault=1

:state=3,random=25:settargetname=AI,rotatetotarget,animate=51,state=4
:state=3,random=50:settargetname=AIB,rotatetotarget,animate=51,state=4

:state=4,random=1:state=10,choosestrafe
:state=4,random=2:state=11,choosestrafe

:state=5,ifweapon=1,rateoffire:useweapon,rundecal=6
:state=5,random=25:settargetname=AI,rotatetotarget,animate=51
:state=5,random=50:settargetname=AIB,rotatetotarget,animate=51
:state=5,ifweapon=0:state=6,setframe=6

:state=6:incframe=36
:state=6,frameatend=36:state=3,reloadweapon,sound=audiobank\guns\reload.wav

:state=10:state=11,setframe=3
:state=11:incframe=3,strafe=-90,rotatetotarget
:state=11,frameatend=3:state=5,animate=1
:state=12:state=15,setframe=3
:state=15:incframe=3,strafe=90,rotatetotarget
:state=15,frameatend=3:state=5,animate=1

;End of Script


like if anyone could copy this and edit it -- then paste it back on this post -- It would be Awesome and that person-- or persons will be in the credits for the game--

im also going to upload the script file itself-- opens with notepad

From The Staff Of Armageddon Games (C)

Attachments

Login to view attachments
Gamer X
16
Years of Service
User Offline
Joined: 1st Feb 2008
Location: Planet X
Posted: 16th May 2009 07:25
Quote: "AI to shoot at enemies without me telling them to-- like Ill be running somewhere and the ally will be behind me except shooting at the enemies with me"


Try Hockeykid's ally scripts.

<added to list of things to add to V9 allies>


Armageddon Games
15
Years of Service
User Offline
Joined: 29th Apr 2009
Location: Im In my Little bubble, Find your own...
Posted: 16th May 2009 13:12
i dont see your link bro -- could you please repost-- and thankyou so much for the info-- but i cannot see the link if you posted one

From The Staff Of Armageddon Games (C)
Gamer X
16
Years of Service
User Offline
Joined: 1st Feb 2008
Location: Planet X
Posted: 16th May 2009 14:40
Here is Hockeykid's ally script, http://forum.thegamecreators.com/?m=forum_view&t=143913&b=23

unless you mean my V9 allies then sorry but they are currently being build and unavailable. They will hopefully be the most amazing allies seen with many bugs worked out.


Armageddon Games
15
Years of Service
User Offline
Joined: 29th Apr 2009
Location: Im In my Little bubble, Find your own...
Posted: 17th May 2009 00:54
i meant V8-- i contacted him-- so lets see what he can do

From The Staff Of Armageddon Games (C)

Login to post a reply

Server time is: 2024-11-25 01:40:00
Your offset time is: 2024-11-25 01:40:00