Weapon enhancements

Ask for help about creating mods and scripts for Grimrock 2 or share your tips, scripts, tools and assets with other modders here. Warning: forum contains spoilers!
Post Reply
User avatar
Frenchie
Posts: 219
Joined: Wed Oct 16, 2013 2:50 am

Weapon enhancements

Post by Frenchie »

Is it possible to change the weapon attributes like AttackPower?

I reckon a weapon has the following attributes that sums up to damage:
- thumbnail
- sound
- glow (particles)
- description
- weight
- type (sharp, blunt, ranged)
- thrown attack power (0 if ranged weapon)
- melee attack power
- critical chance
- special melee attack (magical or melee)
- monster bonus (attack bonus with certain mobs)

The idea I have is to have a lucky charm like a rabbit's foot that changes either attack power or critical.
Last edited by Frenchie on Wed Jan 14, 2015 11:48 am, edited 2 times in total.
User avatar
THOM
Posts: 1281
Joined: Wed Nov 20, 2013 11:35 pm
Location: Germany - Cologne
Contact:

Re: Weapon enhancements

Post by THOM »

Here viewtopic.php?f=22&t=8512&hilit=asset

you can find a file with all the object definitions. You will see how weapons are scripted and also how you can change them. You only have to include your new weapon into your mod.

Regarding an item, that can add some points to certain attributes, you can find some examples, too. Bracers or Naclaces...
THOM formaly known as tschrage
_______________________________________________
My MOD (LoG1): Castle Ringfort Thread
My MOD (LoG2): Journey To Justice Thread | Download
Post Reply