User Tag List

Page 2 of 2 FirstFirst 1 2
Results 11 to 18 of 18

Thread: APF Tutorial Needed

  1. #11
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)

    Join Date
    Jun 2006
    Location
    Australia
    Posts
    682
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: APF Tutorial Needed

    Read the help file dragonguy.
    You can Advance units' Current Position in Steps.

  2. #12
    Clicker Multimedia Fusion 2
    dragonguy's Avatar
    Join Date
    Apr 2008
    Location
    RULE BRITANNIA!
    Posts
    3,071
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: APF Tutorial Needed

    Also I need to know how to do the following.

    See I have two types of units in my rts test game, Infantry & Tanks.

    Infantry move around Tanks.
    Infantry move around nodes with Infantry in them if there are 5 Infantry in that node.
    Infantry move through nodes with Infantry in them if there are less than 5 Infantry in that node.
    Tanks move around Tanks.
    Tanks move around Allied Infantry.
    Tanks move through Enemy Infantry crushing them. (Crushing part I know how to do.)

  3. #13
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)

    Join Date
    Jun 2006
    Location
    Australia
    Posts
    682
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: APF Tutorial Needed

    You have to do something like this.
    Make infantry and tank units 'Unit Obstacles'. Then their respective profiles that they use will view the different landtypes differently.
    Eg. you could set the unit-obstacle landtype of an infantry unit to 'person' and then the profile that the tanks use will see the landtype 'person' as no hinderance.
    It works the other way around too of course, but make tanks obstacles to infantry so they will move around them.

    Most of the examples that come with the object do some part, at least, of what you're trying to do. If you cannot understand them, then maybe aim for something smaller first.

  4. #14
    Clicker Multimedia Fusion 2
    dragonguy's Avatar
    Join Date
    Apr 2008
    Location
    RULE BRITANNIA!
    Posts
    3,071
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: APF Tutorial Needed

    Well first I need to figure out how to move something once progessively and then re-path find.

    Incase things move in the way of the path so it doesn't move through my other moving units or newly built buildings.

    (Iv'e noticed in the lemmings example, lemmings only move to where the exit is when they were created, so if you move it to somewhere else, all the current lemmings go to where the exit was).

    So move progessively once and re-path find again is what I want, how do I do it?

  5. #15
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)

    Join Date
    Jun 2006
    Location
    Australia
    Posts
    682
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: APF Tutorial Needed

    Yep that's probably a good idea.
    You just 'Advance the unit one step', set the active object (or whatever) to where it should be now on the screen, then refind the path: change its starting location to its current location and run the 'Find' action. And do that over again until you're at your destination.

  6. #16
    No Products Registered

    Join Date
    Jun 2006
    Location
    Land of raging rockets
    Posts
    1,231
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: APF Tutorial Needed

    I'd do it like this - every step check if the target is still the same, or alternatively, when the target is changed - update the starting location and check again.
    Then, every step, check if the field of the next step is clear. If not, update the starting location and check again.

    Depending on the amount of units in your game (seems like lots to me) and the size of your map, you don't want to find a new path every step.

  7. #17
    Clicker Multimedia Fusion 2
    dragonguy's Avatar
    Join Date
    Apr 2008
    Location
    RULE BRITANNIA!
    Posts
    3,071
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: APF Tutorial Needed

    I still can't figure how to even path find or move it yet, help.

  8. #18
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,741
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: APF Tutorial Needed

    Man, there are loads of examples and a very good documentation that helped me a lot. I don't get your problem, sorry.

Page 2 of 2 FirstFirst 1 2

Similar Threads

  1. Android Dev Tutorial for Begginners Needed
    By BGUSMAOKM in forum Android Export Module Version 2.0
    Replies: 2
    Last Post: 26th September 2013, 04:38 PM
  2. HELP NEEDED! Rockman X [Megaman X] Dashing Help needed.
    By Rockman in forum Multimedia Fusion 2 - Technical Support
    Replies: 22
    Last Post: 30th July 2013, 07:05 AM
  3. Help Needed with RTS
    By dragonguy in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 2nd April 2009, 11:54 PM
  4. Help needed!
    By billyandrocky in forum File Archive
    Replies: 2
    Last Post: 1st June 2008, 08:33 PM
  5. RTS ... Help needed!
    By uprize in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 30th March 2007, 06:02 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •