izstas Posted February 28, 2008 Share Posted February 28, 2008 From version DP3 will be available ped functions. Will be it on serverside? Or only on clientside? Link to comment
Ace_Gambit Posted February 28, 2008 Share Posted February 28, 2008 If they are not listed in the server function list I guess not. Link to comment
Axis Posted February 29, 2008 Share Posted February 29, 2008 I'm not sure I understand well how the "Server" or "Client" side functions works? I've only scripted ServerSide so far. So does seing the Ped Functions only in ClientSide means that the pedestrians will NOT be syncronised? If thats the case, what is the use of having Peds only for YOU that others won't see lol? Link to comment
Cazomino05 Posted March 1, 2008 Share Posted March 1, 2008 wiki says for they are client although syncing them wouldent be too hard http://development.mtasa.com/index.php? ... _functions Link to comment
50p Posted March 1, 2008 Share Posted March 1, 2008 wiki says for they are client although syncing them wouldent be too hardhttp://development.mtasa.com/index.php? ... _functions It wouldn't be, but it would be laggy. Link to comment
Technic Posted March 4, 2008 Share Posted March 4, 2008 the peds will sync, and wont be laggy really. all the server has to send is the peds locations and paths. after that, the client would be able to calculate where the peds are. and wazuup axis? Link to comment
Mr.Hankey Posted March 4, 2008 Share Posted March 4, 2008 I think it's just like the createProjectile () function where the projectiles are synced to though they are created clientside. And first have a look here and then here that looks really interesting. Link to comment
Cazomino05 Posted March 4, 2008 Share Posted March 4, 2008 nice find some intresting tasks in there Link to comment
Technic Posted March 4, 2008 Share Posted March 4, 2008 yeah, it looks like it will be server side, and if it is, we can do alot more to the peds than i first thought. i thought you would simply be able to assign them a path, and they would walk the path, and once they reached the end they would either 1. dissapear 2. repeat walking 3. stop and wait for another command now it seems we can have them do anything they would normally do in-game and then some. maybe a good RPG is possible with this Link to comment
Mr.Hankey Posted March 4, 2008 Share Posted March 4, 2008 Peds will be clientside only So are they synced or not? Clientside doesn't have to mean it's unsyced because e.g. projectiles that are created clientside with the createProjectile function are synced. Link to comment
ChrML Posted March 5, 2008 Share Posted March 5, 2008 Peds will be serverside at one point. Not sure if this is for DP3 or not yet. Basically all the syncing code is there, it just needs to be written to flexibly allow serverside scripts to manage peds and being aware of their states, hopefully without depending on clients. Link to comment
Technic Posted March 18, 2008 Share Posted March 18, 2008 yeah, thanks for clearing that up Link to comment
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