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 / How to make the enemy ACT like they r doing cover?

Author
Message
GraPix
User Banned
Posted: 17th May 2009 13:58
I know it is not possible for FPSC characters to cover. But is their is any idea of making the enemy ACT like they r doing cover?

GraPix Entertainment
Bugsy
16
Years of Service
User Offline
Joined: 24th Nov 2008
Location: another place in time
Posted: 17th May 2009 20:51
Ok howabout something along the lines of

:state=1,plrdistwithin=500:rotateto=box1,settarget,movetotarget,animate=whatever crouch is lol iunno

i cant script but i'm guessing it'd look something like that
Wolf
17
Years of Service
User Offline
Joined: 8th Nov 2007
Location: Luxemburg
Posted: 17th May 2009 22:52
;Artificial Intelligence Script

;Header

desc = Duck For Cover and Shoot

;Triggers

:state=0,plrcanbeseen:state=1,settarget
:state=0,random=50:animate=1
:state=0:runfpidefault=1

:state=4:state=5
:state=1:state=4,animate=31

:state=5:rotatetoplr
:state=5,ifweapon=1,plrcanbeseen=46,plringunsight:useweapon,rundecal=6
:state=5,ifweapon=0:state=6,setframe=36
:state=5,shotdamage=3:state=1
:state=6:incframe=36
:state=6,frameatend=36:state=5,reloadweapon,sound=audiobank\guns\reload.wav

;End of Script


But, there is also a "Waypointtocover" script by Peanutbutterfingers in his Sensei AI.

GraPix
User Banned
Posted: 18th May 2009 06:17 Edited at: 18th May 2009 06:25
Thanks for all your support

EDIT: i think this thread belongs to script. mods, plz move.

GraPix Entertainment
GraPix
User Banned
Posted: 18th May 2009 10:44 Edited at: 18th May 2009 11:45
my friend typed "hi". He thought that this is a chat board. sorry for that. I didn't knew that he typed this, that's y i always have my computer password protected after every screensaver.

anyway, Back On Topic plz

GraPix Entertainment
Kerrby
17
Years of Service
User Offline
Joined: 14th Mar 2008
Location: Australia mate.
Posted: 18th May 2009 10:50
Quote: "hi"


Hi???


WizMod Supporter.
GraPix
User Banned
Posted: 18th May 2009 11:48
Quote: "But, there is also a "Waypointtocover" script by Peanutbutterfingers in his Sensei AI."


where do i get it? is it free?

ur script worked fine... but the entity always crouching, he should crouch and stand again crouch and stand.

GraPix Entertainment
GraPix
User Banned
Posted: 18th May 2009 11:49
mods, plz plz move this to scripting...

GraPix Entertainment
The Fps Creator rocks!
16
Years of Service
User Offline
Joined: 24th Oct 2008
Location: Sneaking down your chimney.
Posted: 19th May 2009 17:43
You know what? X10 can do this! Except with an ally.

I want a new computer!
GraPix
User Banned
Posted: 21st May 2009 11:17
X10 can do it??? i don't knew about this before.

But i am using FPSC X9, anyone with a modified script of Wolf?
Anybody know a tutorial for scripting Main AI?

GraPix Entertainment
Plystire
22
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 22nd May 2009 00:45
Quote: "Anybody know a tutorial for scripting Main AI?"


The Community guide has a wonderous amount of tutorials. One of them happens to be on writing enemy AI.


The one and only,


Login to post a reply

Server time is: 2025-05-24 20:17:33
Your offset time is: 2025-05-24 20:17:33