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 Product Chat / [LOCKED] how do you make ai friendly??

Author
Message
Sevey
17
Years of Service
User Offline
Joined: 6th Apr 2007
Location:
Posted: 6th Apr 2007 15:40
how do you make ai frindly?email me at zwinning@woh.rr.com if you know
Candle_
18
Years of Service
User Offline
Joined: 29th May 2006
Location: kindergarten
Posted: 6th Apr 2007 20:50
RedneckRambo
17
Years of Service
User Offline
Joined: 19th Oct 2006
Location: Worst state in USA... California
Posted: 6th Apr 2007 20:52
Why on Earth did you name yourself that question?

I'm not going to tell you now that I see that.

Candle_
18
Years of Service
User Offline
Joined: 29th May 2006
Location: kindergarten
Posted: 6th Apr 2007 20:56 Edited at: 6th Apr 2007 20:56
Well the guy above use Google Ad.

FredP
Retired Moderator
18
Years of Service
User Offline
Joined: 27th Feb 2006
Location: Indiana
Posted: 6th Apr 2007 23:40
Quote: "Throw him a party.."

Rats!Somebody beat me to it.

Zaibatsu
18
Years of Service
User Offline
Joined: 1st May 2006
Location: Lost in Thought
Posted: 7th Apr 2007 04:10
yeah, you're stuck with that name forever now...

Quote: "Throw him a party"


I spose it might work...

"I admire its purity, a survivor, unclouded by conscience, remorse, or delusions of morality"

Veron
17
Years of Service
User Offline
Joined: 22nd Nov 2006
Location:
Posted: 7th Apr 2007 13:35
Ehh, it's Easter, i'm feelin' nice, i'll tell him:

Change the AI Main script to "passive.fpi"

Why'd I do that...


Opposing force
19
Years of Service
User Offline
Joined: 10th Aug 2005
Location: England
Posted: 7th Apr 2007 14:00
Beep, beep. Here is the allies script. Set this script as the character' main script and he will follow you and shoot down other characters that don't have the name "player". Make sure you name the friendly character "player" so the enemies know to attack them.



Zdrok
17
Years of Service
User Offline
Joined: 19th Dec 2006
Location: Pittsburgh
Posted: 7th Apr 2007 18:06
Hey, OF. I tried your script on a soldier, tested the game, but he just stood there. Why?

No matter what happens, I'll always love FPSC.
xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 7th Apr 2007 19:31
Because his "animate=1" [Idle] tells the character to just stand there.

Best.

I'm sorry, my answers are limited. You must ask the right question.

Slayer Simon
17
Years of Service
User Offline
Joined: 11th Oct 2006
Location:
Posted: 7th Apr 2007 21:18
Does that script use sensei? I haven't used those commands before...
Zdrok
17
Years of Service
User Offline
Joined: 19th Dec 2006
Location: Pittsburgh
Posted: 7th Apr 2007 21:35
Which number is to follow the plyr?

It's animate=65, or something, right?

No matter what happens, I'll always love FPSC.
xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 7th Apr 2007 21:59 Edited at: 7th Apr 2007 22:06
Well, there is no animation for "follow the player", so you would have to use:

animate=2,followplr

animate=2 is walk. without it, the charater just slides without moving his legs. lol

Best.

Quote: "desc = follow the player

;Triggers

:state=0,plrdistwithin=300:state=1
:state=1,plrdistfurther=40:rotatetoplr,followplr,animate=2
:state=1,plrdistfurther=300:animate=1,state=0

;end script"


It just the zombie script with the damage taken out. Adjust the plrdistwithin and plrdistfurther to suite.

He will start to follow you when you get within 300 units, stand still and face you when he is within 40 units, and loose you when you are more than 300 units away.

Best.

I'm sorry, my answers are limited. You must ask the right question.

Sevey
17
Years of Service
User Offline
Joined: 6th Apr 2007
Location:
Posted: 23rd Apr 2007 03:07
thanks plp
Sevey
17
Years of Service
User Offline
Joined: 6th Apr 2007
Location:
Posted: 30th Jun 2007 05:09
yo i tried the things you said but they didnt work i typed the stuff in a word pad where am i supposed to type if not there?

im stumped please help

nick
FredP
Retired Moderator
18
Years of Service
User Offline
Joined: 27th Feb 2006
Location: Indiana
Posted: 30th Jun 2007 12:23
Search the scripts forum.

Please have mercy and use the search function.

Login to post a reply

Server time is: 2024-10-09 17:23:18
Your offset time is: 2024-10-09 17:23:18