User Tag List

Page 3 of 3 FirstFirst 1 2 3
Results 21 to 30 of 30

Thread: How to switch weapons by pressing a button

  1. #21
    Clicker Fusion 2.5
    Warmachine's Avatar
    Join Date
    Nov 2009
    Location
    Charleston, WV
    Posts
    664
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: How to switch weapons by pressing a button

    thanks man, not a bad example, just a bad learner involved! 2 more questions and i will banish myself from the site! i havent tried yet but im sure if i dont ask now im gonna run into it soon. okay, 1st, do i need to keep 2 separate active objects, one for the melee and one for the gun since they both have the same key presses but different animations and 2nd, i was using a bit of the chaos platformer as a reference point so i followed with making a player sensor object. how would i be able to make it that when you switch between weapon sets, or active objects if necessary, would they both stay centered to the player sensor?

  2. #22
    No Products Registered

    Join Date
    Oct 2009
    Posts
    480
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to switch weapons by pressing a button

    Uh, I think you should put all your animations into one active object to make it easier. I'm not really sure what your talking about however.

    -Variant

  3. #23
    Clicker Fusion 2.5
    Warmachine's Avatar
    Join Date
    Nov 2009
    Location
    Charleston, WV
    Posts
    664
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: How to switch weapons by pressing a button

    lol sorry man, i've just recently strayed away from OpenBoR and some things seemed overly confusing as far as some of the simpler things went so my bad on that. thats cool that the active object can have all the different animations. again, my bad for the bad explanation. i was mainly asking how you would use different animations for the same key press. for example, in the melee mode lets say you have "punch" assigned to "J". in gun mode, you have "forward shot" as "J" as well. how would you incorporate that without MMF2 trying to play both animations at once?

  4. #24
    No Products Registered

    Join Date
    Oct 2009
    Posts
    480
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to switch weapons by pressing a button

    Oh, just use the "is a flag on" event. Like:

    -Upon pressing J
    +Internal flag 0 is on
    --> Punch

    -Upon pressing J
    +Internal flag 0 is off
    --> Shoot

    Also, unless you have prior experience, I recommend you start small and then go big, nothing too complex. Trust me, I would know.

    -Variant

  5. #25
    Clicker Fusion 2.5
    Warmachine's Avatar
    Join Date
    Nov 2009
    Location
    Charleston, WV
    Posts
    664
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: How to switch weapons by pressing a button

    thats what i though, grasshopper is STARTING to catch on! i've tried that and with a walk animation i have for the melee its like it just repeats 2 frames, but i'll try to figure it out. and thanks for all the help again! i really appretiate it! hopefully if all goes well i will have a demo stage set up sometime soon and i'll let you know when its ready if you'd like to try it out

  6. #26
    No Products Registered

    Join Date
    Oct 2009
    Posts
    480
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to switch weapons by pressing a button

    Cool, sure I'll try it. Also you can add a new animation via right-clicking on the animations list (where all the animations are listed, like: Walking, Running, etc.) and clicking "New".

    -Good Luck, Variant

  7. #27
    Clicker Fusion 2.5
    Warmachine's Avatar
    Join Date
    Nov 2009
    Location
    Charleston, WV
    Posts
    664
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: How to switch weapons by pressing a button

    lol yeah i know about adding the new animations. just cant get the animation to change from idle to walking. at least to make it look right. like i said earlier it only plays like 2 out of the 8 frames for some reason

  8. #28
    No Products Registered

    Join Date
    Oct 2009
    Posts
    480
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to switch weapons by pressing a button

    I don't know, and I'm sorry but I hate troubleshooting, so the best I can give you now is good luck. So if you need any more help hesitate to ask.

    [spoiler]Or not... [/spoiler]
    -Variant

  9. #29
    Clicker Fusion 2.5
    Warmachine's Avatar
    Join Date
    Nov 2009
    Location
    Charleston, WV
    Posts
    664
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: How to switch weapons by pressing a button

    lol got ya man. thanks a mil for all the help!

  10. #30
    No Products Registered

    Join Date
    Oct 2009
    Posts
    480
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to switch weapons by pressing a button

    No problem, I'm sure you'll help me out when I need help too. :grin:

    -Variant

Page 3 of 3 FirstFirst 1 2 3

Similar Threads

  1. Pressing a button twice
    By Bench in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 27th April 2010, 04:15 AM
  2. Bad Example of Switching Weapons
    By variant in forum File Archive
    Replies: 0
    Last Post: 26th January 2010, 02:16 AM
  3. Switch Button Widgets
    By Atom in forum Widgets
    Replies: 2
    Last Post: 8th November 2008, 02:58 PM
  4. Holding one button and pressing another
    By aeroshock in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 19th September 2008, 03:42 AM
  5. Confirmation to quit after pressing close button
    By McPhisto in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 8th December 2007, 12:46 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
  •