In a hacking objective ( take Volcano’s hack for example)…
Where should I define how much time it takes to hack the objective?
:eek:
In a hacking objective ( take Volcano’s hack for example)…
Where should I define how much time it takes to hack the objective?
:eek:
Seba,
You set hack time with the key “hack_count”, on the hack entity. In the cause of consite, you need to set it on the console.
Since the console has no “hack_count” set, it’s using the default value, that is “180”.
entityDef gameplay/hackable {
"spawnclass" "sdScriptEntity"
"scriptobject" "hackable_objective"
"editor_mins" "?"
"editor_maxs" "?"
"option_interactive_interface" "1"
"option_crosshair_interface" "1"
[b]"hack_count" "180"[/b]
"hack_count_sw" "180" // hack count in stopwatch
"tt_intro_use_me_1" "hackable_intro_hack_1"
"tt_intro_use_me_2" "hackable_intro_hack_2"
"mtr_icon_flash" "hud/icons/missionsystem/obj_hack"
"mtr_icon_flash_defend" "hud/icons/missionsystem/obj_defend"
"icon_sort_cm_flash_icon" "-102"
}
entityDef gameplay/hackable/gdf {
"inherit" "gameplay/hackable"
"team" "gdf"
"task_hack" "infiltrator_hack_objective"
"task_defend_long" "gdf_defend_long"
"task_defend_medium" "gdf_defend_medium"
"task_defend_short" "gdf_defend_short"
"prof_hack" "pro_infiltrator_hack_objective"
"tt_intro_info" "hack_crosshair_info_strogg"
}