Added Spellcast NUI menu
Added Spellcast NUI menu. Organized modding tools. Full compile.
This commit is contained in:
BIN
_module/_tools/NWN.CLI.exe
Normal file
BIN
_module/_tools/NWN.CLI.exe
Normal file
Binary file not shown.
BIN
_module/_tools/NWN_compDcomp.exe
Normal file
BIN
_module/_tools/NWN_compDcomp.exe
Normal file
Binary file not shown.
BIN
_module/_tools/cygiconv-2.dll
Normal file
BIN
_module/_tools/cygiconv-2.dll
Normal file
Binary file not shown.
BIN
_module/_tools/cygintl-2.dll
Normal file
BIN
_module/_tools/cygintl-2.dll
Normal file
Binary file not shown.
BIN
_module/_tools/cygintl-3.dll
Normal file
BIN
_module/_tools/cygintl-3.dll
Normal file
Binary file not shown.
BIN
_module/_tools/cygintl-8.dll
Normal file
BIN
_module/_tools/cygintl-8.dll
Normal file
Binary file not shown.
BIN
_module/_tools/cygpcre-0.dll
Normal file
BIN
_module/_tools/cygpcre-0.dll
Normal file
Binary file not shown.
BIN
_module/_tools/cygwin1.dll
Normal file
BIN
_module/_tools/cygwin1.dll
Normal file
Binary file not shown.
BIN
_module/_tools/cygxml2-2.dll
Normal file
BIN
_module/_tools/cygxml2-2.dll
Normal file
Binary file not shown.
BIN
_module/_tools/cygz.dll
Normal file
BIN
_module/_tools/cygz.dll
Normal file
Binary file not shown.
10
_module/_tools/hakbuilder.json
Normal file
10
_module/_tools/hakbuilder.json
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"OutputPath": "../output/",
|
||||
"HakList": [
|
||||
{
|
||||
"Name": "amon_prc_top",
|
||||
"Path": "../hak/amon_prc_top/",
|
||||
"CompileModels": false
|
||||
},
|
||||
]
|
||||
}
|
BIN
_module/_tools/nwnmdlcomp.exe
Normal file
BIN
_module/_tools/nwnmdlcomp.exe
Normal file
Binary file not shown.
@@ -4962,7 +4962,7 @@
|
||||
},
|
||||
"Mod_MinPerHour": {
|
||||
"type": "byte",
|
||||
"value": 3
|
||||
"value": 6
|
||||
},
|
||||
"Mod_Name": {
|
||||
"type": "cexolocstring",
|
||||
@@ -5024,7 +5024,7 @@
|
||||
},
|
||||
"Mod_OnPlrGuiEvt": {
|
||||
"type": "resref",
|
||||
"value": ""
|
||||
"value": "mod_gui"
|
||||
},
|
||||
"Mod_OnPlrLvlUp": {
|
||||
"type": "resref",
|
||||
@@ -5036,7 +5036,7 @@
|
||||
},
|
||||
"Mod_OnPlrTarget": {
|
||||
"type": "resref",
|
||||
"value": "prc_onplaytarget"
|
||||
"value": "hif_onplaytarget"
|
||||
},
|
||||
"Mod_OnPlrTileAct": {
|
||||
"type": "resref",
|
||||
@@ -5355,6 +5355,21 @@
|
||||
"type": "int",
|
||||
"value": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"__struct_id": 0,
|
||||
"Name": {
|
||||
"type": "cexostring",
|
||||
"value": "PRC_BIOWARE_INVISIBILITY"
|
||||
},
|
||||
"Type": {
|
||||
"type": "dword",
|
||||
"value": 1
|
||||
},
|
||||
"Value": {
|
||||
"type": "int",
|
||||
"value": 1
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
_module/ncs/hif_onplaytarget.ncs
Normal file
BIN
_module/ncs/hif_onplaytarget.ncs
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -22,9 +22,9 @@ void main()
|
||||
{
|
||||
SetMaxHenchmen(2);
|
||||
|
||||
SetEventScript(GetModule(), EVENT_SCRIPT_MODULE_ON_NUI_EVENT, "mod_nui");
|
||||
SetEventScript(GetModule(), EVENT_SCRIPT_MODULE_ON_PLAYER_TARGET, "mod_target");
|
||||
SetEventScript(GetModule(), EVENT_SCRIPT_MODULE_ON_PLAYER_GUIEVENT, "mod_gui");
|
||||
//SetEventScript(GetModule(), EVENT_SCRIPT_MODULE_ON_NUI_EVENT, "mod_nui");
|
||||
//SetEventScript(GetModule(), EVENT_SCRIPT_MODULE_ON_PLAYER_TARGET, "mod_target"); <-- No
|
||||
//SetEventScript(GetModule(), EVENT_SCRIPT_MODULE_ON_PLAYER_GUIEVENT, "mod_gui");
|
||||
|
||||
NUI();
|
||||
|
||||
|
6
_module/nss/hif_onplaytarget.nss
Normal file
6
_module/nss/hif_onplaytarget.nss
Normal file
@@ -0,0 +1,6 @@
|
||||
void main()
|
||||
{
|
||||
|
||||
ExecuteScript("prc_onplaytarget");
|
||||
ExecuteScript("mod_target");
|
||||
}
|
@@ -1,10 +1,41 @@
|
||||
//::
|
||||
//:: woa_mod_onnui.nss
|
||||
//::
|
||||
|
||||
//::///////////////////////////////////////////////
|
||||
//:: NUI Events
|
||||
//:: woa_mod_onnui (hp_nui_events)
|
||||
//:://////////////////////////////////////////////
|
||||
/*
|
||||
This handles any NUI events and sends them to
|
||||
appropriate NUI Event handler depending on the
|
||||
window Id
|
||||
*/
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Rakiov
|
||||
//:: Created On: 22.05.2005
|
||||
//:://////////////////////////////////////////////
|
||||
#include "nui_i_main"
|
||||
#include "prc_nui_consts"
|
||||
|
||||
void main()
|
||||
{
|
||||
NUI();
|
||||
|
||||
object oPlayer = NuiGetEventPlayer();
|
||||
int nToken = NuiGetEventWindow();
|
||||
string sWindowId = NuiGetWindowId(oPlayer, nToken);
|
||||
|
||||
ExecuteScript("mod_nui");
|
||||
|
||||
// Open the Power Attack NUI
|
||||
if(sWindowId == NUI_PRC_POWER_ATTACK_WINDOW)
|
||||
{
|
||||
ExecuteScript("prc_nui_pa_event");
|
||||
}
|
||||
|
||||
// Open the Spellbook NUI
|
||||
if(sWindowId == PRC_SPELLBOOK_NUI_WINDOW_ID
|
||||
|| sWindowId == NUI_SPELL_DESCRIPTION_WINDOW_ID)
|
||||
{
|
||||
ExecuteScript("prc_nui_sb_event");
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
Reference in New Issue
Block a user