Updating from 1.x to 2.0
For owners of nc_party 1.x, nc_rift 1.x or nc_dungeon 1.x. In 2.0 the three resources use two shared resources: nc_bridge (library: framework, inventory, notices, themes, EXP, death, party) and nc_assets (one pack of peds, weapons, animations, effects, interiors and sounds, with no duplicate files). If you do not update, the 1.x versions keep working on their own.
Before you start
- Stop the server:
nc_assetsstarts only with the server, never with players inside (the clients crash). - Make a copy of the old folders, above all of the files you changed:
config.lua,config/,config_custom.lua,locales/,open/anddata/editor/(dungeons and presets saved by the editor).
What to remove
| What | Why |
|---|---|
the nc_rift_assets folder | replaced by nc_assets (same file names: together they clash) |
the nc_dungeon_assets folder | replaced by nc_assets; the nc_dungeon_* models now have their original names |
the stream folder inside the old nc_rift | the effects are now in nc_assets |
the stream folder inside the old nc_party | the icons are now in nc_assets |
the web/sounds folders inside the old nc_rift and nc_dungeon | the sounds are now in nc_assets/web/sounds |
the ensure nc_rift_assets and ensure nc_dungeon_assets lines of server.cfg | those resources are gone |
The simplest way: delete the old nc_party, nc_rift and nc_dungeon folders, copy the new ones whole and then put your values back (section "Your config files"). The old asset folders must leave resources/ (deleted or moved out): if your resources start from a group folder (for example ensure [nc]), removing the ensure line is not enough.
What to add
nc_bridge: it is in every 2.0 pack. If you have several copies keep only one folder, the newest (theversionline of itsfxmanifest.lua): old functions stay.nc_assets: it is in every 2.0 pack, with the part that pack needs. If you own several packs, copy all thenc_assetsfolders into the samenc_assetsfolder: files with the same name are identical and thefxmanifest.luais the same.- The new
nc_party,nc_riftandnc_dungeon2.0 (only the ones you bought).
Ensure order
In server.cfg, after the framework and the inventory. Keep only the lines of the resources you have:
ensure nc_bridge
ensure nc_assets
ensure nc_party
ensure nc_rift
ensure nc_dungeonnc_bridge and the three resources can be restarted whenever you want; nc_assets only with the server.
Your config files
- Put the values you had changed into the new files, instead of copying the old files over them: 2.0 has new options (for example
Config.Bridge, read bync_bridge: framework, notices, theme; see the nc_bridge configuration guide). - 1.x configs still work, the old names are translated when they load:
- nc_dungeon:
nc_dungeon_*models, weapons, animations and effects become the original names ofnc_assets(warning in the server console: write the new names and the warning goes away); - graphic style:
followRift/followPartystill work, the new name isConfig.UI.follow; - nc_rift: the
AddItem/AddMoneyfunctions used in youropen/files still work (they now go throughnc_bridge).
- nc_dungeon:
- Your own sounds go into
nc_assets/web/sounds(the config values stay the same, for example'zombie/aggro_1.ogg'). - Your own mods (peds, weapons, animations) stay in a separate resource started before the NC resources.
Check
- Start the server and look at the console.
- No red warning from
nc_assetsabout the old asset resources (it shows 5 seconds after start if one is still running). - nc_rift prints
config check: 0 warning(s); nc_dungeon no[nc_dungeon][WARN] config:line apart from the warnings about old names. - Join and try:
/party, an nc_rift mob, the dungeon NPC.
The full guide in 9 languages is also in the resource's docs/ folder.