Unity Faction

By Ward Dehairs, June 1, 2018

Unity and RED editor comparison for RailwayRun

The original Red Faction is a game that is close to my heart, as it has largely kickstarted my interest in game development and especially 3D modelling. This game used to have a very active community of mapmakers who would use the included map editor (called RED) to make custom deathmatch maps as well as platforming challenge maps, colloquially known as runmaps or deathruns.

Looking back on this time and the small remaining community, I figured it was about time someone made a standalone game for those runmaps, one equipped with better tools to make the challenges fair. I also liked the challenge of reverse engineering the game's mechanics and using them to create a new game.

Over the span of a few months, with the help of prior works done by Rafalh I managed to realize this and created Unity_Faction. I eventually made the code freely available, for anyone else interested to do something with old Redfaction content.

You can download and play the game for free on GameJolt

UnityFaction is based on reverse engineering for RFL file types. This way, the contents of a given level can be loaded. The second step is to translate this data into a Unity format. Some features have an obvious 1 to 1 correspondency, like RFL textures to Unity materials, Redfaction V3D to Unity prefabs, Redfaction lights to Unity lights, but some features had to be scripted and added to Unity, such as pushing regions, decalls, movers and georegions, among many others. In addition, stuff like 3D meshes are structured differently and require complicated porting. Not to mention recreating the visuals and feel of the character itself.

Screenshot 1 from unity faction Screenshot 2 from unity faction Screenshot 3 from unity faction Screenshot 4 from unity faction Screenshot 5 from unity faction Screenshot 6 from unity faction

Special thanks to all the map makers, for their beautiful and less beautiful content. (Note that everyone gave permission to have their maps included!)

It all ended up working quite brilliantly, though I expect the format of the game is not a big recipe for success. I leave the game mostly finished, with only detail work remaining. I would have returned to UnityFaction if there was explicit demand, but it never really came. Afer finishing it I returned my attention to Chrono Project.