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 / Sensei AI Beta.

Author
Message
Evil Star
18
Years of Service
User Offline
Joined: 24th Jan 2006
Location: England, Colchester
Posted: 21st Sep 2006 18:03
This is probably going to sound stupid but I can't get the allies to work, can I have some help please?


Butter fingers
18
Years of Service
User Offline
Joined: 20th Mar 2006
Location: Mecca
Posted: 21st Sep 2006 18:12
Check out the sensei post in the showcase. I just did a quite in depth description of how to get it to work.

Evil Star
18
Years of Service
User Offline
Joined: 24th Jan 2006
Location: England, Colchester
Posted: 21st Sep 2006 18:33
I don't have
Quote: "senseiallyfollow.fpi"
or
Quote: "senseiallyattack.fpi
"

You may have sent me v1, not v2


Butter fingers
18
Years of Service
User Offline
Joined: 20th Mar 2006
Location: Mecca
Posted: 21st Sep 2006 19:47
dang. You can get it from the site. Just click the download button!

Evil Star
18
Years of Service
User Offline
Joined: 24th Jan 2006
Location: England, Colchester
Posted: 22nd Sep 2006 17:57
I can't, that's why you had to email it to me.


Butter fingers
18
Years of Service
User Offline
Joined: 20th Mar 2006
Location: Mecca
Posted: 22nd Sep 2006 18:02 Edited at: 22nd Sep 2006 18:07
*edit* evil star, it should be chillin in your inbox now!

Lukeirado
18
Years of Service
User Offline
Joined: 20th Sep 2006
Location:
Posted: 22nd Sep 2006 18:32
Butter fingers, I have been askin 4 a sample lvl 4 a while and I still didnt get anything...

Sry, I am kind of new at FPS............ So I am still experiencing problems at the ally and enemy system.

If u can make a sample lvl demonstrating ALLIES, Great. If u can make showing allies AND enemies, even better! Doesnt need to be detailed, nothing too fancy.

"My life flashed through my eyes... It was really boring."
Evil Star
18
Years of Service
User Offline
Joined: 24th Jan 2006
Location: England, Colchester
Posted: 22nd Sep 2006 20:30
Thanks Butters, sorry for bugging you for so long


Butter fingers
18
Years of Service
User Offline
Joined: 20th Mar 2006
Location: Mecca
Posted: 22nd Sep 2006 20:38
Quote: "Butter fingers, I have been askin 4 a sample lvl 4 a while and I still didnt get anything...

Sry, I am kind of new at FPS............ So I am still experiencing problems at the ally and enemy system.

If u can make a sample lvl demonstrating ALLIES, Great. If u can make showing allies AND enemies, even better! Doesnt need to be detailed, nothing too fancy."


I know you've been asking dude. I'm sorry but I've been very busy. I've written 2 sylabus' in the last 4 days, as well as finish some texture work for people, and model 4 guns. Not to mention trying to get Sensei to work on other computers than my own.

But I had not forgotten you. I think an example might help, but I've taken the time to write a manual for Sensei. It's not ready, because as I said, things have been hectic. So... you'll have to hold on a few more days! There's people here who have been waiting months to get allies, so you know. Chill, make your level all ready and soon sensei will come with a manual, (and hopefully non-retarded allies)

Evil Star

Sorry I took a while to get it to you man, again it was on the todo list (literally) I just kept forgetting. Hope it works ok for you, let me know if you have any issue yeah?

@Anyone whos downloaded and enjoyed:

Thank you so much for thanking me! Makes it all worth while. Sensei isn't done. Not by a long shot. And this beta has showed me how many problems there are (not to mention how much a manual is needed for this thing), rest assured I'll be working away on sensei this weekend.

And I know I had talked about sensei lite and sensei full and that I might sell sensei full and lite would be free. But I've had a think and well, FPSC damn well needs new AI, so it'll be free.

Butters

Lukeirado
18
Years of Service
User Offline
Joined: 20th Sep 2006
Location:
Posted: 22nd Sep 2006 20:39
Hey, u wrote the exact same message on both Topics =D

"My life flashed through my eyes... It was really boring."
Lukeirado
18
Years of Service
User Offline
Joined: 20th Sep 2006
Location:
Posted: 22nd Sep 2006 20:41
A FEW MORE DAYS???? >=O

Oh, well...................... I think I can wait...
..................

Actually I can't... Plzzzzz, could u make me a sample lvl? LOOK! It can be just a room with a enemy and an allie, nothing else... It won't take u more than 5 minutes.

"My life flashed through my eyes... It was really boring."
Evil Star
18
Years of Service
User Offline
Joined: 24th Jan 2006
Location: England, Colchester
Posted: 22nd Sep 2006 21:07 Edited at: 22nd Sep 2006 22:20
*thumps head into keyboard* I accidentally opened the fpsci file not the fpsc file.


Butter fingers
18
Years of Service
User Offline
Joined: 20th Mar 2006
Location: Mecca
Posted: 22nd Sep 2006 22:14
Evil Star.

LOL. Glad you sussed it. I did the same, when I first installed empty's patch.

Luke,

Dude, c'mon. I have a life too you know. If this was the final product I would rush to your aid. But it's a beta test. It says on the download page that testers will require

"a reasonable knowledge of FPI scripts"

But, because I'm quite nice really, I'll post you a walkthrough in text here. I will still do room when I have time.

1) make sure sensei is in the "people" scripts folder of the scriptbank.

2) make a room and place 2 different character entities in it.

3) Navigate to the entity bank and locate the FPE file for the entity (or the .BIN) either will do. Both of these will contain a name for the entity (if you're using stock media it's probably the same as the entity's name in the map editor.)

4) Copy this name into the ally.fpi script of sensei.

5) Repeat step 3 for the other entity, but this time copy the entity name into the enemy.fpi script.

6) you paste the entity names over the text that reads "yourentitynamehere" in the script itself. Make sure you dont leave any spaces.


7)Return to the map editor and right click on the entity you want to be an ally.

set his main script to Ally.fpi
do not give him ANY shoot script
make sure he has a weapon.

click apply changes

8) right click on the entity you want to be the ally's enemy

set his main script to enemy.fpi
do not give him ANY shoot script
make sure he has a weapon.

click apply changes

9) Run a test game. The 2 dudes should be dodging about shooting each other.

Hope that helps you out dude. Please understand I'm not trying to be a total [location for future MOD edit], I'm just busy and this is really a beta for people who can feedback to me, rather than an opportunity for you to have out-of-the-box-allies.
I hope that helps you get it working though. And if nothing else, your issue has highlighted the importance of giving clear, precise, and simple installation instructions!

peace

butters

Evil Star
18
Years of Service
User Offline
Joined: 24th Jan 2006
Location: England, Colchester
Posted: 22nd Sep 2006 22:23
Major problem, My ally will try to shoot after I "activate" him but the moment he shoots I get a "The application has encountered a problem and needs to close. Extra debug info 0.0"

Any ideas?


Butter fingers
18
Years of Service
User Offline
Joined: 20th Mar 2006
Location: Mecca
Posted: 22nd Sep 2006 22:27
Sensei is amazing because it screws up in a different way on each and every computer it is used on!

ok. More info needed to give you a fix.

1)hat scripts are you using, where are the scripts installed?

2)open the entity properties of the ally and the enemy and take a screenie

3)make sure your entity names in the script are identical to the ones in the characters FPE file.

I have to drop out for a while. if you post that stuff here in a zip I'll check it out in an hour ok?

Evil Star
18
Years of Service
User Offline
Joined: 24th Jan 2006
Location: England, Colchester
Posted: 22nd Sep 2006 22:49 Edited at: 22nd Sep 2006 23:41
I'm using the scripts "Ally" and "Enemy" scripts.
The names in character fpe's are the same, "ally" and "enemy".

Pic 1 attached


Attachments

Login to view attachments
Evil Star
18
Years of Service
User Offline
Joined: 24th Jan 2006
Location: England, Colchester
Posted: 22nd Sep 2006 22:49
Pic 2 attaced


Attachments

Login to view attachments
The Silent Ayehika
18
Years of Service
User Offline
Joined: 15th Apr 2006
Location: My Home
Posted: 22nd Sep 2006 23:28
Evil star.
You forgot to put in a shoot script.

and butters.
Is there a way to fix the inaccurateing of the allies cause i put them cone angle to 1 but they miss like they are noobs

Listen up.Im EBIL.
Mess with me and PREPARE TO GO TO EBIL HELL!
Evil Star
18
Years of Service
User Offline
Joined: 24th Jan 2006
Location: England, Colchester
Posted: 22nd Sep 2006 23:39 Edited at: 22nd Sep 2006 23:40
Quote: "8) right click on the entity you want to be the ally's enemy

set his main script to enemy.fpi
do not give him ANY shoot script
make sure he has a weapon.

click apply changes"


I think I've made my point, The Silent Ayehika

@Butters, sorry, the files are not in .zip but read my previous posts for the info.


The Silent Ayehika
18
Years of Service
User Offline
Joined: 15th Apr 2006
Location: My Home
Posted: 22nd Sep 2006 23:52
i dont use that one i use the other ally script
But try giving them a shoot script

Listen up.Im EBIL.
Mess with me and PREPARE TO GO TO EBIL HELL!
Butter fingers
18
Years of Service
User Offline
Joined: 20th Mar 2006
Location: Mecca
Posted: 22nd Sep 2006 23:55
PLEASE FOR GOD'S SAKE IGNORE The Silent Ayehika. I TRULY WISH YOU WERE SILENT.

I HAVE ENOUGH TROUBLE TRYING TO GET PEOPLE'S SENSEI WORKING WITHOUT HAVING YOU HANDING OUT MIS-INFORMATION.


Butter fingers
18
Years of Service
User Offline
Joined: 20th Mar 2006
Location: Mecca
Posted: 22nd Sep 2006 23:58
Evil Star.

I dont see what's wrong with your setup other than the ally's script should read

:state=0:bla,bla,bla,settargetname=conker (unarmed)

and the enemy script should read

:state=0:bla,bla,bla,settargetname=SAS (unarmed)

unless of course the name in the entity's FPE is actually "ally"

uh it's confusing. I'll start that tutorial when I get upstairs...

Lukeirado
18
Years of Service
User Offline
Joined: 20th Sep 2006
Location:
Posted: 23rd Sep 2006 01:28
I have been trying to switch scripts randomly to see the results...

Could u guys tell me AGAIN, which script should I get as the Main Script 4 my ally and which one 4 the Shoot script?

"My life flashed through my eyes... It was really boring."
Lukeirado
18
Years of Service
User Offline
Joined: 20th Sep 2006
Location:
Posted: 23rd Sep 2006 01:57
Okay, I tried all of those options:

The follow script as the main
The ally script as main and shooter
The attack script as shooter
The allymove script as main

My ally follows me when the follow is at the main, so it should be right. When the ally script is at the shooter, when I press enter, the ally STOPS following me, crouches and doesnt move EVER again. I press enter, but he doesnt come back to following mode, and he doenst shoot, unless I hit him...

So?

"My life flashed through my eyes... It was really boring."
Butter fingers
18
Years of Service
User Offline
Joined: 20th Mar 2006
Location: Mecca
Posted: 23rd Sep 2006 05:20 Edited at: 23rd Sep 2006 05:22
It is becoming hard not to use profanity luke. You are asking questions which I SPECIFICALLY took the time to answer for you already.

Quote: "When the ally script is at the shooter, when I press enter, the ally STOPS following me, crouches and doesnt move EVER again"


That is because you aren't supposed to use those scripts together. if you open the script in notepad, as I suggested earlier, and in the documentation, you would see that in the "ally" script it says

"this is a MAIN script and should be placed in the "Main" section for AI". Do not use a shoot script with this.

For a commandable ally you must use the scripts located in the folder named ally. Not a combination of random ones, that will never work.

I wonder if you even read the tutorial in the ally folder:

Quote: "1) Select a character to have as an ally.

2) Set the character's main script to "follow" and his shoot script to "attack" (that's the two scripts in the same folder as this tutorial. duh

3) Set speed to around 250 (so he can keep pace with the player)

4) In the attack script, change the text that reads "YOURENEMYNAMEHERE", to the
name of the enemy in the level. The enemy's name is the name that appears
in the "description" field of the character FPE."


Really I'm fed up. I feel like saying
"I don't want you to beta test it's too much effort, and you don't know what you're doind"
but I don't wanna be that much of an [mod edit]. Look, try what I've suggested here, it's 3.20am. I'm going to bed.

Silent Thunder
18
Years of Service
User Offline
Joined: 6th Feb 2006
Location: The Ship
Posted: 23rd Sep 2006 07:32
ok, after attempting to use allies and failed, I tried all the other stuff, and I have to say.


OMG I GOT OWNED BY 2 GUYS!!!



Awesome scripts thanks.

Visit raptorgames.net for games, movies, and other stuff
I am the only person who runs it. Sign the guest book!
Lukeirado
18
Years of Service
User Offline
Joined: 20th Sep 2006
Location:
Posted: 23rd Sep 2006 14:55
Okay, I TRIED this. I tried to use the following and the attack scripts at the ally folder.....................................

"My life flashed through my eyes... It was really boring."
The Silent Ayehika
18
Years of Service
User Offline
Joined: 15th Apr 2006
Location: My Home
Posted: 23rd Sep 2006 21:22
Okay heres are 2 small tuties

Allies shooting enemies without controlling the allies.

First open Ally1
Where you see YOURNAMEHERE replace it with enemy.
then save it.
Do the same with Ally2

Then open Enemy1 and find YOURNAMEHERE and replace it with ally
Save it and do the same with Enemy2

Now open FPSC.Make a small test map.

Ally:
Name:ally
Main:Ally1/Ally2
Shoot:none
Weapon:Your own choice
Cone Angle:50
Hpwn choice


Enemy:
Name:enemy
Main:Enemy1/Enemy2
Shoot:none
Weapon:Your own choice
Cone Angle:50
Hpwn Choice

Now test it and if im right.They will shoot each other

Now the one with the ally shooting the enemy but the enemy shooting you:

Open Attack:
find YOURNAMEHERE and change it to enemy.
Save it and go to FPSC.Make a small test map.
Ally:
Main:Follow
HPwn Choice
Speed:250
Weaponwn choice
Shoot script:Attack.

Enemy:
Name:enemy
Main:Shoot/Shootclose (in people map)
Weaponwn choice
Hp:own choice
shoot script:Shoot/Shootclose

Now test it and it should work.

Listen up.Im EBIL.
Mess with me and PREPARE TO GO TO EBIL HELL!
Butter fingers
18
Years of Service
User Offline
Joined: 20th Mar 2006
Location: Mecca
Posted: 24th Sep 2006 01:38
thanks silent. I'm sorry for getting mad at you before. that's very helpful.

but I would re-iterate, that the entity name is not the name you type into the box in it's properties, but the name in the entitys FPI file.

Of course, if you can get it to work by typing ally and enemy into the entitys name field thats cool too!.


Glad people are getting the hang of Sensei.

I'm working towards the final version right now. there are a bunch of other scripts, and 2 new commands for the commandable ally, these are

"charge" and (if you set to medic) "heal"

I wish I could say there'd be melee attacks if you're too close to the enemies, but since this requires custom animation it's gonna have to be reserved for FOTF.

End of this week at the latest for the update.

Bozzy
18
Years of Service
User Offline
Joined: 10th Sep 2006
Location: Birmingham, UK
Posted: 24th Sep 2006 01:51
Those commands are gonna come in handy!
The Silent Ayehika
18
Years of Service
User Offline
Joined: 15th Apr 2006
Location: My Home
Posted: 24th Sep 2006 12:15 Edited at: 24th Sep 2006 12:18
No problem Butters.I always like to help

By the way.
Is it okay to you if i make a movie how cool the Sensei Allied scripts work?

Listen up.Im EBIL.
Mess with me and PREPARE TO GO TO EBIL HELL!
Butter fingers
18
Years of Service
User Offline
Joined: 20th Mar 2006
Location: Mecca
Posted: 24th Sep 2006 12:44
yes. Infact.

I'd like to see as many vids as possible!

The Silent Ayehika
18
Years of Service
User Offline
Joined: 15th Apr 2006
Location: My Home
Posted: 25th Sep 2006 22:03 Edited at: 25th Sep 2006 22:06
Butter.im doing something 10X better then a vid right now.
Im making a level with your famous script and ill post it.

And umm.... Could i ask you something private trough the email or something.no i dont want any items

Listen up.Im EBIL.
Mess with me and PREPARE TO GO TO EBIL HELL!
Butter fingers
18
Years of Service
User Offline
Joined: 20th Mar 2006
Location: Mecca
Posted: 25th Sep 2006 23:13
yeah, email me dude.

Bozzy
18
Years of Service
User Offline
Joined: 10th Sep 2006
Location: Birmingham, UK
Posted: 27th Sep 2006 20:18
Hows this getting along?
code65
18
Years of Service
User Offline
Joined: 29th Sep 2006
Location:
Posted: 1st Oct 2006 06:49
i downloaded it (using demo) just wanted to try it out but when i used the smart attack the guy was shooting the hand gun like a full round in half a second, that supposed to happen? lol
necro demon
18
Years of Service
User Offline
Joined: 21st Sep 2006
Location: Everywhere
Posted: 1st Oct 2006 16:11
Are you supposed to use the script in different parts or all of it at once?
Thraxas
Retired Moderator
18
Years of Service
User Offline
Joined: 8th Feb 2006
Location: The Avenging Axe, Turai
Posted: 2nd Oct 2006 08:49 Edited at: 2nd Oct 2006 08:50
Hey butters.. i did say I was going to tell you my findings with sensei but I have just moved house and got a puppy(who thinks the new house is her toilet )... so i haven't had time to get on here... when I find the time I'll email you, if that's ok...

You've done a great job with this btw.. thanks alot

I don't want to see a FPSC Professional!
TGPEG
17
Years of Service
User Offline
Joined: 28th Dec 2006
Location: Bristol, United Kingdom
Posted: 2nd Jan 2007 15:29
Thanks, it works really well. Great work, i wish i could program as well as you

Login to post a reply

Server time is: 2024-11-23 05:30:16
Your offset time is: 2024-11-23 05:30:16