The Refractor Engine, is a game engine designed by Stockholm-based studio Refraction Games, first developed for the computer game Codename Eagle, which was released in November 1999. Since then, Refraction Games was bought by Digital Illusions CE, and working alongside with the Refraction Games team, designed and developed the Refractor 2 Engine for the famous Battlefield game series for the computer.

  • View media
  • View media
  • View media
  • View media
  • View media
  • View media
Post article RSS Related Articles

Note: This is a startup project (it's very far from being completed).

A 3D game engine for games like Battlefield (other types of games may be supported via editing the game DLL).

te03

te2

The concepts:

There is a clean separation between the engine, the game DLL, and the data (no scripts). So, editing the data looks like making mods for Battlefield 1942/2 (as you edit only the data (text) files: add new objects, tweak the existing ones, etc.). This gives the least flexibility (you won't be able to create games that are drastically different than the predefined). Editing the game DLL (C++) will allow you to edit the logic, add new features, classes. This gives much more flexibility, but requires the knowledge of C++. Editing of the engine is currently not considered, as it's mostly the technical stuff.

The main distinguishing part of this engine is that it will not try to copy the wide spread concept of a modern game engine (eg. UE and Unity). It will not have an all in one editor with a lot of visual features in it, but rather a set of separate tools, like the level editor (which will only edit the levels), the plugins for 3D software, etc. It should be very 'old-skool' modder friendly. It probably will not be the most powerful game engine which will support the newest features like the RTX. I'd rather want to make it simple (even minimalistic). It should also scale well so that it should not require the latest hardware.

The current state (what's done or mostly done):
- Terrain and model rendering
- Physics (via PhysX 5.3)
- Spatial optimization
- Player controller (a simple and draft one)
- The core (framework)

What's to do:
- Animation
- Object template system
- Vehicle physics
- Water
- Particle system
- Network
- Level editor
- 3D model export plugins or converters (for fbx)
- UI system
- Sound
- Better lighting and shadows

The current state demo:
Imagetools.itch.io

Why? Well, I remember how fun and easy it was to mod for Battlefield 1942/2, and I thought: why a modern game engine can't be as simple? Without all these graphs, shaders, ASMs, and other stuff which most people just do not comprehend (even hate, as I do). After all, if you want to code, you will just take C++, and if you don't, you won't be a good coder anyways.. So, I've separated the logic from the data (no scripts are available in this engine), if you want to code then edit the DLL (via the C++ source), if not then edit the data (text files) (the data is built upon the C++ code, so you'll be limited to what the C++ code provides in this case). There will be no visual tools except for the level editor.

The work isn't currently going on at the full scale, as I have to do some other things, so I'll just be adding new things as I can.

I started this engine for my own Battlefield like game a time ago. Here's a mod of mine which urged me to do so: Moddb.com I wanted some new features, and the bf1942 engine just couldn't provide me with them. So here you go.. The game isn't there of course. xD

BF2:SF Event: Vehicle Night 2024
Battlefield 2: Special Forces

BF2:SF Event: Vehicle Night 2024

Battlefield 2: Special Forces 2 comments

Lost-Soldiers BF2 Community invites you to the third Special Forces gathering in a row this year, on Sunday March 3rd starting 17:00 CET on the Lost-Soldiers.org...

Update for Battlefield 1942: Automatic map download!
Battlefield 1942

Update for Battlefield 1942: Automatic map download!

Battlefield 1942 6 comments

Update for Windows client such that it is able to automatically download maps and mods.

Refractor 2.5 Features

Refractor 2.5 Features

News 7 comments

Afraid to get started in bf2142? Here's what might convince you to do it. Advantages and disadvantages of refractor 2.5.

New weapons attachements for vehicles
Battlefield 2

New weapons attachements for vehicles

Battlefield 2 1 comment

Today I have the pleasure to show you some of my new creations, these attachments will be very useful for vehicles, all models are provided with lods...

Add game Games
Battlefield 2

Battlefield 2

First Person Shooter

Battlefield 2 invades the high-tech frontlines of modern warfare. The game brings the intensity and excitement of Battlefield 1942 into the modern era...

Battlefield 1942

Battlefield 1942

First Person Shooter

Battlefield: 1942 is a tactical first-person shooter set in World War II. It introduces combined arms tactics, using tanks and dive-bombers, submarines...

Battlefield 2142

Battlefield 2142

First Person Shooter

The year is 2142 and the dawn of a new ice age has thrown the world into a panic. The soil not covered by ice can only feed a fraction of the Earth's...

Battlefield 2: Special Forces

Battlefield 2: Special Forces

First Person Shooter

Special Forces, Special Weapons, Special Vehicles, Special Missions...Become an elite soldier or insurgent in this Battlefield 2 expansion in the secret...

Battlefield Vietnam

Battlefield Vietnam

First Person Shooter

The Battlefield franchise enters a new era equipped with more firepower, modernized weaponry and vehicles, and a deeper infantry experience from the jungles...

Battlefield Play4Free

Battlefield Play4Free

First Person Shooter

Battlefield Play4Free is an upcoming first-person shooter developed by EA and Easy Studios. It is set in modern day warfare arena and includes fast, gritty...

Battlefield 1942: Secret Weapons of WWII

Battlefield 1942: Secret Weapons of WWII

First Person Shooter

Battlefield 1942: Secret Weapons of WWII is the second expansion for the hit game Battlefield 1942. It lets you control lethal experimental weapons from...

Battlefield 1942: The Road to Rome

Battlefield 1942: The Road to Rome

First Person Shooter

Battlefield 1942: Road to Rome expansion pack gives you more of what you demand from the original Battlefield 1942, including more maps, more vehicles...

Battlefield Heroes

Battlefield Heroes

Third Person Shooter

Battlefield Heroes is a cartoon-style action video game developed by EA. It is played from context-specific third- and first-person shooter perspectives...

Post comment Comments  (0 - 10 of 20)
3RYL
3RYL - - 20 comments

This engine is almost perfect.

I like all refractor 2 games.

The only things I dont like so much is the strange physics in bf2 and the kit weapon system (if anyone know how to change this to a half life or codename eagle similar weapons system, tell me please)

Reply Good karma Bad karma+7 votes
Guest
Guest - - 695,078 comments

How i get this engine?

Reply Good karma Bad karma+3 votes
Jackie362
Jackie362 - - 47 comments

I like the engine to be low lag :)

Reply Good karma Bad karma+5 votes
Rebel12Lz
Rebel12Lz - - 161 comments

I thing its a good and easy to mod engine, but its main issue is hit detection and hitbox....

Reply Good karma Bad karma+3 votes
Kaviinsky
Kaviinsky - - 32 comments

The only thing wrong in BF2 is physics during motion. ie causing fixed carrier

Reply Good karma Bad karma+4 votes
Cpt.Dann
Cpt.Dann - - 6,959 comments

Guys, you and me have ****** computers, it's not the game or engine.

Reply Good karma Bad karma+7 votes
Wafflessss
Wafflessss - - 892 comments

What is everybody talking about? I could run BF2 max details + resolution and 100% distance -_-...this is NOT a slow engine.

Reply Good karma Bad karma+14 votes
Foxtrop
Foxtrop - - 1,007 comments

Slow engine wtf? I play this game with a geforce5200 1gb ram at 70fps

Reply Good karma Bad karma+6 votes
Lele-brate
Lele-brate - - 185 comments

bf2 will stay one of the best games to mod

Reply Good karma Bad karma+12 votes
Comanche_Prime
Comanche_Prime - - 1,926 comments

yeah, but bf2 editor laggy as ****!

Reply Good karma Bad karma+2 votes
Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account:

X
Tags