In scene.blk
. This file in folder with your mod name. And all this in userGameMods folder.
gun_game_mode_logic
will be added in scene
file only if you added this entity in code and save changes.
Thanks again!
So if I added the logic in editor, it will not show up?
It will? To be honest I’m not very good understand where/what is problem.
Where scene.blk
file placed? Or where gun_game_mode_logic
?
I sorry about the confusion. What I meant to say was if I had added the gun_game_mode_logic in the editor (which I did), will it or will it not show up in the BLK file from my scene?
It will if you save changes. In scene.blk will appears code like it:
entity{
_template:t="gun_game_mode_logic"
"gun_game__announceLevelReach:list<i>"{
item:i=1
item:i=3
}
"gun_game__levels:array"{
"gun_game__levels:object"{
levelKills:i=1
weaponSlot:t="secondary"
"weapons:list<t>"{
item:t="stg_44_rail_gun"
item:t="stg_44_rail_gun"
}
}
"gun_game__levels:object"{
weaponSlot:t="melee"
levelKills:i=10
"weapons:array"{
weapons:t="german_officer_sword_weapon"
weapons:t="british_officer_sword_weapon"
weapons:t="us_officer_sword_1902_weapon"
weapons:t="italian_m1929_infantry_sword_weapon"
weapons:t="russian_cavalry_sword_1927_weapon"
}
}
"gun_game__levels:object"{
weaponSlot:t="melee"
levelKills:i=5
"weapons:array"{
weapons:t="axe_weapon"
}
}
"gun_game__levels:object"{
weaponSlot:t="melee"
levelKills:i=3
"weapons:array"{
weapons:t="shovel_weapon"
weapons:t="uk_shovel_weapon"
weapons:t="usa_shovel_weapon"
weapons:t="ussr_shovel_weapon"
}
}
"gun_game__levels:object"{
weaponSlot:t="melee"
levelKills:i=7
"weapons:array"{
weapons:t="knife_weapon"
}
}
}
}
I have been saving it and I know that because whenever I load the scene it switches to the default gun game selection, but it hasn’t shown up in scene.blk under my scene file name in userGameMods.
Maybe you opened wrong file?
All folders contains scene.blk file, but you need open this file that in folder with name of mod where you added gun game.
Or in code only it?
entity{
_template:t="gun_game_mode_logic"
}
Would be cool to see some screenshots…
I would love to share some screenshots, but I’m worried someone might steal my ideas. When I am done, I will post it on the mods page.
Where should I put in the code? Anywhere?
Anywhere in file.
It still hasn’t shown up and I am not able to change the weapons.
This here is all the code in the BLK file.
import{
scene:t=“content/enlisted/gamedata/scenes/_normandy_sounds.blk”
}
import{
scene:t=“content/enlisted/gamedata/scenes/_normandy_shore_sound.blk”
}
entity{
_template:t=“base_crusader_mk_3”
transform:m=[[-0.999545, 0.0108504, 0.0281274] [0.0108742, 0.999941, 0.000692857] [-0.0281182, 0.000998406, -0.999604] [89.726, 106.422, 282.574]]
}
entity{
_template:t=“vw_beetle”
transform:m=[[-0.0146279, -0.000753911, -0.999893] [0.0429089, 0.999078, -0.00138103] [0.998972, -0.0429245, -0.0145821] [82.667, 105.469, 293.457]]
}
entity{
_template:t=“opel_olympia”
transform:m=[[-0.0799975, -0.0120416, -0.996722] [-0.0127485, 0.999858, -0.0110563] [0.996714, 0.0118222, -0.0801397] [84.4726, 105.397, 292.627]]
}
entity{
_template:t=“opel_blitz_omnibus”
transform:m=[[0.831018, 0.0114836, 0.556126] [-0.0255491, 0.99952, 0.0175386] [-0.555658, -0.0287834, 0.830913] [88.7751, 105.397, 289.586]]
}
entity{
_template:t=“vw_kubelwagen”
transform:m=[[1, -0.000585537, 1.55032e-05] [0.00058572, 0.99984, -0.0178601] [-5.04295e-06, 0.0178601, 0.999841] [66.8518, 104.187, 312.795]]
}
entity{
_template:t=“base_crusader_mk_3”
transform:m=[[0.356528, 0.0104206, 0.934227] [-0.0029891, 0.999945, -0.0100129] [-0.93428, 0.000777374, 0.356539] [63.2949, 104.211, 306.904]]
}
entity{
_template:t=“ford_gpa”
transform:m=[[-0.999926, 0.00521428, 0.0109957] [0.00504623, 0.999871, -0.0152562] [-0.0110739, -0.0151996, -0.999823] [101.584, 103.112, 319.375]]
}
entity{
_template:t=“base_m4a1_76w_sherman”
transform:m=[[0.0607589, 0, 0.998152] [0, 1, 0] [-0.998152, 0, 0.0607589] [80.6427, 95.229, 349.983]]
}
entity{
_template:t=“level”
level__blk:t=“content/enlisted/levels/normandy_coastal_area_1x1.blk”
“level__timeVec:array”{
level__timeVec:r=5.5
level__timeVec:r=6.5
level__timeVec:r=19
level__timeVec:r=19.3
}
“level__weatherChoice:object”{
weather_cloudy_d:r=1
"weather_poor_a:object"{
weight:r=1
"entities:array"{
"entities:object"{
template:t=""
}
}
}
}
}
entity{
_template:t=“minimap_normandy_coastal_area”
}
entity{
_template:t=“water”
water__strength:r=0.27
}
entity{
_template:t=“wind”
wind__strength:r=2
}
entity{
_template:t=“session_finalizer”
session_finalizer__timer:r=10
}
entity{
_template:t=“door_mult_ent_generator”
ri_extra_gen__blk:t=“content/enlisted/gamedata/normandy_doors.blk”
}
entity{
_template:t=“shaderVars”
“shader_vars__vars:object”{
hmap_displacement_up:r=0.3
ocean1:c=142, 137, 71, 0
ocean0:c=76, 63, 5, 0
ocean_density:r=0.1
land_selfillum_worldscale:r=0.9
river1:c=142, 137, 71, 0
river0:c=76, 63, 5, 0
hmap_displacement_down:r=-0.15
autodetect_land_selfillum_color:p4=0.53, 0, 0, 0.16
paint_details_tex:t=“normandy_wall_color_tex_palette*”
puddle_increase:r=0.01
land_selfillum_strength:r=32
water_color_noise_size:r=71
river_density:r=0.3
}
}
entity{
_template:t=“postfx_color_grading_tonemap_death_alive_enlisted”
}
entity{
_template:t=“postfx_roundctrl”
}
entity{
_template:t=“static_cam”
camera__active:b=yes
transform:m=[[-0.851397, -0.000387771, -0.52452] [0.0491841, 0.995534, -0.0805716] [0.52221, -0.094397, -0.847576] [201.472, 31.3736, 153.237]]
}
entity{
_template:t=“respawn_camera”
respawnCameraForTeam:i=1
transform:m=[[1, 0, 0] [0, 1, 0] [0, 0, 1] [-110.632, 179.319, 386.383]]
}
entity{
_template:t=“respawn_camera”
respawnCameraForTeam:i=2
transform:m=[[1, 0, 0] [0, 1, 0] [0, 0, 1] [-320.723, 191.895, -230.964]]
}
entity{
_template:t=“group_activator”
“activator__activateChoice:object”{}
}
entity{
_template:t=“ground_effect”
ground_effect__fx_name:t=“chimney_exhaust”
ground_effect__biome_group_name:t=“burnt_field”
ground_effect__rot_z:p2=75, 10
ground_effect__offset_x:p2=0, 5
ground_effect__offset_y:p2=-0.2, 0.2
ground_effect__offset_z:p2=0, 5
ground_effect__grid_cell_size:r=32
ground_effect__grid_world_origin:p2=0, 0
ground_effect__vis_radius:r=50
ground_effect__random_offset_scale:r=0
ground_effect__biome_weight_for_active_thr:r=0.25
ground_effect__fx_radius:r=-1
}
entity{
_template:t=“ground_effect”
ground_effect__fx_name:t=“ground_sparkles_10m”
ground_effect__biome_group_name:t=“burnt_field”
ground_effect__rot_z:p2=75, 10
ground_effect__offset_x:p2=0, 5
ground_effect__offset_y:p2=-0.2, 0.2
ground_effect__offset_z:p2=0, 5
ground_effect__grid_cell_size:r=16
ground_effect__grid_world_origin:p2=0, 0
ground_effect__vis_radius:r=50
ground_effect__random_offset_scale:r=0
ground_effect__biome_weight_for_active_thr:r=0.25
ground_effect__fx_radius:r=-1
}
entity{
_template:t=“ground_effect”
ground_effect__fx_name:t=“ground_ashes_10m”
ground_effect__biome_group_name:t=“burnt_field”
ground_effect__rot_z:p2=75, 10
ground_effect__offset_x:p2=0, 5
ground_effect__offset_y:p2=-0.2, 0.2
ground_effect__offset_z:p2=0, 5
ground_effect__grid_cell_size:r=16
ground_effect__grid_world_origin:p2=0, 0
ground_effect__vis_radius:r=50
ground_effect__random_offset_scale:r=0
ground_effect__biome_weight_for_active_thr:r=0.25
ground_effect__fx_radius:r=-1
}
entity{
_template:t=“ri_gpu_object”
ri_gpu_object__grid_size:i=8
ri_gpu_object__grid_tiling:i=16
ri_gpu_object__cell_size:r=16
ri_gpu_object__incline_delta:r=10
ri_gpu_object__scale_range:p2=0.85, 1
ri_gpu_object__rotate_range:p2=0, 360
ri_gpu_object__seed:i=2
ri_gpu_object__is_using_normal:b=yes
ri_gpu_object__up_vector:p3=0.1, 1, 0.1
“ri_gpu_object__biome_params:array”{
ri_gpu_object__biome_params:p4=55, 2, 0, 0
ri_gpu_object__biome_params:p4=56, 0.02, 0, 0
}
“ri_gpu_object__multiple_objects:array”{
“ri_gpu_object__multiple_objects:object”{
name:t=“normandy_vernacular_brick_chunk_a”
weight:r=2
}
"ri_gpu_object__multiple_objects:object"{
name:t="normandy_vernacular_brick_chunk_b"
weight:r=1
}
"ri_gpu_object__multiple_objects:object"{
name:t="normandy_vernacular_brick_chunk_c"
weight:r=3
}
"ri_gpu_object__multiple_objects:object"{
name:t="normandy_vernacular_brick_chunk_d"
weight:r=1
}
"ri_gpu_object__multiple_objects:object"{
name:t="normandy_vernacular_brick_chunk_e"
weight:r=3
}
}
}
entity{
_template:t=“team_usa+team_narrator_invasion_attack+respawn_creators_team”
team__memberCount:r=0
team__scoreCap:r=2000
team__score:r=2000
team__squadSpawnCost:i=250
team__firstSpawnCostMul:r=0
team__zeroScoreFailTimer:r=60
team__id:i=1
team__briefing:t=“invasion/attackers_goals”
team__winSubtitle:t=“debriefing/won_invasion_subtitle”
team__loseSubtitle:t=“debriefing/lost_invasion_subtitle”
team__winTitle:t=“debriefing/normandy/usa_won_invasion_title”
team__spawnBotArmy:t=“normandy_allies”
}
entity{
_template:t=“team_germany+team_narrator_invasion_defence+respawn_creators_team”
team__countAdd:r=0.5
team__memberCount:r=0.5
team__scoreCap:r=5000
team__capturePenalty:r=1001
team__score:r=5000
team__id:i=2
team__haveScores:b=no
team__briefing:t=“invasion/defenders_goals”
team__winSubtitle:t=“debriefing/won_defence_subtitle”
team__loseSubtitle:t=“debriefing/lost_defence_subtitle”
team__winTitle:t=“debriefing/normandy/ger_won_defence_title”
team__spawnBotArmy:t=“normandy_axis”
}
entity{
_template:t=“normandy_bunker_a101_walls_rendinst”
transform:m=[[1, 0, 0] [0, 1, 0] [0, 0, 1] [63.321, 105.232, 308.922]]
}
entity{
_template:t=“normandy_bunker_a101_walls_rendinst”
transform:m=[[-0.999997, 0, -0.00253137] [0, 1, 0] [0.00253137, 0, -0.999997] [86.7322, 105.238, 313.926]]
}
entity{
_template:t=“normandy_bunker_a101_walls_rendinst”
transform:m=[[-2.88929e-05, 0, 1] [0, 1, 0] [-1, 0, -2.88929e-05] [89.8271, 99.6812, 332.034]]
}
entity{
_template:t=“debris_wooden_planks_stack_a”
transform:m=[[0.0229301, 0, 0.999737] [-0, 1, 0] [-0.999737, -0, 0.0229301] [86.8373, 104.181, 322.336]]
}
entity{
_template:t=“stationary_mg42”
transform:m=[[-0.999933, 0, 0.0115923] [0, 1, 0] [-0.0115923, 0, -0.999933] [94.5377, 106.36, 319.445]]
}
entity{
_template:t=“normandy_bunker_a101_walls_rendinst”
transform:m=[[1, 0, 0] [0, 1, 0] [0, 0, 1] [88.1873, 95.229, 349.875]]
}
entity{
_template:t=“barrage_balloon”
transform:m=[[-0.595588, 0, 0.80329] [0, 1, 0] [-0.80329, 0, -0.595588] [80.2252, 119.695, 297.198]]
}
entity{
_template:t=“normandy_bunker_a101_walls_rendinst”
transform:m=[[0.032905, 0, 0.999458] [0, 1, -0] [-0.999458, 0, 0.032905] [87.3297, 106.444, 288.954]]
}
entity{
_template:t=“sandbags_wall_3”
transform:m=[[0.0377763, 0, 0.999286] [0, 1, -0] [-0.999286, 0, 0.0377763] [90.0597, 112.284, 295.645]]
}
entity{
_template:t=“sandbags_wall_3”
transform:m=[[0.0319889, 0, 0.999488] [0, 1, -0] [-0.999488, 0, 0.0319889] [85.5296, 112.412, 295.684]]
}
entity{
_template:t=“sandbags_wall_1”
transform:m=[[-0.68392, 0, 0.729557] [0, 1, 0] [-0.729557, 0, -0.68392] [82.5214, 111.444, 294.806]]
}
entity{
_template:t=“opel_blitz_kfz_305_broken”
transform:m=[[0.0207949, 0, 0.999784] [0, 1, 0] [-0.999784, 0, 0.0207949] [87.5624, 110.944, 290.667]]
}
entity{
_template:t=“pv_tractor_fordson_putilovets_gameobj”
transform:m=[[1, 0, 0] [0, 1, 0] [0, 0, 1] [86.1738, 112.038, 290.745]]
}
entity{
_template:t=“sandbags_wall_1”
transform:m=[[0.985585, 0, 0.169182] [0, 1, 0] [-0.169182, 0, 0.985585] [91.8861, 107.762, 298.505]]
}
entity{
_template:t=“stationary_mg42”
transform:m=[[1, 0, 0] [0, 1, 0] [0, 0, 1] [93.376, 106.438, 308.289]]
}
entity{
_template:t=“stationary_mg42”
transform:m=[[1, 0, 0] [0, 1, 0] [0, 0, 1] [94.2412, 106.438, 308.361]]
}
entity{
_template:t=“m4a2_sherman_1944_body_destroyed”
transform:m=[[0.219007, 0, 0.975723] [0, 1, 0] [-0.975723, 0, 0.219007] [89.7789, 104.181, 330.304]]
}
entity{
_template:t=“m4a2_sherman_1944_turret_destroyed”
transform:m=[[0.597682, -0.539247, 0.593286] [0.0713609, 0.772849, 0.630565] [-0.798551, -0.33454, 0.500399] [84.2165, 107.652, 321.658]]
}
entity{
_template:t=“pzkpfw_v_ausf_g_panther_a_destroyed”
transform:m=[[0.882333, 0, -0.470626] [0, 1, 0] [0.470626, 0, 0.882333] [85.4038, 99.729, 349.9]]
}
entity{
_template:t=“bf_109g_14_a_destroyed”
transform:m=[[0.882296, -0.470695, 0] [0.470695, 0.882296, 0] [-0, 0, 1] [98.3492, 97.4919, 345.465]]
}
entity{
_template:t=“agit_poster_ny_ussr_a”
transform:m=[[-4.35918, -0.0545274, 3.96496e-12] [-4.90917e-05, 0.00392462, 4.35952] [-0.0545274, 4.35918, -0.00392493] [89.9181, 107.909, 320.934]]
}
entity{
_template:t=“barrage_balloon”
transform:m=[[0.999572, 0, -0.0292645] [0, 1, 0] [0.0292645, -0, 0.999572] [113.13, 91.0891, 352.747]]
}
entity{
_template:t=“bomb_site_fuel_warehouse_ri”
transform:m=[[0.0307915, 0, 0.999526] [0, 1, 0] [-0.999526, 0, 0.0307915] [83.7628, 110.944, 279.331]]
}
entity{
_template:t=“bomb_site_fuel_warehouse_ri”
transform:m=[[0.0291864, 0, 0.999574] [0, 1, -0] [-0.999574, 0, 0.0291864] [83.9118, 110.944, 284.839]]
}
entity{
_template:t=“sandbags_wall_browning_m2”
transform:m=[[0.652437, 0, -0.757843] [0, 1, 0] [0.757843, 0, 0.652437] [69.3693, 109.963, 304.261]]
}
entity{
_template:t=“sandbags_wall_3”
transform:m=[[1, 0, 0] [0, 1, 0] [0, 0, 1] [69.689, 111.215, 306.73]]
}
entity{
_template:t=“sandbags_wall_3”
transform:m=[[0.0906716, 0, 0.995881] [0, 1, 0] [-0.995881, 0, 0.0906716] [66.6325, 111.17, 303.462]]
}
entity{
_template:t=“t_34_85_e_a_destroyed”
transform:m=[[0.777573, -0.000230165, 0.628793] [0.000230165, 1, 8.14178e-05] [-0.628793, 8.14178e-05, 0.777573] [68.6502, 110.232, 312.512]]
}
entity{
_template:t=“opel_blitz_kfz_305_broken”
transform:m=[[0.847255, 0, -0.531186] [0, 1, 0] [0.531186, 0, 0.847255] [62.3168, 109.732, 306.289]]
}
entity{
_template:t=“150cm_flak_sw_37”
transform:m=[[1, 0, 0] [0, 1, 0] [0, 0, 1] [54.2015, 109.732, 312.567]]
}
entity{
_template:t=“88mm_flak_36_canon_b”
transform:m=[[1, 0, 0] [0, 1, 0] [0, 0, 1] [59.2546, 109.732, 308.846]]
}
entity{
_template:t=“sandbags_wall_1”
transform:m=[[0.811643, 0, -0.584154] [0, 1, 0] [0.584154, -0, 0.811643] [59.1315, 109.732, 304.582]]
}
entity{
_template:t=“sandbags_wall_3”
transform:m=[[0.000796274, 0, 1] [0, 1, 0] [-1, 0, 0.000796274] [57.6619, 111.093, 314.292]]
}
entity{
_template:t=“sandbags_wall_3”
transform:m=[[0.0490777, 0, 0.998795] [0, 1, -0] [-0.998795, 0, 0.0490777] [60.8635, 111.033, 314.344]]
}
entity{
_template:t=“sandbags_wall_3”
transform:m=[[0.0764321, 0, 0.997075] [0, 1, -0] [-0.997075, 0, 0.0764321] [64.5256, 111.121, 314.45]]
}
entity{
_template:t=“sandbags_wall_1”
transform:m=[[-0.746236, 0, -0.665682] [0, 1, 0] [0.665682, 0, -0.746236] [78.4373, 100.219, 345.053]]
}
entity{
_template:t=“sandbags_wall_1”
transform:m=[[-0.658786, 0, 0.752331] [0, 1, 0] [-0.752331, 0, -0.658786] [80.446, 109.736, 319.165]]
}
entity{
_template:t=“sandbags_wall_1”
transform:m=[[-0.727115, 0, -0.686516] [0, 1, 0] [0.686516, 0, -0.727115] [80.3958, 110.238, 309.032]]
}
entity{
_template:t=“sandbags_wall_1”
transform:m=[[0.60193, 0, -0.798549] [0, 1, 0] [0.798549, -0, 0.60193] [95.9241, 109.738, 309.027]]
}
entity{
_template:t=“sandbags_wall_1”
transform:m=[[0.904998, 0, 0.425417] [0, 1, -0] [-0.425417, 0, 0.904998] [96.541, 109.738, 318.688]]
}
entity{
_template:t=“normandy_bunker_a101_walls_rendinst”
transform:m=[[-0.00699531, 0, -0.999976] [0, 1, 0] [0.999976, 0, -0.00699531] [104.26, 103.112, 313.217]]
}
entity{
_template:t=“sandbags_wall_1”
transform:m=[[0.738469, 0, 0.674288] [0, 1, 0] [-0.674288, 0, 0.738469] [93.0236, 111.047, 294.709]]
}
entity{
_template:t=“is_2_1944_a_destroyed”
transform:m=[[1, 0, 0] [0, 1, 0] [0, 0, 1] [101.542, 108.112, 307.297]]
}
entity{
_template:t=“barrage_balloon”
transform:m=[[0.597611, -0.445926, -0.666341] [0.59804, 0.801467, 0] [0.53405, -0.398498, 0.745647] [98.0046, 105.669, 284.705]]
}
entity{
_template:t=“barrage_balloon”
transform:m=[[0.961808, 0, -0.273724] [0, 1, 0] [0.273724, -0, 0.961809] [103.47, 101.667, 293.636]]
}
entity{
_template:t=“debris_wooden_planks_stack_a”
transform:m=[[1, 0, 0] [0, 1, 0] [0, 0, 1] [103.541, 107.612, 315.805]]
}
entity{
_template:t=“opel_blitz_kfz_305_broken”
transform:m=[[0.315322, 0, 0.948985] [0, 1, 0] [-0.948985, 0, 0.315322] [104.162, 108.112, 323.587]]
}
entity{
_template:t=“sandbags_wall_1”
transform:m=[[-0.65123, 0, 0.758881] [0, 1, 0] [-0.758881, 0, -0.65123] [76.8921, 106.738, 317.69]]
}
entity{
_template:t=“bf_109g_14_a_destroyed”
transform:m=[[0.76564, 0.643269, 0] [-0.643269, 0.76564, 0] [0, -0, 1] [96.3635, 106.655, 323.511]]
}
entity{
_template:t=“gun_game_respawn_base”
transform:m=[[1, 0, 0] [0, 1, 0] [0, 0, 1] [80.2877, 99.729, 346.608]]
}
entity{
_template:t=“gun_game_respawn_base”
transform:m=[[1, 0, 0] [0, 1, 0] [0, 0, 1] [99.7852, 103.112, 318.694]]
}
entity{
_template:t=“gun_game_respawn_base”
transform:m=[[1, 0, 0] [0, 1, 0] [0, 0, 1] [106.4, 107.612, 316.261]]
}
entity{
_template:t=“gun_game_respawn_base”
transform:m=[[1, 0, 0] [0, 1, 0] [0, 0, 1] [93.5653, 99.6812, 324.447]]
}
entity{
_template:t=“gun_game_respawn_base”
transform:m=[[1, 0, 0] [0, 1, 0] [0, 0, 1] [56.6476, 109.732, 307.993]]
}
entity{
_template:t=“gun_game_respawn_base”
transform:m=[[1, 0, 0] [0, 1, 0] [0, 0, 1] [57.3746, 105.232, 304.705]]
}
entity{
_template:t=“capzone_box”
transform:m=[[10.2825, 0, 0] [0, 5.51648, 0] [0, 0, 18.0354] [86.8724, 113.867, 285.03]]
}
entity{
_template:t=“debris_wooden_planks_stack_a”
transform:m=[[0.882333, 0, -0.470626] [0, 1, 0] [0.470626, 0, 0.882333] [91.4568, 109.738, 313.606]]
}
entity{
_template:t=“m4a2_sherman_1944_body_destroyed”
transform:m=[[0.9998, -0.000244128, 0.0199977] [0.000244128, 1, 2.44124e-06] [-0.0199977, 2.44124e-06, 0.9998] [85.7663, 109.738, 315.067]]
}
entity{
_template:t=“m4a2_sherman_1944_turret_destroyed”
transform:m=[[0.61012, 0.00323021, -0.792302] [-0.00540703, 0.999985, -8.68004e-05] [0.792291, 0.00433697, 0.610129] [97.1948, 110.226, 313.757]]
}
entity{
_template:t=“opel_blitz_kfz_305_broken”
transform:m=[[1, 0, 0] [-0, 0.94899, 0.315306] [0, -0.315306, 0.94899] [94.2721, 101.489, 342.437]]
}
entity{
_template:t=“bf_109g_14_a_destroyed”
transform:m=[[1, 0, 0] [0, 1, 0] [0, 0, 1] [74.4022, 106.732, 304.458]]
}
entity{
_template:t=“m4a2_sherman_1944_turret_destroyed”
transform:m=[[-0.0133439, -0.543895, -0.839047] [-2.98023e-08, 0.839122, -0.543943] [0.999911, -0.0072583, -0.0111972] [108.708, 105.197, 304.038]]
}
entity{
_template:t=“barrage_balloon”
transform:m=[[0.0107962, 0, 0.999942] [0, 1, 0] [-0.999942, 0, 0.0107962] [84.2434, 103.743, 303.496]]
}
entity{
_template:t=“stug_40_ausf_g_a_destroyed”
transform:m=[[0.999195, -0.000598888, -0.0401098] [-0.000598888, 0.999555, -0.0298438] [0.0401098, 0.0298438, 0.99875] [96.8271, 103.408, 304.227]]
}
entity{
_template:t=“gun_game_mode_logic”
}
entity{
_template:t=“briefing_gun_game”
}
entity{
_template:t=“gun_game_mode_player_components”
}
entity{
_template:t=“gun_game_mode_sounds”
}
entity{
_template:t=“gun_game_mode_weapon_components”
}
entity{
_template:t=“ammunition_box_a”
transform:m=[[1, 0, 0] [0, 1, 0] [0, 0, 1] [100.151, 104.475, 319.168]]
}
entity{
_template:t=“fire_bonfire_huge_effect”
transform:m=[[1, 0, 0] [0, 1, 0] [0, 0, 1] [67.7963, 110.061, 315.259]]
}
entity{
_template:t=“fire_bonfire_huge_effect”
transform:m=[[1, 0, 0] [0, 1, 0] [0, 0, 1] [86.7037, 99.729, 348.615]]
}
entity{
_template:t=“fire_bonfire_huge_effect”
transform:m=[[1, 0, 0] [0, 1, 0] [0, 0, 1] [98.3633, 108.755, 311.341]]
}
entity{
_template:t=“fire_bonfire_huge_effect”
transform:m=[[1, 0, 0] [0, 1, 0] [0, 0, 1] [86.9983, 109.738, 317.596]]
}
entity{
_template:t=“barrage_balloon”
transform:m=[[1, 0, 0] [0, 1, 0] [0, 0, 1] [104.919, 92.8343, 352.592]]
}
entity{
_template:t=“barrage_balloon”
transform:m=[[-0.999597, 0, -0.0284036] [0, 1, 0] [0.0284036, 0, -0.999597] [101.548, 91.5312, 351.026]]
}
entity{
_template:t=“barrage_balloon”
transform:m=[[-0.996095, 0, 0.0882922] [0, 1, 0] [-0.0882922, 0, -0.996095] [108.918, 92.8977, 352.678]]
}
entity{
_template:t=“mbs_field_table_c”
transform:m=[[1, 0, 0] [0, 1, 0] [0, 0, 1] [88.3291, 94.229, 347.049]]
}
entity{
_template:t=“mbs_field_table_c”
transform:m=[[1, 0, 0] [0, 1, 0] [0, 0, 1] [87.729, 94.229, 347.047]]
}
entity{
_template:t=“samurai_helmet”
transform:m=[[1, 0, 0] [0, 1, 0] [0, 0, 1] [88.9807, 94.975, 346.745]]
}
entity{
_template:t=“samurai_helmet”
transform:m=[[1, 0, 0] [0, 1, 0] [0, 0, 1] [88.962, 94.975, 347.348]]
}
entity{
_template:t=“attachable_wear_samurai_vest_ita_tropic_02_item”
}
entity{
_template:t=“attachable_wear_samurai_vest_ita_tropic_02_item”
}
entity{
_template:t=“attachable_wear_m35_flask_samurai_vest_01_tropical_item”
}
entity{
_template:t=“attachable_wear_m35_flask_samurai_vest_01_tropical_item”
}
entity{
_template:t=“decor_mg_42”
transform:m=[[1, 0, 0] [0, 1, 0] [0, 0, 1] [88.0521, 94.975, 346.676]]
}
entity{
_template:t=“decor_mg_42”
transform:m=[[1, 0, 0] [0, 1, 0] [0, 0, 1] [88.0483, 94.975, 346.9]]
}
entity{
_template:t=“mbs_field_table_c”
transform:m=[[1, 0, 0] [0, 1, 0] [0, 0, 1] [88.9275, 94.229, 347.048]]
}
entity{
_template:t=“f1_grenade”
transform:m=[[1, 0, 0] [0, 1, 0] [0, 0, 1] [88.5564, 94.975, 347.079]]
}
entity{
_template:t=“f1_grenade”
transform:m=[[1, 0, 0] [0, 1, 0] [0, 0, 1] [88.4879, 94.975, 347.071]]
}
entity{
_template:t=“f1_grenade”
transform:m=[[1, 0, 0] [0, 1, 0] [0, 0, 1] [88.4381, 94.975, 347.059]]
}
entity{
_template:t=“f1_grenade”
transform:m=[[1, 0, 0] [0, 1, 0] [0, 0, 1] [88.3822, 94.975, 347.062]]
}
entity{
_template:t=“f1_grenade”
transform:m=[[1, 0, 0] [0, 1, 0] [0, 0, 1] [88.3326, 94.975, 347.059]]
}
entity{
_template:t=“f1_grenade”
transform:m=[[1, 0, 0] [0, 1, 0] [0, 0, 1] [88.5581, 94.975, 347.169]]
}
entity{
_template:t=“f1_grenade”
transform:m=[[1, 0, 0] [0, 1, 0] [0, 0, 1] [88.4932, 94.975, 347.174]]
}
entity{
_template:t=“f1_grenade”
transform:m=[[1, 0, 0] [0, 1, 0] [0, 0, 1] [88.4464, 94.975, 347.171]]
}
entity{
_template:t=“f1_grenade”
transform:m=[[1, 0, 0] [0, 1, 0] [0, 0, 1] [88.381, 94.975, 347.164]]
}
entity{
_template:t=“f1_grenade”
transform:m=[[1, 0, 0] [0, 1, 0] [0, 0, 1] [88.3404, 94.975, 347.16]]
}
entity{
_template:t=“ger_molotov”
transform:m=[[1, 0, 0] [0, 1, 0] [0, 0, 1] [88.5391, 94.975, 347.359]]
}
entity{
_template:t=“ger_molotov”
transform:m=[[1, 0, 0] [0, 1, 0] [0, 0, 1] [88.4635, 94.975, 347.357]]
}
entity{
_template:t=“ger_molotov”
transform:m=[[1, 0, 0] [0, 1, 0] [0, 0, 1] [88.3869, 94.975, 347.355]]
}
entity{
_template:t=“ger_molotov”
transform:m=[[1, 0, 0] [0, 1, 0] [0, 0, 1] [88.536, 94.975, 347.427]]
}
entity{
_template:t=“ger_molotov”
transform:m=[[1, 0, 0] [0, 1, 0] [0, 0, 1] [88.4645, 94.975, 347.425]]
}
entity{
_template:t=“ger_molotov”
transform:m=[[1, 0, 0] [0, 1, 0] [0, 0, 1] [88.3944, 94.975, 347.436]]
}
entity{
_template:t=“agit_poster_raaf_pilot”
transform:m=[[-0.999999, 0, -0.00159255] [0, 1, 0] [0.00159255, 0, -0.999999] [87.91, 94.975, 347.292]]
}
entity{
_template:t=“czech_hedgehog_a”
transform:m=[[1, 0, 0] [0, 1, 0] [0, 0, 1] [82.8135, 99.4381, 345.544]]
}
entity{
_template:t=“sandbags_wall_3”
transform:m=[[-0.0391936, 0, 0.999232] [0, 1, 0] [-0.999232, 0, -0.0391936] [93.1189, 95.2156, 348.529]]
}
entity{
_template:t=“capzone_box”
transform:m=[[14.8116, 0, 0] [0, 12.2122, 0] [0, 0, 14.8116] [108.352, 93.776, 351.359]]
}
entity{
_template:t=“capzone_box”
transform:m=[[14.8116, 0, 0] [0, 12.2122, 0] [0, 0, 14.8116] [108.352, 93.776, 351.359]]
}
entity{
_template:t=“sandbags_wall_3”
transform:m=[[1, 0, 0] [0, 1, 0] [0, 0, 1] [96.0858, 95.9675, 346.525]]
}
entity{
_template:t=“czech_hedgehog_a”
transform:m=[[1, 0, 0] [0, 1, 0] [0, 0, 1] [94.7213, 94.4183, 347.03]]
}
entity{
_template:t=“czech_hedgehog_a”
transform:m=[[1, 0, 0] [0, 1, 0] [0, 0, 1] [92.8882, 94.229, 347.164]]
}
You can remove file. Thanks.
And sorry if didn’t understand you correctly.
Well… You contains gun game on your map:
So… You want to know about properties or how to make this entity bigger in code?
Well… In editor you just can edit any weapon in weapons
property. After that do save and all code will be saved and will be visible in scene.blk file…
Or just copy my code and edit it a bit.
item:i=X
in gun_game__announceLevelReach
will announce for everyone when player reaches X level in gun game.
"gun_game__levels:object"{
levelKills:i=1
weaponSlot:t="secondary"
"weapons:list<t>"{
item:t="stg_44_rail_gun"
item:t="stg_44_rail_gun"
}
}
This is level in gun game. What weapons it contains.
In levelKills
need to set how much kills need to do for reach next level.
And in item
that in weapons
need to write what weapons will be in this level on this round.
It will be randomly only per game/round, but not for per user!
If you don’t need this random weapon in per game/round then just edit selectedSessionWeapon
and selectedSessionAmmo
. You can do it in editor. Else (if you want to use this random) you need work with scene.blk and not use or removeselectedSessionWeapon
and selectedSessionAmmo
.
Oh I see now. Thanks you so much!
now all this code is just for one weapon level, correct?
Ye. This is one level:
"gun_game__levels:object"{
levelKills:i=1
weaponSlot:t="secondary"
"weapons:list<t>"{
item:t="stg_44_rail_gun"
item:t="stg_44_gun"
}
}
But this is will be two levels:
"gun_game__levels:object"{
levelKills:i=1
weaponSlot:t="secondary"
"weapons:list<t>"{
item:t="stg_44_rail_gun"
item:t="stg_44_gun"
}
}
"gun_game__levels:object"{
levelKills:i=1
weaponSlot:t="secondary"
"weapons:list<t>"{
item:t="mp40_gun"
item:t="mp41_gun"
}
}
You just need to put them after this line: "gun_game__levels:array"{
Will this code automatically choose the correct ammunition type for the weapon of choice?
Also when I tried to not make it random in editor it wouldn’t let me. The ammunition would just change back to the default one.
Yes. It will if you didn’t use selectedSessionAmmo
.