Hi. I am creating a huge world based on the entire forgotton worlds map, and i am wondering if I can link my modules together like area transitions (or like chapters like in the original game). Any help would be very much appreciated.
Linking modules together
Débuté par
slave of slaanesh
, mars 29 2011 10:48
#1
Posté 29 mars 2011 - 10:48
#2
Posté 29 mars 2011 - 01:18
To link servers use: ActivatePortal
To link modules use. Function - StartNewModule
Note: For Activate porthole Both servers need to be running and one player can go at a time.
For Function - StartNewModule every player in the game will be taken to the new module, but the game does not have to already be running. If you use it with a server players have a good chande to timeout during the loading of the module.
To link modules use. Function - StartNewModule
Note: For Activate porthole Both servers need to be running and one player can go at a time.
For Function - StartNewModule every player in the game will be taken to the new module, but the game does not have to already be running. If you use it with a server players have a good chande to timeout during the loading of the module.
#3
Posté 29 mars 2011 - 03:09
slave of slaanesh wrote...
Hi. I am creating a huge world based on the entire forgotton worlds map, and i am wondering if I can link my modules together like area transitions (or like chapters like in the original game). Any help would be very much appreciated.
If we are talking multiplayer server, then you have some options for how to accomplish the server player transfer.
1. Multiple servers can share a server vault - edit the nwn.ini to point all server instalations to the same servervault.
2. nwnx_vaultster - Havent tested this myself, but it is a powerful tool, if it works reliably. Actually transfers bic files via socket connection from one computer to another, will work locally in theory. Allows you to have separate server vaults for regions of the Forgotten Realms.
3. nwnx_system - Copy the bic file from one server vault to another, minus the socket connection. Copying/moving the bic file would simulate the character migrating from one region to another. Ensuring there is one bic file at any one time, prevents duplication of items etc.
#4
Posté 30 mars 2011 - 08:14
Thanks guys. It's more complicated than it looks. I am very new to all this scripting and cannot get the script to compile. I will keep trying, thanks again. p.s. Its for an offline project, something my boy can play when he is old enough.
#5
Posté 30 mars 2011 - 08:17
slave of slaanesh wrote...
Thanks guys. It's more complicated than it looks. I am very new to all this scripting and cannot get the script to compile. I will keep trying, thanks again. p.s. Its for an offline project, something my boy can play when he is old enough.
We could help if you posted the script.
EDIT:
For singleplayer just place this in the OnEnter for a door or trigger.
// Start a new module called "module001", this is the FILENAME, remember!
void main()
{
StartNewModule("module001");
}
Modifié par Lightfoot8, 30 mars 2011 - 08:20 .
#6
Posté 30 mars 2011 - 08:22
I got it. Just a matter of juggling around the other stuff I had in there. Thanks again Lightfoot.





Retour en haut







