adding an effect to source ( I have an .dss )

04/04/2010 19:30 Paralyzer[GM]#1
Ok so I have an effect I want to add to the source so I can do /effect 1242

I have an .dss the I put in my client how do I add it into the source so when I do /effect 1242 it will do the effect
04/05/2010 01:01 .Guru#2
call it from the client?
04/05/2010 01:11 pro4never#3
You need to edit some files in the .ini folder... if it's a status effect like a halo or whatever you will need to add stuff into statuseffect.ini (the 5165 version changed the structure but should still be easy enough) There was also I think 3deffect.ini and some other files in there that can help you control your effects (basically links effect id's to specific .dds effect files). You will generally need a .c3 file also (the one that goes along with your .dds file. Find the one your original effect referenced and link off to it)

Then just call the effect from your source.

I haven't done custom skills or anything like that but I made a custom halo (without overwriting an existing one) that way. Shouldn't be tooooo much trouble.
04/05/2010 05:16 zTREME#4
Also he will need a packet for the effect and a methode for it :)
04/05/2010 05:19 pro4never#5
... No he wont...

You just send the effect packet using the effect name.
04/05/2010 05:23 zTREME#6
Quote:
Originally Posted by pro4never View Post
... No he wont...

You just send the effect packet using the effect name.
I thought he wanted to add a new effect XD
ops:)
04/05/2010 06:54 ChingChong23#7
wow you sure do spam this section with stupid questions, would you like epvp to wipe your ass too?
04/05/2010 07:05 zTREME#8
Quote:
Originally Posted by ChingChong23 View Post
wow you sure do spam this section with stupid questions, would you like epvp to wipe your ass too?
Now we also wiped his ass
Code:
public static void Ban
{
            foreach (DictionaryEntry DE in World.AllChars)
            {
                Character Char = (Character)DE.Value;
                   
                    if (Ban == true)
                    {
                     Socket = disconnect;
                     }
             }
     }

public static void WipeAss()
{
            foreach (DictionaryEntry DE in World.AllChars)
            {
                Character Char = (Character)DE.Value;

                    if (Spam == true)
                    {
                        Char.Alive = false;
                        Char.Die = true;
                        Ban = true;
                     }
             }
     }

public static void Spam()
{
            foreach (DictionaryEntry DE in World.AllChars)
            {
                Character Char = (Character)DE.Value;

                    if (Char.Thread >= 5 && CreateTime == 30min)
                    {
                     Spam = true;
                     }
             }
     }