| Page 1 of 2 |
Go to page:
· [1]
· 2
· Next
|

DarkLord0912
Joined: Jan 17, 2009
Works on bigger and better things
|
Posted: Feb 28, 2009 05:22 PM
Msg. 1 of 38
Well I am following the tut to make AI (one) follow the player I aready have the script working .... but I think it's the steps in sapien that are where I mess up okay here's what I did/
one: I went under the AI I want to follow me/ clicked new squad's 4 for my example two: made 5 firing positions and made them A for{ squad A} etc for B,C,D three: in each suad A-through-D checked automatic migration and gave them a intial and return state. four: Go to the actual ai's squad and put for its attacking defendeing ect letters A,B,C,D.
Recompile map and the AI still just runs around and doesn't follow me I heard this wasn't easy LOL
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Feb 28, 2009 05:24 PM
Msg. 2 of 38
Yea, it isn't very easy. I myself haven't gotten it to work. That was a long time ago, though. I prefer to use command lists to get AI to follow, like run a command list, sleep until an AI encounter is dead, and then run another command list.
|
|
|

DarkLord0912
Joined: Jan 17, 2009
Works on bigger and better things
|
Posted: Feb 28, 2009 05:48 PM
Msg. 3 of 38
so Gamma927 what would u say do about that I know command list's are way easier to do how would u do a command list for that cuz I didn't know u could?
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Feb 28, 2009 05:50 PM
Msg. 4 of 38
Create a command list. It's self explanatory. Go to AI, and then command lists. Create a new instance, and open it. Go to points. Place down points in the path that you want AI to follow. Then, in commands, create a new instance. In the properties pane, select Go To. Set it to keep moving, and also to the first point. Then create a new instance, and set that to the second point, and so forth. To refer to a command list in a script, use: (ai_command_list [name of Ai encounter] [command list])
This will make the specified AI encounter run the command list designated.
|
|
|

Ermac
Joined: Nov 24, 2006
Pops up from time to time
|
Posted: Feb 28, 2009 05:52 PM
Msg. 5 of 38
I've gotten it to work. It's pretty easy once you get it right the first time.
So you said you had the squads and all that set up, right? Did you enable automatic migration? It's one of the checkboxes on the squads, right below the return state option. The very last checkbox, actually.
Enable that, and they should follow you wherever there are firing positions set up for them.
EDIT: I re-read it. You did do it. OK, Make sure those squads (and the empty squads as well) are only using ONE letter. This is so they don't have a choice but to use those specific firing positions (the ones nearest you) to follow you - otherwise they will stay put, due to the fact that they are in the squad nearest you, even if they actually aren't near you.
I'll clarify later, I have to go. Edited by drillinstructor on Feb 28, 2009 at 05:54 PM
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Feb 28, 2009 05:58 PM
Msg. 6 of 38
Oh, I think I see what you're trying to say. Each empty squad may only have one letter, and the AI will automatically switch squads to the empty squad that's closest to you. Diagram:
A------B-------C--------D--------E
_____^Player
At here, the player is closest to B. Since the AI are told to follow, they'll migrate to the empty squad with B designated. Then:
A------B-------C--------D--------E
___________^Player
they move to C, and so on. Correct me if I'm wrong.
Edit: Diagram fail. Edited by Gamma927 on Feb 28, 2009 at 06:00 PM
|
|
|

DarkLord0912
Joined: Jan 17, 2009
Works on bigger and better things
|
Posted: Feb 28, 2009 07:16 PM
Msg. 7 of 38
so how excatly do u get it to work???
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Feb 28, 2009 08:04 PM
Msg. 8 of 38
For every empty squad, make sure they only have one letter.
|
|
|

DarkLord0912
Joined: Jan 17, 2009
Works on bigger and better things
|
Posted: Feb 28, 2009 10:11 PM
Msg. 9 of 38
I did that say there's squad A,B,C squad A only gets a in all those slot's and etc....But nothing does the actual ai's squad have to have a moving position if so the I think I did everything and it still doesn't work
|
|
|

Ermac
Joined: Nov 24, 2006
Pops up from time to time
|
Posted: Feb 28, 2009 10:26 PM
Msg. 10 of 38
Quote: --- Original message by: Gamma927
Oh, I think I see what you're trying to say. Each empty squad may only have one letter, and the AI will automatically switch squads to the empty squad that's closest to you. Diagram:
A------B-------C--------D--------E
_____^Player
At here, the player is closest to B. Since the AI are told to follow, they'll migrate to the empty squad with B designated. Then:
A------B-------C--------D--------E
___________^Player
they move to C, and so on. Correct me if I'm wrong.
Edit: Diagram fail. Edited by Gamma927 on Feb 28, 2009 at 06:00 PM Exactly. What I was saying not to do was to designate a squad with more than one letter unless they were in the same general area. For instance, if you set one area with B firing positions, and then set another area with C firing positions (an area far away from area B), and then gave a squad both the B and C firing positions, they won't follow you correctly - if you're near C and they're near B, they'll assume that they're in the squad closest to you, when in reality, they're across the level. DarkLord: Post a screenshot of how your squads are set up. Also, is this a multiplayer map or a solo map? The follow script doesn't work correctly in multiplayer, just so you know.
|
|
|

DarkLord0912
Joined: Jan 17, 2009
Works on bigger and better things
|
Posted: Feb 28, 2009 11:12 PM
Msg. 11 of 38
|
|
|

Ermac
Joined: Nov 24, 2006
Pops up from time to time
|
Posted: Feb 28, 2009 11:37 PM
Msg. 12 of 38
Just sent a PM. Yeah, spread them out and place more of them. At least ten.
|
|
|

Me KS
Joined: Feb 2, 2008
Desire is Reality. Xfire: jetmaster23
|
Posted: Mar 1, 2009 12:14 PM
Msg. 13 of 38
Place more than enough firing positions of each letter group for the number of AI that will be following you. e.g., if you have a max of 10 AI that can be spawned, then place at least 15 firing positions for group A, group B, etc. just to be sure.
You want the AI to move in combat besides follow you, so if there's only just enough firing positions for them to stand on, it will make it harder for them to move.
Also, I'm glad to see my hijacked tutorial helping people out with this. I'll probably make a much more specific AI tutorial later on to clear up any confusion and upload it myself. This one was just someone else copy-pasting and uploading a post I made on how to make AI follow you as a tutorial without me knowing, so it's not very thorough. Edited by Me KS on Mar 1, 2009 at 12:14 PM
|
|
|

DarkLord0912
Joined: Jan 17, 2009
Works on bigger and better things
|
Posted: Mar 1, 2009 07:08 PM
Msg. 14 of 38
0kay yeah I figured out yesterdat LOL yeah theres som tthings missing in the follow mr tut
|
|
|

Ermac
Joined: Nov 24, 2006
Pops up from time to time
|
Posted: Mar 1, 2009 09:01 PM
Msg. 15 of 38
Ah, what was the issue?
|
|
|

Dusinator
Joined: Mar 23, 2008
Abuser of dots and parenthesis.
|
Posted: Mar 2, 2009 07:16 PM
Msg. 16 of 38
Whenever I tried to do the AI follow thing, I always got some strange bug that eventually froze the AI, while repeatedly spawning them on top of each other. O_O
It was fun mowing them over in a hog for five minutes until the map lagged too much.
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Mar 2, 2009 07:19 PM
Msg. 17 of 38
The AI follow thing works best if the AI don't respawn. The bug is because you set their difficulty to greater than one. Sure, that works in SP, but in MP, it spawns that many times the respawn number. So if you set it to respawn 5, and the difficulty is 100, it'll spawn 500.
|
|
|

Me KS
Joined: Feb 2, 2008
Desire is Reality. Xfire: jetmaster23
|
Posted: Mar 6, 2009 10:39 PM
Msg. 18 of 38
... Well, you revealed yourself. Nice job. But you have to be kidding me. http://forum.halomaps.org/index.cfm%3Fpage=topic&topicID=18856^ Message 7 in this topic. http://forum.halomaps.org/index.cfm%3Fpage=topic&topicID=20779^ Message 2 in this one. Look familiar to you? I'm impressed at your copy-paste skills. Although I know you got my words from the TCEM forums. I added the commands at the end only on the post I made on the TCEM forums, and that's what's in "your" tutorial. http://forum.halomaps.org/index.cfm%3Fpage=topic&topicID=21271^ There's a topic with more reinforced proof that you just blew me off with your tutorial. Quote: --- Original message by: Me KS What you do is make small groups of firing positions in the areas where you want the encounter to follow the player to. Each of these groups is then set to a unique firing position group letter, i.e. the first group of firing positions set to 'A', the group nearby set to 'B', the group near 'B' set to 'C', etc. You can make up to 26 of these groups per encounter, since you have letters A-Z to work with. It's best to have the groups linearly arranged from A to Z where possible, so that it's easier to remember which is which.
Then, you make what I call "empty squads" for each letter: each of these squads has no actor type specified, as well as no spawn points, move positions, or spawn settings. All that is specified in these squads is the initial state, return state, and "automatic migration", which HAS to be checked. Automatic migration gives the encounter's actors the freedom to switch from one squad to another at will. This is what lets them follow the player, since now they can move (migrate) to the firing position group's squad that is closest to the player.
Finally, the most important part is to specify the corresponding firing position group letter for each empty squad for each AI state (attacking, attacking guard, defending, etc.) You should name the squads by which firing position group they belong to, i.e. "squad_a" for the A group.
After you finish this, don't forget to create a normal squad or squads to actually spawn your actors in. In these squads, "automatic migration" has to be checked as well, and the firing position group letters should be set ONLY to the firing position group closest to the squad's spawn points.
Once all of this is done, you're ready to simply script in (ai_follow_target_players ) and that's it. It should work.
So, basically, AI following is actually just automatic migrations to the squad that the player is closest to. Edited by Me KS on Aug 8, 2008 at 09:10 PM Good luck defending yourself.
|
|
|

Me KS
Joined: Feb 2, 2008
Desire is Reality. Xfire: jetmaster23
|
Posted: Mar 7, 2009 01:38 PM
Msg. 19 of 38
Quote: --- Original message by: crop55
who says you didnt stole mine. i made and posted it a year ago and released it months ago i didnt copy anything Edited by crop55 on Mar 7, 2009 at 04:49 AM Posted it a year ago? Oh really? Where? Can I have a link to those exact words being posted before August 1, 2008 by you? Otherwise, nobody believes you. You uploaded your (my) tutorial Sept. 5, 2008. I made that post Aug. 1 2008. I posted it as a tutorial on the TCEM forums around Aug. 30, still earlier than Sept. 5. Obviously you took it from me.
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Mar 7, 2009 04:09 PM
Msg. 20 of 38
Why does a search of the forums turn up no results?
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Mar 7, 2009 04:29 PM
Msg. 21 of 38
Well then, I totally believe you. Could you please restate how to make AI follow, and prove your understanding?
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Mar 7, 2009 04:47 PM
Msg. 22 of 38
No, I DO believe you. I just don't understand AI following that well. Could you help me? Please give me an explanation no less than 500 - 700 words. I love essays.
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Mar 7, 2009 05:05 PM
Msg. 23 of 38
Yea, I've placed firing positions, and used the script command. Each firing position is assigned a letter, and the empty squads have the letter set. I have automatic migration checked. It still doesn't work. Why?
|
|
|

Me KS
Joined: Feb 2, 2008
Desire is Reality. Xfire: jetmaster23
|
Posted: Mar 7, 2009 06:08 PM
Msg. 24 of 38
Quote: --- Original message by: crop55 cause it was more then 90 days ago since it was released Edited by crop55 on Mar 7, 2009 at 04:13 PM Terrible cover-up. If you set the "search for messages posted in the last 'x' days" field to the hyphen "-", it searches all topics no matter how old they are. Quote: --- Original message by: crop55 lol. i said that i posted it(not release) 1 year ago.i posted it sometime on feb 2008. and i released it on setemper 5. so how can i steal it when i posted it earlier then august 2008. you obvisously just stole mine tutroial and then posted it and now try to claim it as yours. If what you're saying is even close to true, then why didn't you just give me a link to the post? You could end all of this debate and just prove me wrong if you wanted to. You could make me look like a huge dick who took it from you and lied to cover it up. So come on! Give us the link. Prove me wrong. Make me look stupid. I know that's what you want. Oh wait, that's right, you have no proof. You didn't even have the balls to release my words under your username. If it was yours, then why would you release it under a random name "TheFooler"? Why not just release it under your name so you could get the credit of having actually made it, if you're so sure that you made it? And actually, I recall a certain game on Sciophobia where someone named "TheFooler" joined and laughed in my face about having taken my words and uploaded them, basically admitting it? Hmm.. who could that be? Edited by Me KS on Mar 7, 2009 at 06:10 PM
|
|
|

Ermac
Joined: Nov 24, 2006
Pops up from time to time
|
Posted: Mar 7, 2009 06:17 PM
Msg. 25 of 38
Where did you post your tutorial? Here on Halomaps? I don't see it. I ran a search of all of your posts since you joined - and I don't see one on the forums. All I see are topics from you asking for help.
EDIT: This is to crop55. Edited by drillinstructor on Mar 7, 2009 at 06:19 PM
|
|
|

Me KS
Joined: Feb 2, 2008
Desire is Reality. Xfire: jetmaster23
|
Posted: Mar 8, 2009 12:05 PM
Msg. 26 of 38
You know, I'm going to take a moment to applaud you. You make it seem very convincing that you're innocent even in the face of solid evidence against you. But the bull has to end. Now. Time to bring out the big guns. Ald Kazei. First off, "your" tutorial and mine are not "similar", they're exactly the same, word for word, letter by letter. And you can't delete your own posts, so saying that you saved the tutorial and not your post doesn't make any sense. Second, I remember you from the dzmt forums a year ago. You have something against DarkZealot and any team he's ever been involved in, don't you? That includes TCEM, and that includes me. That also includes MP2SPMT. http://www.modacity.net/forums/showthread.php?t=14759^ You released the fake Mission Rio. You released the fake Counter Attack. Let me say it again. crop55/Ald Kazei released the fake Mission Rio, and the fake Counter Attack SP. He spammed the modacity forums under fake names of members of MP2SPMT. Then he apologizes months after the fact in the topic above, which shouldn't be taken seriously because he's now persistently trying to cover himself up for taking my words. http://hce.halomaps.org/index.cfm?fid=4336http://hce.halomaps.org/index.cfm?fid=4010Now, why should anyone in their right mind believe you if you were crazy enough to release fake, crappy versions of maps under the name of MP2SPMT just because you don't like them or someone in it? Sounds like the same thing you did to me. You took my words, released them, because either you don't like me, or the team I'm in, or who knows what. And now you're trying to act so innocent and frame me as the bad guy. I have no idea what goes on in your twisted mind, really. All I know is your intentions are bad. Whatever garbage you come up with to defend yourself next, it better be good, because you don't have much going for you. Edited by Me KS on Mar 8, 2009 at 12:09 PM
|
|
|

Me KS
Joined: Feb 2, 2008
Desire is Reality. Xfire: jetmaster23
|
Posted: Mar 8, 2009 04:39 PM
Msg. 27 of 38
Well that explains a lot. Thanks for saying that. Only one huge gap in the story: you did not make the tutorial. I can't take you seriously. You say you have nothing against me, and you offer a very thorough explanation of everything except for the tutorial, yet you claimed I stole "your" imaginary tutorial and you're still trying to tell me that you made the thing? What kind of peace offering is that? That's like stealing my money, keeping it, and then when I come back for it you tell me "Stop it, I have nothing against you." You are seriously a huge con artist, you know that? Quote: --- Original message by: crop55 i dont care if you dont believe me. its just a tutorial wich i made a long time ago and saved it. few months later i saw people had problems with ai following. so i released my tutorial to make people understand that they dont only need to use the ai follow code. and now ks comes in and says he made the tutorial. i have no idea if he made or stealed his version but it looks similar to mine. i made mine myself a long time ago thats all i know.
My xfire is in my avatar quote. Add me. Send me your tutorial, since you said you saved it on your computer. If the "date created" on the file says it was made before August 1, 2008, I'll surrender this whole debate. I swear. I'll even post a screenshot of the file to prove you were right. How does that sound to you? I know you want to stop arguing. So just do this one thing and it will end. Oh, and don't tell me "I deleted the file". I know that's coming. Quote: --- Original message by: crop55 cause why would i save the post if i saved the tutorial ?
According to you, it's saved. Just to clear up some things, I actually have nothing against you personally. I know you're just an emotionally rampant guy (spamming, posing as others, fake map uploads, credit-stealing). I just want you to take responsibility for what you did with my words, like you just did in your post above with the fake maps and spamming. If you admitted doing all of that, why is it so hard to admit this? Edited by Me KS on Mar 8, 2009 at 04:41 PM
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Mar 8, 2009 04:48 PM
Msg. 28 of 38
Apparently, it's not before August 1st. Here:  Edit: This IS the first version as well as the latest version. Edited by Gamma927 on Mar 8, 2009 at 04:48 PM
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Mar 8, 2009 05:22 PM
Msg. 29 of 38
No. It was the date that the PDF was created. And the author was "Yassin"
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Mar 8, 2009 06:10 PM
Msg. 30 of 38
You're Russian? Just wondering... Do you still have the wordpad version?
|
|
|

Me KS
Joined: Feb 2, 2008
Desire is Reality. Xfire: jetmaster23
|
Posted: Mar 8, 2009 06:49 PM
Msg. 31 of 38
If the wordpad version is the "follow me.txt" file in the download of "your" AI tutorial, then it says it was created on Sunday, August 31, 2008, 7:10:24 PM. The "readme.txt" was created 6 minutes later on Sunday, August 31, 2008, 7:16:50 PM. Both were created literally the same day that I posted those exact words--including the commands at the end--on the TCEM forums. I remember now. That's not just a coincidence. You still say it's yours. I don't settle for lies, no matter how forgiving and innocent you can make yourself look. There is no such thing as "accidentally" copying someone's exact words letter by letter, and there's no such thing as "forgetting" whether you copied me or made it yourself. Just admit it. That's all I ask. You can't possibly keep this up for long. Just for some reinforcement, here's a vid of some marines following the player in my WIP single player map Reviction to show I'm not kidding here: http://files.filefront.com/AI+FollowingWMV/;13433653;/fileinfo.htmlThis was the same map that made me figure out AI following, and so I did. There it is.
|
|
|

MissingSpartan7
Joined: Feb 19, 2009
I abandoned this forum a long time ago...
|
Posted: Mar 9, 2009 12:38 AM
Msg. 32 of 38
the script is : (script continuous follow (ai_follow_target_players *encounter*) )
|
|
|

Ermac
Joined: Nov 24, 2006
Pops up from time to time
|
Posted: Mar 9, 2009 01:15 AM
Msg. 33 of 38
It doesn't have to be a continuous script to work. Startups and static scripts work too.
|
|
|

MissingSpartan7
Joined: Feb 19, 2009
I abandoned this forum a long time ago...
|
Posted: Mar 9, 2009 01:24 AM
Msg. 34 of 38
continuous makes it sound better
|
|
|

Ermac
Joined: Nov 24, 2006
Pops up from time to time
|
Posted: Mar 9, 2009 01:32 AM
Msg. 35 of 38
Hahaha...
If you say so.
|
|
|
| Page 1 of 2 |
Go to page:
· [1]
· 2
· Next
|
|
 |
|