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 / Dark AI how can I use these scripts??

Author
Message
JC LEON
14
Years of Service
User Offline
Joined: 22nd Apr 2010
Location:
Posted: 3rd Sep 2014 00:53
hI.. I know there are many dark ai scirpt even into lastest beta 120 final e.. but sincerly i dont knwo how to use these script

I have following srcipt into dark ai folder:

main-weapon.fpi
main-weapon2.fpi
apper-alley-team1.fpi
appear-alley-team2.fpi

but how must I use these scirpt?

is sufficent to apply script to the character and after the character follow the behavior from the script?

waht exaclty do every script?

I tried to aplly every scirpt to a random character but I did not notice any diffrence..

How I can set dark ai wapypoint for characters??

sorry for my noob question but I need to know...
The Nerevar
14
Years of Service
User Offline
Joined: 19th May 2010
Location: Vvardenfell
Posted: 3rd Sep 2014 15:22
I haven't used them in a while, but I believe the Main-Weapon.fpi goes to the Main script area and the Appear-ally-team.fpi goes to the Appear area. You must leave the Shoot script area blank.

I believe waypoints should work automatically, but I've never tested that.

Hope I've explained it well, I'm never good at using the right words.

If I remember, there should be a Darkai example level somewhere in the software.

Fulfilling the Nerevarine Prophecy, one trial at a time, because I... Am... The Nerevar!
JC LEON
14
Years of Service
User Offline
Joined: 22nd Apr 2010
Location:
Posted: 3rd Sep 2014 23:38 Edited at: 3rd Sep 2014 23:39
thanks for your reply I'm trying to do waht you tell to me applying the main-weapon.fpi to main field and apper-alley-team1.fpi to apper field for my ally and
main-weapon.fpi and apper-enemyteam2.fpi for my enemy leavig shoot field white as you said and I noticed that characters fight between them but they doenst follow their waypoints and warl trought glasses windows and run out from map..

I'm wrong something or they are bugged??
BlackFox
FPSC Master
16
Years of Service
User Offline
Joined: 5th May 2008
Location: Knight to Queens Bishop 3
Posted: 4th Sep 2014 01:38
They are not bugged- Dark AI works just as it is intended, or should I say they work as well as the documentation and the script commands provide to the developer. The issue is how they are applied and what is also running where/when in the background of the development. The other problem is there seems to be odd issues that occur between the different FPSC versions. A lot has to do with trial and error and how well you know and understand the engine and content.

Perhaps this thread can be of help. You may find some info that will help.

There's no problem that can't be solved without applying a little scripting.
Snake675
FPSC Reloaded TGC Backer
12
Years of Service
User Offline
Joined: 6th Apr 2012
Location: Planet Earth
Posted: 6th Sep 2014 17:07
Hi

Yes, they are right. Its all about try and error to use dark ai commands. But the stock DAI scripts work quite well. You want to use them like this:

AI Scripts
Start Dark AI\appear-enemy-team2.fpi
Main Dark AI\main-weapon.fpi
Destroy destroy\leavecorpse.fpi

Physics
Always Active? Yes


Here is a thread about my own stealth scripts based on Dark AI:
http://forum.thegamecreators.com/?m=forum_view&t=207452&b=23

I hope it gives you additional help

Greetings, Snake675

------------------------------------------------------------
i5 2.8 GHz 64bit / 4G ram / W7 home sp1 / geforce gts 250
FPSC 120 Beta 3
JC LEON
14
Years of Service
User Offline
Joined: 22nd Apr 2010
Location:
Posted: 6th Sep 2014 20:30
THAaks to both for your answers but I cannot manage to make charatcers follow waypoints.
I tried with TF341 charatcers with their standard DARK AI scripts and with New Dark AI scripts and they dont move on waypoints , the same with BSP WW2 characters and theirs darkai( and new dark ai) scripts..

I tried with other standard characters (casuals) and no one move on waypoints..

maybe I'm doing sommething wrong..

I simply place the character on map and after create a waypoint near to him but nothing happens..
Corno_1
14
Years of Service
User Offline
Joined: 3rd Nov 2010
Location:
Posted: 6th Sep 2014 22:45
Because there is a simple problem! Dark AI didnĀ“t work with waypoints. I wrote a script some months ago so they follow waypoints, but after a fight they stand there and do nothing! So I ask s4real and he said this is not how dark AI work. So forget about the waypoints and dark ai, they never come together!

Games make the world better
JC LEON
14
Years of Service
User Offline
Joined: 22nd Apr 2010
Location:
Posted: 7th Sep 2014 11:04
ah ok Corno..I understand.. an how can I do if I want a character follow a waypoint and after react to player ...which behaviour script I must use?

In the past I seen some video from hakuta94 which characters follow waypoint and afer had realistic behaviour as go to health station to refill health , the same with ammo etc.. an I think there were Dark ai scripts..

am I right??
Snake675
FPSC Reloaded TGC Backer
12
Years of Service
User Offline
Joined: 6th Apr 2012
Location: Planet Earth
Posted: 7th Sep 2014 12:46 Edited at: 7th Sep 2014 12:47
@JC LEON

Probably you wont find scripts that do exactly what you want. Think about coding them yourself. I wanted my enemies to attack after they are spawned by a trigger zone. I coded an appear scrpit wich has no dark ai but waypoint following. The main script switches into dark ai mode at the beginning and works very similar to "main-weapon.fpi".
This way you can throw enmies at the player attacking him.

I can put together a small example level for you if you want...

Greetings, Snake67

------------------------------------------------------------
i5 2.8 GHz 64bit / 4G ram / W7 home sp1 / geforce gts 250
FPSC 120 Beta 3
JC LEON
14
Years of Service
User Offline
Joined: 22nd Apr 2010
Location:
Posted: 7th Sep 2014 14:00
@Snake ..

so you make an appear script with waypoint and after what do you mena when say "main script switches into dark ai mode at the beginning and works very similar to main-weapon.fpi"??

thank for your offer ..yes I really want a demo/level if you can make it for me..I really appreciate this
Snake675
FPSC Reloaded TGC Backer
12
Years of Service
User Offline
Joined: 6th Apr 2012
Location: Planet Earth
Posted: 7th Sep 2014 18:27 Edited at: 7th Sep 2014 18:30
@JC LEON

There you are...

Success, Snake67

PS: If you want aour enmies to patrol along waypoints until player is in sight, take a look at the other link further above...

------------------------------------------------------------
i5 2.8 GHz 64bit / 4G ram / W7 home sp1 / geforce gts 250
FPSC 120 Beta 3

Attachments

Login to view attachments
Snake675
FPSC Reloaded TGC Backer
12
Years of Service
User Offline
Joined: 6th Apr 2012
Location: Planet Earth
Posted: 13th Sep 2014 18:51
Hi JC LEON

Did you give it a try???

------------------------------------------------------------
i5 2.8 GHz 64bit / 4G ram / W7 home sp1 / geforce gts 250
FPSC 120 Beta 3
JC LEON
14
Years of Service
User Offline
Joined: 22nd Apr 2010
Location:
Posted: 20th Sep 2014 22:45
yes I tried them and hey works fine ..thanks..
btw I must expermient a bit

Login to post a reply

Server time is: 2024-11-23 09:31:59
Your offset time is: 2024-11-23 09:31:59