

Regarding scripting in a map, how have we planned doing this? Which language?
andrewbuck {l Wrote}:I split this topic off into its own thread (I have done that with a few threads to far, I hope no one minds) as I think it makes the discussions much easier to review later on if we use lots of threads and try to keep each thread on topic as much as possible.
Regarding map design, that would be cool if you wanted to start working on that. If you upgrade to Ubuntu 9.10 the game now builds correctly against the libraries ubuntu ships with so much of the pain is removed. I'm not sure about other distros, though. Also note that once you have successfully built the game once, building updated versions will be easy. The windows build is a bit out of date since the level format has changed a bit since then, I can try to get a new release built in the next few weeks but it is tough for me since I only have access to an XP virtual machine.
Back on the subject of maps, we should start trying to brainstorm for some neat things to do with the maps, so once you (or others) start building them they can take advantage of the ideas. Interesting things to note about the games design is that maps can be any shape, and can have holes, or islands in them. This can be done because the tiles are stored in the level file with their X-Y coordinates, instead of being stored in grid format (so don't be afraid to make a level with one long arm sticking out, this is no less efficient to store/load than a boring square level). This removal of restrictions on level shape means that, for example a 3 person map could be triangle shaped so all three players get the same layout (this is a big improvement over the design of other RTS games). Furthermore, we could make a map with lots of little round sections joined together by a web of pathways (with little holes in between the various pathways), or a "spoked wheel" kind of map where you have lots of individual areas connected to a central "core" region.
As for scripting, I haven't given that any thought. I really don't know how to allow scripting on a map and how to let it interact with the rest of the game engine. The goals I asked people to come up with in the other thread were going to be coded in C++ like the rest of the game. The level file then just specifies which goals are needed for victory (and their corresponding arguments) and then they are loaded into a list of things that need to be done by each Seat (a seat is a basically a single dungeon keeper, multiple players can share a seat to allow for teams, spectators, etc). In a way I think this is the best design because since a lot of computation has to be done inside the server, it needs to be very fast. Not only are scripting languages themselves quite a bit slower, but passing things to the scripts and then back to the game could be a serious bottleneck.
-Buck
Bodsda {l Wrote}:I thin kI may have found a possible solution. We could make the levels event driven based upon trigger points. By this I mean we have a certain point on the map (decided by the map designer) or many points on the map, that when triggered would create a new goal.
Users browsing this forum: No registered users and 1 guest