LF O3DE or lumberyard Lua code samples

0

Looking for any new or old Lua code samples that still work in O3DE. I have been struggling to find the correct syntax when writing scripts. Even the old lumberyard samples are missing. For example, I cannot find the chickenmannequincontrollersm.lua which I think was part of their tutorial series https://www.youtube.com/watch?v=NaMZtIVCFic&list=LLD7tY2vUDoSbnM1xFzFiRwQ&index=19&ab_channel=AhmadKarami

To clarify, I am only looking for O3DE/Lumberyard Lua code samples, documentation, datasheets, syntax, etc. The O3DE official website is still too green and lacks proper documentation on the syntax.

e.g., https://github.com/drburton/Lua-for-Lumberyard

https://www.youtube.com/watch?v=xGGR-tB1JXQ&list=PLL8RfupSJ6y0D2aKu9ozXx2cgEx8R07Jf&index=3&ab_channel=BurtonsMediaGroup

https://development--o3deorg.netlify.app/docs/user-guide/scripting/lua/

https://github.com/o3de/o3de/tree/b94667fcf56b0af11f94632b71bbedc64ae6536e/Gems/LyShineExamples/Assets/UI/Scripts/LyShineExamples

http://www.lua.org/manual/5.4/

https://www.youtube.com/@AmazonLumberyardTutorials

https://www.youtube.com/@Open3DEngine/featured

https://github.com/awsdocs/amazon-lumberyard-user-guide/

https://www.youtube.com/watch?v=1BFoprD30dE&list=PLL8RfupSJ6y0D2aKu9ozXx2cgEx8R07Jf&ab_channel=DevJeeper

https://www.youtube.com/watch?v=4l5HdmPoynw&list=PLL8RfupSJ6y0D2aKu9ozXx2cgEx8R07Jf&index=6&ab_channel=javidx9

https://www.youtube.com/watch?v=bIXiXQkO11k&lc=UgxugSeE6SJYciEkReR4AaABAg.9tkfiSyMosX9tkmCe5v0pZ&ab_channel=omggomb

https://github.com/lumbermixalot/ScriptEvent_Transpiler

Note: There is also no O3DE tag when asking this question in repost.aws.

RzDmyth
已提問 9 個月前檢視次數 572 次
1 個回答
0

Hi,

This repo provides lots of such samples: https://github.com/drburton/Lua-for-Lumberyard

This video may help as well: https://www.youtube.com/watch?v=nCgoyXBclB8&list=PLmCIMyAeA1zaL-XJR7Gffg-1TEXf4ZTIn

Best,

Didier

profile pictureAWS
專家
已回答 9 個月前
  • Thank you for responding. Those were helpful as a starting point. Still, what I am looking for is something more advanced. Lua should be capable of extending most of the cpp functionality, but there are so few samples left... I am just surprised none of them survived the transition from Lumberyard to O3DE.

    I am also confused why are there more samples of Canvas scripts than Lua scripts, overall speaking. Canvas is arguably harder to maintain. Either missing something or everyone kept the Lua scripts and docs in private reps

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南