# Babylon project (provisional name)

**URL:** <https://forums.unrealengine.com/t/babylon-project-provisional-name/49026>\
**Category:** UDK Projects\
**Tags:** unreal-engine\
**Created:** [December 2, 2015, 9:49pm UTC](https://forums.unrealengine.com/t/babylon-project-provisional-name/49026 "2015-12-02T21:49:45Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![CobaltUDK](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/cobaltudk/32/1194497_2.png) [@CobaltUDK](https://forums.unrealengine.com/u/CobaltUDK)\
**Post date:** [December 2, 2015, 9:49pm UTC](https://forums.unrealengine.com/t/babylon-project-provisional-name/49026/1 "2015-12-02T21:49:45Z")

</div>

Babylon project is a provisional name for a open world, multi mission, single player game.

It’s ambiented in the mesopotamian cultures, but it’s a fantasy, not historical, game.

The game is inspired by the stories of the Anunnaki in the ancient Sumer.

I started to learn UDK two years ago and at this point the code part is almost finished. Still there are a lot of work with the graphic part.

The map area has 100 square kilometers (but some are water). It’s a UDK Landscape with several localizations using streaming levels.

Foliage is placed around the player dynamically:

 ![landscape_04 (1).jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/8/9/89df2ea95f814e707de6b1fe1535f1807c90367d.jpeg)

Illumination are full dynamic, with complete day/night cycle, night lighting with shadows, etc.

The game uses the principle of “if are hidden, destroy it” as a way to always keep a minimum of actors on the map and can run at an acceptable framerate. An example of this is the foliage, but it also applies to characters and objects on the map.

Characters are modular, can be customized in appearance, clothes, etc.

 ![armors_01.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/e/a/ea56e2800b56dc6e47e414be7c18a4180bd4ee86.jpeg)

APEX cloth are used for some cloths and hairs.

Alien ship:

 ![anunnakiship02.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/8/1/81ac7c12f1d16a1be9a89946b1de1b14b2adbca6.jpeg)

Here is one of the latests videos:

More videos in the Youtube channel: [Cobalt UDK - YouTube](https://www.youtube.com/user/cobaltudk)

the (provisional) game blog: [http://cobaltudk.blogspot.com.es/](http://cobaltudk.blogspot.com.es/)

and Facebook: [Redirecting...](https://www.facebook.com/profile.php?id=100010149724914)

The game main language will be english with subtitles for others languages, but in the videos some voices are in spanish (I’m from Spain). Are “dummy” voices, not for the final game.

I have had sporadic collaborations but basically I’m working alone in the project. If you are interested in collaborating (royalties) please contact me. Particularly 3D artists are needed.

(the old thread from the previous UDK forums: [No project, just learning - Epic Games Forums](https://forums.epicgames.com/threads/960597-No-project-just-learning) )

---

<div class="post-metadata">

**Author:** ![CobaltUDK](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/cobaltudk/32/1194497_2.png) [@CobaltUDK](https://forums.unrealengine.com/u/CobaltUDK)\
**Post date:** [December 2, 2015, 9:56pm UTC](https://forums.unrealengine.com/t/babylon-project-provisional-name/49026/2 "2015-12-02T21:56:58Z")

</div>

The latest video, to show a new armor for the male character and some new animations:

---

<div class="post-metadata">

**Author:** ![Charles200000](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Charles200000](https://forums.unrealengine.com/u/Charles200000)\
**Post date:** [December 5, 2015, 2:11pm UTC](https://forums.unrealengine.com/t/babylon-project-provisional-name/49026/3 "2015-12-05T14:11:48Z")

</div>

very cool bravo !!!

---

<div class="post-metadata">

**Author:** ![President](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@President](https://forums.unrealengine.com/u/President)\
**Post date:** [December 5, 2015, 6:14pm UTC](https://forums.unrealengine.com/t/babylon-project-provisional-name/49026/4 "2015-12-05T18:14:10Z")

</div>

Happy to see you here…This project was the only reason I was going back to the UDK forums for…

---

<div class="post-metadata">

**Author:** ![CobaltUDK](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/cobaltudk/32/1194497_2.png) [@CobaltUDK](https://forums.unrealengine.com/u/CobaltUDK)\
**Post date:** [December 6, 2015, 5:16pm UTC](https://forums.unrealengine.com/t/babylon-project-provisional-name/49026/5 "2015-12-06T17:16:58Z")

</div>

Thanks, old forum will close soon, fortunately we can continue here.

---

<div class="post-metadata">

**Author:** ![Tim\_Sweeney](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tim\_Sweeney](https://forums.unrealengine.com/u/Tim_Sweeney)\
**Post date:** [December 8, 2015, 9:19pm UTC](https://forums.unrealengine.com/t/babylon-project-provisional-name/49026/6 "2015-12-08T21:19:48Z")

</div>

Beautiful!

---

<div class="post-metadata">

**Author:** ![CobaltUDK](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/cobaltudk/32/1194497_2.png) [@CobaltUDK](https://forums.unrealengine.com/u/CobaltUDK)\
**Post date:** [December 13, 2015, 4:38pm UTC](https://forums.unrealengine.com/t/babylon-project-provisional-name/49026/7 "2015-12-13T16:38:58Z")

</div>

Thanks.

I have changed the aiming method. The new uses “canvas.project” to find the aimnode values. Perhaps it sounds a little strange, but it’s simple and works perfect.

Here is a video:

The old aiming system was very imprecise. The camera have different offsets and the character aiming postures are no perfect. So the alignment had errors.

This new method are using “canvas.project” to find exact values to pass to aim node.

Instead comparing character and camera rotations, I do a projection of the weapon canyon over the screen, and compare it with the center. After that is easy to find the values for the aimnode.

No matter if the aiming postures aren’t perfect, the system always finds the weapon correct orientation with respect to crosshair in the center of the screen (in the video there are a little “lag” because it’s using interpolation for smooth movements).

Also the player auto-rotates when the horizontal aim is near the limit.

In the video you can see a red “laser guide”, a debug line that is the current weapon orientation. Always finishes in the crosshair, what is the desired.

This is using UDK, but it can work with UE4 and any engine, only need some function to convert 3D coordinates to 2D (canvas.project in UDK).

The weapon are only for tests purposes, downloaded from [thefree3dmodels.com](http://thefree3dmodels.com). In the final game will be bows and crossbows and others.

This is how it works:

- in the HUD, function DrawHud, I get the “muzzle” socket from the weapon and I do a trace using the muzzle location and rotation. If no collision, a value of 1000 are used as impact distance. The center of the screen is stored in a variable located in the player class.

- Then, with the 3D impact coordinates, I use “canvas.project”. This gives the 2D coordinates of the impact point.

- Now in the player class:

Aim.x = MyAimNode.Aim.x; Aim.y = MyAimNode.Aim.y; //get the current AimNode values

//“CanvasAim” is the 2D coordinates for the impact location, calculated in the Hud.  
//“CanvasCenter” is the center of screen, when the crosshair are printed. Shots always goes to here. You can calculate it once at the begining instead in each tick.

```
if (CanvasAim.x &gt;= CanvasCenter.x) { Aim.x -= abs(CanvasCenter.x - CanvasAim.x) / (CanvasCenter.x*2); }
else if (CanvasAim.x &lt; CanvasCenter.x) { Aim.x += abs(CanvasCenter.x - CanvasAim.x) / (CanvasCenter.x*2); }
if (CanvasAim.y &lt; CanvasCenter.y) { Aim.y -= abs(CanvasCenter.y - CanvasAim.y) / (CanvasCenter.y*2); }
else if (CanvasAim.y &gt;= CanvasCenter.y) { Aim.y += abs(CanvasCenter.y - CanvasAim.y) / (CanvasCenter.y*2); }

```

and you have in CanvasAim.x and CanvasAim.y the values to pass to the aimnode. I use another variable, “DesiredAim” to do interpolations and set the values in the aimnode.

And you MUST use a system to disable the aiming when the player is looking to the camera. I use “abs(NormalizeRotAxis(Rotation.yaw - YourCameraRotation.yaw))”. If \> 16000, then the player is looking to the camera.  
I use NormalizeRotAxis instead Dot because camera has some diferent offsets.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_dd3f5f7b](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_dd3f5f7b](https://forums.unrealengine.com/u/anonymous_user_dd3f5f7b)\
**Post date:** [December 15, 2015, 8:57am UTC](https://forums.unrealengine.com/t/babylon-project-provisional-name/49026/8 "2015-12-15T08:57:03Z")

</div>

thanks for this information.

---

<div class="post-metadata">

**Author:** ![President](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@President](https://forums.unrealengine.com/u/President)\
**Post date:** [December 15, 2015, 10:55pm UTC](https://forums.unrealengine.com/t/babylon-project-provisional-name/49026/9 "2015-12-15T22:55:25Z")

</div>

> [@Tim Sweeney;433964](#):
>
> Beautiful!

Congrats CobaltUDK on that compliment…Tim Sweeney himself…  
The game looks great so I agree…

---

<div class="post-metadata">

**Author:** ![CobaltUDK](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/cobaltudk/32/1194497_2.png) [@CobaltUDK](https://forums.unrealengine.com/u/CobaltUDK)\
**Post date:** [December 16, 2015, 5:03pm UTC](https://forums.unrealengine.com/t/babylon-project-provisional-name/49026/10 "2015-12-16T17:03:19Z")

</div>

Yes, it’s a honor for me, thanks to Sweeney and to all of you. Your comments are very appreciated.

I made a dismemberment system using “HideBoneByName”. Here’s the video, with graphic content:

Perhaps it’s a little bloody, and I don’t know if this is the path I want to follow. What do you think?

---

<div class="post-metadata">

**Author:** ![Keehoon\_Ahn](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/keehoon_ahn/32/1194498_2.png) [@Keehoon\_Ahn](https://forums.unrealengine.com/u/Keehoon_Ahn)\
**Post date:** [January 2, 2016, 7:34am UTC](https://forums.unrealengine.com/t/babylon-project-provisional-name/49026/11 "2016-01-02T07:34:38Z")

</div>

Background graphic is very clean and excellent.

You are a great person.

---

<div class="post-metadata">

**Author:** ![CobaltUDK](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/cobaltudk/32/1194497_2.png) [@CobaltUDK](https://forums.unrealengine.com/u/CobaltUDK)\
**Post date:** [January 4, 2016, 7:50pm UTC](https://forums.unrealengine.com/t/babylon-project-provisional-name/49026/12 "2016-01-04T19:50:53Z")

</div>

Thank you, I had some collaborations, for example Daniel Akbari did a clean retopology of my old female model and I did the rest. Alex Boyco and Alex Pryde did house models and I have used some free animations and models parts from Mixamo.

Now AmyP is working in a house model and still waiting for people that wants to accept a risk working for royalties in this project.

---

<div class="post-metadata">

**Author:** ![Galeon](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Galeon](https://forums.unrealengine.com/u/Galeon)\
**Post date:** [January 8, 2016, 8:46pm UTC](https://forums.unrealengine.com/t/babylon-project-provisional-name/49026/13 "2016-01-08T20:46:02Z")

</div>

The game has great graphics and gameplay, you will make some jaleous Unreal 4 users 😃

---

<div class="post-metadata">

**Author:** ![CobaltUDK](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/cobaltudk/32/1194497_2.png) [@CobaltUDK](https://forums.unrealengine.com/u/CobaltUDK)\
**Post date:** [January 10, 2016, 6:33pm UTC](https://forums.unrealengine.com/t/babylon-project-provisional-name/49026/14 "2016-01-10T18:33:19Z")

</div>

Heh, sure I envy UE4 users… but I need to finish this project before.

Here is a model inspired on the Queen Puabi:

 ![Sheb-Ad_2.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/1/0/10391517a672b38df8fba5246eb8629877e29d6d.jpeg)

---

<div class="post-metadata">

**Author:** ![CobaltUDK](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/cobaltudk/32/1194497_2.png) [@CobaltUDK](https://forums.unrealengine.com/u/CobaltUDK)\
**Post date:** [January 14, 2016, 9:40pm UTC](https://forums.unrealengine.com/t/babylon-project-provisional-name/49026/15 "2016-01-14T21:40:57Z")

</div>

Some, ejem… body phisics:

---

<div class="post-metadata">

**Author:** ![Chosker](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/chosker/32/710746_2.png) [@Chosker](https://forums.unrealengine.com/u/Chosker)\
**Post date:** [January 14, 2016, 11:31pm UTC](https://forums.unrealengine.com/t/babylon-project-provisional-name/49026/16 "2016-01-14T23:31:31Z")

</div>

looks very nice. perhaps a little too jiggly but at least it feels quite dynamic compared to the usual staticness of character skin

so the hair is apex cloth, and the jiggly body parts are just extra bones with always-on physics, right?

---

<div class="post-metadata">

**Author:** ![Keehoon\_Ahn](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/keehoon_ahn/32/1194498_2.png) [@Keehoon\_Ahn](https://forums.unrealengine.com/u/Keehoon_Ahn)\
**Post date:** [January 15, 2016, 6:07am UTC](https://forums.unrealengine.com/t/babylon-project-provisional-name/49026/17 "2016-01-15T06:07:43Z")

</div>

Oh~ Good inner wear~ ^^

White is the truth of inner wear. _-\_-_

---

<div class="post-metadata">

**Author:** ![CobaltUDK](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/cobaltudk/32/1194497_2.png) [@CobaltUDK](https://forums.unrealengine.com/u/CobaltUDK)\
**Post date:** [January 16, 2016, 12:49pm UTC](https://forums.unrealengine.com/t/babylon-project-provisional-name/49026/18 "2016-01-16T12:49:36Z")

</div>

, correct.  
Kee, painted inner wear good for modders.

Here is a cheap camera automatic exposure with practically no performance cost.

It’s based on the Sun angle and the player occlusion.

The whole screen is brighter depending of these two values, using postproccess Scene\_HighLights.

With this is possible to reduce the global ambient light without having too dark image in the penumbra.

In the video, exposition are exaggerated, to make the effect more noticeable.

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/d/e/bdea296f87b6cebecbde71b21f98fae8e0d22b18.jpeg "UDK camera automatic exposure") ](https://www.youtube.com/watch?v=qVDEqSwKIIM)

---

<div class="post-metadata">

**Author:** ![OnyeNacho](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/onyenacho/32/1122220_2.png) [@OnyeNacho](https://forums.unrealengine.com/u/OnyeNacho)\
**Post date:** [January 17, 2016, 1:46am UTC](https://forums.unrealengine.com/t/babylon-project-provisional-name/49026/19 "2016-01-17T01:46:40Z")

</div>

> [@CobaltUDK;454166](#):
>
> Some, ejem… body phisics:

Commence the jigglin’!

---

<div class="post-metadata">

**Author:** ![CobaltUDK](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/cobaltudk/32/1194497_2.png) [@CobaltUDK](https://forums.unrealengine.com/u/CobaltUDK)\
**Post date:** [February 1, 2016, 2:43am UTC](https://forums.unrealengine.com/t/babylon-project-provisional-name/49026/20 "2016-02-01T02:43:00Z")

</div>

This is a test I did with a map for Unreal Tournament called “VCTF-Retribution”, downloaded from here long time ago:

> **[VCTF-Retribution - 
		
		Epic Games Forums](https://forums.epicgames.com/udk/udk-community/released-projects/282574-vctf-retribution)**
>
> Show off and discuss your UDK games and applications.

I have included it in my main 10x10 km map as an stream level (the map are loaded when you are near).

I wanted to have an idea as how the game can look once finished, using a well finished map like this.

This is only a test, the game is ambiented in the ancient Mesopotamia, and this level doesn’t fit. It’s only a test.

In this video you can see:

- Camera auto focus and auto exposure (both are configurable and deactivable).

- Dynamic illumination (no GI), with day/night cycle and torches casting shadows.

- 64 bots following a path using splines.

And some bugs:

- Bots don’t detect ledges too well, sometimes they fall as if they were lemmings.

- Some clothes don’t fit well because the base models were modified after made the cloth. I prefer to have a definitive base model before fixing the cloth.

- Framerate is bad, with frequently falls under 60 fps because the map has a lot of individual meshes (about 7000), and the 64 bots aren’t optimized (too many modules, no LOD for clothes, apex clothing, etc).

[Next page](https://forums.unrealengine.com/t/babylon-project-provisional-name/49026.md?page=2)
