Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 2 3 [4]

Author Topic: City Of Hammers (3D Dwarf Fortress-esque game)  (Read 14652 times)

Ghills

  • Bay Watcher
    • View Profile
Re: City Of Hammers (3D Dwarf Fortress-esque game)
« Reply #45 on: February 02, 2012, 10:21:35 pm »

Yay new version!  I'll take a look sometime tomorrow.

I'm always happy to test stuff. I develop software in my day job, and getting good (i.e., detailed) bug reports is always nice.  So much better than "The app doesn't work", which is the usual level of detail for our bug reports.
Logged
I AM POINTY DEATH INCARNATE
Ye know, being an usurper overseer gone mad with power isn't too bad. It's honestly not that different from being a normal overseer.
To summarize:
They do an epic face. If that fails, they beat said object to death with their beard.

MechPlasma

  • Bay Watcher
    • View Profile
Re: City Of Hammers (3D Dwarf Fortress-esque game)
« Reply #46 on: February 08, 2012, 01:24:15 pm »

Version 13! (58kb)
  • NPCs can now be ordered to attack the nearest enemy. (remember, F10 + U to spawn enemies)
  • Proper build menu added. At last!
  • Dark Rock added. Blocks made of Dark Rock will be dark in appearance now.
  • Blocks now drop as much materials as they needed to create.

This is basically finishing off that I intended to do very early on. Fancy that!
And no, I didn't add in the Main Menu yet. And I'll expand the NPC code to allow for dedicated militia once I actually make enemies spawn in waves.

...

Next week: trading! Or maybe making enemies and immigrants spawn in waves. With any luck, I'll be able to do both!

And maybe a Main Menu. I'm suspecting not doing that is going to turn into a running theme.
Logged

Mephansteras

  • Bay Watcher
  • Forger of Civilizations
    • View Profile
Re: City Of Hammers (3D Dwarf Fortress-esque game)
« Reply #47 on: February 09, 2012, 01:09:52 pm »

Posting to watch
Logged
Civilization Forge Mod v2.80: Adding in new races, equipment, animals, plants, metals, etc. Now with Alchemy and Libraries! Variety to spice up DF! (For DF 0.34.10)
Come play Mafia with us!
"Let us maintain our chill composure." - Toady One

MechPlasma

  • Bay Watcher
    • View Profile
Re: City Of Hammers (3D Dwarf Fortress-esque game)
« Reply #48 on: February 23, 2012, 03:23:37 pm »

And now Version 14! (60.7kb)

  • Partways of trading done.

Yeah, that’s pretty much it. The whole trading thing is taking longer than I expected.

Well okay, that’s not all I did this week. I also looked into and figured out how I plan on doing the multiplayer. That’ll come after trading.

And yes, I did make the trading center have the same placeholder as the workshop. Try not to get them mixed up.
« Last Edit: February 29, 2012, 07:06:09 pm by MechPlasma »
Logged

kytuzian

  • Bay Watcher
    • View Profile
    • Kytuzian - Youtube
Re: City Of Hammers (3D Dwarf Fortress-esque game)
« Reply #49 on: February 23, 2012, 04:17:22 pm »

The only bad thing I can think of when playing this is that there are no hotkeys. While it may be fine for non-dwarf fortress players, it bugs me to no end.

Other than that, great job so far!

MechPlasma

  • Bay Watcher
    • View Profile
Re: City Of Hammers (3D Dwarf Fortress-esque game)
« Reply #50 on: February 29, 2012, 07:05:01 pm »

Don't forget about Version 15! (63kb)

  • The rest of trading done.
  • Items can now be deposited at trading centres.
  • Caravans enter and leave.
  • Time-based events. Immigrants, caravans, enemies

Depositing items? Yeah, the NPCs take all available items and put them in the trading center. I might change that, but for the time being it's just a lot more convenient.

Oh yeah, and time-based events are a big one! There's no increasing enemy difficulty or such yet though, and the huge size of the maps (I have it set that you can choose the size, but until a main menu arrives it's set to be the biggest it can be) makes things... awkward for arrivals. The arrival rates vary, but after the first of each I think they arrive after about... 10 or 15 minutes. That'll be reduced later on.

Next week: multiplayer! At last!

The only bad thing I can think of when playing this is that there are no hotkeys. While it may be fine for non-dwarf fortress players, it bugs me to no end.

Other than that, great job so far!
Right, I keep forgetting to add that. It's been on my To-Do list for ages.
Logged

quinnr

  • Bay Watcher
    • View Profile
Re: City Of Hammers (3D Dwarf Fortress-esque game)
« Reply #51 on: February 29, 2012, 08:40:13 pm »

Oh, interesting project! Keep up the good work!
Logged
To exist or not exist, that is the query. For whether it is more optimal of the CPU to endure the viruses and spam of outragous fortune, or to something something something.

Brotato

  • Bay Watcher
  • Beware the Destroyer of Threads!
    • View Profile
Re: City Of Hammers (3D Dwarf Fortress-esque game)
« Reply #52 on: February 29, 2012, 09:59:02 pm »

Hey, I tried playing but couldn't get anyone to build anything or to scroll the map. What was I doing wrong?
Logged
Dwarf Fortress: The only game where people will hold a logical discussion about why dwarves are putting on clothes.
OK, I have to reload the save.
There was a bit of a problem regarding flashfreezing, a ballistae, and a barrel of dwarven ale. Gonna fix it up.

MechPlasma

  • Bay Watcher
    • View Profile
Re: City Of Hammers (3D Dwarf Fortress-esque game)
« Reply #53 on: March 07, 2012, 06:33:39 pm »

Version 16 plus server (117kb)
  • Online connectivity!

It's... the start of multiplayer! Woop! But it's also an important one, because I really need you lot to test it out, if you can. If it works, I'll expand it into something proper.

...

Okay, so, explanation - because it's certainly not very understandable at the moment. The server is a stand-alone program at the moment, but it'll be integrated into the game next time. In-game, that textbox next to Connect To is editable, so put whatever IP address to connect to there (localhost connects to the current computer, if you didnt know), and press the Connect To button (enter works too). It'll freeze as it tries to connect (I'll fix that too), and unfreeze if it can't.

If it can, it'll run the game as normal. Pressing F10 shows the Console and general debug mode. There should be a Test message every 5 seconds, that's from the server. Once in that, press U to send an attack through the server... to yourself. Because that's the only way to test it right now. If it works properly, you'll get a message, and subsequently get attacked.

Oh, and if you actually need it, the connection port should be 14242.

...

And what's my actual multiplayer plans? Well, you should be able to trade with each other, send reinforcements, or send guys to attack. It will be able to have multiple people per server, unlike how I first planned. Aaand that's about it.
« Last Edit: March 08, 2012, 09:23:01 am by MechPlasma »
Logged

MechPlasma

  • Bay Watcher
    • View Profile
Re: City Of Hammers (3D Dwarf Fortress-esque game)
« Reply #54 on: March 21, 2012, 07:34:32 pm »

Version 17 (120kb)

  • Finished off networking systems
  • Hosting no longer requires a separate program
  • The camera is (at very long last) rotatable
  • Saving/Loading has been properly updated and is now fully working again


So hey - I only have one week left to finish this off! TENSION!

Anyway, in terms of multiplayer, you can launch an attack or lend someone some guys. Despite how much I expected to have it the entire project through, I don't think I'll have multiplayer trading in the end. Oh well.
The camera is going to be the most notable change in this. That, and now everything is GREEN!
And saving is actually not fully complete - it doesn't save enemies, for example. But that's a small change.

So what do I still have to do? Well most of the week is going to be, quite simply, terrain generation! I'll FINALLY have actual objects, materials, etc too, but that shouldn't actually be a big task. And the AI need to be more random, rather than always going vertical then horizontal - that always annoyed me. But after that... that's pretty much it, really!


Oh yeah, and I still have a 15,000 word report on this to do too. Did I forget to mention that? It's not going to be fun...
Logged

MechPlasma

  • Bay Watcher
    • View Profile
Re: City Of Hammers (3D Dwarf Fortress-esque game)
« Reply #55 on: March 28, 2012, 05:35:33 pm »

very-nearly-finished version! (146kb, hosted on Minus.com)

I'm gonna leave out the change-long because a heckuva lot changed!
The AI is still kinda lousy though. It works, but that's about it.

Anyway, yes, it is due for demonstration tomorrow! The reason I'm putting it here now rather than tomorrow is so that I can get feedback on any last-minute bugs and such!
It is really nearly finished though. The last thing I can think of that I want is to be able to do stuff with metal and workshops, which isn't in now. I'd like to put it in, but at this point I'm exhausted today.

Also, like I said, I'll be uploading the source code too!
Logged

Thief^

  • Bay Watcher
  • Official crazy person
    • View Profile
Re: City Of Hammers (3D Dwarf Fortress-esque game)
« Reply #56 on: March 29, 2012, 01:48:29 am »

I got a crash in EventManager.SpawnCaravans() because it called System.Random.Next() with the minValue larger than the maxValue.
Logged
Dwarven blood types are not A, B, AB, O but Ale, Wine, Beer, Rum, Whisky and so forth.
It's not an embark so much as seven dwarves having a simultaneous strange mood and going off to build an artifact fortress that menaces with spikes of awesome and hanging rings of death.

MechPlasma

  • Bay Watcher
    • View Profile
Re: City Of Hammers (3D Dwarf Fortress-esque game)
« Reply #57 on: April 12, 2012, 05:40:15 pm »

So: final version!
http://lugh2.it.nuigalway.ie/CityOfHammers/Versions/CityOfHammers.zip



And the source code (in C# - the massive Project Report should help explain it a lot)
http://lugh2.it.nuigalway.ie/CityOfHammers/CityOfHammersCode.zip

Aaanyway, last words.
Um...

Well, it was great fun doing it, and I really appreciate the support. It really didn't work out as a game - as in, it's not really fun to play, and I can't recommend doing so - but it was first and foremost meant to be a learning experience for me, and it was. So I'm satisfied.
Like I said I would, I also added the source code for the project, as well as the project report. If anyone does try a similar game, or just wants to learn how to do a specific thing from it, it's available for them.

Uh...
And I guess that's it!
« Last Edit: April 12, 2012, 05:42:08 pm by MechPlasma »
Logged

Thief^

  • Bay Watcher
  • Official crazy person
    • View Profile
Re: City Of Hammers (3D Dwarf Fortress-esque game)
« Reply #58 on: April 13, 2012, 08:06:50 am »

Congrats on finishing. Finishing's always the hardest part of any project.
Logged
Dwarven blood types are not A, B, AB, O but Ale, Wine, Beer, Rum, Whisky and so forth.
It's not an embark so much as seven dwarves having a simultaneous strange mood and going off to build an artifact fortress that menaces with spikes of awesome and hanging rings of death.
Pages: 1 2 3 [4]