Announcement

Collapse
No announcement yet.

Question about XP System [Not how to make it]

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

    Question about XP System [Not how to make it]

    Hi Unreal developers,

    This new C++ programming is really great and a lot easier according to me. But I want to create an XP system for my character. Back in UDK I put the code in my Custom PlayerController. Here in UE4 where I'm supposed to write the code? In Character or again PlayerController?
    Raise the Black Flag!

    - [TUT]: HTTP GET Request in C++
    - [Tool]: Game Site Tracker website for your project
    - [Website]: Website for my game Leviathan

    #2
    UE4 use identical object class system from previues UEs and mostly still uses same concepts like PlayerController etc. So all concepts from old UE works the same.

    So as you thouth you need to create a child class of APlayerController class you can create class easily with add code button in file menu in editor and pick APlayerController as class parent and it will set up it for you. When you create a class you swich it as default PlayerController class in package settings.

    Here your new bible:
    https://docs.unrealengine.com/latest...ime/index.html
    Last edited by Shadowriver; 04-09-2014, 02:02 PM.
    =========
    My Tutorials:
    Basic knowledge about Classes and UObject environment and stuff like that

    Comment


      #3
      Wow quick reply,

      Thanks, I knew about the docs, but didn't know about this bible you gave link. It seems they put all the functions the engine supports and explains everything. Thanks I'll try it right now

      Edit: Sorry but Can I ask you what's the name of the method which is called when you kill someone. In UDK it was ScoreKill, but I can't find it in UE4 now..
      Last edited by Young_Wolf; 04-09-2014, 03:15 PM.
      Raise the Black Flag!

      - [TUT]: HTTP GET Request in C++
      - [Tool]: Game Site Tracker website for your project
      - [Website]: Website for my game Leviathan

      Comment

      Working...
      X