Cristian624 Posted October 8, 2012 Author Share Posted October 8, 2012 Where is the option for change the initial map in the Classes? example: Ninja start at underground, swordman start at the forest etc… i dont know where is this option...help? Link to comment Share on other sites More sharing options...
jaekx Posted October 8, 2012 Share Posted October 8, 2012 You will most likely have to code a case structure that says case warrior spawn mapNum x,y. Link to comment Share on other sites More sharing options...
Cristian624 Posted October 8, 2012 Author Share Posted October 8, 2012 where? (in vb really?) i use Eclipse event system (the normal version) Link to comment Share on other sites More sharing options...
jaekx Posted October 8, 2012 Share Posted October 8, 2012 Yes in VB, on the server side search for' Default starting location [Server Only]change the values, or set up a case structure.[background=rgb(255, 255, 255)]A way around coding would be having a simple starting map where a player chooses their desired class, upon picking, change their class to the chosen class and then warp them to the desired map. You will have to change the GUI for choosing a players class to .enabled = false so they cant pick there class during registry though. You can make it visible = false for aesthetic purposes as well. Make the first class in the .ini beginner, so they are forced to have that class. Hope this helped!Edit: Actually, you can use the event system to check what class they are. Conditional branch if player is class warrior warp them to map x. make a new page for each class. Much more condensed version with no VB6 required.[/background] Link to comment Share on other sites More sharing options...
jaekx Posted October 8, 2012 Share Posted October 8, 2012 A way around coding would be having a simple starting map where a player chooses their desired class, upon picking, change their class to the chosen class and then warp them to the desired map. You will have to change the GUI for choosing a players class to .enabled = false so they cant pick there class during registry though. You can make it visible = false for aesthetic purposes as well. Make the first class in the .ini beginner, so they are forced to have that class. Hope this helped!Edit: Actually, you can use the event system to check what class they are. Conditional branch if player is class warrior warp them to map x. make a new page for each class. Much more condensed version with no VB6 required. Link to comment Share on other sites More sharing options...
jaekx Posted October 8, 2012 Share Posted October 8, 2012 sorry double post Link to comment Share on other sites More sharing options...
Cristian624 Posted October 8, 2012 Author Share Posted October 8, 2012 Only i need , the different classes appeared in different maps…Example:Ninja : in ForestWarrior : in UndergroundMagician: in West cityI only need the code and a demostration...ONLY I NEED THIS, NO MORE...' Default starting location [Server Only]Public Const START_MAP As Long = 1Public Const START_X As Long = 12Public Const START_Y As Long = 3 Link to comment Share on other sites More sharing options...
Justn Posted October 8, 2012 Share Posted October 8, 2012 Jaekx ur not helping but just making him and everyone else more confused…Here is a tutorial for what u need http://www.touchofdeathforums.com/community/index.php?/topic/123200-set-spawn-from-classini/ Link to comment Share on other sites More sharing options...
Cristian624 Posted October 9, 2012 Author Share Posted October 9, 2012 Thanks is solved ^^ Link to comment Share on other sites More sharing options...
jaekx Posted November 18, 2012 Share Posted November 18, 2012 Just explaining a method handling without VB6…..... 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