View Single Post
rob
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 8,232

Old November 24th, 2007, 02:29 PM
WARNING!!!!! WARNING!!!!!

Making this manual change works - for now. However, the below technique is *NOT* guaranteed to continue working into the future. So be advised that future changes to HL could break your data files if you use this technique.

We're in the process of revamping lots of internal mechanisms. Our goal is to make everything as easy as possible for users, and we regularly tweak and tune things internally towards that goal. Things are also changing as we work towards getting the Authoring Kit ready for letting users create their own data files from scratch for new games.

The net result is that changing data file code that relies on undocumented internal mechanisms could break in future releases. So please be mindful of this liability when making such changes.

-Rob


At 08:43 AM 11/24/2007, you wrote:
Quote:
If you edit the dat file by hand you can make this work. It's a little complicated if you copy/paste the base cleric panel stuff from srd_class_cleric.dat, because you'll have to rename a lot of the things to prevent duplicates... but open that file and find this code:
Code:
*
* <layout
*** id="cleric">
*** <portalref portal="cClrDomSpl" taborder="60"/>
*** <portalref portal="cClrSpells" taborder="70"/>
*** <portalref portal="cClrDom1" taborder="40"/>
*** <portalref portal="cClrDom2" taborder="50"/>


Notice the 4 "portalref" statements below that? The last two of those are for the two Domains... if the 2nd one were removed, and any references to that second portal, it will only show 1 domain on the class panel.

Hope this makes sense!
rob is offline   #19 Reply With Quote