Author Topic: Using CEP, but overriding certain 2da values  (Read 338 times)

Legacy_Terrorble

  • Sr. Member
  • ****
  • Posts: 370
  • Karma: +0/-0
Using CEP, but overriding certain 2da values
« on: April 24, 2013, 04:24:06 pm »


                My project uses CEP2.4, but I want to make some changes to 2da values that are contained in cep2_top_v24 (not add/subtract lines, just alter some values of say iprp_immunecost.2da)

Will it work if I make my own hak containing the modified 2da and give it priority over cep2_top_v24, as long as my players also download the hak?  

Or, (from an understanding standpoint) would it work to replace the cep version of the 2da in cep2_top_v24 with the updated version?  And, in that case, would players need to download something other than CEP to see the changes?  (the answer is probably no, if they are playing from the server; yes, if they are hosting the mod themselves)

Insights appreciated.
               
               

               
            

Legacy_The Amethyst Dragon

  • Hero Member
  • *****
  • Posts: 2981
  • Karma: +0/-0
Using CEP, but overriding certain 2da values
« Reply #1 on: April 24, 2013, 04:56:14 pm »


               If you are hosting a game on your server, you can extract that 2da file from the CEP top hak, make your changes, and save it to your local copy of cep2_custom.hak.  

The only 2da files that need to be shared with players are ones that control things on their end (spells, appearance, placeables, classes, etc.).  Things like iprp_immunecost.2da should be fine server-side only.

If you are making a single-player module, you'll want to make a small new top hak for your module and include the hak in the download.

Either way, just place the hak with the updated 2da in higher priority for the module (Edit > Module Properties > Custom Content), and it'll take precedence over the one in the cep2_top_v24 hak.
               
               

               
            

Legacy_Terrorble

  • Sr. Member
  • ****
  • Posts: 370
  • Karma: +0/-0
Using CEP, but overriding certain 2da values
« Reply #2 on: April 24, 2013, 05:07:43 pm »


               

The Amethyst Dragon wrote...

If you are hosting a game on your server, you can extract that 2da file from the CEP top hak, make your changes, and save it to your local copy of cep2_custom.hak.  


Doing this crossed my mind, but cep2_top_v24 has priority over cep2_custom, and iprp_immunecost is in the top hak.  Wouldn't that override my version if I saved my version in cep2_custom?
               
               

               


                     Modifié par Terrorble, 24 avril 2013 - 04:08 .
                     
                  


            

Legacy_The Amethyst Dragon

  • Hero Member
  • *****
  • Posts: 2981
  • Karma: +0/-0
Using CEP, but overriding certain 2da values
« Reply #3 on: April 25, 2013, 05:06:20 pm »


               

Terrorble wrote...

The Amethyst Dragon wrote...

If you are hosting a game on your server, you can extract that 2da file from the CEP top hak, make your changes, and save it to your local copy of cep2_custom.hak.  


Doing this crossed my mind, but cep2_top_v24 has priority over cep2_custom, and iprp_immunecost is in the top hak.  Wouldn't that override my version if I saved my version in cep2_custom?


In your modules properties > custom content tab, just move cep2_custom to the top. '<img'>