Aller au contenu

Photo

Using CEP, but overriding certain 2da values


  • Veuillez vous connecter pour répondre
3 réponses à ce sujet

#1
Terrorble

Terrorble
  • Members
  • 194 messages
 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.

#2
The Amethyst Dragon

The Amethyst Dragon
  • Members
  • 1 882 messages
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.

#3
Terrorble

Terrorble
  • Members
  • 194 messages

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 .


#4
The Amethyst Dragon

The Amethyst Dragon
  • Members
  • 1 882 messages

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. :)