Announcement

Collapse
No announcement yet.

Engine Features Preview 4/22/2015

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

    [PREVIEW] Engine Features Preview 4/22/2015

    We’re excited to share a few of the new features now available on the Master branch on GitHub. To be able to try out these new features, you will need to download the source code for the Master branch and build the Engine yourself. For more information about how to build the Engine from source code, please see this page. The Master branch on GitHub is constantly being updated and is not quality tested so it may be potentially unstable. We do not recommend using the Master branch for project development. If you wish to wait, these features will be made available to all in an upcoming official release.


    Engine News

    New Features

    Blueprints: Get Nodes can Check for Validity

    You can now right-click any “GET” variable node and convert it to an “impure” node that will branch based on the validity of the value. This makes it easier to handle errors.

    Click image for larger version

Name:	GETnode01.png
Views:	1
Size:	19.0 KB
ID:	1148552

    Just right-click on a GET node and select ‘Convert to impure Get’ to toggle the feature!

    Click image for larger version

Name:	GETnode02.png
Views:	1
Size:	13.4 KB
ID:	1148553

    Blueprints: Game Mode Customization

    We’ve exposed a lot more Game Mode functionality to blueprints! This should help developers who are creating Blueprint-only games, especially multiplayer games.

    Click image for larger version

Name:	GameModeCustom.png
Views:	1
Size:	52.4 KB
ID:	1148554

    The following Game Mode functions are now callable from Blueprints:
    • GetMatchState
    • HasMatchStarted
    • IsMatchInProgress
    • HasMatchEnded
    • StartPlay
    • StartMatch
    • EndMatch
    • RestartGame
    • ReturnToMainMenuHost
    • AbortMatch
    • ResetLevel
    • GetNumPlayers
    • ChangeName



    The following Game Mode events can now be implemented in Blueprints:
    • OnSetMatchState
    • OnLogout
    • OnChangeName
    • OnSwapPlayerControllers
    • OnRestartPlayer
    • OnReset (this was added to Actor, so generally usable when Game Mode’s ResetLevel occurs).



    And finally (and arguably most importantly) the following functions can be overridden in Blueprints.
    • ReadyToStartMatch
    • ReadyToEndMatch
    • ShouldReset
    • MustSpectate
    • GetDefaultPawnClassForController
    • InitStartSpot
    • SpawnDefaultPawnFor
    • CanSpectate
    • FindPlayerStart
    • ChoosePlayerStart
    • PlayerCanRestart


    Note: To allow the Blueprints to override these functions, we had to change them to be Blueprint Native Events in C++, which will require any overridden implementations to use the “_Implementation” suffix on your function names.

    Two other changes were made to Game Mode that affect C++:
    • DefaultTimer has been removed.
    • PlayerStarts array has been removed. TActorIterator<APlayerStart> should be used instead.
    Last edited by Chance Ivey; 04-28-2015, 06:27 AM.
    Brandon Sieprawski
    Documentation QA / Support

    #2
    Very Cool! Thanks for the update!

    Comment


      #3
      Great work especially on the new Validity changes! Thanks =)
      Abatron Development Thread
      www.abatrongame.com
      Steam Store

      Comment


        #4
        I like that isValid is combined with the variables now.
        Isaac Nichols
        Game Developer & Music Producer - Threaded Pixel Studios
        Currently working on Drones & Ruins a Sci-Fi twin-stick shooter.

        Comment


          #5
          As someone making a purely multiplayer game this is by far my favorite Engine Features Preview. Amazing

          Comment


            #6
            Awesome stuff!

            Comment


              #7
              Nice-nice-nice!
              Impure getters are huge time saviors!
              SuperGrid: Marketplace Page | Feedback Thread | Demo | Website
              Level design and prototyping for newbies

              Comment


                #8
                Awesome exposing these functions! They are so helpful for multiplayer. (:
                Open for contracted work | C++/BP (incl. Multiplayer) | Tutoring | VR

                My UE4 Blog/Page with Tutorials and more: Hit me for ALL the things!
                (Including 100+ Pages Multiplayer Network Compendium to get you started.)

                Comment


                  #9
                  Excellent!!
                  Map Generator 1.0
                  Map Generator 2.0
                  Map Generator 3.0

                  Comment


                    #10
                    These previews are great, please keep them coming. However, they get pretty disjointed as they are every few days/weeks apart. Is there somewhere that all of these features are listed in one big list similar to the release notes?
                    Gooner44
                    Cribbage Sample Project on MP

                    Comment


                      #11
                      The new impure Get Nodes are definitely a good feature
                      Easy to use UMG Mini Map on the UE4 Marketplace.
                      Forum thread: https://forums.unrealengine.com/show...-Plug-and-Play

                      Comment


                        #13
                        Originally posted by ryanjon2040 View Post
                        Finally...more multiplayer nodes!!

                        Yeah... you can get even more, if someone would help me
                        https://answers.unrealengine.com/que...oss-nodes.html

                        Comment


                          #14
                          Yes!!! So excited for these blueprint multiplayer nodes- was just starting work on my gamemode- this is exactly what I was looking for! Another awesome update to blueprints, hopefully they will continue to expose all necessary nodes that are essential to a multiplayer game, but can be done in blueprints only- BP's are seriously a revolutionary tool, I'm glad more and more people are realising that every day! Great work as always, thanks Epic!
                          ARTSTATION: https://www.artstation.com/artist/noisestorm

                          Comment


                            #15
                            Hey Epic, i still got questions about this.

                            There are variables in the PlayerState that can be accessed but not changed. PlayerName can be changed by "ChangeName" function or? So that would
                            be fixed. But the Score is also not settable. I needed to create my own Score Variable. Will you change something about this in the upcoming 4.8 Version?

                            I would also love to have the GameMode functions that register players. We already have "Post Login" but i would love to have "Post Logout" too.
                            Are there more function coming or do i have to wait for 4.9? ):
                            Open for contracted work | C++/BP (incl. Multiplayer) | Tutoring | VR

                            My UE4 Blog/Page with Tutorials and more: Hit me for ALL the things!
                            (Including 100+ Pages Multiplayer Network Compendium to get you started.)

                            Comment

                            Working...
                            X