This is a pretty advanced plugin, the builder should be familiar with .set files and the tiles part of the area file format. See: Bioware_Aurora_AreaFile_Format.pdf on the Neverwinter Vault Modding Wiki.
Please create a small area with myarea
as resref as prerequisite. The tileset and size doesn't matter as we'll be overriding them. You can set any other area settings though.
If all went well, when you move to the newly created area, it should look like this:
Files | |
file | nwnx_tileset.nss |
Classes | |
struct | NWNX_Tileset_TilesetData |
A structure containing general tileset data. More... | |
struct | NWNX_Tileset_TilesetGroupData |
A structure containing the group data for a tileset. More... | |
struct | NWNX_Tileset_TileEdgesAndCorners |
A structure containing the edge and corner types of a tile. More... | |
struct | NWNX_Tileset_TileDoorData |
A structure containing the door data for a tile. More... | |
struct | NWNX_Tileset_CustomTileData |
A structure containing custom tile data,. More... | |
Functions | |
struct NWNX_Tileset_TilesetData | NWNX_Tileset_GetTilesetData (string sTileset) |
Get general data of sTileset. More... | |
string | NWNX_Tileset_GetTilesetTerrain (string sTileset, int nIndex) |
Get the name of sTileset's terrain at nIndex. More... | |
string | NWNX_Tileset_GetTilesetCrosser (string sTileset, int nIndex) |
Get the name of sTileset's crosser at nIndex. More... | |
struct NWNX_Tileset_TilesetGroupData | NWNX_Tileset_GetTilesetGroupData (string sTileset, int nIndex) |
Get general data of the group at nIndex in sTileset. More... | |
int | NWNX_Tileset_GetTilesetGroupTile (string sTileset, int nGroupIndex, int nTileIndex) |
Get the tile ID at nTileIndex in nGroupIndex of sTileset. More... | |
string | NWNX_Tileset_GetTileModel (string sTileset, int nTileID) |
Get the model name of a tile in sTileset. More... | |
string | NWNX_Tileset_GetTileMinimapTexture (string sTileset, int nTileID) |
Get the minimap texture name of a tile in sTileset. More... | |
struct NWNX_Tileset_TileEdgesAndCorners | NWNX_Tileset_GetTileEdgesAndCorners (string sTileset, int nTileID) |
Get the edges and corners of a tile in sTileset. More... | |
int | NWNX_Tileset_GetTileNumDoors (string sTileset, int nTileID) |
Get the number of doors of a tile in sTileset. More... | |
struct NWNX_Tileset_TileDoorData | NWNX_Tileset_GetTileDoorData (string sTileset, int nTileID, int nIndex=0) |
Get the door data of a tile in sTileset. More... | |
void | NWNX_Tileset_SetAreaTileOverride (string sAreaResRef, string sOverrideName) |
Override the tiles of sAreaResRef with data in sOverrideName. More... | |
void | NWNX_Tileset_CreateTileOverride (string sOverrideName, string sTileSet, int nWidth, int nHeight) |
Create a tile override named sOverrideName. More... | |
void | NWNX_Tileset_DeleteTileOverride (string sOverrideName) |
Delete a tile override named sOverrideName. More... | |
void | NWNX_Tileset_SetOverrideTileData (string sOverrideName, int nIndex, struct NWNX_Tileset_CustomTileData strCustomTileData) |
Set custom tile data for the tile at nIndex in sOverrideName. More... | |
void | NWNX_Tileset_DeleteOverrideTileData (string sOverrideName, int nIndex) |
Delete custom tile data of the tile at nIndex in sOverrideName. More... | |
struct NWNX_Tileset_TilesetData NWNX_Tileset_GetTilesetData | ( | string | sTileset | ) |
Get general data of sTileset.
sTileset | The tileset. |
Definition at line 167 of file nwnx_tileset.nss.
string NWNX_Tileset_GetTilesetTerrain | ( | string | sTileset, |
int | nIndex | ||
) |
Get the name of sTileset's terrain at nIndex.
sTileset | The tileset. |
nIndex | The index of the terrain. Range: NWNX_Tileset_TilesetData.nNumTerrain > nIndex >= 0 |
Definition at line 189 of file nwnx_tileset.nss.
string NWNX_Tileset_GetTilesetCrosser | ( | string | sTileset, |
int | nIndex | ||
) |
Get the name of sTileset's crosser at nIndex.
sTileset | The tileset. |
nIndex | The index of the crosser. Range: NWNX_Tileset_TilesetData.nNumCrossers > nIndex >= 0 |
Definition at line 198 of file nwnx_tileset.nss.
struct NWNX_Tileset_TilesetGroupData NWNX_Tileset_GetTilesetGroupData | ( | string | sTileset, |
int | nIndex | ||
) |
Get general data of the group at nIndex in sTileset.
sTileset | The tileset. |
nIndex | The index of the group. Range: NWNX_Tileset_TilesetData.nNumGroups > nIndex >= 0 |
Definition at line 207 of file nwnx_tileset.nss.
int NWNX_Tileset_GetTilesetGroupTile | ( | string | sTileset, |
int | nGroupIndex, | ||
int | nTileIndex | ||
) |
Get the tile ID at nTileIndex in nGroupIndex of sTileset.
sTileset | The tileset. |
nGroupIndex | The index of the group. Range: NWNX_Tileset_TilesetData.nNumGroups > nGroupIndex >= 0 |
nTileIndex | The index of the tile. Range: (NWNX_Tileset_TilesetGroupData.nRows * NWNX_Tileset_TilesetGroupData.nColumns) > nTileIndex >= 0 |
Definition at line 222 of file nwnx_tileset.nss.
string NWNX_Tileset_GetTileModel | ( | string | sTileset, |
int | nTileID | ||
) |
Get the model name of a tile in sTileset.
sTileset | The tileset. |
nTileID | The tile ID. |
Definition at line 232 of file nwnx_tileset.nss.
string NWNX_Tileset_GetTileMinimapTexture | ( | string | sTileset, |
int | nTileID | ||
) |
Get the minimap texture name of a tile in sTileset.
sTileset | The tileset. |
nTileID | The tile ID. |
Definition at line 241 of file nwnx_tileset.nss.
struct NWNX_Tileset_TileEdgesAndCorners NWNX_Tileset_GetTileEdgesAndCorners | ( | string | sTileset, |
int | nTileID | ||
) |
Get the edges and corners of a tile in sTileset.
sTileset | The tileset. |
nTileID | The tile ID. |
Definition at line 250 of file nwnx_tileset.nss.
int NWNX_Tileset_GetTileNumDoors | ( | string | sTileset, |
int | nTileID | ||
) |
Get the number of doors of a tile in sTileset.
sTileset | The tileset. |
nTileID | The tile ID. |
Definition at line 269 of file nwnx_tileset.nss.
struct NWNX_Tileset_TileDoorData NWNX_Tileset_GetTileDoorData | ( | string | sTileset, |
int | nTileID, | ||
int | nIndex = 0 |
||
) |
Get the door data of a tile in sTileset.
sTileset | The tileset. |
nTileID | The tile ID. |
nIndex | The index of the door. Range: NWNX_Tileset_GetTileNumDoors() > nIndex >= 0 |
Definition at line 278 of file nwnx_tileset.nss.
void NWNX_Tileset_SetAreaTileOverride | ( | string | sAreaResRef, |
string | sOverrideName | ||
) |
Override the tiles of sAreaResRef with data in sOverrideName.
sAreaResRef | The resref of the area to override. |
sOverrideName | The name of the override containing the custom tile data or "" to remove the override. |
Definition at line 295 of file nwnx_tileset.nss.
void NWNX_Tileset_CreateTileOverride | ( | string | sOverrideName, |
string | sTileSet, | ||
int | nWidth, | ||
int | nHeight | ||
) |
Create a tile override named sOverrideName.
sOverrideName | The name of the override. |
sTileSet | The tileset the override should use. |
nWidth | The width of the area. Valid values: 1-32. |
nHeight | The height of the area. Valid values: 1-32. |
Definition at line 302 of file nwnx_tileset.nss.
void NWNX_Tileset_DeleteTileOverride | ( | string | sOverrideName | ) |
Delete a tile override named sOverrideName.
sOverrideName | The name of the override. |
Definition at line 311 of file nwnx_tileset.nss.
void NWNX_Tileset_SetOverrideTileData | ( | string | sOverrideName, |
int | nIndex, | ||
struct NWNX_Tileset_CustomTileData | strCustomTileData | ||
) |
Set custom tile data for the tile at nIndex in sOverrideName.
sOverrideName | The name of the override. |
nIndex | The index of the tile. |
strCustomTileData | A NWNX_Tileset_CustomTileData struct. |
Definition at line 317 of file nwnx_tileset.nss.
void NWNX_Tileset_DeleteOverrideTileData | ( | string | sOverrideName, |
int | nIndex | ||
) |
Delete custom tile data of the tile at nIndex in sOverrideName.
sOverrideName | The name of the override. |
nIndex | The tile's index or -1 to remove all custom tile data. |
Definition at line 334 of file nwnx_tileset.nss.