x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

How to work with Steam and custom code

Hey guys,

I'm rather experienced with C++, but pretty new to Unreal. I've learned blueprints reasonably well (I've been able to do everything I want to do for my game - animations, interaction, etc.) but I have two questions hanging me up currently.

How do I go about implementing custom C++ code to a Blueprint project? I'd like to hook into it more than just a custom class, to say, use a Direct2D draw surface to draw my own UI (I'm friendly with D2D and I'd like to use that instead of paying for a UI engine). If I were to use a hud C++ class, how would I go about calling functions in the blueprints from the code?

The second question is about Steam. I'd like to use Steam as my DRM and multiplayer source, but I'm unsure how to go about setting up to do that (I've followed the steps for setting up the SDK, but I also cannot find any of the x64 Steam dll's listed in the Steam folder). I'm experienced with networking and the concepts associated with it, but I'm just a little lost jumping into mixing C++ and Blueprint/UDK interfaces.

I'd appreciate any pointers toward achieving what I'm after here. Thanks in advance!

Collin Biedenkapp

Product Version: Not Selected
Tags:
more ▼

asked Jul 10 '14 at 03:53 PM in C++ Programming

avatar image

turbofandude
6 1 3 2

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

My Steam Tutorial

I have a tutorial on getting set up with steam where I explain where to get the .DLLs from!

https://wiki.unrealengine.com/Steam,_Using_the_Steam_SDK_During_Development

Enjoy!

Rama

more ▼

answered Jul 10 '14 at 08:33 PM

avatar image

Rama
10.6k 446 346 1088

avatar image turbofandude Jul 12 '14 at 02:09 AM

Rama, that's excellent! Thank you! Once this is set up, will I be able to use the in-editor multiplayer settings via Steam? Is that how it works? (i.e. function/variable replication will occur via Steam).

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question