The ability to specify random stats/skills for NPCs
Author
Message
Yukiko
Joined: 02 Feb 2006 Posts: 1094 Location: Southern Central USA
Posted: Thu Nov 09, 2006 2:10 am Post subject: The ability to specify random stats/skills for NPCs
I tried setting STR to 10d12 on an NPC and the server produced an NPC with STR at 120. So I assume it cannot handle random ranges ATM.
Is it possible to add the ability to specify random ranges for stats and skills in future versions of POL?
For example:
Code:
NpcTemplate savageridgeback
{
Name a savage ridgeback
script animal
ObjType 0x85
Graphic 188
Color 0
TrueColor 0
Gender 0
STR 2d50
INT 10d3 + 10
DEX 3d25
HITS 54
MANA 0
STAM 75
MagicResistance 4d12
Tactics 4d10+8
....
This came to mind as I was reading UO Stratics and found that NPCs on OSI do have random ranges. Atleast the Treefellow does. I believe this will allow a bit more realism to be incorporated into the system.
Re: The ability to specify random stats/skills for NPCs
Author
Message
Shinigami POL Core Developer
Joined: 30 Jan 2006 Posts: 292 Location: Germany, Bavaria
Posted: Sun Nov 19, 2006 4:06 pm Post subject: Re: The ability to specify random stats/skills for NPCs
Yukiko wrote:
Is it possible to add the ability to specify random ranges for stats and skills in future versions of POL?
if it's a critical wish, you can add it by yourself... just read value on npc-init (in ai-script) and modify values as needed.
Shinigami
Author
Message
MuadDib POL Developer
Joined: 13 Feb 2006 Posts: 830 Location: Indiana, USA
Posted: Mon Nov 20, 2006 1:00 am Post subject:
It already exists. Read up on the vital hooks in distro and so forth.
Author
Message
Yukiko
Joined: 02 Feb 2006 Posts: 1094 Location: Southern Central USA
Posted: Tue Nov 21, 2006 1:17 am Post subject:
OK.
I did see in the poldocs CreateNPCFromTemplate that we can change specific attributes upon creation. That was a few days after making my post BTW.