I would like to explain in this tutorial how u can replace/remove entities in sof such as weapons, c4 or even those nasty claymores.
WHICH TOOLS DO U NEED?
- Quark (Download here: Click)
- Notepad
- Open Quark, then click “File”, then click “Open” and locate the map u want to edit.
- Next up, you’ll get a new frame, and on the list u see all kinds of stuff like entities, planes, etc…
- Click “Entities”, then on the right you’ll see a list of codes, simply highlight all of that and copy/paste it into a NEW notepad file.
- Save that notepad file as for example “iraq_small” on your desktop.
Replacing/removing what u want
- Open your entity file in notepad, in my case “iraq_small”.
- Now, you’ll see a list of codes, for example:
=> The origins are x, y, z coordinates locating an entity such as grenades, armors, weapons, c4, …Code: Select all
“origin” “992 2784 -96″ “classname” “item_ammo_sp_pistol”
=> The classname simply names that entity, in this case ammo for a pistol. - Now let’s say I would like to remove all shotguns on iraq_small.
- To do this, I click ctrl+F, type in “shotgun” and click search.
- On the first hit, u will see this:
Code: Select all
} { “origin” “768 2592 -96″ “classname” “item_weapon_shotgun”
- To remove that, u simply remove the entire thing, INCLUDING the { and }, or your map will be bugged and your server will most likely crash when loading the map.
Here a screenshot of the example: - Now, let’s say we would like to replace a c4 with a flash. All we need, is the “classname”.
- Same routine, do ctrl+F and search for “item_equip_c4″, and then u replace it with “item_equip_flashpack”.
- Now Save your file as “iraq_small.txt”.
- Go to the control panel of your server, or the ftp server if u know how that works.
- Open the “file manager”.
- Open “user-sp14t12″
- Open the “sofplus” folder, then “sv”, then “spawn”, then “fixed”, then “dm”.
- Here u upload your new mapfix.
- Restart your server and test your map
Here’s a list of “classnames” to make it easier for u:
Spoiler!
WRITTEN BY: MinatO aka Dawn