Author Topic: New town models  (Read 2981 times)

0 Members and 1 Guest are viewing this topic.

roborob

  • Squire
  • *
  • when did this get here
    • View Profile
    • My L337 photoshop skills!
  • Faction: Neutral
  • MP nick: Roborob or Stelios
  • M&BWB
New town models
« on: December 14, 2005, 11:31:05 AM »
could someone give me an indepth guide to adding a city model, I can already make it texture it and put the texture file in, but after that point I'm lost.
Steam Name: Thehunterunseen

Thorgrim

  • Cartographic Conquistador
  • Moderator
  • *
    • View Profile
New town models
« Reply #1 on: December 14, 2005, 01:50:37 PM »
I'll try write up a tutorial for it some time soon, now that the editor supports them properly.  It's not too hard, but your right, its a little confusing at first.

roborob

  • Squire
  • *
  • when did this get here
    • View Profile
    • My L337 photoshop skills!
  • Faction: Neutral
  • MP nick: Roborob or Stelios
  • M&BWB
New town models
« Reply #2 on: December 14, 2005, 02:12:07 PM »
Allright cool, until then I'll just make cool models.
Steam Name: Thehunterunseen

Yoshiboy

  • Master baiter
  • Moderator
  • *
  • - Everything is a metaphor -
    • View Profile
    • My Website
  • Faction: Neutral
  • MP nick: irc://yoshiboy
  • M&BWB
New town models
« Reply #3 on: December 14, 2005, 02:23:10 PM »
personally i would just wait until the tools are updated, as its easier, not having to write a complex tut and going through an easier process.

Thorgrim

  • Cartographic Conquistador
  • Moderator
  • *
    • View Profile
New town models
« Reply #4 on: December 14, 2005, 06:21:43 PM »
True, if everyone is getting by without it then Lurb will never finish the new version :P

Sorry roborob but you might have to wait a little longer.  Just keep stockpiling those models for when it is ready :D

Edit: ok posted a quick guide below

Anonymous

  • Guest
New town models
« Reply #5 on: December 14, 2005, 09:17:40 PM »
could someone just give me an outline on how to do it, please :cry:






-Roborob

Yoshiboy

  • Master baiter
  • Moderator
  • *
  • - Everything is a metaphor -
    • View Profile
    • My Website
  • Faction: Neutral
  • MP nick: irc://yoshiboy
  • M&BWB
New town models
« Reply #6 on: December 14, 2005, 09:23:08 PM »
there is no outline :P it is a hugely complecated process. It would take a long time to even give you an outline. Sorry.

It will be very easy soon enough.

roborob

  • Squire
  • *
  • when did this get here
    • View Profile
    • My L337 photoshop skills!
  • Faction: Neutral
  • MP nick: Roborob or Stelios
  • M&BWB
New town models
« Reply #7 on: December 14, 2005, 10:45:51 PM »
ok, I can wait, i guess. :(

but while I do, I can be making them :)
Steam Name: Thehunterunseen

Thorgrim

  • Cartographic Conquistador
  • Moderator
  • *
    • View Profile
New town models
« Reply #8 on: December 15, 2005, 05:27:58 AM »
Very briefly...


First, add textures:



The quick and messy way: (just for testing)

Use n008s tutorial to add the new texture to materials.brf and texture_names.brf



The time consuming but right way:

Save the new texture name and material in new file(s) (you can put both in 1 file, but its easier to just make it 2 separate ones) in <your module>/Resource.  These files should have ONLY your new texture (or textures if adding mode models)

Add "load_module_resource = <file_name>" for each to your module_info.txt

Copy your materials file over the material.brf file in CommonRes (back up the old one) then copy the old one back once you have finished the next step.


Adding the model

Load up Lurbs BRFview, open up any brf file, like "strategy_misc_data.brf" or something.

Delete all the models in there, import your new one, set the texture and name, save the file into your module Resource directory, and add a line in module_info.txt for this new file.

Also add the same new line to editorData\resources.txt (only add the brf with the mesh, not your new materials files here)

Remember to copy back the old materials file

Final step

Open map_icons.txt

Add 1 to the 1st number

Then add a line at the bottom: <models name> <scale> 5 (5 is just the sound id, and since the town doesnt move this makes no difference)


Now you can load up the map editor, select a town and press the + key (not the + button on the GUI) to get your new map icon, save the map, and pray that it now shows up in game :P

There we go... Hope I remembered it all, that's just off the top of my head.  Have fun :)

Anonymous

  • Guest
New town models
« Reply #9 on: December 15, 2005, 01:29:13 PM »
WOW! :D

thanks a whole lot for that!





-Roborob

-GandalfTheGrey

  • ConnĂ©table
  • Squire
  • *
    • View Profile
  • Faction: Neutral
New town models
« Reply #10 on: December 15, 2005, 06:48:22 PM »
Could you include the castles on your map in the next release ? They just fit perfectly for me, no need to create my own icons... :P