Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - EiriktheSkald

#1
Modder's Workshop / Northlander's War Axe
January 23, 2007, 03:29:56 AM
The axe is for an NPC mod I'm working on. It's basically a viking's battle axe. I'm told the the way to do this is like so:

The axe calls the .eff with its new effect, using opcode 177 and a 5% chance.

The .eff does opcode 67 (summon creature) on your target, summoning the creature you've made.

The creature (which is invisible) runs the script you've made and destroys itself.

One possible script would simulate hooking the axe around the target's ankle, thus:

IF
True()
THEN
RESPONSE #100
ActionOverride(LastSummonerOf(Myself),PlayDead(75))  // target is tripped for 5 secs or whatever
END


This is measured in AI updates. There are 15 AI updates per second. What's a reasonable amount of time for the target to get back on its feet again?

Alternatively, a script to check for target's shield might look like this:

IF
OR(3)
HasItemEquiped("SHLD01",LastSummonerOf(Myself))
HasItemEquiped("SHLD02",LastSummonerOf(Myself))
HasItemEquiped("SHLD03",LastSummonerOf(Myself))
etc.
THEN
RESPONSE #100

END


But I can find no action to remove target's shield.
#2
Modder's Workshop / Northlander's War Axe
January 22, 2007, 11:47:31 PM
If I set up the following item effect like so:

Type = THAC0 vs Type Bonus
Targettype = TargetSelf
Power = 1 (+1 to bonus?)
IDS Target = General/Shield
Duration = Instant/Limited
Dispel/Resistance = No Dispel/Bypass Resistance
Time = (what is equivalent of 1 round?)
Probability 1 = 5
Probability 2 = 0

Does this mean the one wielding the axe will gain a +1 THAC0 bonus against creatures holding a shield, 5% of the time?
#3
Modder's Workshop / Northlander's War Axe
January 22, 2007, 05:31:27 PM
I found some tutorials that may help:

Non-Lethal Combat
Complicated Item Creation

Not easy, but I think it can be done. [Edit:] Another idea is this:

258 FillSlot(I:Slot*SLOTS)
This action will attempt to fill a slot in a character's inventory with the appropriate item type. Using FillSlot(SLOT_WEAPON) will look for any items (let's use, SW1H01, for example) in the inventory, and move the first it comes across into the weapon slot. This is a dangerous function because it will not check whether or not an item already exists in the slot. This means that an item already in the slot would be destroyed.

Although if the creature had a nice magical shield, that would be a bummer.
#4
Modder's Workshop / Northlander's War Axe
January 22, 2007, 02:34:40 PM
We were discussing a technique with a light axe... hooking the axe over the opponent's shield and pulling it out of position, a nicely effective trick. Effect #264 - Drop Weapons in Panic (Example: gauntlets of fumbling) causes the target to drop all weapons it is holding. If it's a weapon-wielding humanoid, it's largely disabled by this. I would like to cause the target to either drop its shield or suffer a penalty in armor class on a successful hit (5-10% chance). Can this be done? What would be required to cause the target to drop its shield?

Edit:] This script might work:

IF
HasItem("SHLD01",NearestEnemyOf())
THEN
RESPONSE #100
DropItem("SHLD01",NearestEnemyOf())
END

But I'm not sure how to implement it into the item.
#5
I would like "ES" please.