Giter Club home page Giter Club logo

iw3xo-radiant's Introduction

IW3xRadiant - A Call of Duty 4 Radiant Modification using ImGui

This project is aimed at developers and includes various modifications/additions and was initially built to be used with IW3xo. Running IW3xRadiant and IW3xo enables a live-link between CoD4 and Radiant. You can, however, just use it as a direct replacement for stock radiant.


GitHub release (latest by date)GitHub commits since latest release (by date)DownloadsDiscord


Project Page (Guide / In-Depth)

https://xoxor4d.github.io/projects/iw3xo-radiant


nightly builds - develop branch

( download and install the latest release before using nightly's )

build-developbuild-release


If you want to buy me a coffee:

ko-fi


image

image

^ build the layout you've always wanted
https://www.youtube.com/watch?v=YSIGsSZZkco


Features


Goals:

  • replace most if not all of the MFC/Windows UI with Dear ImGui
  • extend functionalities across the board

New features not found within the original cod4 radiant:

  • completely revamped user interface with docking, tabs, saved layouts and more (Dear ImGui)
  • play && edit / create && export effects as CreateFX files right from within radiant (makes effectsEd completely obsolete)
  • Nvidia PhysX (used for effects - with functionality to convert dynamic actors to misc_models)
  • d3dbsp loading and bsp/light compilation from within radiant
  • automatically generate reflections within radiant when compiling the maps bsp
  • live link (sync. brushes (with collision), camera and worldspawn settings between cod4 and radiant)
  • 3D guizmo to precisely manipulate entities and brushes from the camera window (ImGuizmo)
  • preview xmodels and drag them directly into the scene using the model browser
  • a prefab browser with the ability to generate thumbnails (no more guess work + prefabs can be dragged into the scene)
  • custom lighting shader with normal-mapping, specular highlights, reflections and fog
  • ability to limit shadow drawing distance when using stock sunpreview (++FPS)
  • filmtweak support
  • render actual water instead of case-textures
  • increased asset limits to allow high poly models
  • realtime viewports
  • context aware grid and camera context menus with QoL features
  • a toolbox featuring all related functions for brushes/patches and more
  • better surface / property editor (can be integrated into the ^ toolbox)
  • better vertex edit dialog
  • better layer dialog
  • zoom to cursor
  • toast notifications
  • editable toolbars, hotkeys, colors
  • new file dialogs with working default paths
  • texture window toolbar for quick filtering
  • custom texture favourite lists that can be created from within radiant (add/remove selected texture to/from the list)
  • rope/wire generator
  • sun direction visualizer
  • a proper console with dvar support (incl. dvar suggestions and autocomplete)
  • increased undo limit
  • missing materials are now using a proper invalid_texture material and are no longer invisible
  • print parsed entity and brush num on map load making it easier to find issues in map files (off by default)
  • bo3 tool textures (optional)
  • stamp prefabs
  • create prefab from selection
  • terrain patch thickening
  • extrude selected brush to other brush faces
  • ++ alot more QoL features


Installation


  1. Download the latest release
  2. Copy the bin and map_source folders into your cod4 root directory
  3. Start IW3xRadiant.exe
  • [NIGHTLY]    unpack and replace iw3r.dll within the bin folder
  • [OPTIONAL]  bo3-tool-textures.zip (unpack and place .iwi's into bin\IW3xRadiant\images)


Build / Compile


How to build / compile the project using Visual Studio

  1. Clone the repo! (zip does not include deps!)
  2. Copy everything within the assets folder into your cod4-root folder
  3. Use update_submodules.bat to update submodules
  4. Use generate-buildfiles.bat to build project files with premake
  5. Load the solution (build/iw3xo-radiant.sln) and open the iw3r project-settings to setup paths:
  • General       output directory path -> path-to-cod4-root\bin\
  • Debugging   command -> path-to-cod4-root\bin\IW3xRadiant.exe
  • Debugging   working directory -> path-to-cod4-root\bin\
  • Alternatively: Create a new environment variable called COD4_ROOT that points to your cod4 directory and re-generate the project files.
  1. Build -> Build Solution or run with debugger

How to build the project using VSCode

  1. Install C++ Build tools (msbuild)
  2. Add msbuild folder to the "PATH" environment variable:

%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin

  1. Add COD4_ROOT environment variable with path to your cod4 directory

"COD4_ROOT" "D:\COD4-Modtools"

  1. Clone the repo (zip does not include deps!)
  2. Copy everything within the assets folder into your cod4-root folder
  3. Drag and drop all files from .vscode/tracked\ into .vscode\
  4. Open iw3xo-radiant.code-workspace
  5. Run task: update_submodules or open update_submodules.bat
  6. Run task: generate-buildfiles or open generate-buildfiles.bat

Use provided build-tasks with the option to copy iw3r.dll and iw3r.pdb to %COD4_ROOT%/bin
Run->Start Debugging will build and copy a debug build to to %COD4_ROOT%/bin and launch IW3xRadiant.




Optional:

https://github.com/xoxor4d/iw3xo-dev

Project Page:

https://xoxor4d.github.io/projects/iw3xo-radiant/

Discord:

https://discord.gg/t5jRGbj


Credits



Images


Model Selector / Preview:

image

Custom Lighting Shader On/Off:

image image

Effect Playback

image


Effects Editor

image


Disclaimer

This software has been created purely for the purposes of academic research. Project maintainers are not responsible or liable for misuse of the software. Use responsibly.

iw3xo-radiant's People

Contributors

sheepwizard avatar xoxor4d avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.