Home    LittleBigPlanet 2 - 3 - Vita - Karting    LittleBigPlanet 2    [LBP2] Ideas and Projects
#1

Tanks that make their own route. Help???

Archive: 4 posts


Hello all you members of this amazing community

I stumbled upon a video on Youtube called "The History of Videogames" and noticed this game that is somewhat alike to what I planned to make a while ago. The game is 2:18 in http://www.youtube.com/watch?feature=player_detailpage&v=q6a3ZvPKIvY#t=137s . I quit the project since I couldn't figure out how to make the tanks make out a route by themself. I woul appreciate any link to a tutuorial or just a clue on how to make this.

Thanks in advance.
// TomBurk
2012-04-22 23:15:00

Author:
TomBurk
Posts: 84


e.i A*-Algorythm2013-04-14 21:39:00

Author:
TomBurk
Posts: 84


The video is not available in my country (US)

I can try to help though...but without seeing it, I might be wrong.

I'd put a bunch of tags randomly in the level. Have a randomizer (set to override pattern) activate one tag at a time, and have the tank follow the tag. When the tank gets close to the tag, activate the randomizer again to select a new tag. The tank should now randomly move around the level by itself.
2013-04-14 23:56:00

Author:
dragonboy269
Posts: 172


I made a basic waypointing system which allows enemies to take up to two turns to locate the player in a fields of halls. (http://www.youtube.com/watch?v=V8AiugRMd-o) It's difficult to explain, but the idea is that the enemy tries to locate a waypoint that in the line of sight of the player and itself. If such a waypoint does not exist, the enemy travels to the closest waypoint and then searches for a waypoint that's in the line of sight of both the player and itself. If such a waypoint exists, the enemy follows it. If the enemy is directly in the line of sight of the player, it directly pursues it. To accomplish this I used pieces of hologram fired in four cardinal directions from the enemy which then hit waypoints or the player, which in turn activate tags that the enemy uses to determine what waypoint to follow, and what kind of waypoint to follow. (Do they follow the nearest waypoint, a waypoint within the line of sight of the player and themselves, or do they directly pursue the player?)

This logic could be modified so that the tanks follow a set path, or determine one to travel on when it's not neccessary for the enemy to track the player. I can give it to you, but I can't guarantee its effectiveness in terrain unlike the terrain used in the YouTube video I made unless it's modified to be more advanced, and you'll have to get your hands dirty in some logic to suit it to your needs. (I'm sure you won't mind that, though. )
2013-04-16 20:00:00

Author:
BIGGamerer
Posts: 182


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.