Understanding and Teaching Python for Unreal Engine | Unreal Educator Livestream

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 ม.ค. 2025

ความคิดเห็น • 79

  • @caiyan26
    @caiyan26 3 ปีที่แล้ว +26

    32:17 Plugin Setup for using Python
    33:40 Project Settings: Why to enable Developer Mode
    35:31 Where to find PythonStub and use in your IDE
    36:39 Project Settings: Python Developer Mode
    38:28 Executing your first Logger.py (eg hello world, unreal.log_warning/erros("strings"))
    40:48 Difference between installing package within UE/your Default Python Versions
    47:45 Query Global Editor Utility Base (get asset name, class etc)
    55:45 Editor Scripting - create bluepring asset - unreal.BlueprintFactory
    1:04:23 how to change BP class with python in seconds
    1:06:05 how to auto save BP once generated with python
    1:08:20 Passing arguements, eg create and auto rename BP asset
    1:14:31 How to hook python script to UI (Create Editorial Widget) - eg: make an Asset Creator
    1:21:00 project naming convention examples
    1:22:19 Github/Forum github.com/mamoniem?tab=repositories
    1:23:30 Q&A/live demo: can you run python script on Run Time? (eg take a screenshot for every jump)
    1:35:05 Q&A/live demo: example: animate cube with Tag with Python
    1:45:09 Q&A/live demo: combining python with Editor Widget
    1:48:50 Q&A/live demo: Where to start learning python
    1:52:06 Q&A/live demo: renaming sublevels
    1:53:54 Q&A/live demo: General Practice on Python vs Blueprint vs C++

    • @britox.6216
      @britox.6216 ปีที่แล้ว

      Thank you 🙏🏽

  • @isfa-studio
    @isfa-studio 4 ปีที่แล้ว +28

    I had no idea it's possible to use Python inside of Unreal. This is super exciting! Let the deep learning projects begin! Thanks for this livestream :)

    • @whoareyoudude2697
      @whoareyoudude2697 4 ปีที่แล้ว +1

      It's used in the editor, not play time

    • @isfa-studio
      @isfa-studio 4 ปีที่แล้ว

      @@whoareyoudude2697 Ah yea you're right, thank you. In that case it might be fun to see if a neural net can learn some parts of level design! Either way, very exciting :)

    • @whoareyoudude2697
      @whoareyoudude2697 4 ปีที่แล้ว +2

      For sure. Check out tensorflow for UE if you are into NN

    • @isfa-studio
      @isfa-studio 4 ปีที่แล้ว

      @@whoareyoudude2697 Thanks a million! I just set up the Tensorflow for UE and it's fantastic, should keep me busy for the next few weeks of quarantine. Along the way I also stumbled upon an unofficial repository by 20tab that embeds the Python environment into the engine to be used at runtime but it only works for versions up to UE 4.23 (haven't gotten around to fully testing it yet) in case anyone is interested.

    • @isfa-studio
      @isfa-studio 4 ปีที่แล้ว +1

      @@chronosschiron Yea totally agree. I'm mainly interested in using it either to better visualize my NN experiments or to speed up some parts of development :) Probably won't end up ever using it in a standalone build for the reason you mentioned. Thanks!

  • @LoganPinney
    @LoganPinney ปีที่แล้ว +1

    Holy crap!! Mohammad - WOW ! You sir, are one hell of an inspiration!! "...well i had 3 kids so why not 3 books.." just mind blowing and amazing. I hope you are continuing to write books and share your brilliant mind with us. I am brand new to pyton in Ue and this video was EXACTLY what I needed. Thanks so much, happy Sunday to all who read this.

  • @BalliBee
    @BalliBee 2 ปีที่แล้ว +3

    I love Python.... it's so versatile, especially within a 3D/VR/gaming framework. So happy it can be implemented within Unreal ☺️💛

  • @andreik8885
    @andreik8885 3 ปีที่แล้ว +13

    if you want to use it with VS code - add the path to the PythonStub folder in the Pylance settings. (Settings -> Pylance -> Python:Analysys: Stub Path). Otherwise "import unreal" part doesn't work.

  • @adgd
    @adgd 3 ปีที่แล้ว +9

    Just so you know if that Definition file doesn't work out-of-the-box (in PyCharm) is because PyCharm has a 2.5mb size limit for a definitions file, you gotta change that on Help > Edit Custom Properties

    • @BalliBee
      @BalliBee 2 ปีที่แล้ว

      Thanks for the heads up! 😁🙌

    • @eclecticgamer5144
      @eclecticgamer5144 ปีที่แล้ว

      How? What's the command to type into the custom properties?

  • @mdsanima
    @mdsanima 4 ปีที่แล้ว +2

    WOW! Python for
    @UnrealEngine thats incredible cool! Thank you so much!

  • @deepx8679
    @deepx8679 4 ปีที่แล้ว +9

    Can you all make any python courses or learning path in unreal engine online learning.

  • @stasbakalo6264
    @stasbakalo6264 4 ปีที่แล้ว +3

    Okay, now I know how elite of Unreal Engine looks

  • @vicentecarro
    @vicentecarro 4 ปีที่แล้ว +15

    Any chance of getting this video with more resolution? It has a lot of text and it's hard to see with this resolution/compression

  • @williamsli3745
    @williamsli3745 3 ปีที่แล้ว +4

    This video's resolution just too blurry

  • @parthupadhyaya9806
    @parthupadhyaya9806 4 ปีที่แล้ว +7

    please bring python for gameplay too

  • @arunpillaii
    @arunpillaii 3 ปีที่แล้ว +1

    Thank you! Muhammad

  • @Navhkrin
    @Navhkrin 4 ปีที่แล้ว +41

    Please upgrade Python version to 3.9 on UE5. You guys are using a python version so old that i wouldnt be surprised if source code of it was older than pyramids of egypt. None of the modern python libraries support version 2 anymore.

    • @Navhkrin
      @Navhkrin 4 ปีที่แล้ว +1

      @@ChadVernon They do not actually. They said they were following VFX reference 3 years ago, but havent upgraded their versions according to it since then.
      Current VFX reference platform for example is on Python 3.7 and C++ 17 standard.

    • @ChadVernon
      @ChadVernon 4 ปีที่แล้ว +2

      @@Navhkrin The version never changed because the VFX reference platform used 2.7 for the last 3 years. UE 4.26 uses Python 3.7 which is the current reference standard. It's mentioned in the documentation, public roadmaps, and forum posts that they follow the VFX reference platform.

    • @TheLegendOfTerry
      @TheLegendOfTerry 2 ปีที่แล้ว

      A lot of studios are still upgrading to 3.x as 2.7 is/was the vfx standard version of Python.

  • @mohammedmango5153
    @mohammedmango5153 ปีที่แล้ว

    How can i know Mohammed's Social media or if he have any channel on TH-cam ?

  • @animax-yz
    @animax-yz ปีที่แล้ว

    Is there any resource for Reinforcement learning in unreal engine 5.1?

  • @henkmassink6713
    @henkmassink6713 4 ปีที่แล้ว +3

    I am using PyCharm Edu 2020.3 I can't get the autocompletion working. The maps are different to them in the video. Does somebody has a tip?

    • @Barakooda3D
      @Barakooda3D 3 ปีที่แล้ว

      Same here,
      also the video quality not clear, not sure about the @unreal.uclass()
      line at 50:02

  • @HistoryVideoGamesMiscStuff
    @HistoryVideoGamesMiscStuff ปีที่แล้ว

    Hey, I was wondering if you guys could help me, if only to point me to the right direction. I want to be able to run a python script where after selecting a bunch of collisions in the Physics Editor, running the script will cause all the selected collisions after the first to enable collisions with the first selection. Unfortunately, I don't know where to look to know if this is even viable.

  • @kio21rf
    @kio21rf ปีที่แล้ว

    can someone explain me why he uses uclass decorators? and why does he inherits from static classes?

  • @tikusarmah
    @tikusarmah ปีที่แล้ว

    Mohammad A. Moniem sir, what is your channel name?

  • @pedrosanchezroca181
    @pedrosanchezroca181 ปีที่แล้ว

    using PyCharm, and after all unreal configuration, just by adding 'import unreal' to any script, it stops working, with error: LogPython: Error: SyntaxError: unexpected character after line continuation character (, line 1)

  • @probinertasks6087
    @probinertasks6087 ปีที่แล้ว

    Why use Python instead of Blueprint Utilities?

  • @JackSparrow-vh8zz
    @JackSparrow-vh8zz 10 หลายเดือนก่อน

    quality of the 1080p resolution of this video is so blur ,is that intentional, because OBS studio can record even 720p better than this video's quality 😢

  • @damnosaur
    @damnosaur 4 ปีที่แล้ว +1

    Thank you a lot!

  • @Uh86-0
    @Uh86-0 ปีที่แล้ว +1

    good

  • @legendarygaming9434
    @legendarygaming9434 4 ปีที่แล้ว +2

    please help me i am a big fan of making video games but i have no pc and in december i will buy pc to make games with ue4 or ue5 engine which will probably release pc soon fixed and my budget is 700 € Which graphics card and which processor can you advise me? I would like to know if the dedicated AMD Radeon RX550 2gb graphics card from the AMD Ryzen 5 3400G processor is perfect for booting on ue4, blender and substance painting? Is 8 GB of RAM enough? Thank you and have a nice day hoping you answer me. Sorry for the mistakes!

    • @MrWilburlandaverde
      @MrWilburlandaverde 4 ปีที่แล้ว +1

      This is youtube try browsing some vids..

    • @hadawaycolton4263
      @hadawaycolton4263 3 ปีที่แล้ว

      Radeon RX 5500 XT 4GB do not get the card you are talking about. You should get the AMD Ryzen 5 3400G, but make sure your monitor is for 1080p gaming and not anything like 1440p, or you will have a bad time with 30 frames.

    • @hadawaycolton4263
      @hadawaycolton4263 3 ปีที่แล้ว

      I chose the 5500 XT 4gb because you want atleast 4-8 gb of gddr6 memory rather 2gb of gddr5 memory, in todays modern age.

  • @nickst2797
    @nickst2797 4 ปีที่แล้ว

    Excuse me but since when is python supported? I thought you could only program in c++. What did i miss?

    • @syndromeX
      @syndromeX 4 ปีที่แล้ว

      Python is widely used on 3D modeling ie. Blender, Maya, and many game engines.. for automating processes via scriptings

    • @nickst2797
      @nickst2797 4 ปีที่แล้ว +1

      @@syndromeX can you program UE4 with python?

  • @vikipretium
    @vikipretium 4 ปีที่แล้ว +2

    9:37

  • @raul7430
    @raul7430 4 ปีที่แล้ว

    great live

  • @WutDaHek69420
    @WutDaHek69420 4 ปีที่แล้ว +3

    And i thought they were talking about TESLA

  • @mrnoob7437
    @mrnoob7437 4 ปีที่แล้ว

    My unreal engine is still not working

  • @vicentecarro
    @vicentecarro 4 ปีที่แล้ว +9

    We need python for runtime, not only editor.

  • @eliterobot
    @eliterobot 4 ปีที่แล้ว +1

    very experimental python implementation, many missing commands, some not working, for example if you take picture from play mode you can select camera only if you run eject before, but for eject not find any python implementation command, if someone get succesfull eject command from python or working pause command please report :-)

  • @rashmiranjansahoo7278
    @rashmiranjansahoo7278 4 ปีที่แล้ว

    Tq so much

  • @MrWilburlandaverde
    @MrWilburlandaverde 4 ปีที่แล้ว

    Tom Shannon looks like Brandon dicamillo from viva la bam

    • @MrWilburlandaverde
      @MrWilburlandaverde 4 ปีที่แล้ว

      Had me reminiscing about fast Eddie's tree top casino

  • @kamyker
    @kamyker 4 ปีที่แล้ว +5

    eeee, okey, but C# when :) ?

    • @mrwipwip6279
      @mrwipwip6279 4 ปีที่แล้ว

      They already have that

    • @kamyker
      @kamyker 4 ปีที่แล้ว +1

      @@mrwipwip6279 no

  • @castme.z
    @castme.z 4 ปีที่แล้ว

    Watch this live training tutorial for more better view of python unreal interface: th-cam.com/video/0guOMTiwmhk/w-d-xo.html

  • @stuff7274
    @stuff7274 4 ปีที่แล้ว +2

    I am not impressed by the simplistic examples shown. Also if it can't be packaged for a package, forget about incorporating things for release. It looks ok for stuff you can do within the editor though.

  • @buddiosgaming8541
    @buddiosgaming8541 4 ปีที่แล้ว

    hi

  • @nijq
    @nijq 3 ปีที่แล้ว

    found the paper 2D tutorials! th-cam.com/video/HH7aO7TD3Pk/w-d-xo.html

  • @alpha.anshuman
    @alpha.anshuman 4 ปีที่แล้ว +1

    Aaah so I am the only one who's really wanna do it

  • @joaobrasil3689
    @joaobrasil3689 3 ปีที่แล้ว

    Great livestream. Epic could probably teach public speaking to get rid of all the "ums" and "ahs" and "you knows". Toastmasters.

    • @tony6795
      @tony6795 2 ปีที่แล้ว +1

      This isn't Toastmasters...

    • @joaobrasil3689
      @joaobrasil3689 2 ปีที่แล้ว

      @@tony6795 Duh -they need it unless you like 100 ums - i don't

    • @tony6795
      @tony6795 2 ปีที่แล้ว

      @@joaobrasil3689 I don’t like you.

  • @mrnoob7437
    @mrnoob7437 4 ปีที่แล้ว

    Am soo sad