Radical Spark modding

MOOtantMOOtant Join Date: 2010-06-25 Member: 72158Members
Is there any hope of getting interfaces for C++ parts of the engine to be able to write C++ -> C -> some language bindings to it? Let's say I want to make a mod, I'm fine with tools and C++ part of the engine but I don't like Lua. I can keep binary compatibility using C++->C->some language layers. Is luabind actively used in C++ layer to call Lua code making such design impossible?

Comments

  • playerplayer Join Date: 2010-09-12 Member: 73982Members
    I would support being given access to some portions of the engine (which I've frequently longed for, for many features in ovrmind). I do recall max mentioning the future INability to run DLLs from the client Lua-VM, suggesting UWE doesn't wish for custom machine-code to be run on the clients. Meaning any modding using C++\C would be server-side, and would involve the NS2 lua-script, there's no way getting around that (unless you're litterally rewriting the whole of NS2-gamelogic to make it fully C++\C server-side).

    I really do wish they'd just gone with a gamelogic-DLL for NS2 instead of Lua, it would've been so much easier and more powerful to work with.
  • MOOtantMOOtant Join Date: 2010-06-25 Member: 72158Members
    I'm fine with rewriting every single thing they wrote in Lua. But I guess that coupling might be tight enough to make removing Lua impossible.
  • ZurikiZuriki Join Date: 2010-11-20 Member: 75105Members
    The Spark engine will be for sale when it's done, so you'll have full access to the source code. I don't know about NS2 source code.
  • playerplayer Join Date: 2010-09-12 Member: 73982Members
    I don't think he ment buying the engine when he was talking about modding. id-Tech 4 is supposed to be GPL'ed around Rage's release, which may be a better (and free) alternative. Access to the NS2-source is what we have right now, it's the Lua-script (with possibly a tidbit in the engine for performance-critical sections).
  • ZurikiZuriki Join Date: 2010-11-20 Member: 75105Members
    <!--quoteo(post=1855885:date=Jun 23 2011, 09:52 PM:name=player)--><div class='quotetop'>QUOTE (player @ Jun 23 2011, 09:52 PM) <a href="index.php?act=findpost&pid=1855885"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->I don't think he ment buying the engine when he was talking about modding. id-Tech 4 is supposed to be GPL'ed around Rage's release, which may be a better (and free) alternative. Access to the NS2-source is what we have right now, it's the Lua-script (with possibly a tidbit in the engine for performance-critical sections).<!--QuoteEnd--></div><!--QuoteEEnd-->
    Yeah but, buy access to the engine and you have NS2's source code at hand... so you can mod parts of the engine to suit your needs.
  • MOOtantMOOtant Join Date: 2010-06-25 Member: 72158Members
    <!--quoteo(post=1855886:date=Jun 23 2011, 10:56 PM:name=Zuriki)--><div class='quotetop'>QUOTE (Zuriki @ Jun 23 2011, 10:56 PM) <a href="index.php?act=findpost&pid=1855886"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Yeah but, buy access to the engine and you have NS2's source code at hand... so you can mod parts of the engine to suit your needs.<!--QuoteEnd--></div><!--QuoteEEnd-->
    I don't remember asking you for opinion. I had 1, precise question.

    If you want to mix commercial use with it then I'd go with UDK because it's tested, fast and cheap while NS2's engine is not or unknown.
  • ZurikiZuriki Join Date: 2010-11-20 Member: 75105Members
    <!--quoteo(post=1855904:date=Jun 23 2011, 10:44 PM:name=MOOtant)--><div class='quotetop'>QUOTE (MOOtant @ Jun 23 2011, 10:44 PM) <a href="index.php?act=findpost&pid=1855904"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->I don't remember asking you for opinion. I had 1, precise question.

    If you want to mix commercial use with it then I'd go with UDK because it's tested, fast and cheap while NS2's engine is not or unknown.<!--QuoteEnd--></div><!--QuoteEEnd-->
    And I don't remember asking you for a rude response, but you get what you're given huh?

    Besides, I gave you an answer and that specific comment wasn't even intended for you - hence the quote from player.
Sign In or Register to comment.