SC4 Devotion Forum Archives

Other City-Building Games => Other games => [Archived] CityMania - Open Source Sim City => Topic started by: croxis on January 29, 2010, 08:28:56 AM

Title: Content System - Or - How to get new buildings into game!
Post by: croxis on January 29, 2010, 08:28:56 AM
Posted as I want feedback from coders and content makers. This post will serve as the specification.

Citymania will have a package system. What is a package system you window and mac users might ask? Well let me tell you!

In most linux distributions if I wanted to install a program, like firefox, I open up my operating system package manager, search for firefox, and not only will it install firefox, but it will also download any dependencies needed and  it will keep it updated for me. This works by using central public program repositories. Our intention is for Citymania to have something very similar.

The CityMania package system should require the following:
Panda3D provides Multifiles (http://www.panda3d.org/wiki/index.php/Multifiles) and a virtual file system which meet the third, fourth, and fifth criteria. However criteria one and two are unmet. The server, which currently does not use any panda code, will need access to these files as well. This means that the package file is an ordinary zip file that contains package information, any simulator code, and the art multifile for the panda client only, OR everything is contained in the multifile and some panda code will need to be included in the server, OR the server and client are combined into one program and a dedicated server mode can be toggled with a simple shortcut or command line switch.