Home    LittleBigPlanet 2 - 3 - Vita - Karting    LittleBigPlanet 2    [LBP2] Help!
#1

Sackbot logic help

Archive: 7 posts


Well, it looks like I will be asking yet another question on these forums, but here goes. How could I create a sackbot that will wander around without aim? Is there any way to do this? Sorry for flooding the help section of these forums with my questions, but I don't really have another place to get these answers. Thanks for your help.2011-11-25 00:30:00

Author:
dogcity999
Posts: 86


i'm no expert but if i were to do it i'd use a randomiser put into the imputs of a selector and the outputs of the selector into several different ai chips on the sackbot. i'd set one to follow, one to flee, i'd act a couple, etc. each one would first go through counters set to one. the counter would go into an xor gate with as many inputs and outputs as your selector. i would also put a timer from the counter for as long as i wanted the ai to last. the timer would then go into the reset of the counter and into itself ready for the next time the randomiser chooses it.

the randomiser may choose the same one again before the timers finished but that won't matter.
2011-11-25 01:41:00

Author:
GribbleGrunger
Posts: 3910


3 ways to do this:

1: have it set to patrol (you haven't looked at the settings have you?)
2: what the person said above me: a randomizor
3: create a custom advanced ai, that will do daily actions with no notice of the player. This can be a combo of 1 and 2 along with a few battery activations via controlinators.

Either way should help. In order of time use: 1, 2, 3 XD
2011-11-25 02:12:00

Author:
a_mailbox
Posts: 416


Of course I've looked at the settings, but patrolling is not wandering aimlessly, it is walking between two spots like a guard. Thanks Gribble for your help, I may try that out when I get back home. What I may also do is just have the bot set to act for a while and just record me wandering and have it repeat.2011-11-25 02:45:00

Author:
dogcity999
Posts: 86


If you want it to appear more random, I guess you could record a few actings, with an additional chip set to 'follow waypoint' (just to keep things tidy and reset him to a start point every now and again), and then loop them via a sequencer....2011-11-25 09:49:00

Author:
julesyjules
Posts: 1156


You could get a randomiser and get 3 AI chips: idle, patrolling (right handed) and patrolling (left handed). Then make it change behaviour every 5-10 sec.

Or you could set the sackbot to Follow Waypoint, and connect a randomiser to a bunch of tags. It's slightly less aimless, though, as your sackbot would stop at the same points.
2011-11-25 12:01:00

Author:
Elifia Kamigawa
Posts: 35


Well, I am going to need about 7 different types of town people, so I will try out different methods as I build. Thanks everybody for your help. If something isn't working, or I can't figure something out, then I might post back here later.2011-11-25 13:51:00

Author:
dogcity999
Posts: 86


LBPCentral Archive Statistics
Posts: 1077139    Threads: 69970    Members: 9661    Archive-Date: 2019-01-19

Datenschutz
Aus dem Archiv wurden alle persönlichen Daten wie Name, Anschrift, Email etc. - aber auch sämtliche Inhalte wie z.B. persönliche Nachrichten - entfernt.
Die Nutzung dieser Webseite erfolgt ohne Speicherung personenbezogener Daten. Es werden keinerlei Cookies, Logs, 3rd-Party-Plugins etc. verwendet.