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 / AI Questions

Author
Message
bojandurmic
12
Years of Service
User Offline
Joined: 28th Dec 2011
Location: My home
Posted: 11th Jan 2012 20:16
Hi , I saw from this video : http://www.youtube.com/watch?v=d9028kQh8yk&feature=player_embedded that this guy has selected soldier by G key. How to do that. And I have some problem with AI in Model Pack 53 (Task Force 341). Ally follows me , then we saw an enemy. He opened fire. We killed him , then my Ally stopped to follow me. I want this : when we kill an enemy , he continues to follow me. Please help. This is only one thing that makes me problems in my FPSC games !
PLEASE ANSWER TO BOTH QUESTIONS
Captain Coder
FPSC Reloaded TGC Backer
13
Years of Service
User Offline
Joined: 6th Jul 2011
Playing: Elite: Dangerous
Posted: 11th Jan 2012 23:00
Saying "please" does go a long way you know

Oh, and welcome to the forums!

So, if you want a soldier to follow you, browse for the script named "appear-ally-team1" (or something similar). It should be located in: "scriptbank\dark ai". Put this in his start script area. Then, go to the same folder (Dark AI) and assign to his main field the script named "main-weapon". Click "apply changes" and that should do it!

As for model pack 53, you should be able to get the guy to keep following you if you walk back up to him. If you don't want to do that, then you'll need to make some tweaks to the scripts. I'm not going to test this, but make a COPY of the MAIN script you want to use, open it up with notepad and try copying and pasting in the following:


:always:localvar=10
:plrdistwithin=200,varequal=0:setvar=1
:plrdistwithin=200,varequal=1:aifollowplr=0
:plrdistfurther=200,varequal=1:aifollowplr=1


I don't know if it'll work, but it's the simplest solution that requires the least amount of changing. Otherwise, it takes a lot of rewriting in order to get the desired effect

Have fun!
Captain Coder

As a believer in Jesus Christ, I am trying to use my passion for game creation for His glory.
bojandurmic
12
Years of Service
User Offline
Joined: 28th Dec 2011
Location: My home
Posted: 12th Jan 2012 14:20
Oh man , I'm total noob in scripts. I don't know where to start. Can you PLEASE write step-by-step tutorial. THANKS

Login to post a reply

Server time is: 2024-11-24 01:43:29
Your offset time is: 2024-11-24 01:43:29