PenUltima Online

It is currently Fri Sep 05, 2008 3:11 am

All times are UTC - 8 hours




Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 
Author Message
 Post subject: The ability to specify random stats/skills for NPCs
PostPosted: Wed Nov 08, 2006 10:10 pm 
Offline

Joined: Thu Feb 02, 2006 1:41 pm
Posts: 1122
Location: Southern Central USA
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.

_________________
Sincerely,
Yukiko

I know you think you understand what you thought I said but what you heard is not exactly what I meant.

Titus 2:13


Top
 Profile  
 
 Post subject: Re: The ability to specify random stats/skills for NPCs
PostPosted: Sun Nov 19, 2006 12:06 pm 
Offline
POL Core Developer

Joined: Mon Jan 30, 2006 9:28 am
Posts: 292
Location: Germany, Bavaria
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


Top
 Profile  
 
 Post subject:
PostPosted: Sun Nov 19, 2006 9:00 pm 
Offline
POL Developer
User avatar

Joined: Sun Feb 12, 2006 9:50 pm
Posts: 836
Location: Indiana, USA
It already exists. Read up on the vital hooks in distro and so forth.

_________________
POL Developer - The Penguin Scripter


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 20, 2006 9:17 pm 
Offline

Joined: Thu Feb 02, 2006 1:41 pm
Posts: 1122
Location: Southern Central USA
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.

_________________
Sincerely,
Yukiko

I know you think you understand what you thought I said but what you heard is not exactly what I meant.

Titus 2:13


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subice by phpBBservice.nl