[Show] Rift System( Almost Finished)

12/28/2016 21:45 raventh1984#1
Hi Elitepvpers,

With an big thanks to @[Only registered and activated users can see links. Click Here To Register...] and some other players xD
i have managed to create an Diablo 3 ish Rift game for flyff

What it does?

First speak to an NPC
Players will see this
[Only registered and activated users can see links. Click Here To Register...]

As you can see an player has the option to solo Rift or to Party rift.
I have made it so that only an party leader can start an Party rift.
However if you decline the party rift you still can do solo rift while you are in the party xD. So you dont have to leave the party.

Okey now what :D.
When an player has open the rift it will be teleported to random dungeons that an Admin can set in an .lua file.
When the dungeon has been set the script will then check how many monsters there must be in that particular rift. Also done true the .lua File.

Now that it has get the x ammount of numbers
Its then time to loop true all the Monsters inside PropMover.txt

it will then Randomize those monsters according to their ranks
(RANK_LOW)->(RANK_CAPTAIN)
accross random SpawnPoints that an server admin can add to the .lua file.

When x ammount of Monsters have been killed the boss will be spawned.(RANK_BOSS)->RANK_SUPER

When the boss has been killed players can do 2 things. Clear the entire Rift(Gives no benefits) or use the Teleport to Home function and do an new rift.

Ooh before i forgot.
Monsters that will be spawned in the Rift will have their level and stats matched up to the highest player there is.

So for Example if its spawning an small aibatt and your level is 100.
The aibatt is of the same level if not higher with random stats +/- 10~50 stats more or lower then you have.

[Things that needs to be done]
--Adding an nice image where you can see how much progress you have made.

If you have some ideas then leave a comment.

With kind regards,

Raventh
12/28/2016 22:30 Chriisx33#2
damn this is sick, i loved rifts in d3, you should make greater rifts aswell, would be a cool new way to upgrade accessory for a flyff server
12/28/2016 23:03 raventh1984#3
Thank you. Yes that is something i am going to do next. With an database

Verstuurd vanaf mijn SM-A500FU met Tapatalk
12/28/2016 23:32 Mognakor#4
Great thing if it works as advertised.

Now add procedural level generation :D
12/29/2016 07:20 raventh1984#5
Yes its working like advertised xD.

What do yo mean by add Procedural level generation?
12/29/2016 11:10 kevinkraus#6
i think he mean something like this:
[Only registered and activated users can see links. Click Here To Register...]
- Kevin Kraus
12/29/2016 12:06 banktakung#7
i'm try to doing this before but failed with core :D hop you can do it.
12/29/2016 12:58 Mognakor#8
Quote:
Originally Posted by raventh1984 View Post
Yes its working like advertised xD.

What do yo mean by add Procedural level generation?
Generating a random level based on some parameters. So each time you enter the dungeon you'll face an unique map. AFAIK Diablo 3 and other games already have this.

https://en.wikipedia.org/wiki/Proced...ion#Modern_use
12/29/2016 13:11 raventh1984#9
Quote:
Originally Posted by Mognakor View Post
Generating a random level based on some parameters. So each time you enter the dungeon you'll face an unique map. AFAIK Diablo 3 and other games already have this.

https://en.wikipedia.org/wiki/Proced...ion#Modern_use

Thanks for the wiki. and your explanation.

yeah its something i need to think about on how to implant that sort of thing.
Cause it means you should make 2 maps bound together.

Example. You start in Mars dungeon you turn left and poof you are in Dekane mine.

I believe this is what you mean?
12/29/2016 13:43 Mognakor#10
Quote:
Originally Posted by raventh1984 View Post
Thanks for the wiki. and your explanation.

yeah its something i need to think about on how to implant that sort of thing.
Cause it means you should make 2 maps bound together.

Example. You start in Mars dungeon you turn left and poof you are in Dekane mine.

I believe this is what you mean?
Actually it's way more complex.

AFAIK right now you have a set amount of existing dungeon maps and upon entering a random one will be selected.

Procedural generation means that upon entering an algorithm will be run which generates a new dungeon map.

For example you could have a few rooms which are placed randomly within the dungeon and then connected through corridors.

OR (probably better)

You start with fixed entry room on a random position and then add a new room in a random place with a distance between X and Y. Then you select a random existing room and do the same again until you've got enough rooms.

To make things easier you could begin with having all rooms look exactly the same (or have preset rooms), later on you could even randomize the look of those rooms to some point.

Of course you need to make each player then download this map.

P.S.: This isn't an easy task and was more meant as a joke.
12/29/2016 13:48 raventh1984#11
Thank you. Well joke or not it just means an new challenge :D.
I like the idea very much. But i will do 1 thing at a time.

I will finish this system first.

And then i will get my hands on the new challenge xD.
It will make it more interesting for the flyff scene.
01/28/2017 00:09 raventh1984#12
Hi elitepvpers,

Well i thought after some absence the i would tell you an small update.

Re-Scripted the rift battle so it uses triggers that you can add @[Only registered and activated users can see links. Click Here To Register...] editor for spawning npc's. This way you can add spawn points an lot quicker and an lot easier then adding 100+ spawn points inside the .lua file.

Added NPC Spawn if you have killed the rift boss.
The reason is quite simple. Whe you are in rift you will get your inventory full.
I had it first so that if you use the TP then the rift closes. This is no longer the case.
Instead it will save your last position and when you choose the rift again you will be spawned at that location.

When the NPC is spawned you then can close the rift by clicking on the rift manager npc and choose close rift.

I am having an 1 week break. So i will put up an video when its done. So you can then see the rift in action :D.