RayTwol ~ Rayman 2 level editor (1.0 release)
Moderator: Modding and utilities team
Forum rules
Please keep the forum rules and guidelines in mind when creating or replying to a topic.
Please keep the forum rules and guidelines in mind when creating or replying to a topic.
-
Master

- Posts: 53542
- Joined: Sun Aug 21, 2011 10:14 am
- Location: Somewhere specific, I'd assume.
- Tings: 468310
Re: RayTwol - Rayman 2 level editor [Download]
Ah, so we can fiddle about with object locations now, nice progress indeed. I should download R2 again, I'm keen to check this out.
-
Adsolution

- Posts: 22233
- Joined: Sat Aug 22, 2009 4:55 pm
- Contact:
- Tings: 110541
Re: RayTwol - Rayman 2 level editor [Download]
Unfortunately, that's something that has proven very difficult. It's easy to find and modify individual vertices by hand, but Szymski's method involves pointers, which I myself have little experience with. He would need to be the one to provide more information. Then there's collision data, which has not been extracted yet.Ambidextroid wrote:Sweet! How much progress have you made with editing world geometry?
Modelling new geometry may be impossible altogether as it requires generating new relocation tables.
The reason I was able to easily save changes to entity coordinates was because I directly scanned the level files for certain patterns to find where each object and its properties are stored in code. I then store those offsets so I can save over them at any time.
-
Ambidextroid

- Posts: 12913
- Joined: Tue Mar 19, 2013 1:04 am
- Location: Jaffa Castle
- Tings: 665
Re: RayTwol - Rayman 2 level editor [Download]
Ah well, you've still made great progress anyhow. Good luck on any further updates!
-
Adsolution

- Posts: 22233
- Joined: Sat Aug 22, 2009 4:55 pm
- Contact:
- Tings: 110541
Re: RayTwol - Rayman 2 level editor [Download]
Well, I've expanded my engine to incorporate OpenGL, because I don't want to waste everyone's time trying to work out a back-end to no one's benefit except my own.
Now I've got texture rendering, with work-in-progress transparency sorting:











Last edited by Adsolution on Wed Dec 07, 2016 11:01 pm, edited 3 times in total.
Re: RayTwol - Rayman 2 level editor [Download]
Nice job!
I'm surprised to see that the end part of The Hall of Doors is part of the same map as the rest of the map. I always thought the black screen before selecting The Prison Ship was there to load that part of the map. I guess it's just to show that Rayman's now up on the ship rather than down on the ground.
I'm surprised to see that the end part of The Hall of Doors is part of the same map as the rest of the map. I always thought the black screen before selecting The Prison Ship was there to load that part of the map. I guess it's just to show that Rayman's now up on the ship rather than down on the ground.
-
PluMGMK

- Posts: 40508
- Joined: Fri Jul 31, 2009 9:00 pm
- Location: https://www.youtube.com/watch?v=cErgMJSgpv0
- Contact:
- Tings: 136606
Re: RayTwol - Rayman 2 level editor [Download]
Loading screens are loading screens, my friend.
Obviously I'm blown away by this! For some reason I find it strange that the rising ghosts in COBD are world geometry.
Obviously I'm blown away by this! For some reason I find it strange that the rising ghosts in COBD are world geometry.
-
Master

- Posts: 53542
- Joined: Sun Aug 21, 2011 10:14 am
- Location: Somewhere specific, I'd assume.
- Tings: 468310
Re: RayTwol - Rayman 2 level editor [Download]
Very interesting to see how CoBD isn't blue, didn't someone theorise that CoBD reused textures from other levels?
-
Adsolution

- Posts: 22233
- Joined: Sat Aug 22, 2009 4:55 pm
- Contact:
- Tings: 110541
Re: RayTwol - Rayman 2 level editor [Download]
Yeah their UVs just scroll.PluMGMK wrote:For some reason I find it strange that the rising ghosts in COBD are world geometry.
It does indeed; a lot of them are shared in Stone and Fire.Master wrote:Very interesting to see how CoBD isn't blue, didn't someone theorise that CoBD reused textures from other levels?
The reason they aren't blue is because the game uses vertex colours for lighting on the world geometry, it's not all just texture work. In these screenshots, I actually randomised the brightness of each vertex slightly to give the illusion of lighting (hence why the Water and Ice screenshot actually looks kind of weird near the beginning), and it looks surprisingly nice. Compare these two:
Random vertex brightness:
Uniform vertex brightness:
Unfortunately we haven't managed to rip vertex colours straight from the game yet, though once we do, the levels should look exactly as they do in-game.
-
PluMGMK

- Posts: 40508
- Joined: Fri Jul 31, 2009 9:00 pm
- Location: https://www.youtube.com/watch?v=cErgMJSgpv0
- Contact:
- Tings: 136606
Re: RayTwol - Rayman 2 level editor [Download]
Well we knew CoBD used the same textures as TSoSaF, because no other textures exist in the files! 
I remember thinking that the orange colour of the turning platforms was an unintentional side-effect of dynamic geometry being unable to receive the blue light properly. (But I guess that's actually nonsense since the door shaped like Jano's head is also dynamic and it is tinted blue like the rest of the level.)
I remember thinking that the orange colour of the turning platforms was an unintentional side-effect of dynamic geometry being unable to receive the blue light properly. (But I guess that's actually nonsense since the door shaped like Jano's head is also dynamic and it is tinted blue like the rest of the level.)
-
Ambidextroid

- Posts: 12913
- Joined: Tue Mar 19, 2013 1:04 am
- Location: Jaffa Castle
- Tings: 665
Re: RayTwol - Rayman 2 level editor [Download]
I find that screenshot of the hall of doors with all those cut up textures at the top kind of disturbing for some reason
-
Master

- Posts: 53542
- Joined: Sun Aug 21, 2011 10:14 am
- Location: Somewhere specific, I'd assume.
- Tings: 468310
Re: RayTwol - Rayman 2 level editor [Download]
Hmm, do you think it'd be possible to modify the colouring, I've been wondering if it'd be possible to recreate the Revolution aesthetic for the Cave.
Re: RayTwol - Rayman 2 level editor [Download]
Amazing progress! This could be so useful to check out better some areas not possible in normal gameplay. 
Re: RayTwol - Rayman 2 level editor [Download]
You could already do that with moonjumping before. I made a few videos of it a while ago: https://youtu.be/kP3vr1VJ0pk?list=PLRF8 ... PXDDFPWtpdHaruka wrote:This could be so useful to check out better some areas not possible in normal gameplay.
Of course I was limited to the playable levels, so you can't view cutscene specific maps like the place where you meet Polokus etc. Though the in-level cutscenes works fine since they're outside the normal map.
I'm still looking forward to actually being able to edit the levels though!
Re: RayTwol - Rayman 2 level editor [Download]
Woah, it just looks like my childhood's dream.
But correct me if I'm wrong, now you can expand the levels or create new ones ?
But correct me if I'm wrong, now you can expand the levels or create new ones ?
-
Adsolution

- Posts: 22233
- Joined: Sat Aug 22, 2009 4:55 pm
- Contact:
- Tings: 110541
Re: RayTwol - Rayman 2 level editor [Download]
That goes under the same category of geometry editing, which as said before, is very uncertain.Master wrote:Hmm, do you think it'd be possible to modify the colouring, I've been wondering if it'd be possible to recreate the Revolution aesthetic for the Cave.
Not yet. At the moment, the only thing you can do is move around objects that are already in the map.incognito wrote:Woah, it just looks like my childhood's dream.
But correct me if I'm wrong, now you can expand the levels or create new ones ?
Re: RayTwol - Rayman 2 level editor [Download]
Are there any plans to release the current build yet?
-
Adsolution

- Posts: 22233
- Joined: Sat Aug 22, 2009 4:55 pm
- Contact:
- Tings: 110541
Re: RayTwol - Rayman 2 level editor [Download]
I want to first re-implement viewport selection of entities with the mouse, as well implement click-and-drag action for the axes to allow for non-painstaking entity movement.
Features planned for the release after that are to have it be able to hook onto Rayman 2 itself and display Rayman inside of RayTwol, allow you to click and drag him like you would any other entity, have the in-game camera sync up with RayTwol's and vice-versa, and allow real-time updating of entity locations in the game when they're moved in RayTwol.
Features planned for the release after that are to have it be able to hook onto Rayman 2 itself and display Rayman inside of RayTwol, allow you to click and drag him like you would any other entity, have the in-game camera sync up with RayTwol's and vice-versa, and allow real-time updating of entity locations in the game when they're moved in RayTwol.
Re: RayTwol - Rayman 2 level editor [Download]
Why not taking it to GitHub ?
-
Adsolution

- Posts: 22233
- Joined: Sat Aug 22, 2009 4:55 pm
- Contact:
- Tings: 110541
Re: RayTwol - Rayman 2 level editor [Download]
I'm a little bit more protective over my work than some other people here, but I likely will in a bit. I want to get it to the point where it does most of the things I want it to be able to first.
-
Master

- Posts: 53542
- Joined: Sun Aug 21, 2011 10:14 am
- Location: Somewhere specific, I'd assume.
- Tings: 468310
Re: RayTwol - Rayman 2 level editor [Download]
Ah, makes sense, here's hoping. Still, there's plenty to look at with what you've achieved this far, I'm particularly looking forward to messing around in the hall, I've been wandering what would happen if you could mess about with the spiral doors there.Adsolution wrote:That goes under the same category of geometry editing, which as said before, is very uncertain.Master wrote:Hmm, do you think it'd be possible to modify the colouring, I've been wondering if it'd be possible to recreate the Revolution aesthetic for the Cave.


