137 lines
2.4 KiB
Markdown
137 lines
2.4 KiB
Markdown
# CoD 2 Map Making
|
|
|
|
|
|
## How to use Radiant
|
|
|
|
### Basics
|
|
2D View
|
|
Tab + Ctrl : Change perspective
|
|
|
|
Grid:
|
|
no 4 on keyboard = 8 Units per sqaure of grid
|
|
96units/8ft
|
|
|
|
3D View
|
|
movement:
|
|
d
|
|
c
|
|
change view (vertical angle):
|
|
a/ z
|
|
|
|
|
|
Object interaction
|
|
select: shift + left click
|
|
delete: backspace
|
|
|
|
Add model: in 2d view, right click, misc -> models
|
|
- tables etc can be found in /xmodels/xmodels folder with prefix furniture
|
|
- tanks can be found with prefic `vehicle_`
|
|
|
|
how to change textures
|
|
|
|
Jargon
|
|
Brush = a block
|
|
Prefab
|
|
|
|
|
|
## ToDos
|
|
- CTF DONE
|
|
- expand terrain
|
|
- Fix bug where object models are not rendered
|
|
|
|
Inneneinrichtung
|
|
- Betten
|
|
- Tische
|
|
- Küche
|
|
- Toilette
|
|
- Fenster
|
|
rack
|
|
- dachboden im Haus?
|
|
|
|
- Keller
|
|
- Ölheizung
|
|
- 2. Fenster
|
|
- Scheune: Holztor
|
|
- Garage: Holztor
|
|
- anndere Straßenseite: Baum
|
|
- Garten: Mehr Gebüsch
|
|
|
|
Blumen
|
|
|
|
|
|
https://killtube.org/archive/index.php/f-30.html
|
|
|
|
|
|
mp_wbo_v_1_1
|
|
|
|
|
|
## Stack
|
|
- Radiant: Map editor (bin/CoD2Radiant.exe)
|
|
- output: .map file
|
|
- Compiler (bin/CoD2CompileTools.exe)
|
|
- input: .map file from Map_Source folder
|
|
- output:
|
|
- d3dbsp
|
|
- d3dprt
|
|
- package in .iwd file
|
|
|
|
|
|
## Editing
|
|
- refer to D:\CoD 2 aus mods und maps\Mapping Torturials\Map-Making-Bible
|
|
|
|
|
|
|
|
## Missing DLLs needed to run assetManager
|
|
- MFC71.dll
|
|
- MSVCP71.dll
|
|
place in `SysWoW64` folder
|
|
|
|
|
|
## Load Screen
|
|
- Paint.net: .dds Datei erstellen
|
|
- assetManager: convert .dds to iwi & .gdp files
|
|
|
|
|
|
## Compile new Version and Package iwd file
|
|
follow instructions in map making bible
|
|
- compiled map files: D:\Games_installed\Call of Duty 2\main\Maps\mp
|
|
- zip files in D:\Games_installed\Call of Duty 2\main\Maps\mp\mp_wbo_v_1_1 (folders must be inside root of zip). rename to .iwd
|
|
- run map via console `/map mp_yourmapname`
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
couldn't load d3dbsp
|
|
|
|
|
|
https://wiki.zeroy.com/index.php?title=Call_of_Duty_2:_d3dbsp
|
|
https://wiki.zeroy.com/index.php?title=Call_of_Duty_2:_Lightning_Documentation
|
|
|
|
|
|
|
|
## Automate compilation:
|
|
- copy from D:\Games_installed\Call of Duty 2\main\Maps\mp into C:\Users\Marcelo\git\cod2-map-making\map_data\mp_wbo_v_1_1\maps\mp folder
|
|
- 7zip command
|
|
- rename file (or save with 7 zip cli)
|
|
- launch cod with command line option
|
|
|
|
CI:
|
|
- build from git and push to website
|
|
|
|
|
|
|
|
```
|
|
Expression:
|
|
ent->def->modelClass->model->handle
|
|
|
|
Module: D:\Games_installed\Call of Duty 2\bin\CoD2Radiant.exe
|
|
File: .\entity.cpp
|
|
Line: 70
|
|
|
|
<unknown module>: <unknown function>
|
|
```
|
|
|