class/race restrictions
does anyone know is there any way (maybe in the code?) to disable a bunch of the races (like... all of them except froglok and troll) and to change the classes that are available to each race? i know theres GM commands to change someones class and race but is there a way to set up the server so at creation every race is "locked" or "disabled" in some way so you cant even create a human and to disable shadow knights for trolls so when you select troll shadow knight is grey'd out the same way Bard, Cleric, Enchanter, etc.. are not available to trolls?
|
What you want to do is not able to be done, character creation is hard coded into the client.
You can disable certain combo's however they wont be greyed out it just wont let them finish creating (which will cause issues from people posting WTF!!) You cant add diferent / new combo's because that would required editing the client and handing that out, which we dont support or recomend doing. |
The only "work around" for this is to make race/class combinations you want unplayable load into a "blank" zone that has a single NPC explaining server info; ie: "Sorry your race is unplayable, delete and recreate. The following are excetable races..."
Then just have the ones you want to work, have starting zones set to real towns. |
thats dumb sony is stupid. hard coding FTL!!!
|
Quote:
|
You could probably change the code so that anytime a persone selects some race/class OTHER than what you want. The server creates a default character. At least then they could read the motd to know what is available.
EDIT>>> That is. If the client receives some kind of generic instructions from the server after character creation. If not then it could still maybe be done it would take alot more coding when its probably going to take alot of reading the sources to figure something out in the first place. |
Shards of Dalaya has Vah Shir disabled on their server. I thought it was done server side in that instance. But as for ADDING race/class combos, I don't think that is possible.
|
Just a thought, Couldn't you just make a zone with a NPC who when hailed, gives you character options. Where you tell him your class first. And then race, and once he is told the race he sets it and teleports you to the new zone. All of that can be perl edited right?
|
Quote:
umm no... even for them it would be a good idea to NOT be hardcoded because if they ever decide to give more class options to other races (which HAS happened before) it would be a lot easier for them to do if it wasn't hard coded if there was a table somewhere that said if a race can be a certain class all they would have to do is change 1 value and be done with it instead of redoing that part of the code and then compiling again |
Work Arround
I would suggest another work around.
Let the people create any character and create a new start zone with a quest script for setting race and class to what you want to be available. It should work however I am unsure you would have all the starting skills for the new class. |
The thing is, you would then get everyone min/maxing everything about their character... for example - You'd have everyone make a High Elf bard for the massive charisma boost and then they'd change their race to whatever they wanted to be.
You'd have to make it so that when a race is changed, stats get set to whatever defaults are for that race. For example - You could make it so that everyone has to be a human to start and then they hail an NPC and choose their class and race. Once they do that, stats are added (or subtracted) based on whatever race they finally become. Also that zone would need to be inaccessible from anywhere after character creation, so people couldn't change their race later. You could always set it as a flag in the db, but it'd be easier to make it an introduction zone. Just my opinion anyway. :) |
Quote:
I will modify : - the stats with : quest::setstat(statid,value) - the skills with : quest:setskillall(0) + questaddskill(skill,value) - the class with : quest::permaclass(classid) - the race with : quest::permarace(raceid) - the deity with : quest::changedeity(deityid) - the bind location with : quest::rebind(zoneid,x,y,z) After just TL the character to his bind point and it should be ok. Just use the legit server player options (I mean command lines that are working) and it should be ok. |
All times are GMT -4. The time now is 08:25 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.