November 26 2024 06:49:50
Navigation
· Home
· Articles
· Downloads
· FAQ
· Discussion Forum
· Web Links
· News Categories
· Contact Me
· Photo Gallery
· Search
· Gameservers
Languages
Users Online
· Guests Online: 36

· Members Online: 0

· Total Members: 1,134
· Newest Member: Brody
Teamspeak 3
Last Seen Users
· hackepter08:20:03
· GONZO14:26:28
· Intruder14:53:11
· Sully 1 day
· desintegrator 2 days
· WEZ 2 days
· Homi 3 days
· The ACE 4 days
· xhc 1 week
· dRgiGGLeZ 1 week
· El Dookie 1 week
· Melber 2 weeks
· SGT PEPPER 2 weeks
· martyr 2 weeks
· Terminator 2 weeks

View Thread: Ammo boxes and Med box / kit
Vietcong.Info » Vietcong General Discussion » Maps & Mapping
Who is here? 2 Guests
Current Rating: (Total: 0 ratings)  
 Print Thread
Ammo boxes and Med box / kit
martyr
Hi all,

I came across some maps where these work perfectly. But looking inside with Total commander gives me no ideas how to do it.
There are objects in the standard db which I found and added but have no functionality. Am I missing a step? Do they require a script to work?

I also saw Ando's ones that work with synchronised objects:
http://www.vietcong.info/portal/forum/viewthread.php?thread_id=226#post_2722
http://www.vietcong.info/portal/forum/viewthread.php?thread_id=226#post_2727
But I don't know what he means by "assign script to that object" in the script files comments.
I have the script from the zip but don't know how to assign it.

Anyone have any ideas?

Cheers,
M.
Signature________________________________________________________________________

"From every kill grow, from every death learn"
 
http://www.clanofminh.vcclan.net/minh/
VCG john
Ammo Box: https://drive.google.com/file/d/0B-5NNUmxtrhcRDhPMWVBa0J0OGc/view?usp=sharing

Weapons: YouTube Video


ITEM= id, user_name_id, bes_name, weap_id, disappear_time,ammo_type,ammo_amount,drop_type,disappear_time_MP


id - number <1,149>
user_name_id - id of text shown to user
bes_name - name of BES used in scene
weap_id - if weapon, index to weap, otherwise 0 (zero)
disappear_time - cas do zmizeni predmetu, 0 - nikdy
ammo_type - typ streliva - pokud ruzne od 0, jedna se o strelivo
ammo_amount - mnozstvi streliva, platne pouze kdyz ammo_type neni 0
drop_type - 0 - vypadne po prohledani mrtvyho
1 - vypadne okamzite po zabiti
2 - nevypadne nikdy
disappear_time_MP - cas do zmizeni predmetu, 0 - nikdy


ITEM= 1, 2201, G\Weapons\VvH_M16\VvH_m16_stg , 1, 60,0,0,0,35
ITEM= 2, 2202, G\Weapons\VvH_Ak47\VvH_Ak47_stg , 2, 60,0,0,0,35
ITEM= 3, 54606, G\Weapons\VvH_Skorpion\VvH_Skorpion_stg , 3, 60,0,0,0,35
ITEM= 4, 2203, G\Weapons\VvH_M14\VvH_M14_stg, 4, 60,0,0,0,35
ITEM= 5, 54601, G\Weapons\VvH_DP2\VvH_DP2_stg , 5, 60,0,0,0,35
ITEM= 6, 2204, G\Weapons\VvH_PPS-41\VvH_PPS-41_stg, 6, 60,0,0,0,35
ITEM= 7, 2205, G\Weapons\VvH_M1911_A1\VvH_M1911_A1_stg , 7, 60,0,0,0,35
ITEM= 8, 2208, G\Weapons\VvH_Tokarev\VvH_Tokarev_stg , 8, 60,0,0,0,35
ITEM= 9, 2207, G\Weapons\VvH_Makarov\VvH_Makarov_stg , 9, 60,0,0,0,35
ITEM= 10, 2206, G\Weapons\VvH_Revolver\VvH_Revolver_stg , 10, 60,0,0,0,35
ITEM= 11, 2209, G\Weapons\VvH_Remington\VvH_Remington_stg, 11, 60,0,0,0,35
ITEM= 12, 2210, G\Weapons\VvH_Winchester\VvH_Winchester_stg, 12, 60,0,0,0,35
ITEM= 13, 54610, G\Weapons\VvH_Svt40\VvH_Svt40_stg , 13, 60,0,0,0,35
ITEM= 14, 2211, G\Weapons\VvH_Dragunov\VvH_Dragunov_stg , 14, 60,0,0,0,35
ITEM= 15, 2212, G\Weapons\VvH_Simonov\VvH_Simonov_stg, 15, 60,0,0,0,35
ITEM= 16, 54612, G\Weapons\VvH_SVT40_wo\VvH_SVT40_wo_stg , 16, 60,0,0,0,35
ITEM= 17, 2213, G\Weapons\VvH_M60\VvH_m60_stg , 17, 60,0,0,0,35
ITEM= 18, 2214, G\Weapons\VvH_Degtarev\VvH_Degtarev_stg , 18, 60,0,0,0,35
ITEM= 19, 2215, G\Weapons\VvH_Usm3\VvH_usm3_stg , 19, 60,0,0,0,35
ITEM= 21, 2217, G\Weapons\VvH_Thompson\VvH_thompson_stg , 21, 60,0,0,0,35
ITEM= 22, 2218, G\Weapons\VvH_S&W_model_39\VvH_S&W_model_39_stg , 22, 60,0,0,0,35
ITEM= 23, 2219, G\Weapons\VvH_PPS-43\VvH_PPS-43_stg, 23, 60,0,0,0,35
ITEM= 24, 54603, G\Weapons\VvH_M14new\VvH_M14new_stg , 24, 60,0,0,0,35
ITEM= 25, 2220, G\Weapons\VVH_M1-M2\VvH_m1-m2_stg, 25, 60,0,0,0,35
ITEM= 26, 2221, G\Weapons\VVH_Mosin_Nagant\VvH_Mosin_Nagant_stg, 26, 60,0,0,0,35
ITEM= 27, 2222, G\Weapons\VvH_M79\VvH_M79_stg, 27, 60,0,0,0,35
ITEM= 28, 2223, G\Weapons\VvH_DoubleSG\VvH_DoubleSG_stg , 28, 60,0,0,0,35
ITEM= 31, 54605, G\Weapons\VvH_M14_wo\VvH_M14_wo_stg , 31, 60,0,0,0,35
ITEM= 32, 54608, G\Weapons\VvH_Sten\VvH_Sten_stg , 32, 60,0,0,0,35
ITEM= 33, 2230, G\Weapons\VvH_Bandage\VvH_Bandage_stg , 34, 0,0,0,0,35
ITEM= 41, 54607, G\Weapons\VvH_Skorpion\VvH_Skorpion_mgz , 3, 60, 26,20,0,35
ITEM= 42, 54602, G\Weapons\VvH_DP2\VvH_DP2_mgz , 5, 60, 27,47,0,35
ITEM= 43, 54611, G\Weapons\VvH_Svt40\VvH_Svt40_mgz , 13, 60, 28,20,0,35
ITEM= 44, 54611, G\Weapons\VvH_SVT40_wo\VvH_SVT40_wo_mgz , 16, 60, 28,20,0,35
ITEM= 45, 54604, G\Weapons\VvH_M14new\VvH_M14new_mgz , 24, 60, 29,20,0,35
ITEM= 46, 54604, G\Weapons\VvH_M14_wo\VvH_M14_wo_mgz , 31, 60, 29,20,0,35
ITEM= 47, 54609, G\Weapons\VvH_Sten\VvH_Sten_mgz , 32, 60, 30,32,0,35
ITEM= 50, 2234, G\Weapons\VvH_vc_grenade\VvH_vc_grenade_stg , 50, 60,0,0,2,35
ITEM= 53, 2230, G\Weapons\VvH_Money\VvH_Money_stg, 53, 0,0,0,0,35
ITEM= 54, 2230, G\Weapons\VvH_Doklady\VvH_Doklady_stg, 54, 0,0,0,0,35
ITEM= 55, 8899, G\Weapons\Vvh_C4\Vvh_C4_stg, 55, 0,0,0,1,35
ITEM= 59, 2234, G\Weapons\VvH_Grenade_Ball\VvH_Grenade_Ball_stg , 59, 60,0,0,2,35
ITEM= 60, 2233, G\PHS_items\new_radio , 60, 0,0,0,2,35
ITEM= 62, 2231, G\Weapons\VvH_Medibag\VvH_Medibag_stg , 62, 0,0,0,0,35
ITEM= 63, 2230, G\Weapons\VvH_Bandage\VvH_Bandage_stg , 63, 0,0,0,0,35
ITEM= 71, 2041, G\Weapons\VvH_M16\VvH_m16_mgz , 1, 60,1,18,0,35
ITEM= 72, 2042, G\Weapons\VvH_AK47\VvH_ak47_mgz , 2, 60,3,28,0,35
ITEM= 74, 2043, G\Weapons\VvH_M14\Single_mgz, 4, 60,4,8,0,35
ITEM= 75, 2043, G\Weapons\VvH_M14\Single_closed_mgz, 4, 60,4,8,0,35
ITEM= 76, 2044, G\Weapons\VvH_PPS-41\VvH_PPS-41_mgz, 6, 60,6,40,0,35
ITEM= 77, 2045, G\Weapons\VvH_M1911_A1\VvH_M1911_A1_mgz , 7, 60,15,7,0,35
ITEM= 78, 2048, G\Weapons\VvH_Tokarev\VvH_Tokarev_mgz , 8, 60,18,8,0,35
ITEM= 79, 2047, G\Weapons\VvH_Makarov\VvH_Makarov_mgz , 9, 60,5,9,0,35
ITEM= 80, 2046, G\Weapons\VvH_Revolver\VvH_Revolver_mgz , 10, 60,8,6,0,35
ITEM= 81, 2049, G\Weapons\VvH_Remington\Shotgun_mgz, 11, 60,9,10,0,35
ITEM= 82, 2049, G\Weapons\VvH_Remington\Shotgun_closed_mgz, 11, 60,9,10,0,35
ITEM= 83, 2050, G\Weapons\VvH_Winchester\Single_mgz, 12, 60, 10, 10, 0, 35
ITEM= 84, 2051, G\Weapons\VvH_Dragunov\VvH_Dragunov_mgz, 14, 60,11,10,0,35
ITEM= 85, 2052, G\Weapons\VvH_Simonov\VvH_Simonov_mgz, 15, 60,3,10,0,35
ITEM= 87, 2053, G\Weapons\VvH_M60\VvH_m60_mgz , 17, 60,12,100,0,35
ITEM= 88, 2054, G\Weapons\VvH_Degtarev\VvH_Degtarev_mgz , 18, 60,13,100,0,35
ITEM= 89, 2055, G\Weapons\VvH_Usm3\VvH_usm3_mgz , 19, 60,7,30,0,35
ITEM= 91, 2057, G\Weapons\VvH_Thompson\VvH_thompson_mgz , 21, 60,7,30,0,35
ITEM= 92, 2058, G\Weapons\VvH_S&W_model_39\VvH_S&W_model_39_mgz , 22, 60,15,8,0,35
ITEM= 93, 2059, G\Weapons\VvH_PPS-43\VvH_PPS-43_mgz, 23, 60,6,35,0,35
ITEM= 95, 2060, G\Weapons\VVH_M1-M2\VvH_m1-m2_mgz, 25, 60,16,15,0,35
ITEM= 96, 2061, G\Weapons\VVH_Mosin_Nagant\vvh_mosin_nagant_mgz, 26,60,11,5,0,35
ITEM= 97, 2062, G\Weapons\VvH_M79\VvH_M79_mgz, 27, 60,2,2,0,35
ITEM= 98, 2063, G\Weapons\VvH_DoubleSG\Shotgun_mgz , 28, 60,9,10,0,35
ITEM= 128, 2234, G\Weapons\VvH_vc_grenade\VvH_vc_grenade_stg , 50, 60,23,1,0,35
ITEM= 129, 2234, G\Weapons\VvH_Grenade_Ball\VvH_Grenade_Ball_stg , 59, 60,19,1,0,35
ITEM= 136, 0, G\Weapons\VvH_Grenade_Smoke\VvH_Grenade_Smoke_stg, 0, 0,0,0,2,20 // spec for smoke grenade, unlimited smoke, ptc 184
ITEM= 137, 0, G\Weapons\VvH_Grenade_Smoke\VvH_Grenade_Smoke_stg, 0, 0,0,0,2,20 // spec for smoke grenade, unlimited smoke
ITEM= 138, 2226, G\Weapons\vvh_claymore\VvH_switch_stg , 49, 0,0,0,2,0
ITEM= 139, 54600, G\Weapons\vvh_claymore\VvH_Claymore_stg , 0, 0,0,0,2,0
ITEM= 140, 0, G\Weapons\flare , 0, 0,0,0,2,20 // spec for red flare
ITEM= 141, 0, G\EQUIPMENT\US\EOJ_bagl_kanady_stg , 0, 0,0,0,2,0
ITEM= 142, 0, G\Weapons\VvH_LightStick\VvH_LightStick_stg , 0, 0,0,0,2,0
ITEM= 143, 0, G\Weapons\vvh_btrap\btrap_grenade , 0, 0,0,0,2,0
ITEM= 144, 0, G\Weapons\vvh_c4\Vvh_C4_stg , 0, 0,0,0,2,20
ITEM= 145, 0, G\Weapons\vvh_flag\Vvh_flag_US_stg , 0, 0,0,0,2,20
ITEM= 146, 0, G\Weapons\vvh_flag\Vvh_flag_VC_stg , 0, 0,0,0,2,20
ITEM= 147, 0, G\Weapons\VvH_Grenade_Smoke\VvH_Grenade_Smoke_stg, 0, 0,0,0,2,20 // spec for smoke grenade
ITEM= 148, 0, G\Weapons\VvH_M79\VvH_M79_shot, 0, 0,0,0,2,20 // spec for m72 grenade - changed by shigor
ITEM= 149, 0, G\Weapons\flare , 0, 0,0,0,2,20 // spec for white flare

ITEM= 150, 2236, G\Weapons\Vvh_Zin_Crop\Vvh_Zin_Crop_stg , 64, 0,0,0,0,20
ITEM= 151, 2236, G\Weapons\Vvh_Zin_Diary_2\Vvh_Zin_Diary_2_Stg , 65, 0,0,0,0,20
ITEM= 152, 2236, G\Weapons\Vvh_Zin_Diary_3\Vvh_Zin_Diary_3_Stg , 66, 0,0,0,0,20
ITEM= 153, 2236, G\Weapons\Vvh_Zin_Diary_4\Vvh_Zin_Diary_4_Stg , 67, 0,0,0,0,20
ITEM= 154, 2236, G\Weapons\Vvh_Zin_Diary_5\Vvh_Zin_Diary_5_Stg , 68, 0,0,0,0,20
ITEM= 155, 2236, G\Weapons\Vvh_Zin_Diary_6\Vvh_Zin_Diary_6_Stg , 69, 0,0,0,0,20
ITEM= 156, 2236, G\Weapons\VvH_Zin_Diplom_12\VvH_Zin_Diplom_12_Stg , 70, 0,0,0,0,20
ITEM= 157, 2236, G\Weapons\VvH_Zin_Diplom_13\VvH_Zin_Diplom_13_Stg , 71, 0,0,0,0,20
ITEM= 158, 2236, G\Weapons\VvH_Zin_Diplom_14\VvH_Zin_Diplom_14_Stg , 72, 0,0,0,0,20
ITEM= 159, 2236, G\Weapons\VvH_Zin_Diplom_15\VvH_Zin_Diplom_15_Stg , 73, 0,0,0,0,20
ITEM= 160, 2236, G\Weapons\VvH_Zin_Diplom_16\VvH_Zin_Diplom_16_Stg , 74, 0,0,0,0,20
ITEM= 161, 2236, G\Weapons\VvH_Zin_Dokum_17\VvH_Zin_Dokum_17_stg , 75, 0,0,0,0,20
ITEM= 162, 2236, G\Weapons\VvH_Zin_Dokum_18\VvH_Zin_Dokum_18_stg , 76, 0,0,0,0,20
ITEM= 163, 2236, G\Weapons\VvH_Zin_Dokum_19\VvH_Zin_Dokum_19_stg , 77, 0,0,0,0,20
ITEM= 164, 2236, G\Weapons\VvH_Zin_Dokum_20\VvH_Zin_Dokum_20_stg , 78, 0,0,0,0,20
ITEM= 165, 2236, G\Weapons\VvH_Zin_Dopis_22\VvH_Zin_Dopis_22_Stg , 79, 0,0,0,0,20
ITEM= 166, 2236, G\Weapons\VvH_Zin_Dopis_23\VvH_Zin_Dopis_23_Stg , 80, 0,0,0,0,20
ITEM= 167, 2236, G\Weapons\VvH_Zin_Dopis_24\VvH_Zin_Dopis_24_Stg , 81, 0,0,0,0,20
ITEM= 168, 2236, G\Weapons\VvH_Zin_Dopis_25\VvH_Zin_Dopis_25_Stg , 82, 0,0,0,0,20
ITEM= 169, 2236, G\Weapons\VvH_Zin_Dopis_26\VvH_Zin_Dopis_26_Stg , 83, 0,0,0,0,20
ITEM= 170, 2236, G\Weapons\VvH_Zin_fotky_27\VvH_Zin_fotky_27_stg , 84, 0,0,0,0,20
ITEM= 171, 2236, G\Weapons\VvH_Zin_fotky_28\VvH_Zin_fotky_28_stg , 85, 0,0,0,0,20
ITEM= 172, 2236, G\Weapons\VvH_Zin_fotky_29\VvH_Zin_fotky_29_stg , 86, 0,0,0,0,20
ITEM= 173, 2236, G\Weapons\VvH_Zin_fotky_30\VvH_Zin_fotky_30_stg , 87, 0,0,0,0,20
ITEM= 174, 2236, G\Weapons\VvH_Zin_fotky_65\VvH_Zin_fotky_65_stg , 88, 0,0,0,0,20
ITEM= 175, 2236, G\Weapons\VvH_Zin_fotky_66\VvH_Zin_fotky_66_stg , 89, 0,0,0,0,20
ITEM= 176, 2236, G\Weapons\VvH_Zin_fotky_68\VvH_Zin_fotky_68_stg , 90, 0,0,0,0,20
ITEM= 177, 2236, G\Weapons\VvH_Zin_fotky_69\VvH_Zin_fotky_69_stg , 91, 0,0,0,0,20
ITEM= 178, 2236, G\Weapons\VvH_Zin_fotky_70\VvH_Zin_fotky_70_stg , 92, 0,0,0,0,20
ITEM= 179, 2236, G\Weapons\VvH_Zin_mao_71\VvH_Zin_mao_71_stg , 93, 0,0,0,0,20
ITEM= 180, 2236, G\Weapons\VvH_Zin_mao_72\VvH_Zin_mao_72_stg , 94, 0,0,0,0,20
ITEM= 181, 2236, G\Weapons\VvH_Zin_medai_31\VvH_Zin_medai_31_stg , 95, 0,0,0,0,20
ITEM= 182, 2236, G\Weapons\VvH_Zin_medai_32\VvH_Zin_medai_32_stg , 96, 0,0,0,0,20
ITEM= 183, 2236, G\Weapons\VvH_Zin_medai_33\VvH_Zin_medai_33_stg , 97, 0,0,0,0,20
ITEM= 184, 2236, G\Weapons\VvH_Zin_medai_34\VvH_Zin_medai_34_stg , 98, 0,0,0,0,20
ITEM= 185, 2236, G\Weapons\VvH_Zin_medai_35\VvH_Zin_medai_35_stg , 99, 0,0,0,0,20
ITEM= 186, 2236, G\Weapons\VvH_Zin_money_49\VvH_Zin_money_49_stg , 100, 0,0,0,0,20
ITEM= 187, 2236, G\Weapons\VvH_Zin_money_50\VvH_Zin_money_50_stg , 101, 0,0,0,0,20
ITEM= 188, 2236, G\Weapons\VvH_Zin_money_51\VvH_Zin_money_51_stg , 102, 0,0,0,0,20
ITEM= 189, 2236, G\Weapons\VvH_Zin_money_52\VvH_Zin_money_52_stg , 103, 0,0,0,0,20
ITEM= 190, 2236, G\Weapons\VvH_Zin_money_53\VvH_Zin_money_53_stg , 104, 0,0,0,0,20
ITEM= 191, 2236, G\Weapons\VvH_Zin_flag_77\VvH_Zin_flag_77_stg , 105, 0,0,0,0,20
ITEM= 192, 2236, G\Weapons\VvH_Zin_vlaj_75\VvH_Zin_vlaj_75_stg , 106, 0,0,0,0,20
ITEM= 193, 2236, G\Weapons\VvH_Zin_vlaj_76\VvH_Zin_vlaj_76_stg , 107, 0,0,0,0,20
ITEM= 194, 2236, G\Weapons\VvH_Zin_obal_38\VvH_Zin_obal_38_stg , 108, 0,0,0,0,20
ITEM= 195, 2236, G\Weapons\VvH_Zin_obal_39\VvH_Zin_obal_39_stg , 109, 0,0,0,0,20
ITEM= 196, 2236, G\Weapons\VvH_Zin_odznak_46\VvH_Zin_odznak_46_stg, 110, 0,0,0,0,20
ITEM= 197, 2236, G\Weapons\VvH_Zin_odznak_47\VvH_Zin_odznak_47_stg, 111, 0,0,0,0,20
ITEM= 198, 2236, G\Weapons\VvH_Zin_odznak_48\VvH_Zin_odznak_48_stg, 112, 0,0,0,0,20
ITEM= 199, 2236, G\Weapons\VvH_Zin_papir_10\VvH_Zin_papir_10_stg, 113, 0,0,0,0,20
ITEM= 200, 2236, G\Weapons\VvH_Zin_papir_11\VvH_Zin_papir_11_stg, 114, 0,0,0,0,20
ITEM= 201, 2236, G\Weapons\VvH_Zin_papir_7\VvH_Zin_papir_7_stg, 115, 0,0,0,0,20
ITEM= 202, 2236, G\Weapons\VvH_Zin_papir_8\VvH_Zin_papir_8_stg, 116, 0,0,0,0,20
ITEM= 203, 2236, G\Weapons\VvH_Zin_papir_9\VvH_Zin_papir_9_stg, 117, 0,0,0,0,20
ITEM= 204, 2236, G\Weapons\VvH_Zin_propaga_41\VvH_Zin_propaga_41_stg, 118, 0,0,0,0,20
ITEM= 205, 2236, G\Weapons\VvH_Zin_propaga_42\VvH_Zin_propaga_42_stg, 119, 0,0,0,0,20
ITEM= 206, 2236, G\Weapons\VvH_Zin_propaga_43\VvH_Zin_propaga_43_stg, 120, 0,0,0,0,20
ITEM= 207, 2236, G\Weapons\VvH_Zin_propaga_44\VvH_Zin_propaga_44_stg, 121, 0,0,0,0,20
ITEM= 208, 2236, G\Weapons\VvH_Zin_propaga_45\VvH_Zin_propaga_45_stg, 122, 0,0,0,0,20
ITEM= 209, 2236, G\Weapons\VvH_Zin_prukazka_59\VvH_Zin_prukazka_59_stg, 123, 0,0,0,0,20
ITEM= 210, 2236, G\Weapons\VvH_Zin_prukazka_60\VvH_Zin_prukazka_60_stg, 124, 0,0,0,0,20
ITEM= 211, 2236, G\Weapons\VvH_Zin_prukazka_61\VvH_Zin_prukazka_61_stg, 125, 0,0,0,0,20
ITEM= 212, 2236, G\Weapons\VvH_Zin_prukazka_62\VvH_Zin_prukazka_62_stg, 126, 0,0,0,0,20
ITEM= 213, 2236, G\Weapons\VvH_Zin_prukazka_63\VvH_Zin_prukazka_63_stg, 127, 0,0,0,0,20
ITEM= 214, 2236, G\Weapons\VvH_Zin_prukazka_64\VvH_Zin_prukazka_64_stg, 128, 0,0,0,0,20
ITEM= 215, 2236, G\Weapons\VvH_Zin_vlajka_78\VvH_Zin_vlajka_78_stg, 129, 0,0,0,0,20
ITEM= 216, 2236, G\Weapons\VvH_Zin_vlajecka_73\VvH_Zin_vlajecka_73_stg, 130, 0,0,0,0,20
ITEM= 217, 2236, G\Weapons\VvH_Zin_vlajecka_74\VvH_Zin_vlajecka_74_stg, 131, 0,0,0,0,20
ITEM= 218, 2236, G\Weapons\Vvh_Zin_plany_54\Vvh_Zin_plany_54_stg, 132, 0,0,0,0,20
ITEM= 219, 2236, G\Weapons\Vvh_Zin_plany_55\Vvh_Zin_plany_55_stg, 133, 0,0,0,0,20
ITEM= 220, 2236, G\Weapons\Vvh_Zin_plany_56\Vvh_Zin_plany_56_stg, 134, 0,0,0,0,20
ITEM= 221, 2236, G\Weapons\VvH_Zin_Dokum_21\VvH_Zin_Dokum_21_stg ,135, 0,0,0,0,20
ITEM= 222, 2236, G\Weapons\VvH_Zin_obal_40\VvH_Zin_obal_40_stg, 136, 0,0,0,0,20
ITEM= 223, 2236, G\Weapons\VvH_Zin_obal_36\VvH_Zin_obal_36_stg, 137, 0,0,0,0,20
ITEM= 224, 2236, G\Weapons\VvH_Zin_obal_37\VvH_Zin_obal_37_stg, 138, 0,0,0,0,20
Edited by VCG john on 19-04-2019 15:17
Signature#VCG_freddy
Mail: vietcongguys@gmail.com
Facebook: fb.com/vcgfreddy
VCG_Page: fb.com/vcg31
Vietcong Guild: https://discord.gg/mXaXG2P
Vietcong Messenger: https://vietcongmessenger.mn.co
  x 2
 
https://vietcongmessenger.mn.co
martyr
Thanks dude - a very helpful video.

I've been able to get the medkits and medibag working which is great!

However, still no luck with the Ammobag. It seems to be missing from the list of items you posted.
It appears as #61 in the SDK scripting.html file.

So I am still stuck on getting a working ammobag. Ando's one interests me but as I said previously, these work with synchronised objects:
http://www.vietcong.info/portal/forum/viewthread.php?thread_id=226#post_2722
http://www.vietcong.info/portal/forum/viewthread.php?thread_id=226#post_2727
But I don't know what he means by "assign script to that object" in the script files comments.
Signature________________________________________________________________________

"From every kill grow, from every death learn"
 
http://www.clanofminh.vcclan.net/minh/
The ACE
Take a look of GONZO site:

https://vietcong....nel/navody
 
http://theace.favos.nl/
GONZO
Hello,
I use my own mplevel.inc in my maps. I edited it based on the ammobox and weapons tutorials posted by VCG John here. I combined it.
Just added CASE FOR COOP:
case GVAR_MP_MISSIONTYPE_COOP:
hide_CTF_flags = FALSE;
hide_weapons = FALSE;
break;
You can download my mplevel.inc and coop.c here:
https://vietcong.7x.cz/edit-panel/editace
For ammobox use any dynamic object from game or IUL_WOODEN BOX1_DYNAMIC.BES and rename it to AmmoboxCTF0, AmmoboxCTF1, AmmoboxCTF2 ...
=G=
  x 1
 
https://vietconglab.wordpress.com/
martyr
Thank you ACE and GONZO.
There are many very useful things on GONZO's site.
I have now made some useful edits - thanks!
Signature________________________________________________________________________

"From every kill grow, from every death learn"
 
http://www.clanofminh.vcclan.net/minh/
GONZO
SUMMARY, ADDING WEAPONS AND AMMOBOXES to COOP

1. Edit your VIETCONG\dev\compiler\inc\mplevel.inc
my version:
G_MPLEVEL-INC in attachment

I made this modification based on Obie's instructions. (End of text) To add ammoboxes, just add any dynamic object named AmmoboxCTF0 to the map. Or create your dynamic object like I did. All that is needed is to add dynamic properties to the object in 3DS MAX (watch in added picture whre I added dynymic properties to AMMOBOX_CTF0). I made a G9_AMMOBOX.BES, it's a box and inside a cartridge where you can reload your ammo. Inside is a subentity called AmmoboxCTF0, so it calls the script. Next to adding weapons to the COOP.
You have to use object "weapon".stg from pteroeditor.
I will give Baikal as an example. I add the object G\Weapons\VvH_DoubleSG\VvH_DoubleSG_stg to the map and change its name according to the list of weapons (baikal(doubleSG) is 28, I've marked it in light green in the list below). So in Pteroeditor I name the weapon (VvH_DoubleSG_stg) as #28_doublesg or maybe #28_biggun or #28youcannameithowyouwant. (this # character and number of the weapon are important) The gun numbers are also in the list below.

2. For weapons, you still need to edit your COOP.c
COOP.C should be in your VIETCONG\Levels\YOURMAPS\data\YOURCURRENTMAP\scripts\coop.c

my version:
G_COOP-C in attachment

You can use any item including intel, but it can be dropped in the game and it causes the server to crash. I used it in the G_Shadowlands map, you can check it out.
ITEMS LIST:

ITEM= id, user_name_id, bes_name, weap_id, disappear_time,ammo_type,ammo_amount,drop_type,disappear_time_MP
id - number <1,149>
user_name_id - id of text shown to user
bes_name - name of BES used in scene
weap_id - if weapon, index to weap, otherwise 0 (zero)
disappear_time - cas do zmizeni predmetu, 0 - nikdy
ammo_type - typ streliva - pokud ruzne od 0, jedna se o strelivo
ammo_amount - mnozstvi streliva, platne pouze kdyz ammo_type neni 0
drop_type - 0 - vypadne po prohledani mrtvyho
1 - vypadne okamzite po zabiti
2 - nevypadne nikdy
disappear_time_MP - cas do zmizeni predmetu, 0 - nikdy

ITEM= 1, 2201, G\Weapons\VvH_M16\VvH_m16_stg , 1, 60,0,0,0,35
ITEM= 2, 2202, G\Weapons\VvH_Ak47\VvH_Ak47_stg , 2, 60,0,0,0,35
ITEM= 4, 2203, G\Weapons\VvH_M14\VvH_M14_stg, 4, 60,0,0,0,35
ITEM= 6, 2204, G\Weapons\VvH_PPS-41\VvH_PPS-41_stg, 6, 60,0,0,0,35
ITEM= 7, 2205, G\Weapons\VvH_M1911_A1\VvH_M1911_A1_stg , 7, 60,0,0,0,35
ITEM= 8, 2208, G\Weapons\VvH_Tokarev\VvH_Tokarev_stg , 8, 60,0,0,0,35
ITEM= 9, 2207, G\Weapons\VvH_Makarov\VvH_Makarov_stg , 9, 60,0,0,0,35
ITEM= 10, 2206, G\Weapons\VvH_Revolver\VvH_Revolver_stg , 10, 60,0,0,0,35
ITEM= 11, 2209, G\Weapons\VvH_Remington\VvH_Remington_stg, 11, 60,0,0,0,35
ITEM= 12, 2210, G\Weapons\VvH_Winchester\VvH_Winchester_stg, 12, 60,0,0,0,35
ITEM= 14, 2211, G\Weapons\VvH_Dragunov\VvH_Dragunov_stg , 14, 60,0,0,0,35
ITEM= 15, 2212, G\Weapons\VvH_Simonov\VvH_Simonov_stg, 15, 60,0,0,0,35
ITEM= 17, 2213, G\Weapons\VvH_M60\VvH_m60_stg , 17, 60,0,0,0,35
ITEM= 18, 2214, G\Weapons\VvH_Degtarev\VvH_Degtarev_stg , 18, 60,0,0,0,35
ITEM= 19, 2215, G\Weapons\VvH_Usm3\VvH_usm3_stg , 19, 60,0,0,0,35
ITEM= 21, 2217, G\Weapons\VvH_Thompson\VvH_thompson_stg , 21, 60,0,0,0,35
ITEM= 22, 2218, G\Weapons\VvH_S&W_model_39\VvH_S&W_model_39_stg , 22, 60,0,0,0,35
ITEM= 23, 2219, G\Weapons\VvH_PPS-43\VvH_PPS-43_stg, 23, 60,0,0,0,35
ITEM= 25, 2220, G\Weapons\VVH_M1-M2\VvH_m1-m2_stg, 25, 60,0,0,0,35
ITEM= 26, 2221, G\Weapons\VVH_Mosin_Nagant\VvH_Mosin_Nagant_stg, 26, 60,0,0,0,35
ITEM= 27, 2222, G\Weapons\VvH_M79\VvH_M79_stg, 27, 60,0,0,0,35
ITEM= 28, 2223, G\Weapons\VvH_DoubleSG\VvH_DoubleSG_stg , 28, 60,0,0,0,35

ITEM= 50, 2234, G\Weapons\VvH_vc_grenade\VvH_vc_grenade_stg , 50, 60,0,0,2,35
ITEM= 53, 2230, G\Weapons\VvH_Money\VvH_Money_stg, 53, 0,0,0,0,35
ITEM= 54, 2230, G\Weapons\VvH_Doklady\VvH_Doklady_stg, 54, 0,0,0,0,35
ITEM= 55, 8899, G\Weapons\Vvh_C4\Vvh_C4_stg, 55, 0,0,0,1,35
ITEM= 59, 2234, G\Weapons\VvH_Grenade_Ball\VvH_Grenade_Ball_stg , 59, 60,0,0,2,35
ITEM= 60, 2233, G\PHS_items\new_radio , 60, 0,0,0,2,35
ITEM= 62, 2231, G\Weapons\VvH_Medibag\VvH_Medibag_stg , 62, 0,0,0,0,35
ITEM= 63, 2230, G\Weapons\VvH_Bandage\VvH_Bandage_stg , 63, 0,0,0,0,35

// ammo
ITEM= 71, 2041, G\Weapons\VvH_M16\VvH_m16_mgz , 1, 60,1,18,0,35
ITEM= 72, 2042, G\Weapons\VvH_AK47\VvH_ak47_mgz , 2, 60,3,28,0,35
ITEM= 74, 2043, G\Weapons\VvH_M14\Single_mgz, 4, 60,4,8,0,35
ITEM= 75, 2043, G\Weapons\VvH_M14\Single_closed_mgz, 4, 60,4,8,0,35
ITEM= 76, 2044, G\Weapons\VvH_PPS-41\VvH_PPS-41_mgz, 6, 60,6,40,0,35
ITEM= 77, 2045, G\Weapons\VvH_M1911_A1\VvH_M1911_A1_mgz , 7, 60,15,7,0,35
ITEM= 78, 2048, G\Weapons\VvH_Tokarev\VvH_Tokarev_mgz , 8, 60,18,8,0,35
ITEM= 79, 2047, G\Weapons\VvH_Makarov\VvH_Makarov_mgz , 9, 60,5,9,0,35
ITEM= 80, 2046, G\Weapons\VvH_Revolver\VvH_Revolver_mgz , 10, 60,8,6,0,35
ITEM= 81, 2049, G\Weapons\VvH_Remington\Shotgun_mgz, 11, 60,9,10,0,35
ITEM= 82, 2049, G\Weapons\VvH_Remington\Shotgun_closed_mgz, 11, 60,9,10,0,35
ITEM= 83, 2050, G\Weapons\VvH_Winchester\Single_mgz, 12, 60, 10, 10, 0, 35
ITEM= 84, 2051, G\Weapons\VvH_Dragunov\VvH_Dragunov_mgz, 14, 60,11,10,0,35
ITEM= 85, 2052, G\Weapons\VvH_Simonov\VvH_Simonov_mgz, 15, 60,3,10,0,35
ITEM= 87, 2053, G\Weapons\VvH_M60\VvH_m60_mgz , 17, 60,12,100,0,35
ITEM= 88, 2054, G\Weapons\VvH_Degtarev\VvH_Degtarev_mgz , 18, 60,13,100,0,35
ITEM= 89, 2055, G\Weapons\VvH_Usm3\VvH_usm3_mgz , 19, 60,7,30,0,35
ITEM= 91, 2057, G\Weapons\VvH_Thompson\VvH_thompson_mgz , 21, 60,7,30,0,35
ITEM= 92, 2058, G\Weapons\VvH_S&W_model_39\VvH_S&W_model_39_mgz , 22, 60,15,8,0,35
ITEM= 93, 2059, G\Weapons\VvH_PPS-43\VvH_PPS-43_mgz, 23, 60,6,35,0,35
ITEM= 95, 2060, G\Weapons\VVH_M1-M2\VvH_m1-m2_mgz, 25, 60,16,15,0,35
ITEM= 96, 2061, G\Weapons\VVH_Mosin_Nagant\vvh_mosin_nagant_mgz, 26,60,11,5,0,35
ITEM= 97, 2062, G\Weapons\VvH_M79\VvH_M79_mgz, 27, 60,2,2,0,35
ITEM= 98, 2063, G\Weapons\VvH_DoubleSG\Shotgun_mgz , 28, 60,9,10,0,35
ITEM= 128, 2234, G\Weapons\VvH_vc_grenade\VvH_vc_grenade_stg , 50, 60,23,1,0,35
ITEM= 129, 2234, G\Weapons\VvH_Grenade_Ball\VvH_Grenade_Ball_stg , 59, 60,19,1,0,35
ITEM= 136, 0, G\Weapons\VvH_Grenade_Smoke\VvH_Grenade_Smoke_stg, 0, 0,0,0,2,20 // spec for smoke grenade, unlimited smoke, ptc 184

// Do not change following items !!!! If you wanna do it ask Erik
ITEM= 140, 0, G\Weapons\flare , 0, 0,0,0,2,20 // spec for red flare
ITEM= 141, 0, G\EQUIPMENT\US\EOJ_bagl_kanady_stg , 0, 0,0,0,2,0
ITEM= 142, 0, G\Weapons\VvH_LightStick\VvH_LightStick_stg , 0, 0,0,0,2,0
ITEM= 143, 0, G\Weapons\vvh_btrap\btrap_grenade , 0, 0,0,0,2,0
ITEM= 144, 0, G\Weapons\vvh_c4\Vvh_C4_stg , 0, 0,0,0,2,20
ITEM= 145, 0, G\Weapons\vvh_flag\Vvh_flag_US_stg , 0, 0,0,0,2,20
ITEM= 146, 0, G\Weapons\vvh_flag\Vvh_flag_VC_stg , 0, 0,0,0,2,20
ITEM= 147, 0, G\Weapons\VvH_Grenade_Smoke\VvH_Grenade_Smoke_stg, 0, 0,0,0,2,20 // spec for smoke grenade
ITEM= 148, 0, G\Weapons\VvH_M79\VvH_M79_shot, 0, 0,0,0,2,20 // spec for m72 grenade - changed by shigor
ITEM= 149, 0, G\Weapons\flare , 0, 0,0,0,2,20 // spec for white flare

=============== INTEL: 150 - 229 BEGIN ===============
ITEM= 150, 2236, G\Weapons\Vvh_Zin_Crop\Vvh_Zin_Crop_stg , 64, 0,0,0,0,20
ITEM= 151, 2236, G\Weapons\Vvh_Zin_Diary_2\Vvh_Zin_Diary_2_Stg , 65, 0,0,0,0,20
ITEM= 152, 2236, G\Weapons\Vvh_Zin_Diary_3\Vvh_Zin_Diary_3_Stg , 66, 0,0,0,0,20
ITEM= 153, 2236, G\Weapons\Vvh_Zin_Diary_4\Vvh_Zin_Diary_4_Stg , 67, 0,0,0,0,20
ITEM= 154, 2236, G\Weapons\Vvh_Zin_Diary_5\Vvh_Zin_Diary_5_Stg , 68, 0,0,0,0,20
ITEM= 155, 2236, G\Weapons\Vvh_Zin_Diary_6\Vvh_Zin_Diary_6_Stg , 69, 0,0,0,0,20
ITEM= 156, 2236, G\Weapons\VvH_Zin_Diplom_12\VvH_Zin_Diplom_12_Stg , 70, 0,0,0,0,20
ITEM= 157, 2236, G\Weapons\VvH_Zin_Diplom_13\VvH_Zin_Diplom_13_Stg , 71, 0,0,0,0,20
ITEM= 158, 2236, G\Weapons\VvH_Zin_Diplom_14\VvH_Zin_Diplom_14_Stg , 72, 0,0,0,0,20
ITEM= 159, 2236, G\Weapons\VvH_Zin_Diplom_15\VvH_Zin_Diplom_15_Stg , 73, 0,0,0,0,20
ITEM= 160, 2236, G\Weapons\VvH_Zin_Diplom_16\VvH_Zin_Diplom_16_Stg , 74, 0,0,0,0,20
ITEM= 161, 2236, G\Weapons\VvH_Zin_Dokum_17\VvH_Zin_Dokum_17_stg , 75, 0,0,0,0,20
ITEM= 162, 2236, G\Weapons\VvH_Zin_Dokum_18\VvH_Zin_Dokum_18_stg , 76, 0,0,0,0,20
ITEM= 163, 2236, G\Weapons\VvH_Zin_Dokum_19\VvH_Zin_Dokum_19_stg , 77, 0,0,0,0,20
ITEM= 164, 2236, G\Weapons\VvH_Zin_Dokum_20\VvH_Zin_Dokum_20_stg , 78, 0,0,0,0,20
ITEM= 165, 2236, G\Weapons\VvH_Zin_Dopis_22\VvH_Zin_Dopis_22_Stg , 79, 0,0,0,0,20
ITEM= 166, 2236, G\Weapons\VvH_Zin_Dopis_23\VvH_Zin_Dopis_23_Stg , 80, 0,0,0,0,20
ITEM= 167, 2236, G\Weapons\VvH_Zin_Dopis_24\VvH_Zin_Dopis_24_Stg , 81, 0,0,0,0,20
ITEM= 168, 2236, G\Weapons\VvH_Zin_Dopis_25\VvH_Zin_Dopis_25_Stg , 82, 0,0,0,0,20
ITEM= 169, 2236, G\Weapons\VvH_Zin_Dopis_26\VvH_Zin_Dopis_26_Stg , 83, 0,0,0,0,20
ITEM= 170, 2236, G\Weapons\VvH_Zin_fotky_27\VvH_Zin_fotky_27_stg , 84, 0,0,0,0,20
ITEM= 171, 2236, G\Weapons\VvH_Zin_fotky_28\VvH_Zin_fotky_28_stg , 85, 0,0,0,0,20
ITEM= 172, 2236, G\Weapons\VvH_Zin_fotky_29\VvH_Zin_fotky_29_stg , 86, 0,0,0,0,20
ITEM= 173, 2236, G\Weapons\VvH_Zin_fotky_30\VvH_Zin_fotky_30_stg , 87, 0,0,0,0,20
ITEM= 174, 2236, G\Weapons\VvH_Zin_fotky_65\VvH_Zin_fotky_65_stg , 88, 0,0,0,0,20
ITEM= 175, 2236, G\Weapons\VvH_Zin_fotky_66\VvH_Zin_fotky_66_stg , 89, 0,0,0,0,20
ITEM= 176, 2236, G\Weapons\VvH_Zin_fotky_68\VvH_Zin_fotky_68_stg , 90, 0,0,0,0,20
ITEM= 177, 2236, G\Weapons\VvH_Zin_fotky_69\VvH_Zin_fotky_69_stg , 91, 0,0,0,0,20
ITEM= 178, 2236, G\Weapons\VvH_Zin_fotky_70\VvH_Zin_fotky_70_stg , 92, 0,0,0,0,20
ITEM= 179, 2236, G\Weapons\VvH_Zin_mao_71\VvH_Zin_mao_71_stg , 93, 0,0,0,0,20
ITEM= 180, 2236, G\Weapons\VvH_Zin_mao_72\VvH_Zin_mao_72_stg , 94, 0,0,0,0,20
ITEM= 181, 2236, G\Weapons\VvH_Zin_medai_31\VvH_Zin_medai_31_stg , 95, 0,0,0,0,20
ITEM= 182, 2236, G\Weapons\VvH_Zin_medai_32\VvH_Zin_medai_32_stg , 96, 0,0,0,0,20
ITEM= 183, 2236, G\Weapons\VvH_Zin_medai_33\VvH_Zin_medai_33_stg , 97, 0,0,0,0,20
ITEM= 184, 2236, G\Weapons\VvH_Zin_medai_34\VvH_Zin_medai_34_stg , 98, 0,0,0,0,20
ITEM= 185, 2236, G\Weapons\VvH_Zin_medai_35\VvH_Zin_medai_35_stg , 99, 0,0,0,0,20
ITEM= 186, 2236, G\Weapons\VvH_Zin_money_49\VvH_Zin_money_49_stg , 100, 0,0,0,0,20
ITEM= 187, 2236, G\Weapons\VvH_Zin_money_50\VvH_Zin_money_50_stg , 101, 0,0,0,0,20
ITEM= 188, 2236, G\Weapons\VvH_Zin_money_51\VvH_Zin_money_51_stg , 102, 0,0,0,0,20
ITEM= 189, 2236, G\Weapons\VvH_Zin_money_52\VvH_Zin_money_52_stg , 103, 0,0,0,0,20
ITEM= 190, 2236, G\Weapons\VvH_Zin_money_53\VvH_Zin_money_53_stg , 104, 0,0,0,0,20
ITEM= 191, 2236, G\Weapons\VvH_Zin_flag_77\VvH_Zin_flag_77_stg , 105, 0,0,0,0,20
ITEM= 192, 2236, G\Weapons\VvH_Zin_vlaj_75\VvH_Zin_vlaj_75_stg , 106, 0,0,0,0,20
ITEM= 193, 2236, G\Weapons\VvH_Zin_vlaj_76\VvH_Zin_vlaj_76_stg , 107, 0,0,0,0,20
ITEM= 194, 2236, G\Weapons\VvH_Zin_obal_38\VvH_Zin_obal_38_stg , 108, 0,0,0,0,20
ITEM= 195, 2236, G\Weapons\VvH_Zin_obal_39\VvH_Zin_obal_39_stg , 109, 0,0,0,0,20
ITEM= 196, 2236, G\Weapons\VvH_Zin_odznak_46\VvH_Zin_odznak_46_stg, 110, 0,0,0,0,20
ITEM= 197, 2236, G\Weapons\VvH_Zin_odznak_47\VvH_Zin_odznak_47_stg, 111, 0,0,0,0,20
ITEM= 198, 2236, G\Weapons\VvH_Zin_odznak_48\VvH_Zin_odznak_48_stg, 112, 0,0,0,0,20
ITEM= 199, 2236, G\Weapons\VvH_Zin_papir_10\VvH_Zin_papir_10_stg, 113, 0,0,0,0,20
ITEM= 200, 2236, G\Weapons\VvH_Zin_papir_11\VvH_Zin_papir_11_stg, 114, 0,0,0,0,20
ITEM= 201, 2236, G\Weapons\VvH_Zin_papir_7\VvH_Zin_papir_7_stg, 115, 0,0,0,0,20
ITEM= 202, 2236, G\Weapons\VvH_Zin_papir_8\VvH_Zin_papir_8_stg, 116, 0,0,0,0,20
ITEM= 203, 2236, G\Weapons\VvH_Zin_papir_9\VvH_Zin_papir_9_stg, 117, 0,0,0,0,20
ITEM= 204, 2236, G\Weapons\VvH_Zin_propaga_41\VvH_Zin_propaga_41_stg, 118, 0,0,0,0,20
ITEM= 205, 2236, G\Weapons\VvH_Zin_propaga_42\VvH_Zin_propaga_42_stg, 119, 0,0,0,0,20
ITEM= 206, 2236, G\Weapons\VvH_Zin_propaga_43\VvH_Zin_propaga_43_stg, 120, 0,0,0,0,20
ITEM= 207, 2236, G\Weapons\VvH_Zin_propaga_44\VvH_Zin_propaga_44_stg, 121, 0,0,0,0,20
ITEM= 208, 2236, G\Weapons\VvH_Zin_propaga_45\VvH_Zin_propaga_45_stg, 122, 0,0,0,0,20
ITEM= 209, 2236, G\Weapons\VvH_Zin_prukazka_59\VvH_Zin_prukazka_59_stg, 123, 0,0,0,0,20
ITEM= 210, 2236, G\Weapons\VvH_Zin_prukazka_60\VvH_Zin_prukazka_60_stg, 124, 0,0,0,0,20
ITEM= 211, 2236, G\Weapons\VvH_Zin_prukazka_61\VvH_Zin_prukazka_61_stg, 125, 0,0,0,0,20
ITEM= 212, 2236, G\Weapons\VvH_Zin_prukazka_62\VvH_Zin_prukazka_62_stg, 126, 0,0,0,0,20
ITEM= 213, 2236, G\Weapons\VvH_Zin_prukazka_63\VvH_Zin_prukazka_63_stg, 127, 0,0,0,0,20
ITEM= 214, 2236, G\Weapons\VvH_Zin_prukazka_64\VvH_Zin_prukazka_64_stg, 128, 0,0,0,0,20
ITEM= 215, 2236, G\Weapons\VvH_Zin_vlajka_78\VvH_Zin_vlajka_78_stg, 129, 0,0,0,0,20
ITEM= 216, 2236, G\Weapons\VvH_Zin_vlajecka_73\VvH_Zin_vlajecka_73_stg, 130, 0,0,0,0,20
ITEM= 217, 2236, G\Weapons\VvH_Zin_vlajecka_74\VvH_Zin_vlajecka_74_stg, 131, 0,0,0,0,20
ITEM= 218, 2236, G\Weapons\Vvh_Zin_plany_54\Vvh_Zin_plany_54_stg, 132, 0,0,0,0,20
ITEM= 219, 2236, G\Weapons\Vvh_Zin_plany_55\Vvh_Zin_plany_55_stg, 133, 0,0,0,0,20
ITEM= 220, 2236, G\Weapons\Vvh_Zin_plany_56\Vvh_Zin_plany_56_stg, 134, 0,0,0,0,20
ITEM= 221, 2236, G\Weapons\VvH_Zin_Dokum_21\VvH_Zin_Dokum_21_stg ,135, 0,0,0,0,20
ITEM= 222, 2236, G\Weapons\VvH_Zin_obal_40\VvH_Zin_obal_40_stg, 136, 0,0,0,0,20
ITEM= 223, 2236, G\Weapons\VvH_Zin_obal_36\VvH_Zin_obal_36_stg, 137, 0,0,0,0,20
ITEM= 224, 2236, G\Weapons\VvH_Zin_obal_37\VvH_Zin_obal_37_stg, 138, 0,0,0,0,20
=============== INTEL: 150 - 229 END ===============
// end of file



Obie Tutorial


How to get an Ammobox that works into your coop level.
By Obie.

I have been trying to get my head around this for a while now and have finally worked it out.
Now that I have done it I cannot believe how simple it is to achieve.
Here’s what to do.
Open mplevel.inc and select edit to have it open in notepad.
Now copy this from me here:
case GVAR_MP_MISSIONTYPE_COOP:
hide_CTF_flags = FALSE;
break;
And place it between the “break;” and the “case GVAR_MP_MISSIONTYPE_CTR:” so it looks like this
etc…
break;
case GVAR_MP_MISSIONTYPE_COOP:
hide_CTF_flags = FALSE;
break;
case GVAR_MP_MISSIONTYPE_CTR:
etc…
Save and exit.
Open your editor and place the following item from the database:
ITEMS > U – BENDY-BARELY > IUL_WOODEN BOX1_DYNAMIC.BES
I will test but I think any DYNAMIC object will work
Don’t mess this part up!
Change the entity name to “AmmoboxCTF0”
Note! The last character is a zero not an o. It must be written just like this.
Once you have saved your work go to:
Editor > Multiplayer Game Editor
Create you game type and make sure the Game Type Name is “Coop”
Finalize and open your map in game. The only thing the Ammobox wont do is give you nades.
May the Force be with you. Always. Obie.
GONZO attached the following files:
g_mplevel-inc.rar [31.79 kB, 127 Downloads]
g_coop-c.rar [28.42 kB, 130 Downloads]
g9_ammobox.rar [221.74 kB, 140 Downloads]

GONZO attached the following image:

[109.2 kB]

Edited by GONZO on 08-06-2023 10:27
SignatureVisit my website:
https://vietcongl...press.com/


vietconglab.files.wordpress.com/2023/08/vietcong_lab_small.png
  x 2  x 2  x 1
 
https://vietconglab.wordpress.com/
Jump to Forum:
Similar Threads
Thread Forum Replies Last Post
Ammo for the Winchester? Maps & Mapping 2 10-03-2018 17:00
Login
Username

Password



Not a member yet?
Click here to register.

Forgotten your password?
Request a new one here.
Render time: 0.17 seconds - 64 Queries 5,471,681 unique visits