|
||
|
|||||||
| Custom Script Releases This forum is where you can release your custom scripts for other users to use. Please note: By releasing your scripts here you are submitting them to the public and as such agree to make them public domain. The RunUO Team has made its software GPL for you to use and enjoy you should do the same for anything based off of RunUO. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Forum Expert
|
Hi ive had this for a while and decided to share it it's the Elite Ninjas Like osi .
On osi Elite Ninjas can hide with smoke bombs and they can change into any pet or critter if you already got my OrcScoutAI it's the same process. go to BaseAI and add this line Code:
AI_Ninja Code:
public enum AIType
{
AI_Use_Default,
AI_Melee,
AI_Animal,
AI_Archer,
AI_Healer,
AI_Vendor,
AI_Mage,
AI_Berserk,
AI_Predator,
AI_Thief,
AI_Necro,
AI_Necromage,
AI_Ninja,
AI_OrcScout
then go to BaseCreature and add this Code:
case AIType.AI_Ninja:
m_AI = new NinjaAI(this);
break;
Code:
switch ( NewAI )
{
case AIType.AI_Melee:
m_AI = new MeleeAI(this);
break;
case AIType.AI_Animal:
m_AI = new AnimalAI(this);
break;
case AIType.AI_Berserk:
m_AI = new BerserkAI(this);
break;
case AIType.AI_Archer:
m_AI = new ArcherAI(this);
break;
case AIType.AI_Healer:
m_AI = new HealerAI(this);
break;
case AIType.AI_Vendor:
m_AI = new VendorAI(this);
break;
case AIType.AI_Mage:
m_AI = new MageAI(this);
break;
case AIType.AI_Predator:
//m_AI = new PredatorAI(this);
m_AI = new MeleeAI(this);
break;
case AIType.AI_Thief:
m_AI = new ThiefAI(this);
break;
case AIType.AI_Necro:
m_AI = new NecroAI(this);
break;
case AIType.AI_Necromage:
m_AI = new NecromageAI(this);
break;
case AIType.AI_Ninja:
m_AI = new NinjaAI(this);
break;
case AIType.AI_OrcScout:
m_AI = new OrcScoutAI( this );
break;
Last edited by Erica; 06-11-2008 at 12:52 AM. Reason: Fixed Rar files |
|
|
|
|
|
#4 (permalink) |
|
Forum Novice
Join Date: Jun 2006
Location: Somewhere very cold in the winter...
Age: 28
Posts: 600
|
Wow, I must say awesome work once again. That's what I get for not finishing the stuff I work on fast enough!
![]() I would give you karma but I've exhausted the system and it won't let me anymore...
__________________
Chaos Reborn: The final battle where only the strong will survive...!
|
|
|
|
|
|
#6 (permalink) |
|
Forum Expert
|
Thanks all i am working on the whitewyrm where in the old days he would change to a human back and forth once hes tamed he will stay as whitewyrm but when you see him wild he would change back and forth to a human once i get it done i'll post it as well i tryed peo whitewyrm but has a bug he knows this as well we had spoken about it but will release mines once its done.
|
|
|
|
|
|
#9 (permalink) |
|
Forum Expert
|
I noticed an issue with this ai... When it is assigned to an npc the npc won't move at all he'll stand in place where he spawns. Also when he is attacked he'll attack but not move when the attacker is too far away. Also also... He doesn't use any of his abilities...
Maybe I am doing something wrong but I have no clue... Any help? ![]()
__________________
:mad: Red makes me angry!:mad::rolleyes: Blue makes me happy!:rolleyes: .:Xeno-Corporation:. Devised from our signature art to our Ultima Online shard; Thanks to all those that contributed to it all!
|
|
|
|
|
|
#11 (permalink) |
|
Newbie
Join Date: Feb 2008
Location: Germany, BW (in front of my desktop)
Posts: 31
|
i tried everything but i can't unzip the NinjaAI.cs file
![]() Yes, I also tried the steps described in other threads but they didn't help too... could someone maybe repost it unzipped? (only the NinjaAi.cs file) Thank you very much, Djego |
|
|
|
|
|
#12 (permalink) |
|
Forum Novice
Join Date: Jul 2004
Location: IL, USA
Posts: 581
|
Yes the .rar files is broken. I tried to uncompress it on 2 different computers with 2 different programs. Both say unexpected end of archive.
I do not have it to upload. I am just confirming it is broken. |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|