jwindjackal Posted September 6, 2009 Author Share Posted September 6, 2009 When players create their character, I want them to start out as one class like beginner, then after they complete their tutorial they can choose what their class is, by using the tile changer class thing. Also I want them to have many different character options for the same class Link to comment Share on other sites More sharing options...
Shayden Posted September 6, 2009 Share Posted September 6, 2009 Thats not a question. :icon_beer: Link to comment Share on other sites More sharing options...
jwindjackal Posted September 6, 2009 Author Share Posted September 6, 2009 Oh…Right then umm..How do I do that...like make it so they can only change to the class by landing on the tile rather then picking it at the start Link to comment Share on other sites More sharing options...
JayT Posted September 6, 2009 Share Posted September 6, 2009 @jwindjackal:> When players create their character, I want them to start out as one class like beginner, then after they complete their tutorial they can choose what their class is, by using the tile changer class thing. Also I want them to have many different character options for the same classplease explain a little more and i can help you i think Link to comment Share on other sites More sharing options...
Dark-Blood-Priestess Posted September 6, 2009 Share Posted September 6, 2009 Basically he is asking if there is a way that they can create a new character, but they don't pick the class until after they complete a tutorial of the game, and an explaination of all the classes…. he would have to change the source, and create a script for it too right? Link to comment Share on other sites More sharing options...
jwindjackal Posted September 6, 2009 Author Share Posted September 6, 2009 Well, i dont want people to be able to pick the class when they start, i want their only option to be like newbie or something. Then after they finish the tutorial i want them to be able to change to a better class like mage or whatever. Also I want you to have plent of sprite options for newbie. Link to comment Share on other sites More sharing options...
Admiral Refuge Posted September 6, 2009 Share Posted September 6, 2009 @Dark-Blood-Priestess:> Basically he is asking if there is a way that they can create a new character, but they don't pick the class until after they complete a tutorial of the game, and an explaination of all the classes…. he would have to change the source, and create a script for it too right?It would be one or the other.With scripting, it can be done with custom menus, probably.@OP: Try making a topic in the Script Requests board, you may have some luck there. Link to comment Share on other sites More sharing options...
balliztik1 Posted September 6, 2009 Share Posted September 6, 2009 You can do this via some simple scripting, like Admiral said, in conjunction with the "Locked" classes feature. By setting a class' "Locked" value to 1, you are prohibiting players from choosing that class at startup. Link to comment Share on other sites More sharing options...
JayT Posted September 6, 2009 Share Posted September 6, 2009 @jwindjackal:> Oh…Right then umm..How do I do that...like make it so they can only change to the class by landing on the tile rather then picking it at the startok first i would change your data.ini in your server folder. change the "locked" to 1 so every player thats starts is the same default class(i know you didnt want them to choose a class yet but this way is easier). then when they have finished your tutorials:In ScriptedTile (In your Scripts\main.txt) Add:```If GetPlayerClass(Index) = 1 ThenCall SetPlayerClass(Index, ClassNum)End If```if you want them to chosse between multiple classes then let me know and i'll make custom menus e.t.c Link to comment Share on other sites More sharing options...
JayT Posted September 6, 2009 Share Posted September 6, 2009 @jwindjackal:> Well, i dont want people to be able to pick the class when they start, i want their only option to be like newbie or something. Then after they finish the tutorial i want them to be able to change to a better class like mage or whatever. Also I want you to have plent of sprite options for newbie.if you want plenty of sprite options for the newbie class the set Custom to 1 in data.ini and they can choose their head/body/legs for their sprite. im writing the script for changing into multiple classes now for you Link to comment Share on other sites More sharing options...
JayT Posted September 6, 2009 Share Posted September 6, 2009 ok done. so in data.ini in your server set Custom=1 and Classes=1(dunno if that will load all 3 classes though) then add this code to your main.txt in the subs i say:In SciptedTile Add:```If GetPlayerClass(Index) = 1 ThenCall Prompt(Index, "Would you like class 1 or 2?, 1)End IfExit Sub```that will pop up a prompt asking which class they want and they type in the number of the class.Change Sub QueryBox to:```Sub QueryBox(index, script)Value = GetVar("responses.ini", "Responses", Cstr(index))Select Case scriptCase 0Select Case ValueCase "1"Call SetPlayerClass(Index, 1)Call PlayerMsg(Index, "You are now" & GetplayerClass & "!", WHITE)Case "2"Call SetPlayerClass(Index, 2)Call PlayerMsg(Index, "You are now" & GetplayerClass & "!", WHITE)Case ElseCall PlayerMsg(index, "That is incorrect!", 12)End SelectEnd SelectEnd Sub```think that should work.. if not let me know and i'll check it Link to comment Share on other sites More sharing options...
saadhamza Posted September 6, 2009 Share Posted September 6, 2009 to start asa beginer and then change clases later? couldnt he do it with the class change tile thing? Link to comment Share on other sites More sharing options...
jwindjackal Posted September 6, 2009 Author Share Posted September 6, 2009 thanks a lot, i think you are right about me being able to use the class change tile, but this way, they only have to do it in one convenient spot. Link to comment Share on other sites More sharing options...
jwindjackal Posted September 6, 2009 Author Share Posted September 6, 2009 Help!!! Okay after i set custom to 1 so people can gchange head legs body, thry only have fo r options, i have messed with it, but i would like for them to have more options! Link to comment Share on other sites More sharing options...
jwindjackal Posted September 7, 2009 Author Share Posted September 7, 2009 Help…sorry for the double post but....help!!! Link to comment Share on other sites More sharing options...
balliztik1 Posted September 7, 2009 Share Posted September 7, 2009 @jwindjackal:> Help!!! Okay after i set custom to 1 so people can gchange head legs body, thry only have fo r options, i have messed with it, but i would like for them to have more options!You'll need to add more options, then. Either make or find some graphics and add them to your GFX file. There should be a file in there for heads, legs, and bodies. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now