PDA

View Full Version : Item mode


Lasko
05-15-2007, 21:00
I'm trying to figure out how I can place random items scattered around on a custom map. I've noticed on say, de_dust2_cz, the cfg's are like this:

item_battery -773 -1735 100
item_healthkit -769 -1597 100
weapon_deagle -733 -1474 100
pistol_ammo -691 -1474 100
pistol_ammo -691 -1474 100
rifle_ammo 101 -1835 228
rifle_ammo 112 -1799 228
weapon_aug 37 -1826 228
weapon_hegrenade 765 -1727 100
weapon_flashbang 761 -1605 100
weapon_ak47 364 -887 228
rifle_ammo 322 -839 228
rifle_ammo 382 -838 228
armor 451 -830 164
weapon_m3 386 -39 164
weapon_mac10 566 -34 36
weapon_xm1014 388 -86 164
smg_ammo 611 -60 36
smg_ammo 650 -59 36
shotgun_ammo 442 -26 164
shotgun_ammo 442 -50 164
shotgun_ammo 442 -82 164
shotgun_ammo 442 -109 164
item_healthkit 734 -32 36
item_battery 734 -94 36
weapon_m4a1 -169 -39 72
rifle_ammo -135 -40 72
rifle_ammo -117 -40 72
weapon_fiveseven -717 -571 36
pistol_ammo -684 -572 36
pistol_ammo -684 -572 36
weapon_awp -354 -48 228
weapon_mp5navy -1070 414 68
smg_ammo -1135 371 68
smg_ammo -1109 371 68
item_longjump -31 334 83
item_healthkit -1247 551 -27
item_battery -1205 550 -27

(I cut off the cfg. shorter due to being long)

But you get the idea. I can't seem to READ this cfg and know how to place random items in a custom map.

Also this does say in my readme file:

Quote:
Put extra CSDM config file in here.
You can then make per-map config files using AMX Mod X's map feature.
For example, make a de_dust.cfg auto-execute file:
csdm_reload csdm\extraconfigs\itemmode.cfg
For more information on how to use per-map config files, see:
http://www.amxmodx.org/forums/viewtopic.php?t=7002

In this case, that thread doesn't help what so ever for this particular situation. I understand the regular cfgs. But for random numbers and weapons... no.

KWo
05-16-2007, 02:58
Use 2.1h beta version (http://forums.alliedmods.net/showthread.php?t=47306). It includes Item Editor (available from CSDM Menu).

Lasko
05-16-2007, 15:18
Thank you.

It works perfectly :]