All entries for December 2006

December 09, 2006

Work Starts Here.

Follow-up to I'm alive from Transport Tycoon 3D

OK, here’s the update that was supposed to be a day or two since the last post…

If I could use one word to describe the progress I’ve made so far this term on TT3D it would probably be “pitiful”. I’ve never quite got in the “wow, this is so awesome” mood that I managed over the summer and go the first 10K lines written, I’m hoping I can pick that back up again starting this weekend.

OpenTTD Industries

According to my specification the last few weeks should have been spent on getting Towns and Industries in the game but it does seem that that is going to be easier said than done. This week has been spent trying to get Industries into the game and it has certainly proved more difficult than imagined.

Industries in Transport Tycoon come in varied shapes and sizes, but I had made the fatal error of assuming they were all rectangular, alas, Oil Wells and a few others scupper me. Each industry has many different visual respresentations, so while some factories are rectangular others might not be. It’s this that made me realise I needed to start loading data in at runtime now rather than hard-code it for a few more weeks and then worry about it later.

So to System.Xml and the creation of an Industries.xml settings file that is parsed at runtime. This data is then fed into the game and the game will choose what respresentation it wants at the time the industry is created. Currently my lack of models means I’m using my Bus Station/Shelter model to respresent almost everything in the game but it isn’t too much of a problem… yet.

My target for the weekend is to have industries of all types placeable within the world. Then I suppose they can’t really start producing “stuff” until I have the concept of “time” in the game, so that means a start date, and time-based movement. We shall see…

December 2006

Mo Tu We Th Fr Sa Su
Nov |  Today  | Jan
            1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31

Search this blog



Most recent comments

  • I hope progress is being made, I would pay £30 for this game in 3d, I have many years enjoyment from… by AndyC on this entry
  • Well, I'd love to carry on working with it and I suspect I'll try and at least clean up the code and… by on this entry
  • Nice 3YP – a friend and me tried a similar project a while back – your videos of 3d rendered green l… by Cyphus on this entry
  • Also I checked, the presentations are open to anyone that wants to go, Computer Science or otherwise… by on this entry
  • My presentation is CS1.07, the full list is available here (proxy/campus required). by on this entry

Blog archive

Not signed in
Sign in

Powered by BlogBuilder