User Tag List

Results 1 to 4 of 4

Thread: how to: changeable weapons etc.

  1. #1
    No Products Registered

    Join Date
    Nov 2006
    Location
    Italy
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    how to: changeable weapons etc.

    Hi everybody,

    I'm starting a new game and I was wondering what could be the best way to have changeable weapons, and possibly armors.
    I mean, if i create carachters with all the possible combinations it's gonna be dozens of carachters! But... if I'd use different objects for the chest, the hands and weapons etc... it's gonna be a mess, a "coding mess" and "animating mess"!

    Any idea?

    Thanks in advance!

  2. #2
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export Module
    DavidN's Avatar
    Join Date
    Jun 2006
    Location
    Boston, MA, USA
    Posts
    4,044
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: how to: changeable weapons etc.

    Having separate objects for each part of your character would definitely be the easiest way to do it - this way you don't have to worry about including every possible combination. Whether you have an actual separate object for every component, or have one object for each one with several different animation, is up to you and depends on how you want to organize it.

    As fas as events go, it would probably be easiest to have a group for each weapon etc. selectable, and to activate and deactivate them when the player picks up or selects a new one.

  3. #3
    No Products Registered

    Join Date
    Oct 2006
    Location
    Germany
    Posts
    50
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: how to: changeable weapons etc.

    Most commercial games that have this kind of feature use seperate sprites(objects in MMF) for body, weapon and armor. You'd need to animate your objects so you can put them on top of eachother.
    One suggestion would be to use hotspots wisely so you just have to set your objects positions to your character's position. Your weapon's and armor's animations would be stopped and you'd set their animations and frames to those of your character object(not sure how well this would work. There might be a lag between character and equipment animation). It might seem like a lot of coding, but once you've got it working for one object it shouldn't be too much work to do the other objects. And besides, you can use groups, so you don't have to copy-and-paste your code to every single weapon and armor.
    Hope that helps.

  4. #4
    No Products Registered

    Join Date
    Nov 2006
    Location
    Italy
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: how to: changeable weapons etc.

    yes mmm tough problem... I'll try my best! Thanks guys!

Similar Threads

  1. changeable character/object skin for the user?
    By N64Mario in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 26th September 2011, 06:25 PM
  2. Bad Example of Switching Weapons
    By variant in forum File Archive
    Replies: 0
    Last Post: 26th January 2010, 02:16 AM
  3. stdrt.exe - temp directory changeable?
    By twister in forum Multimedia Fusion 2 - Technical Support
    Replies: 10
    Last Post: 11th January 2008, 07:54 AM
  4. Changeable backgrounds
    By Chimpoo in forum Install Creator and Patch Maker
    Replies: 5
    Last Post: 3rd January 2008, 02:42 PM
  5. How to deal with different weapons
    By Pancra in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 20th October 2006, 08:49 PM

Posting Permissions

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