each channel their own rule.
Hello,
I want to have some more information about the channelrule.xml & channel.xml and if its possible to edit each channel with its own rule.
This is the channel.xml I got:
Code:
<?xml version="1.0" encoding="UTF-8" ?>
<XML id="channel">
<DEFAULTCHANNELNAME name="STR:CHANNEL_DEFAULT_NAME"/>
<DEFAULTRULENAME name="novice"/>
<CHANNEL name="Free Channel 1" maxplayers="200" rule="novice"/>
<CHANNEL name="Free Channel 2" maxplayers="200" rule="novice"/>
<CHANNEL name="Rookie Channel 1 (Level 1-50)" maxplayers="200" rule="novice" levelmin='1' levelmax='50'/>
<CHANNEL name="Elite Channel 1 (Level 51-99)" maxplayers="200" rule="novice" levelmin='51' levelmax='99'/>
<CHANNEL name="Quest Channel" maxplayers="200" rule="rookie" levelmin='1' levelmax='99'/>
<CHANNEL name="Event Channel" maxplayers="200" rule="novice" levelmin='1' levelmax='99'/>
</XML>
As you can see they are using: <DEFAULTRULENAME name="novice"/>
but I want to change the rule ONLY for quest channel.
( for example: <DEFAULTRULENAME name="ROOKIE"/> )
Is this possible?
---------- Post added at 02:17 PM ---------- Previous post was at 12:46 PM ----------
Does anyone have an idea yet?
Re: each channel their own rule.
Re: each channel their own rule.
I guess you need to make 1 of your rules make with only quest type as default if you want to have only quest chanel. And I dont think that you can make new rules. you can only modify original ones (If I got right what ur asking o.o)
Re: each channel their own rule.
<CHANNEL name="Quest Channel" maxplayers="200" rule="rookie" rule="rookie" levelmin='1' levelmax='99'/>
Will this work?
Re: each channel their own rule.
No.
There are other types of rules like rookie, elite etc... just edit one in channelrule.xml, then make a room called Quest Channel or w/e and make its rule to the same as you edited to quest :)
Re: each channel their own rule.
Quote:
Originally Posted by
Lifeles5
No.
There are other types of rules like rookie, elite etc... just edit one in channelrule.xml, then make a room called Quest Channel or w/e and make its rule to the same as you edited to quest :)
I don't really get you,
<CHANNEL name="Quest Channel" maxplayers="200" rule="rookie" rule="rookie" levelmin='1' levelmax='99'/>
Should I use this in the channel.xml and edit the channelrule of rookie so you can only quest?
Re: each channel their own rule.
So, if you want a channel only for quest then heres an example:
Put this into your channelrule.xml:
<CHANNELRULE id="4" name="elite">
<GAMETYPE id="7" /> <!-- GAMETYPE_QUEST -->
<MAP name="Mansion" />
<MAP name="Prison" />
<MAP name="Prison II" />
<MAP name="Island" />
<MAP name="Garden" />
<MAP name="Station" />
<MAP name="Battle Arena" />
<MAP name="Factory" />
<MAP name="Town" />
<MAP name="Ruin" />
<MAP name="Port" />
<MAP name="Castle" />
<MAP name="Dungeon" />
<MAP name="Lost Shrine" />
<MAP name="Stairway" />
<MAP name="Snow_Town" />
<MAP name="Hall" /> <!-- Only DUEL -->
<MAP name="Catacomb" /> <!-- Only DUEL -->
<MAP name="Jail" /> <!-- Only DUEL -->
<MAP name="Shower Room" /> <!-- Only DUEL -->
</CHANNELRULE>
Put this into channel.xml:
<CHANNEL name="Quest Channel" maxplayers="500" rule="elite" levelmin='1'/>
And there you are...
Don't forget that you cant have two types with the same name so delete the original "elite" type part from your channelrule.xml