Vladoshi's Easy Golem Making script
-----------------------------------
This lets you easily implement your golems. It has no golems in the erf file. It is 2 scripts and 2 item that make it easy as possible for you to make as many golems for your players to create as the companion roster system will allow.
After you set the variables on a golem book, they just put the required parts in any container (even on themselves will work), cast the book at the container and a a golem figurine appears. They just cast this figurine at a player and the golem is made as a companion.
Importing the golembook erf file
--------------------------------
After importing you should have 2 new scripts and 2 new items.
- i_vl_golembook_sc - for the golem book items
- golem_deathscript - this is assigned to new golems by i_vl_golembook_ac script so they leave the party OnDeath. You do not have to add this to creatures.
- the Golem Book - you just keep makings copies for each specific golem
- Iron Golem Creation Book - a demo that has the D&D requirements for creating an Iron Golem.
Creating a book for your golem
------------------------------
1. Make a copy of the Golem Book.
2. Make sure its template resref and resource name are different to any other items in your toolset, including other golem books.
3. Change its name to something useful, like "Iron Golem Creation Book".
4. Change its description to list what is needed to make your golem.
Here is an example you can copy:
Iron Golem
----------
Levels(in casting classes): 16
Magic: Can cast Arcane or Divine spells
Feats: Craft Wondrous Item, Craft Magical Arms and Armor
Skill(s): DC 20 Craft Armor
GP Cost: 150,000 gp
XP Cost: 5600 xp
Scroll(s): Cloudkill, Dominate Person, Polymorph Self
Component(s): Full Plate Mold, 1 Metal Ingot
Put the components and scrolls into any container. Cast this book's OnActivate Item spell at the container. On success the joins your party. On Death, the golem will leave the party and disappear.
Arcane classes are Arcane Trickster, Harper, Eldritch Knight, Pale Master, Sorcerer, Warlock and Wizard.
Divine classes are Cleric, Druid, Harper and Warpriest.
* You can use your character as the container but there is always the risk that this process will delete an item your did not want deleted. If you are isolated and need to use your own inventory, put the items in the first row on the first page of your inventory, and the script will not have to involve any of your other items.
Setting the variables
---------------------
After you make a copy, I preset all local variables onto the Golem Book so you just change the ones your need to.
Blank or 0 means the variable is not going to be used . To find out SKILL_ andIP_CONST_CASTSPELL_ numbers open a blank script and use the Script Assist to search in the Constants tab. Remeber, You need the number it equals, not the words!
Explaining the variables
------------------------
Using the Iron Golem example:
For Item restrictions
- Alignment: Use the Restrict by Alignment property
- The Magic Type: Restrict use by the magic classes too. Usually Wizard, Sorc and Warlock for Arcane, Cleric and Druid for divine.
- For Arcane casting (see magic type below) I count Wiz, Sorc, Warlock, Arcane Trickster, Eldritch Knight Palemaster and Harper levels.
- For Divine (see magic type below) its all Cleric, Druid and Warpriest and Harper levels.
GOLEM_RESREF = "c_irongol"
GOLEM_GP = 150000 <- this is high because instead of collecting many items which is a headache to check for, I make them get one or two and pay for the rest.
GOLEM_XP = 5600
GOLEM_MAGIC_TYPE = 1 (count arcane and divine)
GOLEM_CASTER_LEVEL = 16
GOLEM_NO_WONDROUS = 0 (not changed)
GOLEM_NO_CRAFT_MAGIC_ARMS = 0 (not changed)
GOLEM_SKILL = 25 (craft armor)
GOLEM_SKILL_DC = 20 (you set it)
GOLEM_SCROLL_1 = 48 (IP_CONST cloudkill)
GOLEM_SCROLL_2 = 89 (IP CONST dominate person)
GOLEM_SCROLL_3 = 208 (IP CONST polymorph self) Only 3 required
GOLEM_ITEM_1 = n2_crft_mold_hvfp (Full Plate Mould)
GOLEM_ITEM_2 = n2_crft_ingiron (iron ingot)
Description of variables (listed as in the book item)
------------------------
0. GOLEM_RESREF = the template resref of the creature
1. GOLEM_GP = a gold price: this is usually high because instead of collecting many items which is a headache to check for, I make them only get one or two and "buy" for the rest.
2. GOLEM_XP = xp lost by creation. Golems are very powerful tank NPCs so this is more than made up for in play.
3. GOLEM_MAGIC_TYPE = 0 (none needed), 1 (both), 2 (arcane levels only), 3 (divine levels only)
4. GOLEM_CASTER_LEVEL = how many levels they need in that magic type. 0 means none.
5. GOLEM_NO_WONDROUS = 1 if you want to waiver the feat
6. GOLEM_NO_CRAFT_MAGIC = 1 if you want to waiver the feat. Good for low level golems for lowe level casters
7. GOLEM_SKILL = the numberic value of a SKILL_* constant used in scripting.
----- This could be annoying. The books list all kinds of craft skills. The more obscure the golem the more obscure the skill. Alchemy, Spellcraft, Craft Armor or Lore seem to cover all bases.
8. GOLEM_SKILL_DC = a DC you must set (they are in the D&D books)
9. GOLEM_SCROLL_1 = the numeric value of the IP_CONST_CASTSPELL_* constant used in scripting. You might need to add #include "x2_inc_itemprop" to a blank script to search for these values.
----- If 0 or none is looked for and this check is considered successful.
----- Scribed scrolls should be accepted.
----- You do not need to set any if you want. Just leave the current = 0.
10. GOLEM_ITEM_1 = the tag of the item required.
----- You can set as many as you want. (GOLEM_ITEM_2, etc).
----- Leave the current one blank if there are none, and this check is considered successful.
----- For armour or weapons, like a +3 Great axe, this means only a standard NWN2 +3 great axe is acceptable. Not crafted items. Make sure this is explained in the description.
----- Do not put scrolls here. They only check through the GOLEM_SCROLL_* variables.
----- Any item can only be checked for once so no "Get 3 Iron Ingots"!. You charge more gold so the rest are "bought".
Vladoshi,
Love your work here but I have a few questions for you:
1. is there a way to limit the spawning of Golems to just 1 at a time until dead? (like a companion)
2. Can the Golem be changed in a true companion. Basically, follow you like a companion or fight for you when told to?
I ask this because this is very close to what I am looking for on the server I DM/Build on but I would need the golems to be mastered by the caster like a companion.
Yes Shadow. You just put in the resref of any creature and it is made your companion until its game death. And to change the number of summons, just change the figurine in the editor to cast OnActivate per day intead of the current setting.
Posted by shadow of dreams at 2007-04-18 23:52:57 Voted 8.50 on 04/18/07
ow something more I could use any type of monster?
like I could put in a dragon or a demon to?
Posted by shadow of dreams at 2007-04-18 23:51:56 Voted 8.50 on 04/18/07
looks cool but havent test it yet think I will put it in my module.
what I made up from your Description it consume a item in you bag.
Is there a option to counter this and make the player summon 1 at a time?(for free)(and only 1 golem even if you got 3 different books)
becuase this would be fun with some boss drops.
(with this script I could make a few differend types of golems(differend books)(differend times).right??)
but anyway it looks realy usefull and good.
You must be Logged In to post comments in this section.
10 - A Masterpiece, Genuinely Groundbreaking 9 - Outstanding, a Must Have 8 - Excellent, Recommended to Anyone 7 - Very Good, Deserves a Look 6 - Good, Qualified Recommendation 5 - Fair, Solid yet Unremarkable 4 - Some Merit, Requires Improvements 3 - Poor Execution, Potential Unrealized 2 - Very Little Appeal 1 - Not Recommended to Anyone