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"

[FEATURE REQUEST] Can you add code scripting capabilities?

Hi there,

I find what you have done with UE4 really great, well done guys !

However, I find that the only two ways of defining game mechanics (Blueprints, C++) are somewhat a bit extreme. I would like to see more traditional scripting capabilities using Python, for instance, that would allow to change the game mechanics via code without having to recompile the whole project and close the Editor during the building process.

Kind regards, Mat.

Product Version: Not Selected
Tags:
more ▼

asked Apr 25 '14 at 05:46 PM in Everything Else

avatar image

matmuze
23 4 8 9

avatar image KnightTechDev Apr 29 '14 at 07:53 AM

Today the languages and editors aren't as important, if you have an understanding of the difference in how these things work, and are comfortable in that language you want to use, it's probably something that you could create a project for, if you learn the 2 languages then convert and have a plugin in the main base language with stream reader/writers and some processing/parsing or you have access to the base compiler, such as any modern version of .net being installed, the base compilers are already installed on the Windows based system, in your case you'd need the Python base or set the core to read stream and convert. I kinda wished there were VB.Net language option, but I'm becoming more familiar with Blueprints and the base language implementation is flexible enough as it is to allow even custom scripting left up to the imagination. I hope this makes sense.

A script is nothing more than an interpreted program.

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

1 answer: sort voted first

I would not expect Epic to implement this, but somebody else can do that over time :) I didn't seen any Python implementation affords so far, but currently there 2 languages implementation projects in community that i know of.

  • First one JavaScript made by Bob_Gneu, he implemented Google's V8 JS engine (one used in Chrome) to unreal, it's very experiemntal for now

https://wiki.unrealengine.com/V8_Binding_Plugin

  • 2nd is C#, there huge demand on this one spawning lot of hot C++ vs C# debates on forums :p But efforts here looks a lot more promising, some team is working on C# support together with editor intgration allowing to edit code inside the editor in similar way to blueprints :) They plan to release it in June

https://forums.unrealengine.com/showthread.php?110-Mono-C-Bindings-for-Unreal-4&p=12237&viewfull=1#post12237

They might be good substitute for python, if you think not, i think you could spawn discussion about python implementation on forums, maybe somebody will be interested to do so

more ▼

answered Apr 25 '14 at 07:10 PM

avatar image

Shadowriver
35.9k 928 169 1105

(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