Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Request Hide and Seek (Mod/Plugin)
#21
Up until now it's coming together quite nicely, there's just one issue we're a bit stuck on, anyone know if we can work around the following error:

CG_CanSeePlayer: Couldnt find j_mainroot on player

in any way?, odd thing is that it happens with 3> players on the server.

EDIT; Oh...it's a kick btw
Reply

#22
@surtek Why? i'd say just let them spawn with a random model. If you do it right it will be a good model that fits with the rest of the map
@bonemind Have been complaining about that for a while now, yet nobody ever reacted.
Reply

#23
(04-24-2012, 19:05)JariZ Wrote: @surtek Why? i'd say just let them spawn with a random model. If you do it right it will be a good model that fits with the rest of the map
@bonemind Have been complaining about that for a while now, yet nobody ever reacted.

Meh...That's too bad, no one even have the exact reason this is triggered?
I understand that the model is missing some kind of 'bone'. I just find it odd that it doesn't always happen...

If no one knows even that, any tips on where to start looking?
Reply

#24
I made a quick'n'simple modellist.
This is like 50% of a hide and seek mod so I hope it will help anybody that's currently developing it :3
Credits @master131


CSHARP Code
  1. string map = GetDvar("mapname");
  2. List<string> models = new List<string>();
  3.  
  4. //default always-preloaded models
  5. models.Add("com_plasticcase_beige_big");
  6. models.Add("mil_tntbomb_mp");
  7. models.Add("prop_flag_neutral");
  8. models.Add("vehicle_ac130_coop");
  9. models.Add("tag_origin");
  10. models.Add("c130_zoomrig");
  11. models.Add("com_bomb_objective_d");
  12. models.Add("com_bomb_objective");
  13. models.Add("com_plasticcase_green_big_us_dirt");
  14. models.Add("com_plasticcase_beige_big");
  15. models.Add("com_laptop_2_open");
  16. models.Add("com_cellphone_on");
  17.  
  18. //map specific
  19. if (map == "mp_alpha")
  20. {
  21. models.Add("usa_gas_station_trash_bin_01");
  22. models.Add("com_trashcan_metal_closed");
  23. models.Add("vehicle_bm21_cover_destructible_dusty");
  24. models.Add("vehicle_subcompact_blue_destructible");
  25. models.Add("vehicle_pickup_destructible_mp");
  26. models.Add("vehicle_coupe_green_destructible");
  27. models.Add("brokenglass_pile01");
  28. models.Add("brokenglass_pile03");
  29. models.Add("hanging_hanger01");
  30. models.Add("hanging_hanger03");
  31. models.Add("hanging_hanger02");
  32. models.Add("brokenglass_pile07");
  33. models.Add("com_newspaperbox_blue");
  34. models.Add("vehicle_coupe_white_destructible");
  35. models.Add("vehicle_uaz_hardtop_dest_mp_castle_wet");
  36. models.Add("alpha_hanging_civs");
  37. }
  38. else if (map == "mp_bootleg")
  39. {
  40. models.Add("india_vehicle_rksw");
  41. models.Add("me_electricbox4");
  42. models.Add("utility_transformer_ratnest01");
  43. models.Add("com_ex_airconditioner");
  44. models.Add("com_tv1");
  45. models.Add("me_lightfluohang_double_on");
  46. models.Add("cs_wallfan1");
  47. models.Add("vehicle_moving_truck_destructible");
  48. models.Add("chicken");
  49. models.Add("vehicle_uaz_van_destructible");
  50. models.Add("vehicle_80s_sedan1_red_destructible_mp");
  51. models.Add("me_chainlink_fence_pole");
  52. models.Add("me_corrugated_metal8x8");
  53. }
  54. else if (map == "mp_bravo")
  55. {
  56. models.Add("me_electricbox4");
  57. models.Add("cs_wallfan1");
  58. models.Add("foliage_pacelse ific_bushtree02_animated");
  59. models.Add("utility_transformer_ratnest01");
  60. models.Add("foliage_cod5_tree_jungle_03_animated");
  61. models.Add("hanging_sheet");
  62. models.Add("hanging_long_sleeve");
  63. models.Add("hanging_apron");
  64. models.Add("vehicle_pickup_destructible_mp");
  65. models.Add("foliage_pacelse ific_palms08_animated");
  66. models.Add("hanging_short_sleeve");
  67. }
  68. else if (map == "mp_carbon")
  69. {
  70. models.Add("com_filecabinetblackclosed");
  71. models.Add("me_electricbox4");
  72. models.Add("me_lightfluohang");
  73. models.Add("com_locker_double");
  74. models.Add("com_locker_open");
  75. models.Add("me_electricbox2");
  76. models.Add("com_barrel_benzin");
  77. models.Add("vehicle_pickup_destructible_mp");
  78. models.Add("com_wall_fan_blade");
  79. models.Add("com_ex_airconditioner");
  80. models.Add("machinery_oxygen_tank02");
  81. models.Add("com_electrical_transformer_large_dam");
  82. models.Add("machinery_oxygen_tank01");
  83. models.Add("me_lightfluohang_on");
  84. models.Add("fence_tarp_132x82_a");
  85. models.Add("fence_tarp_128x64");
  86. models.Add("machinery_generator");
  87. models.Add("com_trashcan_metal_closed");
  88. models.Add("fence_tarp_130x82_a");
  89. models.Add("fence_tarp_40x58");
  90. models.Add("utility_transformer_ratnest01");
  91. models.Add("vehicle_uk_utility_truck_destructible");
  92. models.Add("fence_tarp_70x82");
  93. models.Add("com_propane_tank02_small");
  94. models.Add("fence_tarp_162x64");
  95. models.Add("fence_tarp_68x58");
  96. models.Add("fence_tarp_132x62");
  97. models.Add("fence_tarp_140x68");
  98. models.Add("fence_tarp_80x84");
  99. models.Add("fence_tarp_130x82");
  100. models.Add("fence_tarp_108x76");
  101. models.Add("fence_tarp_160x82");
  102. models.Add("fence_tarp_94x64");
  103. models.Add("fence_tarp_124x64");
  104. models.Add("fence_tarp_90x64");
  105. models.Add("fence_tarp_130x76");
  106. models.Add("fence_tarp_110x64");
  107. }
  108. else if (map == "mp_dome")
  109. {
  110. models.Add("machinery_oxygen_tank02");
  111. models.Add("machinery_windmill");
  112. models.Add("com_ex_airconditioner");
  113. models.Add("com_barrel_benzin");
  114. models.Add("com_pipe_8x96_gas");
  115. models.Add("com_pipe_4x64_metal");
  116. models.Add("me_electricbox4");
  117. models.Add("com_pipe_8x128_metal");
  118. models.Add("com_pipe_4x96_metal");
  119. models.Add("com_pipe_4x128_gas");
  120. models.Add("fence_tarp_130x56");
  121. models.Add("fence_tarp_107x56");
  122. models.Add("fence_tarp_151x56");
  123. models.Add("fence_tarp_134x56");
  124. models.Add("fence_tarp_140x56");
  125. models.Add("fence_tarp_167x56");
  126. models.Add("fence_tarp_134x76");
  127. models.Add("vehicle_hummer_destructible");
  128. models.Add("foliage_pacelse ific_bushtree01_animated");
  129. models.Add("foliage_desertbrush_3_animated");
  130. models.Add("foliage_pacelse ific_flowers06_animated");
  131. models.Add("oil_pump_jack01");
  132. models.Add("oil_pump_jack02");
  133. models.Add("accessories_windsock_large");
  134. }
  135. else if (map == "mp_exchange")
  136. {
  137. models.Add("berlin_traffic_signal_2x_01_green_on");
  138. models.Add("berlin_traffic_signal_2x_01_off");
  139. models.Add("vehicle_taxi_yellow_destructible_dusty");
  140. models.Add("vehicle_bus_destructible_mp");
  141. models.Add("com_filecabinetblackclosed");
  142. models.Add("ma_flatscreen_tv_on_wallmount_02_static");
  143. models.Add("vehicle_jeep_destructible_dusty");
  144. models.Add("vehicle_moving_truck_destructible");
  145. models.Add("prop_photocopier_destructible_02");
  146. models.Add("com_pipe_4x256_gas");
  147. models.Add("vehicle_taxi_rooftop_ad_base");
  148. models.Add("vehicle_taxi_rooftop_ad_2");
  149. models.Add("vehicle_taxi_rooftop_ad_3");
  150. models.Add("vehicle_taxi_toplight");
  151. models.Add("vehicle_taxi_rooftop_ad_4");
  152. }
  153. else if (map == "mp_hardhat")
  154. {
  155. models.Add("com_barrel_benzin");
  156. models.Add("machinery_oxygen_tank02");
  157. models.Add("machinery_oxygen_tank01");
  158. models.Add("machinery_generator");
  159. models.Add("fence_tarp_208x42");
  160. models.Add("hanging_dead_paratrooper01");
  161. models.Add("com_trashcan_metal_closed");
  162. models.Add("concrete_sewer_pipe_large");
  163. models.Add("com_ex_airconditioner");
  164. models.Add("fence_tarp_196x56");
  165. models.Add("fence_tarp_192x84_a");
  166. models.Add("fence_tarp_128x84");
  167. models.Add("fence_tarp_draping_224x116");
  168. models.Add("fence_tarp_draping_98x94_01");
  169. models.Add("fence_tarp_196x36");
  170. models.Add("plastic_fence_528x88");
  171. models.Add("plastic_fence_232x88");
  172. models.Add("plastic_fence_264x40");
  173. models.Add("plastic_fence_234x88");
  174. models.Add("plastic_fence_400x88");
  175. models.Add("plastic_fence_300x88");
  176. models.Add("plastic_fence_256x48");
  177. models.Add("fence_tarp_192x50");
  178. models.Add("fx_wood_beam");
  179. models.Add("payback_sstorm_debris_wood_5");
  180. models.Add("fence_tarp_196x146");
  181. models.Add("fence_tarp_352x88");
  182. models.Add("fence_tarp_draping_98x94_02");
  183. models.Add("vehicle_jeep_destructible");
  184. }
  185. else if (map == "mp_interchange")
  186. {
  187. models.Add("vehicle_subcompact_mica_destructible");
  188. models.Add("vehicle_taxi_yellow_destructible_dusty");
  189. models.Add("vehicle_bus_destructible_mp");
  190. models.Add("vehicle_taxi_yellow_destructible");
  191. models.Add("com_ex_airconditioner");
  192. models.Add("me_electricbox4");
  193. models.Add("vehicle_moving_truck_destructible");
  194. models.Add("com_wall_fan_blade");
  195. models.Add("vehicle_jeep_destructible");
  196. models.Add("vehicle_taxi_rooftop_ad_base");
  197. models.Add("vehicle_taxi_rooftop_ad_3");
  198. models.Add("vehicle_taxi_rooftop_ad_2");
  199. models.Add("vehicle_taxi_rooftop_ad_1");
  200. models.Add("vehicle_taxi_rooftop_ad_4");
  201. }
  202. else if (map == "mp_lambeth")
  203. {
  204. models.Add("foliage_tree_river_birch_xl_a_animated");
  205. models.Add("foliage_tree_river_birch_lg_a_animated");
  206. models.Add("com_propane_tank02");
  207. models.Add("com_trashcan_metal_closed");
  208. models.Add("me_electricbox4");
  209. models.Add("vehicle_small_hatch_blue_destructible_mp");
  210. models.Add("vehicle_uaz_hardtop_dest_mp_castle_wet");
  211. models.Add("vehicle_80s_wagon1_green_destructible_mp");
  212. models.Add("vehicle_small_hatch_turq_destructible_mp");
  213. models.Add("com_roofvent2_animated");
  214. models.Add("me_electricbox2");
  215. }
  216. else if (map == "mp_mogadishu")
  217. {
  218. models.Add("vehicle_80s_hatch1_brn_destructible_mp");
  219. models.Add("me_electricbox4");
  220. models.Add("com_tv1");
  221. models.Add("hanging_sheet");
  222. models.Add("machinery_oxygen_tank02");
  223. models.Add("machinery_oxygen_tank01");
  224. models.Add("me_electricbox2");
  225. models.Add("vehicle_pickup_destructible_mp");
  226. models.Add("com_trashcan_metal_closed");
  227. models.Add("weapon_minigun");
  228. models.Add("utility_transformer_ratnest01");
  229. }
  230. else if (map == "mp_paris")
  231. {
  232. models.Add("vehicle_subcompact_white_destructible");
  233. models.Add("vehicle_subcompact_slate_destructible");
  234. models.Add("vehicle_delivery_theme_park_truck_destructible");
  235. models.Add("vehicle_subcompact_green_destructible");
  236. models.Add("com_trashbin01");
  237. models.Add("com_recyclebin01");
  238. models.Add("vehicle_scooter_vespa_destruct_green");
  239. models.Add("ch_curtain01");
  240. models.Add("vehicle_van_sas_dark_destructable");
  241. models.Add("vehicle_van_mica_destructible");
  242. models.Add("vehicle_coupe_deep_blue_destructible");
  243. models.Add("vehicle_80s_sedan1_green_destructible_mp");
  244. models.Add("vehicle_scooter_vespa_destruct_blue");
  245. models.Add("vehicle_scooter_vespa_destruct_cream");
  246. models.Add("com_tv1_cinematic");
  247. models.Add("vehicle_subcompact_dark_gray_destructible");
  248. models.Add("vehicle_coupe_tan_destructible");
  249. }
  250. else if (map == "mp_plaza2")
  251. {
  252. models.Add("vehicle_uaz_van_destructible");
  253. models.Add("com_filecabinetblackclosed");
  254. models.Add("cs_wallfan1");
  255. models.Add("vehicle_mi24p_hind_plaza_body_destroy_animated");
  256. models.Add("machinery_oxygen_tank01");
  257. models.Add("vehicle_uaz_hardtop_dest_mp_castle_wet");
  258. models.Add("vehicle_bm21_cover_castle_destructible");
  259. models.Add("ma_flatscreen_tv_on_wallmount_02_static");
  260. models.Add("berlin_hotel_lights_wall2");
  261. models.Add("vehicle_bm21_cover_destructible_dusty");
  262. }
  263. else if (map == "mp_radar")
  264. {
  265. models.Add("vehicle_uaz_winter_destructible");
  266. models.Add("com_wall_fan_blade");
  267. models.Add("me_electricbox4");
  268. models.Add("me_electricbox2");
  269. models.Add("machinery_oxygen_tank01");
  270. models.Add("com_locker_double");
  271. models.Add("machinery_oxygen_tank02");
  272. models.Add("com_barrel_benzin");
  273. models.Add("vehicle_bm21_mobile_bed_castle_destructible");
  274. models.Add("com_filecabinetblackclosed");
  275. models.Add("machinery_generator");
  276. models.Add("com_tv1");
  277. models.Add("fence_tarp_126x76");
  278. models.Add("com_wall_fan_blade_2x");
  279. models.Add("rus_radar_dish_animated");
  280. models.Add("fence_tarp_124x52_a");
  281. models.Add("com_propane_tank02_small");
  282. models.Add("fence_tarp_124x52_b");
  283. models.Add("me_rooftop_tank_01");
  284. models.Add("com_gas_pipes01");
  285. models.Add("com_gas_pipes02");
  286. models.Add("com_pipe_4_coupling_gas");
  287. models.Add("com_pipe_4_90angle_gas");
  288. models.Add("com_pipe_4x96_gas");
  289. models.Add("com_pipe_4_fit_gas");
  290. models.Add("com_propane_tank02_valve");
  291. models.Add("com_pipe_coupling_metal");
  292. models.Add("machinery_hose01");
  293. models.Add("com_square_flag");
  294. models.Add("com_steel_ladder");
  295. }
  296. else if (map == "mp_seatown")
  297. {
  298. models.Add("seatown_canopy_stand_01");
  299. models.Add("seatown_canopy_stand_02");
  300. models.Add("seatown_canopy_3section_01");
  301. models.Add("me_electricbox4");
  302. models.Add("com_ex_airconditioner");
  303. models.Add("me_electricbox2");
  304. models.Add("seatown_lrg_wiregrp");
  305. models.Add("chicken_black_white");
  306. models.Add("me_fanceil1");
  307. models.Add("seatown_canopy_1section_01");
  308. models.Add("seatown_canopy_1section_02");
  309. models.Add("seatown_wire_flags1");
  310. models.Add("com_trashcan_metal_closed");
  311. models.Add("seatown_wire_flags2");
  312. models.Add("utility_transformer_ratnest01");
  313. models.Add("seatown_mid01_wiregrp");
  314. models.Add("chicken");
  315. models.Add("hanging_sheet");
  316. models.Add("hanging_long_sleeve");
  317. models.Add("hanging_apron");
  318. models.Add("hanging_short_sleeve");
  319. models.Add("vehicle_80s_hatch2_tan_destructible_mp");
  320. models.Add("vehicle_moving_truck_destructible");
  321. models.Add("com_trashbin02");
  322. models.Add("utility_transformer_small01");
  323. models.Add("vehicle_80s_sedan1_green_destructible_mp");
  324. }
  325. else if (map == "mp_underground")
  326. {
  327. models.Add("com_security_camera_tilt_animated");
  328. models.Add("uk_police_estate_destructible");
  329. models.Add("vehicle_van_white_destructible");
  330. models.Add("vehicle_london_cab_black_destructible");
  331. models.Add("vehicle_moving_truck_destructible");
  332. models.Add("me_electricbox4");
  333. models.Add("com_locker_double");
  334. models.Add("me_electricbox2");
  335. models.Add("com_locker_open");
  336. models.Add("com_trashcan_metal_closed");
  337. models.Add("machinery_oxygen_tank01");
  338. models.Add("machinery_oxygen_tank02");
  339. models.Add("com_tv1");
  340. models.Add("com_filecabinetblackclosed");
  341. models.Add("prop_photocopier_destructible_02");
  342. models.Add("com_ex_airconditioner");
  343. models.Add("me_electricbox4_dest");
  344. }
  345. else if (map == "mp_village")
  346. {
  347. models.Add("hanging_sheet");
  348. models.Add("me_electricbox4");
  349. models.Add("vehicle_bm21_cover_destructible_dusty");
  350. models.Add("com_trashcan_metal_closed");
  351. models.Add("chicken_black_white");
  352. models.Add("vehicle_80s_wagon1_green_destructible_mp");
  353. models.Add("vehicle_pickup_destructible_mp");
  354. }
  355. else ServerError(ErrorType.ErrorNormal, "Hide and seek fatal error: Map not supported!", "onServerLoad");
Reply

#25
nice one!
Had a life, Got a modem..
Reply

#26
@JariZ
Nice, will shift through it to see if there are any better models than we are currently using Big Grin
Reply

#27
@bonemind You might want to remove tag_origin from it, forgot to remove it.
Reply

#28
(04-25-2012, 15:50)JariZ Wrote: @bonemind You might want to remove tag_origin from it, forgot to remove it.

We'll propably not use all (or maybe even half) of it because about 6-7 models for each map ought to be enough, if not, seeking could become a pain in the *** xD
Thanks for the heads up though
Reply

#29
We completed our work on the HnS mod, only bugs left are: being kicked for J_Mainroot and the floating head glitch xD Hoping someone could help fixing those errors.
Reply

#30
@Snowy Leopard Could you provide some details?
Do you have grace time? Can hiders knife? etc etc?
If you have grace time (which you should), What happens to seekers while in grace time? etc etc etc etc
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
Wink Plugin with !ban !kick and !tampban clemi555 3 4,161 11-09-2013, 09:21
Last Post: clemi555
  AntiNoScope Plugin clemi555 5 4,744 11-08-2013, 19:13
Last Post: clemi555
  [Release] Bunker Plugin 1.3 archit 68 41,514 10-30-2013, 11:59
Last Post: clacki
  Help Modifying plugin maverigh 5 5,667 10-19-2013, 10:29
Last Post: Nekochan
Shocked [Request] Switch plugin axel-le-meilleur 6 5,176 10-19-2013, 06:59
Last Post: iRoNinja
  MW3 Hide WEAPONS [HARD] Tony. 7 7,170 10-09-2013, 15:16
Last Post: [HARD] Tony.
  [Release] Yurio Map Plugin Yurio 101 62,265 09-26-2013, 13:38
Last Post: First_Semyon
Brick [Release] v1.1 ChangeMap/NextMap Plugin without any configuration milchshake 23 18,634 09-23-2013, 13:18
Last Post: SgtLegend
  Help !say Plugin (like the !say from GodPlugin) Hallla 0 2,711 09-13-2013, 09:31
Last Post: Hallla
Rainbow [Release] MW3: Random Weapon Plugin V1 Nekochan 50 33,266 09-11-2013, 15:11
Last Post: EnVi Sweden Rocks

Forum Jump:


Users browsing this thread:
4 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.