Posted: Tue Jan 02, 2007 5:39 pm Post subject: POL96.3 - NPC swing speed
From what I have been able to test, the NPC swing/attack speed are not afflicted at all by AttackDelay in NPCDesc.cfg, nor by npc.delay_mod := ms, but are controlled solely by the intrinsic weapons Speed in Itemdesc.cfg.
Did I misunderstand something, or is this a bug?
Author
Message
MuadDib POL Developer
Joined: 13 Feb 2006 Posts: 830 Location: Indiana, USA
Posted: Tue Jan 02, 2007 5:48 pm Post subject:
Dunno, Would have to ask Shini on that one if it is by design or not.
I believe the same problem applies to AttackMinRange and AttackMaxRange, since all NPC with "AttackMinRange 0" and "AttackMaxRange 2" has a range of 0 to 1.
Author
Message
MuadDib POL Developer
Joined: 13 Feb 2006 Posts: 830 Location: Indiana, USA
Posted: Tue Apr 10, 2007 10:21 pm Post subject:
Are you using AttackSpeed in the template for the npc also?
Author
Message
MuadDib POL Developer
Joined: 13 Feb 2006 Posts: 830 Location: Indiana, USA
Posted: Tue Apr 10, 2007 10:23 pm Post subject:
AttackSpeed is what is checked to build the NPC Intrinsic weapon off the NPCTemplate itself.
Author
Message
CWO
Joined: 04 Feb 2006 Posts: 699 Location: Chicago, IL USA
Posted: Tue Apr 10, 2007 11:46 pm Post subject:
Since we're somewhat on the subject, what exactly does the core check for the projectile that goes between the NPC and its target? I've tried just about every combination I can think of and its still shooting invisible stuff.
Author
Message
MuadDib POL Developer
Joined: 13 Feb 2006 Posts: 830 Location: Indiana, USA
Posted: Wed Apr 11, 2007 12:11 am Post subject:
Basically, you create a bow/etc, then mark it as intrinsic for that npc type
If i remember right, my LBR/AOS package i made years ago, included examples for multiple types of intrinsic weapons and how to link them.
Weapon 0xF020
{
Name Wrestling
Speed 38
Damage 1d8
Attribute Wrestling
Graphic 1
Anim 0x9
MissSound 0x234
HitSound 0x13E
MaxHP 1
Intrinsic 1
skill -1
SaveOnExit 0
}
I of course have many NPC with different AttackSpeed, AttackMinRange, AttackMaxRange in the NPCdesc.cfg but all NPC are using the same speed and range (range 0 to 1 and what seem to fit speed 38 )
Last edited by Repsak on Wed Apr 11, 2007 2:01 pm; edited 1 time in total
Author
Message
MuadDib POL Developer
Joined: 13 Feb 2006 Posts: 830 Location: Indiana, USA
Posted: Wed Apr 11, 2007 1:47 pm Post subject:
Nice to know.
Next, what if you change the intrinsic weapon's entry? Will that affect them all? (Without searching, trying to see if intrinsic weapon entry overrides template).
Author
Message
MuadDib POL Developer
Joined: 13 Feb 2006 Posts: 830 Location: Indiana, USA
Posted: Fri Apr 13, 2007 8:24 am Post subject:
Austin has made changes with the NPCDesc entry so that Projectiles are supported directly for the template-built intrinsic weapon now.
I will also look into fix for speed/delay porting over like it should.