Graal Forums  

Go Back   Graal Forums > Development Forums > Future Improvements
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 10-07-2010, 08:57 PM
ffcmike ffcmike is offline
Banned
Join Date: Jul 2004
Location: London
Posts: 2,029
ffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond repute
Send a message via AIM to ffcmike Send a message via MSN to ffcmike
Level Preloading

Would it be possible in future for there to be a command for loading levels on your client before you have entered them?

If for instance you enter a level where you have never been in before you get a slight pause and a "Loading" display.

But even if it's a level you have entered before the tiles will become visible immediately (as a result of being stored within .code files) but there will be a slight pause until NPCs load.

What I would like is a function such as loadLevel("filename.nw"); you could call within a previous level which would request the NPC data from the server (aswell as the tile data if the .code file doesn't exist) for a smooth transition when entering a level either for the first time ever or since you started your client, this doesn't really matter the majority of the time but can be a hindrance to things like cutscenes and questing.
Reply With Quote
  #2  
Old 10-09-2010, 01:29 AM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
It could be done for levels, there is already such functionality (but not accessible by script). NPCs are however only loaded when actually required, problem is that the server would also need to send updates which would be more complex and require more bandwidth.
Reply With Quote
  #3  
Old 10-09-2010, 01:53 AM
ffcmike ffcmike is offline
Banned
Join Date: Jul 2004
Location: London
Posts: 2,029
ffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond repute
Send a message via AIM to ffcmike Send a message via MSN to ffcmike
Even with the level tiles being loaded beforehand that would be an improvement over the loading screen if you have a succession of important levels you want to pass between smoothly, regarding NPCs I imagined this being possible to work as a one time only thing where your client would recieve the current data of the npc with the clientside script, though obviously if there were things going on within the serverside script of the NPC this would make things more complicated.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 04:58 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.