Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Chman_a11w

Implementing a mod system

This topic is 5710 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

i''ve alwais wanted to know how developpers do to make their game supporting mods... anyone can explains me in detail please ? thx Ch*man

Share this post


Link to post
Share on other sites
Advertisement
I don''t understand your question. Some companies allow their games to be moddable by releasing source code, while other games like diablo 2 require the modders themselves to find a way to mod the game themselves.

Share this post


Link to post
Share on other sites
Have the exe load the game content from a different folder for the different mod. This is what Quake 2/3 does.

- Rob Loach
OverTech Technologies
-----------
"Life moves pretty fast. If you don''t stop and look around once in awhile, you could miss it."
- Ferris Bueller

Share this post


Link to post
Share on other sites
To make your game moddable, just make it easily configurable. Pack a lot of the main variables in your game into a textfile, then when your game runs you can read these variables in.

But if you want your game to have full-blown mods like half-life or quake, you''ll need a scripting system to let the modder do what he wants to do. You have many choices here, but the most popular seems to be: create a parser/vm for a scripting language, or make use of dll files. Each of these choices has a downside: the former will add several months to your development time, and the latter makes the modder use C (or any other system programming language) to make the DLL.

My recommendation would be to embed a pre-existing scripting language into your app because it will save you months of development time, and you can use the same language in future projects.

Share this post


Link to post
Share on other sites
quote:
Original post by Chman_a11w
i''ve alwais wanted to know how developpers do to make their game supporting mods... anyone can explains me in detail please ?

thx

Ch*man


Keep game engine separate from game logic. Game engine is the executable, and game logic can be compiled in a DLL file. This way you can release source to game logic without exposing the actual game engine technology.

Share this post


Link to post
Share on other sites
Scripting was the way followed in Unreal but I believe Halflife/Quake use DLL''s. DLL''s are easier for the developer to implant but scripting can often be easier for the public to use.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!