Announcement

Collapse
No announcement yet.

how to create gun and effects

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    how to create gun and effects

    Hi.How i can create a gun and make firing with that ? Lets think i rigged a static mesh like a gun.How to continue and set it like a gun?

    #2
    Okay.
    You created the mesh already
    What you are going todo next is create a blueprint of the gun. In it you will have the guns logic and information stored on the gun.
    (keep in mind ammo can be stored there but if you destroy it when unequipped it will loose that info and variables will go to the default when you spawn it again.)

    On the character you will add a socket. And when the weapon is equipped it will spawn that weapon (some people do things like make them invisible and send them off the map to prevent data loss without having create a place to store the info. Example might be something like Halo where you can only have two weapons you could on equip have a "room" hidden on a map where they are moved to rather than destroyed or have them float below the map following the character etc)
    You get the socket transformation and scale etc, applying anything you need to make it fit right (typically you want the mesh made where it will just stick right on the socket taking the socket into.

    On the Player characters Blue print you want a event dispatcher. When you trigger it, it will send info to the weapon blue print to fire off the logic.


    When all my updates are all done, I can probably send you some screen shots of mine (I stored all the variables in the character since I only have like 5 different ammo types
    Last edited by Cultusfit; 12-10-2018, 10:19 AM.

    Comment


      #3
      Originally posted by Cultusfit View Post
      Okay.
      You created the mesh already
      What you are going todo next is create a blueprint of the gun. In it you will have the guns logic and information stored on the gun.
      (keep in mind ammo can be stored there but if you destroy it when unequipped it will loose that info and variables will go to the default when you spawn it again.)

      On the character you will add a socket. And when the weapon is equipped it will spawn that weapon (some people do things like make them invisible and send them off the map to prevent data loss without having create a place to store the info. Example might be something like Halo where you can only have two weapons you could on equip have a "room" hidden on a map where they are moved to rather than destroyed or have them float below the map following the character etc)
      You get the socket transformation and scale etc, applying anything you need to make it fit right (typically you want the mesh made where it will just stick right on the socket taking the socket into.

      On the Player characters Blue print you want a event dispatcher. When you trigger it, it will send info to the weapon blue print to fire off the logic.


      When all my updates are all done, I can probably send you some screen shots of mine (I stored all the variables in the character since I only have like 5 different ammo types
      Okay! Thanks for now.When you finish may you explain that more ?

      Comment


        #4
        Try this
        https://www.youtube.com/watch?v=YCdAX6zhyBs&t=187s
        Check out my itch.io page, I'm really excited about it.
        https://kinos141.itch.io/

        Please check out my AI package: Action AI System Feat. Stealth
        https://www.unrealengine.com/marketp...m-feat-stealth
        or get it from itch
        https://kinos141.itch.io/action-ai-system-feat-stealth

        Comment


          #5
          Originally posted by Kinos141 View Post
          Hell yea! Thanks i'll watch later **** schools won't let me to work on it.

          Comment

          Working...
          X