
Originally Posted by
ProHackBot999
I believe it is possible. With proper coordinate settings (to make sure setpieces don't overlap too badly), you could build any kind of dungeon. However, you will have to create a bunch of different setpieces and align them to a randomizer code (with the exception of boss rooms) for them to be truly random.
By the way, that code alone looks like it is telling what the RealmManager is supposed to do with the Setpieces. Check for another code that looks for a more specific setpiece, like a Skull Shrine.
The code for this is found in Oryx.Cs, First found something else for the spawn rates in Oryx.cs
Code:
{
{ WmapTerrain.ShoreSand, Tuple.Create(
100, new []
{
Tuple.Create("Max Pirate" , 0.01),
Tuple.Create("Pirate", 0.3),
Tuple.Create("Piratess", 0.1),
Tuple.Create("Snake", 0.2),
Tuple.Create("Scorpion Queen", 0.4),
})
},
How are we gonna use it? We'll make a custom Terrain form and well replace the mobs and the rates with the ones dat we want
And for the Skull Shrine :
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 Sphinx()),
//Tuple.Create("Hermit God", (ISetPiece) new Sphinx()),
//Tuple.Create("Ghost Ship", (ISetPiece) new Sphinx()),
Tuple.Create("Cube God", (ISetPiece) new CubeGod()),
The Lord,Hermit and the Ghost Ship are // as a fix as to many sphinxes per realm ( until the behaves come )
+ Found something for the OT map ( Oxygen bar thingy )
If you try to add it is kinda hard to use but just look her:
Code:
stats[StatsType.OxygenBar]
It isn't the code but maybe somebody can help?