Posts: 731
Threads: 29
Joined: Feb 2012
Reputation:
0
Hello every one, i find an idea and i want to ask, if i can create it.
So, i want to have an RolePlay and Freeroam Server, but, when the player connect, will select witch one he want to play.
So here, i will need 2 scripts I think, or 2 server so, if player select Freeroam, it will open the freeroam server, and the opposite if he choose the RolePlay Server.
I hope you understand what i want to create.
Thanks, and sorry for my Bad English!
Posts: 929
Threads: 17
Joined: Mar 2012
Reputation:
0
well I don't think you can use 2 servers linked to each other.
at least I have not seen this done,
but you can use the virtual world to keep both modes separate,
you'll have to script everything around what virtual world a player is in,
It is possible this way I believe
~Jon
Posts: 161
Threads: 25
Joined: Mar 2012
Reputation:
0
Not possible to have two scripts running at once, unless you have two servers.
Posts: 731
Threads: 29
Joined: Feb 2012
Reputation:
0
Any tutorial that will help me to create this in Virtual Worlds?
Posts: 161
Threads: 25
Joined: Mar 2012
Reputation:
0
It's possible to do with Virtual Worlds, but you'd need one specified for the freeroam, and then you'd have to add a virtual world check to all the commands.
Add the fact that when you enter a business/house/whatever, your virtualworld is randomly set.
Posts: 731
Threads: 29
Joined: Feb 2012
Reputation:
0
I can use different filterscripts/maps/includes for each one?
Posts: 929
Threads: 17
Joined: Mar 2012
Reputation:
0
No,
not enless you include the same logic in your FS/MAPS ect..
includes on the other hand will work as long as they have the same logic,
if its an include with just a bunch of stocks then it will be okay as your defineing how they are used
in your gamemode
youll probably want to convert any filterscripts to be embedded right in your game mode.
or write an include to have public functions that get/set your playerinfo enum
and use CallRemoteFunction from the filter script to access the PlayerInfo enum
what your trying todo will be hard I think, iv never tried it.
Posts: 731
Threads: 29
Joined: Feb 2012
Reputation:
0
I know that is hard, thats why ask here. Am not as good scripter as some guys from here, so i need their help!
If anyone want, can, and have the time to create an example for me, i will appreciate it!
Posts: 254
Threads: 36
Joined: Nov 2011
Reputation:
0
LOL! I had this exact same idea a long time ago, i just never decided to do it!
Thats crazy.. :P
Anyways. i know exactly how you would do it, i just dont feel like explaining it.