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 Work In Progress / [LOCKED] New! Improved! Sensei AI - Now with Allies (and added stain remover!)

Author
Message
Butter fingers
18
Years of Service
User Offline
Joined: 20th Mar 2006
Location: Mecca
Posted: 19th Sep 2006 23:24 Edited at: 19th Sep 2006 23:50
Ok, well, as only a dedicated few check into old posts, I thought I'd put this here. It's had alot of interest and alot of people ask for it so I thought it was showcase worthy.

Sensei AI, now supports allies.

get the v2 beta from

www.peanutbutterfingers.co.uk

Screenie shows 2 allies and player fighting 2 hostiles.

Attachments

Login to view attachments
Connor Higgins
User Banned
Posted: 19th Sep 2006 23:27
cool butters but how do i actually use emptys update cus i really dont know?? and i really want to use sensei

(\__/)
(O.o )
(> < ) This is Bunny. Copy Bunny into your signature to help him on his way to world domination!
KeithC
Senior Moderator
18
Years of Service
User Offline
Joined: 27th Oct 2005
Location: Michigan
Posted: 19th Sep 2006 23:30
Quote: "I absolutley have to have a screen I can post some guys shooting each other"


Please do.


Butter fingers
18
Years of Service
User Offline
Joined: 20th Mar 2006
Location: Mecca
Posted: 19th Sep 2006 23:52
how do i actually use emptys update cus i really dont know??

Download it. Open the folder called programfiles\thegamecreators\fpsc

then rename the executable file "FPSCGAME.exe". call it something like

FPSCgameBACKUP

then paste in the FPSCGAME.exe in empty's update.

It's explained in his instructions, and it's very simple. You will almost definately have to follow the advice about altering one of the other files in FPSC, but thats very simple.


@ Keith.

Would you give the beta a burn for me Keith?
and I updated the first post with a screenie

Silent Thunder
18
Years of Service
User Offline
Joined: 6th Feb 2006
Location: The Ship
Posted: 20th Sep 2006 02:17
yay, thanks butter fingers im testing now.

Visit raptorgames.net for games, movies, and other stuff
I am the only person who runs it. Sign the guest book!
FredP
Retired Moderator
18
Years of Service
User Offline
Joined: 27th Feb 2006
Location: Indiana
Posted: 20th Sep 2006 04:52
Where's the stain remover?
Just kidding...

Avenging Eagle
18
Years of Service
User Offline
Joined: 2nd Oct 2005
Location: UK
Posted: 20th Sep 2006 09:45
got any movies of this new update?
AE

Jonno
18
Years of Service
User Offline
Joined: 20th Apr 2006
Location:
Posted: 20th Sep 2006 10:42
Just to make this clear, if I get Sensei, and I put the Ally script on my team mates, they will shoot the enemies? (If I define the enemies in the script.)

Butter fingers
18
Years of Service
User Offline
Joined: 20th Mar 2006
Location: Mecca
Posted: 20th Sep 2006 13:40
@ Johnno
Quote: "Just to make this clear, if I get Sensei, and I put the Ally script on my team mates, they will shoot the enemies? (If I define the enemies in the script.)"


Yes. And they won't just shoot. They'll actually kill them.

@ Avenging Eagle

Quote: "got any movies of this new update?"


Until I find an alternative to Fraps, no. I've noticed when you get slowdown caused by another application, it often causes FPSC Ai to fail. I'll try and shoot on for you though.

@ Fred P.

ok... so I lied about the stain remover...

FredP
Retired Moderator
18
Years of Service
User Offline
Joined: 27th Feb 2006
Location: Indiana
Posted: 20th Sep 2006 14:47
Try AutoScreenRecorder 2.0.It's freeware and I think it works better than Fraps.
I figured you might have fibbed about the stain remover...lol.

How's this:
New Sensei Beta 2.0...
It slices,it dices,and it's self cleaning...

Jon Fletcher
19
Years of Service
User Offline
Joined: 7th May 2005
Location: Taunton, UK
Posted: 20th Sep 2006 16:04 Edited at: 21st Sep 2006 01:14
nice screenshot, i'll try when i get back home, [mod edit] college

its suprising how much better screenshots look, when you got allies backing you up...it looks more natural i suppose, like a real fight scene

great work


Butter fingers
18
Years of Service
User Offline
Joined: 20th Mar 2006
Location: Mecca
Posted: 20th Sep 2006 17:11
Jon, I agree. there's something much cooler about playing through a level with a team mate. (or having to got save some poor buddy who's "pinned down").

OH actually, this is quite cool. In the next update, I'll include a new ally script, which makes it so that you cannot let your buddy die.. if you do you'll fail the mission. Good for those levels where you have to go and save the "last member of alpha squad, who's pinned down behind enemy lines" sort of thing!

Hope you enjoy the beta jon, get back to me once you've tried it.

Fred

Thanks man, I've been looking for an alternative to Frap's CPU munching abilities.

Quote: "New Sensei Beta 2.0...
It slices,it dices,and it's self cleaning.."

LOL(for like 5 mins)

that made my morning dude.

how about

*mexican accent* "Sensei, it makes sense eh?!"

Lon
20
Years of Service
User Offline
Joined: 12th Feb 2004
Location: Big Ass Castle
Posted: 20th Sep 2006 18:25 Edited at: 20th Sep 2006 18:26
Awsome! You have reserved a space for yourself in the next realm.

With allied groups possible now, it would be perfect if multiplayer could allow the same thing. a mixture of AI an human teams.

on top of that if we could only get dynamic objects such as grenades, rocket launchers, remote mines, proximity mines and physics etc working in an arena game we could make some Goldeneye like maps and have a helluva lot of fun. Imagine knocking a stack of explosive barrels down a flight of stairs toward your enemies and shoot one and blow everyone to bits. Pwnage.

Lon

[url=http://webpages.charter.net/lflicking/]
Rebellious Gamer
17
Years of Service
User Offline
Joined: 16th Aug 2006
Location: Scotland
Posted: 20th Sep 2006 20:21
Quote: "Ok... So I lied about the stain remover..."


Aww.. That was what made me want to get this script!


Just kidding. (Seriously, throw in some stain remover and I love you long time!)
This will be fun to try!

REDGA
18
Years of Service
User Offline
Joined: 1st Jan 2006
Location:
Posted: 21st Sep 2006 09:14
i had trouble with the speed of the charecters,i dont mean they were going to slow the animation was lagged and jerky.
JTheMan
17
Years of Service
User Offline
Joined: 6th Jul 2006
Location:
Posted: 21st Sep 2006 12:09
I downloaded all the files and followed the instructions, but i have a broblem. When I use the Ally and follow scripts, ally character won't move. When I change back to original FPS-game.exe, ally will follow, but the attack -script doesn't work. I installed the FPSC 1.03 update, so I was wondering, could this be the problem? Or am I doing something wrong?
The Game Creator
18
Years of Service
User Offline
Joined: 6th Feb 2006
Location:
Posted: 21st Sep 2006 16:59
With new game .exe NPC's are moving veeeeeeeryyyy slowly but my fps is 30! I tried with original .exe and everything was normal.
I think I have same problem with JTheMan. I have 1.03 to.
Butter fingers
18
Years of Service
User Offline
Joined: 20th Mar 2006
Location: Mecca
Posted: 21st Sep 2006 17:30 Edited at: 21st Sep 2006 17:31
This is bizzare. I've had three people report animation lag.

Just to clear this up, the character still moves at the same speed, but the animation is jerko speed?

As a point the ONLY .exe file in my FPSC folder is Empty's update. I think maybe having more in there might mess it up. And I can't say what 1.03 might do, because I haven't installed it.

Have you tried adding the line

:syncrate=40

to the setuplevel.fpi in the language bank?

That's another thing I'm doing.

And just to clarify, if you want an ally who will follow you and attack enemies....


Set the main script to senseiallyfollow.fpi
set the shoot script to senseiallyattack.fpi

Change the attack script so that the text "YOUR ENTITY NAME HERE", is the name of the entity you want the ally to shoot at (the FPI description name NOT the name in the name box of the entity's properties).

Ingame

Use the "Use" key to switch the ally between follow mode and attack mode.

JTheMan
17
Years of Service
User Offline
Joined: 6th Jul 2006
Location:
Posted: 21st Sep 2006 18:23
My character actions are normal, but the ally and the enemy is screwed up. I noticed few things,
1. Even if i place entitys above the ground, when I test the game their legs are below the ground! I think this is the reason, why they cannot move.
2. When I run around the ally, I can see how he reloads weapon slowly and when done, it shoots the enemy.
This happens only when using emptys update. Original exe, entity follows, but wont shoot the enemy. Also, when I kill entity in emptys update, it won't fall down. It's standing. Again, using original exe, animation is ok.
Lukeirado
17
Years of Service
User Offline
Joined: 20th Sep 2006
Location:
Posted: 21st Sep 2006 18:33
OHHHHHHHHHHHH, I am such a noob... (feel free to disagree)

Now I recognized what I have missed... Thnx, BUTTER FINGERS, real nice job with the script!

"My life flashed through my eyes... It was really boring."
Jon Fletcher
19
Years of Service
User Offline
Joined: 7th May 2005
Location: Taunton, UK
Posted: 21st Sep 2006 18:56 Edited at: 21st Sep 2006 18:57
i get the animation speed slowed down a lot as well, though if i press TAB to get onto the stats, it runs fine, peculiar

but its very nice, here's a screenshot of a dude battling with my m249

I'll report anything else later on


Attachments

Login to view attachments
FredP
Retired Moderator
18
Years of Service
User Offline
Joined: 27th Feb 2006
Location: Indiana
Posted: 21st Sep 2006 19:35
If you use empty's mod you have to replace the FPSC game .exe in your built game's folder with empty's .exe.
The only .exe in your built game's folder should be empty's.
If the regular FPSC one is still there take it out.

Butter fingers
18
Years of Service
User Offline
Joined: 20th Mar 2006
Location: Mecca
Posted: 21st Sep 2006 19:45
Hold on, so fred is it running ok for you?!

and Jon, thanks for posting a screen. it looks very cool!

If you are getting slowdown, please follow Fred's advice!

Characters appearing through the floor is unrelated to Sensei, although it maybe something to do with empty's update. To be honest I experienced the same "through the floor" problem, but not the slowdown in animation. I'm going to look into it.

If someone could build me a level where the slowanimation is happening, I would be interested to download, as I don't experience the problem myself, It would be of great help!

butters

FredP
Retired Moderator
18
Years of Service
User Offline
Joined: 27th Feb 2006
Location: Indiana
Posted: 21st Sep 2006 20:02
I haven't tried the allies part of sensei AI but I know that when I tested empty's mod for the save/load level and other things that you had to replace the FPSC .exe with his.

As far as the rest of it except for the waypoint script...I haven't tried it either...they seem to work fine.
When I use the getinrange script the enemy charges me but when I move around it is iffy whether the enemy will make adjustments...sometimes he or she just runs into a wall or something like that.But it's still an improvement over most stock FPSC scripts.
The rest of the scripts work fine.
A big improvement over what comes with FPSC.
Of course I will continue to test and work with Sensei and continue to provide feedback.
It is great to see major improvements being made in the AI of FPSC.


JTheMan
17
Years of Service
User Offline
Joined: 6th Jul 2006
Location:
Posted: 21st Sep 2006 20:31
Butter Fingers
Quote: "If you use empty's mod you have to replace the FPSC game .exe in your built game's folder with empty's .exe.
The only .exe in your built game's folder should be empty's.
If the regular FPSC one is still there take it out."


I get those errors in the creator mode, when testing the game. I've replaced original exe with emptys in the FPSC installation folder. So when I built the game exe, I still have to replace the FPSC-game.exe with empty's one in here too? ( one in the installation dir and second in the built game's dir?)

Sorry, if I didn't understand the instructions...
Jon Fletcher
19
Years of Service
User Offline
Joined: 7th May 2005
Location: Taunton, UK
Posted: 21st Sep 2006 20:56
i didnt build a game, i just ran the test, so it should be using empty's FPSC-Game.exe right?


Butter fingers
18
Years of Service
User Offline
Joined: 20th Mar 2006
Location: Mecca
Posted: 21st Sep 2006 21:23
Fred :

Thank you Fred! It's always nice to get some appreciation! I understand that this is just the beta, and that it's really important to get crit and bug reports, but you know, it's nice to know that people appreciate I'm trying!

I've been playing with the scripts, and I've totally overhauled the get in range script. I've scrapped branching, because it is too unreliable, and instead given environmental variations for some scripts.

eg.

getinrange now has a long range and short range script. if your level is close combat use one script. If it's open, you use the other script!

No more "entities running into walls or doing nothin.."

Jon F:

Dude, the ONLY exe in my FPSC file is empty's. In your screen I noticed that your characters are not sinking through the floor, which would indicate that that particular bug is more isolated.

Was the screen taken using the standard "ally" and "enemy" scripts or is the guy nearest the player running the Commandable script setup?

I'm out for dinner in an hour, but when I return, I'll work late until I can sort out the slowmo animation issue.

Fear not Sensei users : I am commited to your cause!!

Butter fingers
18
Years of Service
User Offline
Joined: 20th Mar 2006
Location: Mecca
Posted: 21st Sep 2006 21:43
jon. I noticed from your screen that the accuracy of the allies is well bad!

if you make the view cone angle tighter (both vertically and horizontally - through the FPE), you can make the characters more accurate. They have no need for the player can bee seen type commands so their viewcone is irrelevant for everything else.

Jon Fletcher
19
Years of Service
User Offline
Joined: 7th May 2005
Location: Taunton, UK
Posted: 21st Sep 2006 22:09
ok, im using the commandable scripts (press enter to attack/follow)

yeh i read the readme, though i thought nah i wouldnt change it, it is an M249 after all lol

ive renamed the original exe, and put empty's in its place, so i assume i shouldnt need anything else. I didnt build game, so i didnt need to copy over the exe into the new game folder

i'll get a video up of the slow animations up soon


Lukeirado
17
Years of Service
User Offline
Joined: 20th Sep 2006
Location:
Posted: 21st Sep 2006 22:26
Hold on... It still didn't work...

Butterfingers, can u make a small sample lvl and post it here or send it to lucasrizzotto@yahoo.com.br...

"My life flashed through my eyes... It was really boring."
Slayer_2
17
Years of Service
User Offline
Joined: 18th Sep 2006
Location: Anywhere I feel like
Posted: 21st Sep 2006 23:10
Great job dude! love the allie support cant wait for more!
JTheMan
17
Years of Service
User Offline
Joined: 6th Jul 2006
Location:
Posted: 22nd Sep 2006 00:56
I think I solved the problem... Empty's update DOESN'T work with 1.03 FPSC update. I uninstalled and re-installed everything and after that, no "feet below the ground" or anything...yet... Entitys follow and shoot. And just to make sure, I didn't install any of the updates. Only model pack. If I notice anything else, I will post those in here.
FredP
Retired Moderator
18
Years of Service
User Offline
Joined: 27th Feb 2006
Location: Indiana
Posted: 22nd Sep 2006 01:33
Did you build a game and then replace the FPSC.exe (that funny looking blue icon) with empty's .exe (the yellow pyramid)in the folder that has the newly built game in it?
I don't know if empty's mod will work with 1.03 since 1.03 was compiled using DBP 5.9 and I am not sure if empty used 5.9 or 6.2 (or whatever the latest upgrade for DPB is).

Butter fingers
18
Years of Service
User Offline
Joined: 20th Mar 2006
Location: Mecca
Posted: 22nd Sep 2006 02:00
JTheMan
Quote: "I think I solved the problem... Empty's update DOESN'T work with 1.03 FPSC update
"


you solved it?! I posted this in the 4th post:

Quote: "Download it. Open the folder called programfiles\thegamecreators\fpsc

then rename the executable file "FPSCGAME.exe". call it something like

FPSCgameBACKUP

then paste in the FPSCGAME.exe in empty's update."


but well done for establishing the issue with your particular setup. I know it's satisfying to work a problem out, the above isn't meant to *urinate* on your parade.

Exciting news though

Quote: "Entitys follow and shoot."

.
As a point, did they follow and shoot ok, like did they get it right!!? and secondly, was the animation alright?!

butters.

Silent Thunder
18
Years of Service
User Offline
Joined: 6th Feb 2006
Location: The Ship
Posted: 22nd Sep 2006 02:26
man, this sucks, I still can't get it to work.

Butter Fingers, I know I already e-mailed you about this but I wanted to see if anyone else knew what was going on.

All of the characters (and doors I realized) are in super slow motion, they eventually kill each other, but they move so slowly.

This happens without the allies scripts also, It only happens when empty's update is installed.

I already set that english textfile to 670, 650, 652, 660, none of them worked.

I had this problem with v1 and v1.03.

Does anyone know what's going on?

Visit raptorgames.net for games, movies, and other stuff
I am the only person who runs it. Sign the guest book!
JTheMan
17
Years of Service
User Offline
Joined: 6th Jul 2006
Location:
Posted: 22nd Sep 2006 09:31
@FREDP
Quote: "Did you build a game and then replace the FPSC.exe (that funny looking blue icon) with empty's .exe (the yellow pyramid)in the folder that has the newly built game in it?"


No, I didn't have to. When I replaced original FPSC-Game.exe with emtys update in FPSC installation folder, it did this automatically. Didn't have to replace anything in my build game's folder. Follow and attack -scripts worked only with my re-installation.

@Butter Fingers

Quote: "As a point, did they follow and shoot ok, like did they get it right!!? and secondly, was the animation alright?!"


Yes. They did everything as they would suppose to do. Incl. animation. And Butter Fingers, I'm sorry, I was so exited about my "problem" solving, But in Butter Fingers 4th post there was no mention about FPSC 1.03 update compatibility issues with emptys update. Also I'm still quite noob about these things, so this is also the reason why I was so glad I managed to solve my problem.
Lukeirado
17
Years of Service
User Offline
Joined: 20th Sep 2006
Location:
Posted: 22nd Sep 2006 18:39
GAH, I just CAN'T GET IT TO WORK...

Plz, if u can, send a small sample lvl with allies (and if u can, enemies too) to lucasrizzotto@yahoo.com.br...

"My life flashed through my eyes... It was really boring."
Reality Forgotten
FPSC Reloaded TGC Backer
18
Years of Service
User Offline
Joined: 28th Dec 2005
Location: Wichita Falls TX
Posted: 23rd Sep 2006 03:57
I'll download this in the morning and give it a test drive...this is going to take my games to a new level................


RF

Thanks for the hardwork guys!
uman
Retired Moderator
19
Years of Service
User Offline
Joined: 22nd Oct 2004
Location: UK
Posted: 23rd Sep 2006 10:56 Edited at: 23rd Sep 2006 11:56
Just a Quick note to Butter fingers.

Your work and "Committment" with Sensei is a great credit to you.

There are so many users currently mixing installed versions of FPSC on their systems that it is obviously going to be difficult for you to get credible feedback.

For you to develop this forward you need a stable working platform you can test and benchmark against without confusion and contradictory feedback. That platform would be your own in consideration of the fact that :

FPSC Update V1.03RC1 (and V1) is as metioned herein not compatible with any other version (source) as they stand - so achieving stability in testing with different versions is going to return erratic and different responses depending upon users configurations and possibly what if any residual influence any previous installations have left on a system.

All in all the curent development thrust of FPSC by TGC is not very helpful to you therefore as root incompatibility is a factor.

You will have either to accommodate that in source to provide compatibility or design for one version of source or the other and users will have to plum to run with one or the other. That is unless TGC again change or fix the Official FPSC source and the incompatibilities between versions are merged to be not so - and you cant rely upon that.

FPSC is currently in a state of forward development from TGC and the official FPSC source may change further. As at the time of V1.03 release it did not as far as I understand the case to be match with the latest DBPro version and again as far as I understand it uses V1 compatibility as the root source and may well develop further with some level of "relative" isolation until and if compatibilty with the DBPro source merges it in compatibility more exactly at any future stage - that may not happen.

Its a momentous task for you particularly as TGC have not yet finished with the dev of FPSC so that may continue to pose some difficulty for you in future - or it may not.

I may well not know what I am talking about here but just wished to make some hopefully useful comment from an outside pespective and also to congratulate you on your hard work and effort.

As said you deserve much credit for starting and sticking with this project.

I wish you and Sensei much continued success.



EDIT :

From Lees Post here :

http://forum.thegamecreators.com/?m=forum_view&b=21&t=89081&p=2

You can clearly see that he has now confirmed officially my suggetions to you which I knew to be the case : his post shows that its more than likely that unless the root source based upon the original FPSC one is utilised as a basis for any future developments, then incompatibilites and difficulty in achieveing stability in product and internal behaviours is likely to predominate such developments.

In short its going to give developers and users alike a lot of headaches.



"I am and forever will be your friend"
Bozzy
17
Years of Service
User Offline
Joined: 10th Sep 2006
Location: Birmingham, UK
Posted: 23rd Sep 2006 12:12
Lukeirado ive made i reli simple room showing allies and enemies. Can i send or do i hav 2 do sumfin b4 i send?
Lukeirado
17
Years of Service
User Offline
Joined: 20th Sep 2006
Location:
Posted: 23rd Sep 2006 15:30
Oh, buzzy, thank u so much.

You can send it anytime... Thanks =D
Doesnt need anything else... OH, are the allies commandable or independent? If they are commandable, great, if not... Well, just add some commandables to the map =P

"My life flashed through my eyes... It was really boring."
Bozzy
17
Years of Service
User Offline
Joined: 10th Sep 2006
Location: Birmingham, UK
Posted: 23rd Sep 2006 20:26
kk ill make a better 1 with both commandable and non... ill send u maybe 2nite or 2moz
Bozzy
17
Years of Service
User Offline
Joined: 10th Sep 2006
Location: Birmingham, UK
Posted: 23rd Sep 2006 22:37
I dunno what happened first time round. now It says i have exceeded my upload size limit so ive put it on a share website... Ive done what i think butterfingers told me 2 do but im not sure... anyway the exe's fine (but messed up)

first off the two guys are shooting at each other nearest the room... Theres 1 more guy near the tank that you can tell the commandable ally to shoot (might take a couple of ENTER presses though)... when you do this the other 2 stop firing (dont ask me why) and you have to kill the tanky man to make them fire at each other again. Also attached are scripts i used and the fpm file.

Its very messed up but ive given it my best shot

_________

Bozzy p.s. ill post the download addy soon
Bozzy
17
Years of Service
User Offline
Joined: 10th Sep 2006
Location: Birmingham, UK
Posted: 23rd Sep 2006 23:19
kk here is the download link

http://www.sharebigfile.com/file/8988/Tester3.zip.html
Butter fingers
18
Years of Service
User Offline
Joined: 20th Mar 2006
Location: Mecca
Posted: 24th Sep 2006 01:30
Thanks for sorting that out man. I'll send you that stuff over tomorrow.

butters

Silent Thunder
18
Years of Service
User Offline
Joined: 6th Feb 2006
Location: The Ship
Posted: 24th Sep 2006 02:47
Quote: "http://www.sharebigfile.com/file/8988/Tester3.zip.html"

uh, dude where's the download button?

Visit raptorgames.net for games, movies, and other stuff
I am the only person who runs it. Sign the guest book!
Bozzy
17
Years of Service
User Offline
Joined: 10th Sep 2006
Location: Birmingham, UK
Posted: 24th Sep 2006 10:07
at the bottom u have to put in some numbers, then u have to wait for a bit, and then in the middle of the page click on download file now
Lukeirado
17
Years of Service
User Offline
Joined: 20th Sep 2006
Location:
Posted: 24th Sep 2006 14:21
Thank you, that will be a LOT useful. Nice job!

"My life flashed through my eyes... It was really boring."
Bozzy
17
Years of Service
User Offline
Joined: 10th Sep 2006
Location: Birmingham, UK
Posted: 25th Sep 2006 00:05
No prob
Lukeirado
17
Years of Service
User Offline
Joined: 20th Sep 2006
Location:
Posted: 25th Sep 2006 20:00
Hey, butterfingers, u adding anything else to the Sensei?

"My life flashed through my eyes... It was really boring."

Login to post a reply

Server time is: 2024-07-01 06:01:31
Your offset time is: 2024-07-01 06:01:31