Author Topic: areas in hak pak  (Read 461 times)

Legacy_Q.dot

  • Newbie
  • *
  • Posts: 40
  • Karma: +0/-0
areas in hak pak
« on: October 18, 2011, 07:24:02 am »


                this is a really stupid question but I wall ask it anyway. Is it possible to store areas in a hak pak, so you potencially have as many hak paks as many areas as you want?
               
               

               


                     Modifié par Q.dot, 18 octobre 2011 - 06:25 .
                     
                  


            

Legacy__six

  • Hero Member
  • *****
  • Posts: 1436
  • Karma: +0/-0
areas in hak pak
« Reply #1 on: October 18, 2011, 09:12:35 am »


               Yes.

Pretty much anything can go in a hakpak. However once it's in a hakpak you can't edit it with the toolset.
               
               

               
            

Legacy_Q.dot

  • Newbie
  • *
  • Posts: 40
  • Karma: +0/-0
areas in hak pak
« Reply #2 on: October 18, 2011, 10:28:26 am »


               could point to how to?
               
               

               
            

Legacy_Shadooow

  • Hero Member
  • *****
  • Posts: 7698
  • Karma: +0/-0
areas in hak pak
« Reply #3 on: October 18, 2011, 10:34:13 am »


               either export the area in erf file and then open the erf file via nwhak.exe extract/open hak import

or go into modules/temp0 (once you open your module) and find three files matching area resref, *.are *.git *.gic - this way is much more clean as it wont add into hak also every script/placeable/creature used in area.

Once you will have it in hak you can safely remove it from your module via toolset.( rather to not delete it manually from temp0, thats not safe)
               
               

               
            

Baaleos

  • Administrator
  • Hero Member
  • *****
  • Posts: 1916
  • Karma: +0/-0
areas in hak pak
« Reply #4 on: October 18, 2011, 11:12:13 am »


               It should also be noted - that by puting it in the hak, allows you to extend your mod beyond the 16k limitation.

Areas contribute to this limit, its roughly 3 files per area. Which can add up fast.
Once you have an area finalized, you can move it into a server-side hak as well  - Areas 'can' be kept server-side. It is not necessary for the clients to possess them in haks.

Just a FYI - I know this isnt a PW discussion, but just in case you ever wondered.
               
               

               
            

Legacy_OldMansBeard

  • Full Member
  • ***
  • Posts: 245
  • Karma: +0/-0
areas in hak pak
« Reply #5 on: October 18, 2011, 02:25:05 pm »


               It's okay to store .are files in hak's because they contain tile lists and that is static information. Storing .git files in hak's can be problematic, however, because they contain dynamic information about creatures, doors, placeables and so on and if you save and reload the module, all their current states are lost as the original file .git gets reloaded from the hak.