Go Back   RunUO - Ultima Online Emulation > RunUO > Custom Script Release Archive

Custom Script Release Archive This is a pre-script database archive of what our users had released.

 
 
Thread Tools Display Modes
Old 08-26-2005, 12:33 AM   #1 (permalink)
 
Join Date: Jun 2005
Location: Tampa, FL
Age: 34
Posts: 183
Smile Vampire/Werewolf System

Ok, here is my version of the infamous vampire/werewolf battle

Credits for people helping me with stuff I used in this:
Admin Vorspire: showed me how to make monster already damaged
ArteGordon: his code addition for the LastSpell tracking, and most importantly, helping me understand how many methods worked so I could do many things on my own (even a lot other than this script)

Files Included / Installation:
** Just unzip the folder in the customs directory
** 2 files you may already have (1)the RandomHue from my Random Dye Tub already released (2)BaseHire from nerun's distro. If you already have these somewhere, just delete those files. I didn't edit anything on those files for this release, you will just need to have them
** Instructions.txt shows what files you will need to edit (I didn't include already edited files because many people will already have those edited already, I just showed what to add)

Description:
** Spawn in human form, have a chance to convert to a stronger form while fighting(melee or magic attacks), and then before being killed, turn into a weaker form. Once idle (no more combatant, they revert back to human form.
** The weak form has increased hit point regeneration and they have a chance to flee and hide. Once healed (regen to full hits), they revert back to human form.
** Each has specialty ability to drain their opponent's life and add to their own (most of the time is just a random amount of damage, but sometimes will completely heal the vampire/ww)
** Immune to summoned creatures, pets, most spells (see the following exceptions), and any weapon other than silver
Vampires - lower resistance to fire, take damage from spells (fireball, fire field, flamestrike) and fire elementals
WereWolf - lower resistance to Energy, take damage from spells (Lightning, Explosion, Chain Lightning) and air elementals
** Sunlight is lethal. Vampires are instantly killed and werewolves can not convert. Dungeon light counts as night regardless of the time of day.
** They are in an opposition group (like orcs/savages) and will fight each other. They have a small chance of dropping special loot (vampire robe and werewolf claws). These work like the Orcish Kin Mask, if you are wearing one you are a friend to that side.
** Each side has a hireable NPC that specializes in killing them. They suck against anything other than their sworn enemy (do 1/2 damage attacks and rcv dbl damage from an attack). If the enemy they are fighting attempts to hide and flee, they may reveal them and continue fighting. They are a friend to the opposite side also.


So check it out and let me know what you think.
Attached Files
File Type: zip WWandVampires.zip (18.5 KB, 415 views)
tbbd is offline  
Old 08-26-2005, 01:47 AM   #2 (permalink)
 
Join Date: Aug 2004
Location: 127.0.0.1
Age: 35
Posts: 234
Send a message via ICQ to Thundar
Default

i am a fan of vampires and WW so thanx for sharing i will check it out tomorrow mornin
Thundar is offline  
Old 08-26-2005, 02:00 AM   #3 (permalink)
 
Join Date: Aug 2004
Age: 31
Posts: 546
Default

Question, if a player (i'm assuming players can be vampires) are in a building, or house, mainly out of direct sunlight, do they die right away?
Memnoch is offline  
Old 08-26-2005, 02:22 PM   #4 (permalink)
 
Join Date: Jun 2005
Location: Tampa, FL
Age: 34
Posts: 183
Default

Quote:
Originally Posted by Memnoch
Question, if a player (i'm assuming players can be vampires) are in a building, or house, mainly out of direct sunlight, do they die right away?
This is not a player becomes a vampire system.
tbbd is offline  
Old 11-02-2005, 09:14 PM   #5 (permalink)
 
Join Date: Oct 2005
Posts: 169
Default

Why am I getting these errors after I did everything in the instructions?:

Quote:
Scripts: Compiling C# scripts...failed (4 errors, 0 warnings)
- Error: Scripts\Engines\AI\Creature\BaseCreature.cs: CS1514: (line 151, column
36) { expected
- Error: Scripts\Engines\AI\Creature\BaseCreature.cs: CS1519: (line 155, column
2) Invalid token '{' in class, struct, or interface member declaration
- Error: Scripts\Mobiles\PlayerMobile.cs: CS1514: (line 63, column 36) { expect
ed
- Error: Scripts\Mobiles\PlayerMobile.cs: CS1519: (line 67, column 2) Invalid t
oken '{' in class, struct, or interface member declaration
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.
Ajantis is offline  
Old 11-02-2005, 09:32 PM   #6 (permalink)
Moderate
 
David's Avatar
 
Join Date: Nov 2002
Location: USA
Posts: 6,598
Default

Interesting script, I missed the initial posting of it. Thanks for sharing!
__________________
David Forum Moderator
The RunUO.com Forum Moderator Team

Forum Rules and Guidelines
RunUO Forum Search Engine
Download RunUO 2.0 RC2
David is offline  
Old 11-03-2005, 01:47 AM   #7 (permalink)
 
Join Date: Jun 2005
Location: Tampa, FL
Age: 34
Posts: 183
Default

Quote:
Originally Posted by Ajantis
Why am I getting these errors after I did everything in the instructions?:
The only line that gets added to those 2 files is

public ISpell LastSpell;
near the top of each file

Nothing in there about a { near lines 150

Those errors must be from something else you have added...or maybe you didn't add the line within the public class.

I loaded this onto a default install and all worked ok...
tbbd is offline  
 

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5