• Advertisement
Sign in to follow this  

how to make game modable

This topic is 2681 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi all,
I would like to know how to make my game modable, and or make my game a mode of the
game helper/engine Like half life,
Any sugestions/ideas are welcome.

Share this post


Link to post
Share on other sites
Advertisement
Add scripting support, like Lua. Map/World Editor for custom levels, these are good start :)

Share this post


Link to post
Share on other sites
I second the use of scripting languages. For my current project, I'm using C++ for the engine and Lua for all the level sequences and AI code. It's funny, being a sole indie game developer on this project has forced me to deal with art and level design and NOT just programming. What I've found is that when I'm wearing my artists cap or level designer cap I'm able to build complete, scripted levels as well as create and import the art from start to finish without ever touching the C++ source.

So yes, as for modability, with scripting support your users would never have to see the C++ (or java or whatever) underlying code as you could control all game details in external scripts.

Share this post


Link to post
Share on other sites
Quote:
Original post by ryan20fun
Question
Any idea on how to create new entitys with a scripting lanuage?
And how would I do this for my scripting language?


From my limited experience and knowledge, you would need to create an interface between your script language and your code. If you have a script function called CreateEntity or something like that, the definition of that script will call a function written in code that will instantiate that entity for you.

[Edited by - KahunaCoder on October 20, 2010 6:25:19 PM]

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement