Plugins method

Discuss a Transport Tycoon-like game being programmed by forum users.

Moderator: Transport Empire Moderators

Post Reply
User avatar
Ne0Que
Engineer
Engineer
Posts: 43
Joined: 07 Jan 2008 22:25
Location: Borger, the Netherlands

Plugins method

Post by Ne0Que » 15 Mar 2008 01:51

I dont know if this is possible, but i think so.

I think it is a good idea to let the game look first in (ex: my documents/Transport Empire/Plugins) and get all the content that was dumped there.

Its like Simcity 4 does. Just one file, and a simple plugin program to activate / deactivate any plugin that is in the folder. I think that the coders who have not the skill to code the game by themselves, they can code such a plugin program. It reads the plugin, and switch it on or off.

A plugin datafile needs:
  • Configurations (like on / off)
  • Screenshot (if it is graphical)
  • Dependencies (packs)

Game coders:
After checking all the dependencies (if it is needed) it will run the game. If there is an error or missing file / dependency pack or whatever, the game should return an error message with the name of the missing dependency (pack).

With this all, the content for this game will be made by a huge comunity. For example, if you like to use USA road textures, you can enable / disable that in that plugin program.
Stop those stupid shooting games, make peaceful games!

User avatar
NukeBuster
Traffic Manager
Traffic Manager
Posts: 222
Joined: 04 Jan 2006 18:16
Location: Alphen aan den Rijn, The Netherlands
Contact:

Re: Plugins method

Post by NukeBuster » 15 Mar 2008 16:28

Actually I like the way Openttd handles the NewGrf's. You would be able to load (Te Media zip's*) from inside the game, and enable/disable them from the same screen. Check the Openttd NewGrf window.

*We have chosen a .zip /.tar method to group media files together as Ogre already has full zip support. And they were to be coded with LUA. Their should be a topic about that in the forums somewhere.(Although nothing towards that has been coded yet AFAIK.) For more information look through the meeting logs from last meeting.
NukeBuster

Transport Empire: The Transport Empire Linux effort
Join the Transport Empire IRC channel: [url]irc://irc.oftc.net/transportempire[/url] !

OpenTTD patch(es): Password at join

Post Reply

Return to “General Transport Empire Discussion”

Who is online

Users browsing this forum: No registered users and 3 guests