How to make multiple planes follow a different path? Custom build demo file included!

ApprowApprow Member Posts: 703
Hi all,

I created a flight control template, it is working pretty solid.
I build it from Tshirt booths follow a draw path template, so the credits are not 100% on me.

Anyway, the coordinates are based on tables and I can't figure out how it would be possible to make multiple planes follow a different path, beacause it uses one table.
the demo is attached to this post, so feel free to download it and help me figuring out this issue (if possible).

I hope someone can help me out, and maybe other member can make use of this template!


Approw

Comments

  • BenMakesGamesBenMakesGames Member Posts: 85
    edited April 2013
    I finished the code to make this possible a few days ago. Im just ironing out the graphics and I will have the template available in a few days. Its taken about 3 months to iron it out.
  • ApprowApprow Member Posts: 703
    @BenMakesGames Ow that sounds really good. Can you post your template in this
    thread?
  • RThurmanRThurman Member, Sous Chef, PRO Posts: 2,880
    @Approw -- Nice integration of tshirtbooth's "draw path" and Obz's "waypoint" demos.

    For multiple planes you have two choices:
    1) Make multiple 'path' tables: e.g. path1, path2, path3
    2) Add more columns to the master and path tables. (Columns 3&4 would be for plane#2. Columns 4&5 would be for plane#3, etc.)
  • BenMakesGamesBenMakesGames Member Posts: 85
    The template will be available in the marketplace in the next couple of days.

    @Rthurman, your second suggestion wont work with the current way it has been designed.
  • ApprowApprow Member Posts: 703
    @BenMakesGames @Rthurman , ow it is possible, You just need a spawner and relate an attribute that gives every actor an ID tag.

    :Every 2 seconds spawn plane, and do a change attribute in that says, change game.PLANE ID to game.PLANE ID+1

    in your plane actor say: change attribute self.ID TAG to game.PLANE ID

    Then make a bunch of rules like: If self.ID TAG is 1, use table1.

    The only problem is that the rules are based on mouse button is down and mouse button released. so still figuring out some stuff.
  • BenMakesGamesBenMakesGames Member Posts: 85
    Sorry, to be clear the current way wont allow you to use a single table because it is deleting a line each time.
  • ApprowApprow Member Posts: 703
    @BenMakesGames youre wrong mate. You need a different index file for each table.

    Table1 uses index1, table2 uses index 2. etc
  • BenMakesGamesBenMakesGames Member Posts: 85
    I finally finished my version of the template. Ive submitted it to the gamesalad marketplace and hopefully should be available in a few days. Took about 5 months to create. The video appears a bit shakey bellow but thats just the recording software and GS running at the same time.

Sign In or Register to comment.