Page 1 of 2
Unreal source code
Posted: Tue Apr 06, 2010 11:56 am
by ljbade
Where does everyone get the source code for Unreal from?
There seems to be a lot of patches mods etc which claim they are based on Epic's source code.
The newest one I have seen is
http://www.moddb.com/mods/unrealtournamentsdk
But the only source release from Epic I can find is OpenUT but that seems to be old?
If only Epic released a GPL version of their old games (Unreal 1 and UT 1 should fit this) engines then lots of cool stuff could be done!
They could keep the 'content' copyrighted so people still need to purchase game to use with the open source code.
I enjoy hacking around with id Software's source code when I play the games, like adding antialiasing to Quake 2!
Re: Unreal source code
Posted: Tue Apr 06, 2010 1:15 pm
by Marzanna
http://www.oldunreal.com/editing.html
Only part of sources is available. It's enough to make mods.
Re: Unreal source code
Posted: Tue Apr 06, 2010 2:18 pm
by GreatEmerald
Well, when you have UDK, there's no more any real purpose for UE1 source, although it would allow a little more freedom.
Re: Unreal source code
Posted: Tue Apr 06, 2010 2:19 pm
by ljbade
Ah... thanks for the link. Interesting that they have the render code in their! (id Software never let modders get renderer source until the whole engine was GPLed).
So I guess this is what oldunreal's patch is based on?
Re: Unreal source code
Posted: Tue Apr 06, 2010 3:07 pm
by unregistered
ex member
Re: Unreal source code
Posted: Tue Apr 06, 2010 3:53 pm
by Smirftsch
Ah... thanks for the link. Interesting that they have the render code in their! (id Software never let modders get renderer source until the whole engine was GPLed).
So I guess this is what oldunreal's patch is based on?
No, for maintenance and support reasons I got the complete Unreal sources from Epic on which 227 is based on.
Re: Unreal source code
Posted: Wed Apr 07, 2010 5:51 am
by Raven
AFAIK only Smirftsch and UTPG has access to full source code - everyone else has to relay on headers (even though it's not full source code - it's quite powerful). And yeah - there are lot's of engine patches for UT and SDK is one of few that exists.
Re: Unreal source code
Posted: Wed Apr 07, 2010 1:48 pm
by Gizzy
Smirf, since you have full access to the source, do you also think Epic would allow you to have any beta versions too? There could be some more cool unused stuff (Like fully animated Hawk and the dragon and such crap)
I don't see why they would disagree. You already have an NDA for the source, and the source code to the game is much more valuable than the old, unfinished and glitchy betas.
Re: Unreal source code
Posted: Wed Apr 07, 2010 4:58 pm
by Jet v4.3.5
Who knows if they still have them, though. I know some people who might have been friends or something might have had an old floppy of one of Unreal's beta versions, but I've hardly ever heard of anyone that had or were willing to share them. There's always the possibility, though, that someone could pass on that content if they had and were willing to give it away.
Re: Unreal source code
Posted: Wed Apr 07, 2010 5:33 pm
by Smirftsch
Smirf, since you have full access to the source, do you also think Epic would allow you to have any beta versions too? There could be some more cool unused stuff (Like fully animated Hawk and the dragon and such crap)
I don't see why they would disagree. You already have an NDA for the source, and the source code to the game is much more valuable than the old, unfinished and glitchy betas.
What kind of beta ??
Yes, I have an NDA which binds me strictly and the question is not if they allow THIS but more if they will allow anything in the future at all.
The idea of giving out the sources didn't work out as they expected I assume, and if you take UTPG f.e. which was a bigtime failure in the opinion of most UT gamers and the time I / we needed here to have some productive result makes it somwehat understandable.
In short, I usually get no or very short answers at all regarding questions and the answer is usually that they can't help with whatever it is. Also can be assumed that they will not give an NDA to anyone else in the future.
If 227g will change their interest with the Linux and now the Mac port can be doubted too.
True, I think that we reached a stage where 227 can even be compared with many modern games out of the last few years and that although Unreal is >10 years now, but they really abandoned the old UEngine 1 and with it Oldunreal too.
Re: Unreal source code
Posted: Wed Apr 07, 2010 6:19 pm
by Shivaxi
We can pretty much do ANYthing that ut2004 can...except the thing with grated textures and the lighting actually making the grate shadow in the wall behind it or w/e...but that's easy enough to replicate in U1. At this point...I'm convinced this engine is capable of just about anything. Can't wait when ragdoll physics come out

Re: Unreal source code
Posted: Wed Apr 07, 2010 7:04 pm
by GreatEmerald
Well, the Static Mesh support isn't 100% complete yet.
Re: Unreal source code
Posted: Wed Apr 07, 2010 7:06 pm
by []KAOS[]Casey
g_25 is really only missing BSP->StaticMesh button atm.
26 will help fix larger mesh lighting
The collision appears to work 100% as expected though.
Re: Unreal source code
Posted: Wed Apr 07, 2010 7:21 pm
by Marzanna
Does NDA allow rewrite any Unreal code?
Re: Unreal source code
Posted: Wed Apr 07, 2010 7:47 pm
by GreatEmerald
Interesting, do you have smoothing and sharpening commands implemented yet?
Re: Unreal source code
Posted: Wed Apr 07, 2010 8:17 pm
by []KAOS[]Casey
Smirf can essentially re-write anything as long as it doesn't breach contracts {the installer, upak .DLL dependency}.
Dynamic arrays were mostly rewritten from the ground up since they don't function at all in UE1
Dunno what sharpening and smoothing tools are so that's a no.
Re: Unreal source code
Posted: Wed Apr 07, 2010 9:56 pm
by Hellkeeper
Dunno what sharpening and smoothing tools are so that's a no.
I guess GreatEmerald was thinking of the smoothing and sharpening of lighting on static meshes
Re: Unreal source code
Posted: Thu Apr 08, 2010 1:26 pm
by GreatEmerald
I guess GreatEmerald was thinking of the smoothing and sharpening of lighting on static meshes
+1. If you convert BSP to an SM, it usually keeps the BSP-style sharpness where every polygon gets light differently. For things like caves, it looks very unnatural, and a smooth command in UE2 makes it apply different lighting rules that make polygons lit similarly so there are no sharp corners visible, which looks a lot better for natural environments.
Re: Unreal source code
Posted: Thu Apr 08, 2010 7:28 pm
by Jet v4.3.5
Are you saying that there are Static Meshes in the latest 227g, or is this just discussion on those features?
Re: Unreal source code
Posted: Thu Apr 08, 2010 9:20 pm
by Hellkeeper
It seems that 227g has static-meshes.
Re: Unreal source code
Posted: Thu Apr 08, 2010 10:41 pm
by []KAOS[]Casey
if you have access to g_25 or higher{no higher is out yet as of this post}
set an actor's bUseMeshCollision true
Try it on a plant with a trace weapon like a minigun
ie:
open harobed -> set decoration busemeshcollision true ->

-> go nuts!
It only works on frame 0 of the actor's mesh and will work only if it's non-moving. It's setup fine for traces, touch/bump{could be useful for trip lasers}
Re: Unreal source code
Posted: Thu Apr 08, 2010 11:58 pm
by Jet v4.3.5
I see. I saw the additive mode (awesome how it's set to use the skyzone info properly) and I have tweaked around with some of the features like the static mesh function. One thing I haven't found yet is the water surface actor. I can't hardly remember where it was but I remember testing it at one point. Also, I had a problem with Autoplay.unr after I installed 227g_25 and maybe even _24.
Re: Unreal source code
Posted: Fri Apr 09, 2010 3:24 pm
by Gizzy
What kind of beta ??
What I meant by beta, is any beta versions of Unreal (Ones with the gargoyle, dragon, bigman etc...) or even older tech demos. Problem is, is that Epic do seem to change their mind about this. First they claim they don't exist, and recently, Cliff Blezinski said that if anyone finds them and wants to release them, he would have to clear it with their legal department. I figured that with your connection to Epic through the source's NDA and the level of trust, that they would allow you to have them. As you said though, they have been rather quiet on such matters and getting a genuine reply from them, rather than a generic "no" is difficult/impossible.
Re: Unreal source code
Posted: Fri Apr 09, 2010 4:39 pm
by Smirftsch
a generic "no"
LOL, what a fitting summary.
Re: Unreal source code
Posted: Fri Apr 09, 2010 7:15 pm
by Hellkeeper
a generic "no"
LOL, what a fitting summary.
I think I can feel some slight traces of
sarcasm here !