Creating your own map

Joined
May 11, 2014
Messages
56
Reaction score
126
Today I will show you how to create your own map in crossfire. I don’t know a lot about this topic, I’ll share everything that I know with you. I also attach the official Dedit guide, there are a lot of objects that are present in this version.
Here is my video from 2017:



My new videoguide:



Here is Dedit which has all the features with crossfire, in theory you can recreate any map that is in crossfire.
In dedit open to2.dep located in \dedit\TO2\Game
Pass: 123


Also a link to 3ds max 8, as well as plugins for working with lithtech files.


plugins: Pass: 123


I am attaching you a test map with objects so that you can see how they work.

Link to the official guide from the creators of Lithtech:


To make the map not black, add this line in the "World" > "World Info" tab:
AmbientLight 80 80 80

If you are asked for Packer, then specify let: \dedit\packers\WorldPacker.dll

To create a character spawn point, create a GameStartPoint object. GameStartPoint0 corresponds to 1 BL, GameStartPoint1 corresponds to 1 GR, GameStartPoint2 corresponds to 2 BL, GameStartPoint3 corresponds to 2 GR, and so on.

If you want to add a weapon lying on the floor like on the Crossroads map, add a GameStartPoint object and name it weaponspot%number%. In the MAPSPOTWEAPON.CFT file, enter the id of the weapon you need. In this table, SpotWeaponType%number% corresponds to weaponspot%number%. Also, do not forget to specify in the _SpotWeapon column in MAP.CFT the ID _EntryIndex specified in MAPSPOTWEAPON.CFT. When you add a weapon to the map, your main weapon is disabled and you only have a knife. It is desirable to turn it on for S&D, Elimination, since in TDM, FFA, etc., weapons that are on the floor quickly disappear.

The WorldEndPoint object points to the boundaries of the world for the minimap, without them you will not see the minimap and movement on it. 2 points WorldEndPoint0 and WorldEndPoint1 will be created, one on one side of the edge, the second on the opposite edge.

The StaticSunLight object creates solar lighting on your hands and weapons.

Using the CSubGravityZone object, as shown in the video, you can add gravity like on the "submarine" map, and possibly like on the "Gravity" map.

To create a staircase, use the AIVolumeLadder object. in the object properties in the "Dim" parameter, set the required dimensions of the stairs.

The C4AreaObject object allows you to create a planting point for explosives in "S&D" mode.

The DefaultCamera object allows you to create a camera that turns on when the entire team is killed and the C4 zone or some other zone is shown.

To use FX effects in SpecialFX, create a "ClientFX" folder in \Game\ and move the files from RF004.rez\CLIENTFX "ClientFX.FCF" and "ClientFX.FXF" there. Since Dedit is not capable of listing as many effects as crossfire uses, you will need to remove some of them from these files. They can be opened with any text editor.

If you transfer maps from Counter Strike 1.6 or Half Life 1, then you should know that crossfire maps are 4-4.1 times larger. I personally checked. Also, if you want to modify existing maps, you can try exporting .DAT to .SMD using "Noesis" and the .DAT plugin.

If you don't understand some of the objects you work with, you can see how the developers use them in regular maps using a hex editor, that explained a lot to me.

For example, you can see the name

1 - Creating your own map - RaGEZONE Forums


Object positions:

4 - Creating your own map - RaGEZONE Forums


Translation from float:

5 - Creating your own map - RaGEZONE Forums


And other object parameters:

2 - Creating your own map - RaGEZONE Forums


Translation from float:

3 - Creating your own map - RaGEZONE Forums

You can intuitively find the rest yourself, using the dedit guide and the hex editor. Share your work, it will be interesting to see.
 
Last edited:
You forgot to mention that you need object.lto (unless you added it to the dedit archive) that holds the object types such as GameStartPoint.
object.lto is basically object.dll in your crossfire client folder.

EDIT : here's another map you can look at that was used in a client
Virustotal :

EDIT 2 : that's what the map is based off :
lokea - Creating your own map - RaGEZONE Forums
 

Attachments

Last edited:
You forgot to mention that you need object.lto (unless you added it to the dedit archive) that holds the object types such as GameStartPoint.
object.lto is basically object.dll in your crossfire client folder.

EDIT : here's another map you can look at that was used in a client
Virustotal :

EDIT 2 : that's what the map is based off :
lokea - Creating your own map - RaGEZONE Forums
object.lto is in the right directory, if you open to2.dep then object.lto will automatically open. Yes, that's right, I took object.dll from the current version of the client for this :)
 
OP, the 3dsmax7 link you posted seems to be invalid. Can you please publish it again?
 
今天我將示範如何在 Crossfire 中建立自己的地圖。我對這個主題了解不多,我會把我知道的都分享給你。我也附上官方的 Dedit 指南,這個版本裡有很多物件。
這是我2017年的影片:

[媒體=YOUTUBE]YPYGSkEtF7w[/媒體]

我的新影片指南:

[媒體=YOUTUBE]InyODBnevrQ[/媒體]

這是 Dedit,擁有所有 Crossfire 的功能,理論上你可以重現任何處於 Crossfire 狀態的地圖。
在 dedit 中開啟 to2.dep 位於 \dedit\TO2\Game
通過:123




還有連結到 3ds max 8,以及處理 lithtech 檔案的插件。




插件:通過:123




我附上一張測試地圖,裡面有物件,讓你看看它們的運作方式。

Lithtech 創作者提供的官方指南連結:



要讓地圖不變黑,請在「世界」>「世界資訊」標籤中新增這條線:
環境光 80 80 80

如果有人問你要 Packer,請指定 let: \dedit\packers WorldPacker.dll

要建立角色生成點,請建立一個 GameStartPoint 物件。GameStartPoint0 對應 1 BL,GameStartPoint1 對應 1 GR,GameStartPoint2 對應 2 BL,GameStartPoint3 對應 2 GR,依此類推。

如果你想像 Crossroads 地圖那樣,新增一把放在地上的武器,可以新增一個 GameStartPoint 物件並命名為 weaponspot%number%。在 MAPSPOTWEAPON 裡。CFT 檔案,輸入你需要的武器 ID。在此表中,SpotWeaponType%number% 對應於 weaponspot%number%。另外,別忘了在 MAP 的_SpotWeapon欄中指定。CFT 的 ID _EntryIndex MAPSPOTWEAPON 中指定。CFT。當你在地圖上新增武器時,你的主武器會被禁用,你只剩下一把刀。在 S&D、消滅模式中,開啟它是理想的,因為在 TDM、FFA 等遊戲中,地上的武器會迅速消失。

WorldEndPoint 物件指向小地圖的邊界,沒有這些邊界你就看不到小地圖和移動。會建立兩個點 WorldEndPoint0 和 WorldEndPoint1,分別位於邊緣一側,另一點在對邊。

StaticSunLight 物件會在你的手和武器上產生太陽光。

使用影片中展示的 CSubGravityZone 物件,你可以像「潛艇」地圖一樣加入重力,甚至可能像在「Gravity」地圖上一樣。

要建立樓梯,請使用 AIVolumeLadder 物件。在物件屬性的「Dim」參數中,設定樓梯所需的尺寸。

C4AreaObject 物件允許你在「S&D」模式下建立放置炸藥的點。

DefaultCamera 物件允許你建立一個鏡頭,當全隊被擊殺並顯示 C4 區域或其他區域時,鏡頭會自動開啟。

要在 SpecialFX 中使用效果,請在 \Game\ 建立一個「ClientFX」資料夾,並將檔案從 RF004.rez\CLIENTFX 「ClientFX.FCF」和「ClientFX.FXF」移到那裡。由於 Dedit 無法列出 Crossfire 使用過的那麼多效果,你需要從這些檔案中移除部分效果。它們可以用任何文字編輯器開啟。

如果你是從《反恐精英 1.6》或《半條命 1》轉移地圖,那你應該知道交叉火力地圖會大 4-4.1 倍。我親自查過。另外,如果你想修改現有地圖,可以試著匯出 。DAT轉為。SMD 使用「Noesis」和 。DAT 插件。

如果你不懂你用的某些物件,可以看到開發者用十六進位編輯器在一般地圖上用它們,這讓我理解很多。

[劇透=「來自十六進制編輯器的圖片」]
例如,你可以看到這個名稱

View attachment 239107
 
Last edited:
Back