![]() |
an 'offline' level online.
How would I go about making a level that everyone can go to, but players can't see other players?
I believe n-pulse had some cut scene levels like that. |
You could either use copylevel(source, destination); to create multiple versions of the same level, or do some fancier system using hideplayer(time);, player.alpha and whatnot in ganis.
|
Ziro, could you give me an example of the first one please... the (source, destination) one
|
You can't learn by copying and pasting but source would be foldername/levelname.nw and destination would be newfolder/levelname.nw
If i think right: PHP Code:
|
The best plan would be to do what Ziro said at the end and come up with a system that hides everyone except yourself and use client-side script for the cut-scene.
copylevel usage: copylevel works off the levels folder as it's base so it can be a little confusing, in this example the template level is stored in: levels/baselevel/housetemplate.nw and it will be copied to: levels/houselevels/house_account.nw PHP Code:
level houselevels/*.nw Otherwise you won't be able to access the level. |
So with that you could make a level for every player by setting the new level name as "house_"@player.account@".nw" correct fp? I'm on my blackberry typing this .. Just want to make sure that would work for a better understanding
|
Quote:
temp.lvl = "house_" @ escapefilename(player.account) @ ".nw"; Which will convert things like spaces and colons to their % reprensation form. |
I thought so, thanks fp!
|
i want to say Tig post a script like this that he use it in Graal Kingdoms Quest. I'm just not sure if its in Code Gallery or GK fourms
|
Quote:
http://forums.graalonline.com/forums...hp?t=134263240 |
Quote:
|
| All times are GMT +2. The time now is 10:12 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.