Duke4.net Forums: Lua scripting for EDuke? - Duke4.net Forums

Jump to content

Hide message Show message
Welcome to the Duke4.net Forums!

Register an account now to get access to all board features. After you've registered and logged in, you'll be able to create topics, post replies, send and receive private messages, disable the viewing of ads and more!

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Lua scripting for EDuke?

User is offline   Darkhog 

#1

Since I didn't see anywhere "suggestions" forum, I'll post it there. If admins/mods see this more fitting in other board, feel free to move. Also this is my first post so hello!

How about adding support for Lua scripting into EDuke32? Of course CON support should be kept for compatibility reasons, but should be deprecated in favor of Lua.

Using of modern scripting engine like Lua would add support for:
- Vast system library
- Ability to change behavior that is otherwise hardcoded into engine (i.e. no more using detonator to detonate hand grenades like in Platoon)
- Easy to understand syntax. Seriously, Lua is one of easiest to pick up language.
- Widely used language. Learning to use CON will only teach you how to do stuff to Duke. Learning Lua will enable you to use it in any program that includes Lua scripting - ComputerCraft mod for Minecraft, CraftStudio, LOVE (cool game engine, by the way although kinda barebone), Photoshop, World of Warcraft, Firefox - to name a few (source: https://sites.google...ere-lua-is-used). So if you learn Lua, you'll be able to use it in any software that has support for it. If you learn CON... you'll just learn CON which has little usage outside Duke modding.
0

User is offline   Fox 

  • Fraka kaka kaka kaka-kow!

#2

Actually the developers have been working in Lua language as a replacament for quite some time.

This post has been edited by Fox: 05 June 2013 - 10:24 PM

0

User is offline   Darkhog 

#3

Oh, cool then! I hope they'll succeed!
0

User is offline   Plagman 

  • Former VP of Media Operations

#4

I think the LUA bindings to the engine are pretty solid now, most of the work that's left to do is shoe-horning a CON interpreter into LUA to be able to get rid of the legacy game code at some point. But in theory you could start working on a LUA mod from scratch if you don't have any pre-existing CON code. You should talk to Helix, he's been the driving force for that work.
2

User is offline   blizzart 

#5

View PostPlagman, on 10 June 2013 - 01:14 PM, said:

I think the LUA bindings to the engine are pretty solid now, most of the work that's left to do is shoe-horning a CON interpreter into LUA to be able to get rid of the legacy game code at some point. But in theory you could start working on a LUA mod from scratch if you don't have any pre-existing CON code. You should talk to Helix, he's been the driving force for that work.


Will there be a documentation for EDuke´s LUA scripting?
1

User is offline   Plagman 

  • Former VP of Media Operations

#6

When it's ready, yes. The goal is for it to phase out CON completely.
1

User is offline   TerminX 

  • el fundador

  #7

View PostPlagman, on 10 June 2013 - 08:35 PM, said:

When it's ready, yes. The goal is for it to phase out CON completely.

RIP most of my work and several years of my life. :)
3

User is offline   Fox 

  • Fraka kaka kaka kaka-kow!

#8

It would still be necessary to run the default CONs...
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic


All copyrights and trademarks are property of their respective owners. Instead of reading this text, you could be playing Ion Fury! ;) © 2019 Voidpoint, LLC

Enter your sign in name and password


Sign in options