generated from Jaysyn/ModuleTemplate
Added peps_prc8 hak
Added peps_prc8 hak
This commit is contained in:
parent
ee7345977e
commit
d232a54328
26
nasher.cfg
26
nasher.cfg
@ -233,6 +233,12 @@ description = "PRC8 version of Random Dungeon Generator."
|
|||||||
filter = "prc_nui_consts.nss"
|
filter = "prc_nui_consts.nss"
|
||||||
filter = "nw_inc_nui"
|
filter = "nw_inc_nui"
|
||||||
filter = "xchst_inc.nss"
|
filter = "xchst_inc.nss"
|
||||||
|
filter = "prc_string_inc.nss"
|
||||||
|
filter = "prc_nui_sb_inc.nss"
|
||||||
|
filter = "prc_nui_sbd_inc.nss"
|
||||||
|
filter = "prc_nui_lv_inc.nss"
|
||||||
|
filter = "prc_nui_com_inc.nss"
|
||||||
|
filter = "nw_nui_inc.nss"
|
||||||
|
|
||||||
[target.rules]
|
[target.rules]
|
||||||
"*" = "src/module/$ext"
|
"*" = "src/module/$ext"
|
||||||
@ -242,7 +248,7 @@ name = "tophak"
|
|||||||
file = "rdg_prc8_top.hak"
|
file = "rdg_prc8_top.hak"
|
||||||
description = "Merge hakpak for PRC8 version of Random Dungeon Generator 9f."
|
description = "Merge hakpak for PRC8 version of Random Dungeon Generator 9f."
|
||||||
[target.sources]
|
[target.sources]
|
||||||
include = "src/hakpak/HAKNAME/**/*"
|
include = "src/hakpak/rdg_prc8_top/**/*"
|
||||||
include = "src/include/**/*"
|
include = "src/include/**/*"
|
||||||
filter = "bnd_inc_bndfunc.nss"
|
filter = "bnd_inc_bndfunc.nss"
|
||||||
filter = "bnd_vestig_const.nss"
|
filter = "bnd_vestig_const.nss"
|
||||||
@ -457,6 +463,22 @@ description = "Merge hakpak for PRC8 version of Random Dungeon Generator 9f."
|
|||||||
filter = "prc_nui_consts.nss"
|
filter = "prc_nui_consts.nss"
|
||||||
filter = "nw_inc_nui"
|
filter = "nw_inc_nui"
|
||||||
filter = "xchst_inc.nss"
|
filter = "xchst_inc.nss"
|
||||||
|
filter = "prc_string_inc.nss"
|
||||||
|
filter = "prc_nui_sb_inc.nss"
|
||||||
|
filter = "prc_nui_sbd_inc.nss"
|
||||||
|
filter = "prc_nui_lv_inc.nss"
|
||||||
|
filter = "prc_nui_com_inc.nss"
|
||||||
|
filter = "nw_nui_inc.nss"
|
||||||
|
|
||||||
[target.rules]
|
[target.rules]
|
||||||
"*" = "src/hakpak/rdg_prc8_top/$ext"
|
"*" = "src/hakpak/rdg_prc8_top/$ext"
|
||||||
|
|
||||||
|
[target]
|
||||||
|
name = "pepshak"
|
||||||
|
file = "peps_prc8.hak"
|
||||||
|
description = "PEPS hakpak for PRC8 version of Random Dungeon Generator 9f."
|
||||||
|
[target.sources]
|
||||||
|
include = "src/hakpak/peps_prc8/**/*"
|
||||||
|
|
||||||
|
[target.rules]
|
||||||
|
"*" = "src/hakpak/peps_prc8/$ext"
|
@ -1 +1,2 @@
|
|||||||
nasher pack tophak --verbose
|
nasher pack tophak --verbose
|
||||||
|
nasher pack pepshak --verbose
|
49
src/hakpak/peps_prc8/2da/ai_messages.2da
Normal file
49
src/hakpak/peps_prc8/2da/ai_messages.2da
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
2DA V2.0
|
||||||
|
|
||||||
|
Message_Type Text
|
||||||
|
0 AI_Message "Picking up too much junk? Adjust the loot filter."
|
||||||
|
1 AI_Message "Try the AI on your player for a different experience!"
|
||||||
|
2 AI_Message "Does your associates talk to much? Reduce their speech."
|
||||||
|
3 AI_Message "Modes will keep your character engaged in that task."
|
||||||
|
4 AI_Message "Give Thieves picks to your rogues, they will use them."
|
||||||
|
5 AI_Message "Want your associates using more magic? Up their magic level."
|
||||||
|
6 AI_Message "Using up spells too fast? Control what they can cast!"
|
||||||
|
7 AI_Message "You can adjust when associates heal in and out of combat."
|
||||||
|
8 AI_Message "Don't want to be a team player? Turn party healing off."
|
||||||
|
9 AI_Message "Need help picking up all that loot? Turn Auto looting on."
|
||||||
|
10 Widget_Message "Place your widgets then lock'em into place!"
|
||||||
|
11 Widget_Message "Like an associates settings? Copy them to other associates."
|
||||||
|
12 Widget_Message "Use action button to control your associates actions."
|
||||||
|
13 Widget_Message "'All' commands are good for getting control of the party."
|
||||||
|
14 Widget_Message "Normal mode clears any specific commands."
|
||||||
|
15 Widget_Message "Follow command makes them stop fighting and follow!"
|
||||||
|
16 Widget_Message "Have traps? You can make a skilled associate use them."
|
||||||
|
17 Widget_Message "Put the camera focus on an associate to get better control."
|
||||||
|
18 Widget_Message "Don't like your associates familiar? Change it!"
|
||||||
|
19 Widget_Message "Don't like your associates animal companion? Change it!"
|
||||||
|
20 General_Message "Right click on the widget portrait to open the AI menu."
|
||||||
|
21 General_Message "Give your associates magic items, they can use more now!"
|
||||||
|
22 General_Message "Use the boxes to the right to add commands to your widgets."
|
||||||
|
23 General_Message "Use the mouse wheel to change a button's [values]."
|
||||||
|
24 General_Message "Use the mouse wheel to change a button's [values]."
|
||||||
|
25 General_Message "Use the mouse wheel to change a button's [values]."
|
||||||
|
26 General_Message "Want a module supported? Ask on Discord or the Vault."
|
||||||
|
27 Rule_Message "Allow more henchman into your party, upto 12 can join!"
|
||||||
|
28 Rule_Message "Too many widgets? You can turn your associate widgets off!"
|
||||||
|
29 Rule_Message "Party too big and can't get down the hall? Use Ghost mode!"
|
||||||
|
30 Rule_Message "Is the game too easy? Goto Main Options and change the RULES!"
|
||||||
|
31 Rule_Message "Increase the difficulty, make monster attack weaker targets."
|
||||||
|
32 Rule_Message "Monsters too powerful? Turn on moral checks."
|
||||||
|
33 Rule_Message "Allow casters to prebuff for stronger opponents."
|
||||||
|
34 Rule_Message "Allow casters to presummon for more enemy support."
|
||||||
|
35 Rule_Message "Change up your opponents tactics. Turn on monster tactics."
|
||||||
|
36 Rule_Message "Allow enemies to have their familiars and animal companions."
|
||||||
|
37 Rule_Message "Make summons more powerful, stop unsummons on master's death!"
|
||||||
|
38 Rule_Message "Want a pile on? Increase the distance monsters can respond!"
|
||||||
|
39 Rule_Message "Monster's perception can be changed up or down!"
|
||||||
|
40 Rule_Message "Want to see a massacre! Set the enemy corpses to remain."
|
||||||
|
41 Rule_Message "Looking for variety? Turn on wandering to get a surprise!"
|
||||||
|
42 Rule_Message "Not hard enough? Up the number of monsters you fight!"
|
||||||
|
43 Rule_Message "Monsters just falling over? Increase their health!"
|
||||||
|
44 Widget_Message "Change your associates memorized spells to what you need!"
|
||||||
|
45 Widget_message "Control the spells your party uses by turning on the Quick use widget!"
|
19400
src/hakpak/peps_prc8/2da/ai_spells.2da
Normal file
19400
src/hakpak/peps_prc8/2da/ai_spells.2da
Normal file
File diff suppressed because it is too large
Load Diff
BIN
src/hakpak/peps_prc8/tga/armor_pallet.tga
Normal file
BIN
src/hakpak/peps_prc8/tga/armor_pallet.tga
Normal file
Binary file not shown.
After Width: | Height: | Size: 176 KiB |
BIN
src/hakpak/peps_prc8/tga/gui_pal_tattoo.tga
Normal file
BIN
src/hakpak/peps_prc8/tga/gui_pal_tattoo.tga
Normal file
Binary file not shown.
After Width: | Height: | Size: 176 KiB |
@ -16,7 +16,7 @@
|
|||||||
12 1 1 1 1 **** **** 1 1 **** **** **** **** **** 1 1 **** 1 **** **** **** **** 1 662 Bonus_Feat
|
12 1 1 1 1 **** **** 1 1 **** **** **** **** **** 1 1 **** 1 **** **** **** **** 1 662 Bonus_Feat
|
||||||
13 1 1 1 1 **** **** 1 1 **** **** **** **** **** 1 1 **** 1 **** **** **** **** 1 663 Bonus_Spell_Slot_of_Level_n
|
13 1 1 1 1 **** **** 1 1 **** **** **** **** **** 1 1 **** 1 **** **** **** **** 1 663 Bonus_Spell_Slot_of_Level_n
|
||||||
14 **** **** **** **** **** **** **** **** **** **** **** **** **** **** 1 **** **** **** **** **** **** **** 667 Boomerang
|
14 **** **** **** **** **** **** **** **** **** **** **** **** **** **** 1 **** **** **** **** **** **** **** 667 Boomerang
|
||||||
15 1 1 **** 1 1 **** 1 1 1 1 1 **** **** 1 **** 1 1 1 **** **** **** 1 668 Cast_Spell
|
15 1 1 **** 1 1 **** 1 1 1 1 1 **** **** 1 **** 1 1 **** **** **** **** 1 668 Cast_Spell
|
||||||
16 1 1 1 1 **** 1 **** **** **** **** **** **** **** **** 1 **** **** **** **** **** **** 1 650 Damage_Bonus
|
16 1 1 1 1 **** 1 **** **** **** **** **** **** **** **** 1 **** **** **** **** **** **** 1 650 Damage_Bonus
|
||||||
17 1 1 1 1 **** 1 **** **** **** **** **** **** **** **** 1 **** **** **** **** **** **** 1 670 Damage_Bonus_vs_Alignment_Group
|
17 1 1 1 1 **** 1 **** **** **** **** **** **** **** **** 1 **** **** **** **** **** **** 1 670 Damage_Bonus_vs_Alignment_Group
|
||||||
18 1 1 1 1 **** 1 **** **** **** **** **** **** **** **** 1 **** **** **** **** **** **** 1 673 Damage_Bonus_vs_Racial_Group
|
18 1 1 1 1 **** 1 **** **** **** **** **** **** **** **** 1 **** **** **** **** **** **** 1 673 Damage_Bonus_vs_Racial_Group
|
||||||
@ -93,9 +93,9 @@
|
|||||||
89 1 1 1 1 1 1 1 1 **** 1 1 **** **** **** **** 1 1 **** **** **** **** 1 16825171 Use_Limitation_Arcane_Spells
|
89 1 1 1 1 1 1 1 1 **** 1 1 **** **** **** **** 1 1 **** **** **** **** 1 16825171 Use_Limitation_Arcane_Spells
|
||||||
90 1 1 1 1 1 1 1 1 **** 1 1 **** **** **** **** 1 1 **** **** **** **** 1 16825172 Use_Limitation_Divine_Spells
|
90 1 1 1 1 1 1 1 1 **** 1 1 **** **** **** **** 1 1 **** **** **** **** 1 16825172 Use_Limitation_Divine_Spells
|
||||||
91 1 1 1 1 1 1 1 1 **** 1 1 **** **** **** **** 1 1 **** **** **** **** 1 16825173 Use_Limitation_Sneak
|
91 1 1 1 1 1 1 1 1 **** 1 1 **** **** **** **** 1 1 **** **** **** **** 1 16825173 Use_Limitation_Sneak
|
||||||
92 1 1 **** 1 1 **** 1 1 1 1 1 **** **** 1 **** 1 1 1 **** **** **** 1 16824992 Spell_metamagic
|
92 1 1 **** 1 1 **** 1 1 1 1 1 **** **** 1 **** 1 1 **** **** **** **** 1 16824992 Spell_metamagic
|
||||||
93 1 1 **** 1 1 **** 1 1 1 1 1 **** **** 1 **** 1 1 1 **** **** **** 1 16824961 Spell_DC
|
93 1 1 **** 1 1 **** 1 1 1 1 1 **** **** 1 **** 1 1 **** **** **** **** 1 16824961 Spell_DC
|
||||||
94 1 1 **** 1 1 **** 1 1 1 1 1 **** **** 1 **** 1 1 1 **** **** **** 1 16824964 Spell_level
|
94 1 1 **** 1 1 **** 1 1 1 1 1 **** **** 1 **** 1 1 **** **** **** **** 1 16824964 Spell_level
|
||||||
95 1 1 1 1 1 1 1 1 **** 1 1 **** **** **** **** 1 1 **** **** **** **** 1 16825167 Use_Limitation_Ability
|
95 1 1 1 1 1 1 1 1 **** 1 1 **** **** **** **** 1 1 **** **** **** **** 1 16825167 Use_Limitation_Ability
|
||||||
96 1 1 1 1 1 1 1 1 **** 1 1 **** **** **** **** 1 1 **** **** **** **** 1 16825168 Use_Limitation_Skill
|
96 1 1 1 1 1 1 1 1 **** 1 1 **** **** **** **** 1 1 **** **** **** **** 1 16825168 Use_Limitation_Skill
|
||||||
97 **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****
|
97 **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** ****
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include "inc_mod_constant"
|
#include "inc_mod_constant"
|
||||||
#include "inc_ecl"
|
#include "inc_prc_ecl"
|
||||||
|
|
||||||
// Returns the ID code attached to the end of a Tag.
|
// Returns the ID code attached to the end of a Tag.
|
||||||
// Used in item functions.
|
// Used in item functions.
|
||||||
@ -1413,5 +1413,3 @@ int GetMinLevelXP(object oPC,int iLevel)
|
|||||||
int nMinXPForLevel = ((nHD * (nHD - 1)) / 2) * 1000;
|
int nMinXPForLevel = ((nHD * (nHD - 1)) / 2) * 1000;
|
||||||
return nMinXPForLevel;
|
return nMinXPForLevel;
|
||||||
}
|
}
|
||||||
|
|
||||||
//::void main () {}
|
|
@ -1,5 +1,54 @@
|
|||||||
#include "prc_racial_const"
|
#include "prc_racial_const"
|
||||||
int GetECL(object oPC)
|
#include "inc_2dacache"
|
||||||
|
#include "inc_persist_loca"
|
||||||
|
|
||||||
|
int GetTotalLA(object oTarget)
|
||||||
|
{
|
||||||
|
int nLA;
|
||||||
|
int nRace = GetRacialType(oTarget);
|
||||||
|
if(GetPRCSwitch(PRC_XP_USE_SIMPLE_LA))
|
||||||
|
{
|
||||||
|
nLA += StringToInt(Get2DACache("ECL", "LA", nRace));
|
||||||
|
}
|
||||||
|
if(GetPRCSwitch(PRC_XP_INCLUDE_RACIAL_HIT_DIE_IN_LA))
|
||||||
|
{
|
||||||
|
nLA += StringToInt(Get2DACache("ECL", "RaceHD", nRace));
|
||||||
|
}
|
||||||
|
nLA += GetPersistantLocalInt(oTarget, "template_LA");
|
||||||
|
nLA -= GetPersistantLocalInt(oTarget, "LA_Buyoff");
|
||||||
|
return nLA;
|
||||||
|
}
|
||||||
|
|
||||||
|
int GetECL(object oTarget)
|
||||||
|
{
|
||||||
|
int nLevel;
|
||||||
|
// we need to use a derivation of the base xp formular to compute the
|
||||||
|
// pc level based on total XP.
|
||||||
|
//
|
||||||
|
// base XP formula (x = pc level, t = total xp):
|
||||||
|
//
|
||||||
|
// t = x * (x-1) * 500
|
||||||
|
//
|
||||||
|
// need to use some base math..
|
||||||
|
// transform for pq formula use (remove brackets with x inside and zero right side)
|
||||||
|
//
|
||||||
|
// x^2 - x - (t / 500) = 0
|
||||||
|
//
|
||||||
|
// use pq formula to solve it [ x^2 + px + q = 0, p = -1, q = -(t/500) ]...
|
||||||
|
//
|
||||||
|
// that's our new formula to get the level based on total xp:
|
||||||
|
// level = 0.5 + sqrt(0.25 + (t/500))
|
||||||
|
//
|
||||||
|
if(GetPRCSwitch(PRC_ECL_USES_XP_NOT_HD) && GetIsPC(oTarget))
|
||||||
|
nLevel = FloatToInt(0.5 + sqrt(0.25 + ( IntToFloat(GetXP(oTarget)) / 500 )));
|
||||||
|
else
|
||||||
|
nLevel = GetHitDice(oTarget);
|
||||||
|
nLevel += GetTotalLA(oTarget);
|
||||||
|
return nLevel;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* int GetECL(object oPC)
|
||||||
{
|
{
|
||||||
int nECL = 0;
|
int nECL = 0;
|
||||||
int nRace = GetRacialType(oPC);
|
int nRace = GetRacialType(oPC);
|
||||||
@ -51,4 +100,4 @@ int GetECL(object oPC)
|
|||||||
}
|
}
|
||||||
nECL += GetHitDice(oPC);
|
nECL += GetHitDice(oPC);
|
||||||
return nECL;
|
return nECL;
|
||||||
}
|
} */
|
@ -1 +1,2 @@
|
|||||||
nasher unpack tophak --verbose --removeDeleted:false
|
nasher unpack tophak --verbose --removeDeleted:false
|
||||||
|
nasher unpack pepshak --verbose --removeDeleted:false
|
@ -1 +1,2 @@
|
|||||||
nasher unpack tophak --verbose -y
|
nasher unpack tophak --verbose -y
|
||||||
|
nasher unpack pepshak --verbose -y
|
Loading…
x
Reference in New Issue
Block a user