PenUltima Online Forum Index Official Core: 096.7
Official Core: 097 2008-02-26
Donate towards the POL web hosting bill!
 POL Home   FAQ   Search    Memberlist   Usergroups    Register    Profile   Log in to check your private messages   Log in
The ability to specify random stats/skills for NPCs

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    PenUltima Online Forum Index -> Feature Suggestions
Display posts from previous:   

Author Message
Yukiko



Joined: 02 Feb 2006
Posts: 1094
Location: Southern Central USA

PostPosted: Thu Nov 09, 2006 2:10 am    Post subject: The ability to specify random stats/skills for NPCs Reply with quote

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.

Author Message
Shinigami
POL Core Developer


Joined: 30 Jan 2006
Posts: 292
Location: Germany, Bavaria

PostPosted: Sun Nov 19, 2006 4:06 pm    Post subject: Re: The ability to specify random stats/skills for NPCs Reply with quote

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

PostPosted: Mon Nov 20, 2006 1:00 am    Post subject: Reply with quote

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

PostPosted: Tue Nov 21, 2006 1:17 am    Post subject: Reply with quote

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.

I'll take a look in the vital hooks stuff.

Post new topic   This topic is locked: you cannot edit posts or make replies.    PenUltima Online Forum Index -> Feature Suggestions All times are GMT - 4 Hours
Page 1 of 1

 




Powered by phpBB © 2001, 2005 phpBB Group :: Theme & Graphics by GHS & Scott E. Royalty