Urban Chaos

Urban Chaos

v00d00m4n 3 Mar, 2021 @ 1:02am
Full Urban Chaos source code with editor for modding and updating game!
One of formed developers (as it seems) uploaded full sources here:

https://github.com/kstuedem/MuckyFoot-UrbanChaos

grab it and try to improve game, and possible restore unfinished things like bikes and grapling hook.

there is also active fork with some improvements already done:

https://github.com/jordandavidson/MuckyFoot-UrbanChaos/tree/project-refactor
https://github.com/inco1/MuckyFoot-UrbanChaos (this one less active)

try to start from it and check other forks at network tab.

Original readme:

MuckyFoot-UrbanChaos
This is a snapshot of (the 1999 PC/PSX/DreamCast game) Urban Chaos source code recently retreived from an old SourceSafe backup pulled from an old MuckyFoot server.

The games source code is in the fallen directory (the working title for Urban Chaos)

At the time it was compiled with Visual Studio 6 I believe and possibly DirectX 6 and is entirey written in c (despite using cpp files). (I notice also some Glide code in there) I have succesfully loaded the projects with VS2013 though.

There is also source code for the psx version, and maybe even the Dream Cast port.

Urban Chaos had its own map editor and animation keyframe editor, these ran if I remember correctly under a window system implemented by Guy Simmons, the code is included in the Editor folder

MFlib1 and MFStdLib are some generic libraries shared across Urban Chaos and possibly Startopia MuckyBasic is a inhouse scripting language written by Mark Adami Thrust is a side project by Mark Adami

Note no data is included, and the source data used by the editor/Engine is likely somewhat different to the data used by the final disk image (all though much of it is probably identical)

I am making this code public mainly out of historical interest, I doubt theres anything of any actual use to anyone, allthough people do occasionally still ask me about data formats so they can dig them out themsleves now...

BrainDump

I tried compiling the code, but theres a lot of errors..

We used DirectX before it did hardware vertex transforms, at some point VertexBuffers came along and I seem to recall Eddie Edwards implementing their use.

a prim is simply a mesh (lampost etc)

There is no soft skinning characters are seperate meshes

The floor is a heightmap with a vertical offset possible for the kerbs see pap.h

The building meshes were created on the fly from wall data that could generate N stories high of side wall building.cpp

Fence meshes and fire escape meshes were similarily created on the fly

The editor allowed placement of waypoints and control code for ai. as well as map creation

The data set was limited to run on a 1 Meg Playstation1 (PSX)

Theres code for features that never shipped like a motorbike and a grappling hook with rope physics, also once mav is the sequel to nav, it handles mavigation :)

I also had a tendency to increment the letter of a file type with new versions so map.h eventually became pap.h (much of the code was written with a 8.3 filename restriction)

yes we had pee physics

Thing could be considered a cpp base class

MapWho is a bullfrog thing, essentially a 2d spatial array that objects in the world attach themselves to as a linked list for fast spatial lookups

once upon a time the building all had procedural internals, also sewer systems..

Mike Diskett
< >
Showing 1-7 of 7 comments
teamsp13 7 Mar, 2021 @ 7:09am 
it is known for a long time, but this game has been dead since forever. in other words, no one is interested in modifying it. there was an attempt to restore the bikes but they crash the game unfortunately. maybe there is another way but who knows.
Alronzo07 1 Apr, 2021 @ 2:20pm 
That's not true. I am still interested in compiling this code and making changes. If you'll find the way to edit and compile it, you can let me know.
teamsp13 7 Apr, 2021 @ 4:41am 
Originally posted by Alronzo07:
That's not true. I am still interested in compiling this code and making changes. If you'll find the way to edit and compile it, you can let me know.
The compiled versions by my friend are lost unfortunately because of the hdd death. I am pretty sure some forks on github can be compiled just fine.
And no, i am not wrong about zero interest towards game code or otherwise something major would appear. There are likely editor leftovers for example, but no one dug into that.
Last edited by teamsp13; 7 Apr, 2021 @ 4:41am
morus.pro 28 Jul, 2021 @ 7:23pm 
Hey, I'm here! I modded this game from top to bottom!

Of course, I couldn't compile anything. So I hacked everything you could imagine directly in the game memory (in assembly language).

I planned 3 mods so far, and the first one is pretty much done already:

1- Realistic mode (first person camera and a dozen other improvements)
2- Alternate history mod (same missions, but only with different funny speech/media)
3- Multiplayer mod (both coop and versus mod, and MAYBE a "Counter Strike" feature)

I was hoping to publish the mods 1 and 3 together (so people play the game in coop with all the improvements). But I might publish the Realistic mod soon, maybe next month. Stay tuned! ^^
Last edited by morus.pro; 28 Jul, 2021 @ 7:29pm
Kweeb 1 Jan, 2023 @ 8:40am 
Add controller support as a mod
v00d00m4n 2 Jan, 2023 @ 6:30pm 
Originally posted by Kweebsters:
Add controller support as a mod

it already exist in game, but its very outdated, better controller support with xinput and round-shaped gamepads (to fix diagonal movement) and more modern gta 4-5 like controls totally needed for this game with help of analogue movment and camera rotation.
soso 4 Jan, 2023 @ 11:39pm 
xinput does not work with this game.
< >
Showing 1-7 of 7 comments
Per page: 1530 50