[Text Tutorial] How to make setpieces spawn into the realm.

Posts 1–8 of 8 · Page 1 of 1
[Text Tutorial] How to make setpieces spawn into the realm.
Hey guys, I'm going to tell you how to make setpieces spawn in the realm

For example I'm using @Lunati 's Beach Bum Setpiece

The (setpeice).cs will go into Wserver<Realm<Setpieces

Alright so go to Wserver>Realm>Oryx.cs
Open Oryx.cs

Scroll down til' you see this code
Code:
                 List<Tuple<string, ISetPiece>> events = new List<Tuple<string, ISetPiece>>()
        {
            Tuple.Create("Skull Shrine", (ISetPiece) new SkullShrine()),
            Tuple.Create("Pentaract", (ISetPiece) new Pentaract()),
            Tuple.Create("Grand Sphinx", (ISetPiece) new Sphinx()),
            Tuple.Create("Lord of the Lost Lands", (ISetPiece) new LordOfTheLostLands()),
            //Tuple.Create("Hermit God", (ISetPiece)new Sphinx()),
            //Tuple.Create("Ghost Ship", (ISetPiece)new Sphinx()),
            Tuple.Create("Cube God", (ISetPiece) new CubeGod()),
},
After the
Code:
Tuple.Create("Cube God",(ISetPiece) new Cube God()),
put this code
Code:
Tuple.Create("Beach Bum", (ISetPiece) new BeachBum()),
Now you're code will look like this
Code:
        List<Tuple<string, ISetPiece>> events = new List<Tuple<string, ISetPiece>>()
        {
            Tuple.Create("Skull Shrine", (ISetPiece) new SkullShrine()),
            Tuple.Create("Pentaract", (ISetPiece) new Pentaract()),
            Tuple.Create("Grand Sphinx", (ISetPiece) new Sphinx()),
            Tuple.Create("Lord of the Lost Lands", (ISetPiece) new LordOfTheLostLands()),
            //Tuple.Create("Hermit God", (ISetPiece)new Sphinx()),
            //Tuple.Create("Ghost Ship", (ISetPiece)new Sphinx()),
            Tuple.Create("Cube God", (ISetPiece) new CubeGod()),
            Tuple.Create("Beach Bum", (ISetPiece) new BeachBum()),
        };
Rebuild Wserver. YOU'RE NOT DONE

Now scroll up until you see
Code:
                killed = new string[] {
                    "How could a creature like {PLAYER} defeat my dreaded Ghost Ship?!",
                    "{PLAYER}, has crossed me for the last time! My Ghost Ship shall be avenged.",
                    "The spirits of the sea will seek revenge on your worthless soul, {PLAYER}!"
                }
            }),
Now under that put
Code:
            Tuple.Create("BeachBum", new TauntData()
            {
                spawn = new string[] {
                    "What is this Beach Bum doing in my realm!",
                },
            }),
        };
Now your code will look like
Code:
                },
                killed = new string[] {
                    "How could a creature like {PLAYER} defeat my dreaded Ghost Ship?!",
                    "{PLAYER}, has crossed me for the last time! My Ghost Ship shall be avenged.",
                    "The spirits of the sea will seek revenge on your worthless soul, {PLAYER}!"
                }
            }),
            Tuple.Create("BeachBum", new TauntData()
            {
                spawn = new string[] {
                    "What is this Beach Bum doing in my realm!",
                },
            }),
        };
Now Oryx will say "What is this Beach Bum doing in my realm!" When the setpiece is created in the realm.

Rebuild the Wserver then the Solution

Your setpiece should spawn in the realm now
What is this please tell me
Quote Originally Posted by Carminha View Post
What is this please tell me
its what the title says, you leacher.
Quote Originally Posted by Trollaux View Post


its what the title says, you leacher.
Just to say? You blocked me from skype for what? XD
Quote Originally Posted by sacredmike View Post
Just to say? You blocked me from skype for what? XD
I didnt block u but I switched skypes because I got too many contact requests on that one.
Quote Originally Posted by Trollaux View Post


I didnt block u but I switched skypes because I got too many contact requests on that one.
[2:33:07 PM] Trollaux: OMG
[2:33:16 PM] Trollaux: U USE VERMIN VIBES REDUX TOOO
[2:33:35 PM] Trollaux: y u add me
[2:33:54 PM] SacredHeart09: Vermin Vibes Redux?
[2:33:57 PM] SacredHeart09: Wut?
[2:34:00 PM] Trollaux: omg
[2:34:03 PM] Trollaux: wat
[2:34:07 PM] SacredHeart09: leacher?
[2:34:10 PM] Trollaux: y did u add me
[2:34:11 PM] Trollaux: -.-
[2:34:16 PM] SacredHeart09: BECUZ YOLO
[2:34:25 PM] Trollaux: YOLO TO THE REMOVE BLOCK BUTTON
what is setpieces help please
Quote Originally Posted by Carminha View Post
what is setpieces help please
It's about private server. You don't really have to know unless you're a private server owner/developer
Posts 1–8 of 8 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Talk with us