Info game event proxy: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
 Note:Whenever a hint is shown to the player, a count of how many times the player was notified is recorded in the
Note:Whenever a hint is shown to the player, a count of how many times the player was notified is recorded in the 
		
	
|  (-added class hierarchy, cleanup) |  (-entity template, added list of l4d2 used events) | ||
| Line 1: | Line 1: | ||
| __NOTOC__ | __NOTOC__ | ||
| {{CD|CInfoGameEventProxy}} | {{CD|CInfoGameEventProxy}} | ||
| {{ | {{entity|info_game_event_proxy|since=Left 4 Dead|type=e0}} | ||
| It is an entity that triggers a game event (for example show a hint). | It is an entity that triggers a game event (for example show a hint). | ||
| Line 18: | Line 18: | ||
| {{IO|GenerateGameEvent|Generate the event on input. (This entity is sent as the SUBJECT)}} | {{IO|GenerateGameEvent|Generate the event on input. (This entity is sent as the SUBJECT)}} | ||
| {{I EnableDisable}} | {{I EnableDisable}} | ||
| == List of events used in Left 4 Dead 2 official maps == | |||
| {{expand| | |||
| <source> | |||
| explain_junkyard_fuel | |||
| explain_gas_can_panic | |||
| explain_save_items | |||
| explain_return_item | |||
| explain_carousel_button | |||
| explain_train_lever | |||
| explain_float | |||
| explain_sewer_run | |||
| explain_shack_button | |||
| explain_gun_shop | |||
| c1m4_scavenge_instructions | |||
| explain_radio | |||
| gameinstructor_draw | |||
| explain_panic_button | |||
| explain_van_panic | |||
| explain_pre_radio | |||
| strongman_bell_knocked_off | |||
| explain_c1m4_finale | |||
| explain_bridge | |||
| explain_sewer_gate | |||
| explain_start_generator | |||
| explain_perimeter | |||
| explain_DLC3barrels | |||
| explain_scavenge_goal | |||
| explain_coaster_stop | |||
| explain_disturbance | |||
| explain_vehicle_arrival | |||
| explain_elevator_button | |||
| explain_survival_radio | |||
| explain_DLC3lift_lever | |||
| explain_survival_generic | |||
| explain_decon | |||
| explain_lighthouse_generator | |||
| temp_c4m3_return_to_boat | |||
| explain_mall_alarm | |||
| explain_scavenge_leave_area | |||
| explain_drawbridge | |||
| success_checkpoint_button_used | |||
| explain_bridge_button | |||
| explain_container_drop | |||
| explain_restart_generator | |||
| started_pre_radio | |||
| explain_store_alarm | |||
| stashwhacker_game_won | |||
| explain_lighthouse_finale_event | |||
| explain_burger_sign | |||
| explain_train_exit | |||
| explain_coaster | |||
| explain_mall_window | |||
| explain_c6m3_finale | |||
| explain_hatch_button | |||
| explain_c3m4_radio1 | |||
| explain_DLC3door | |||
| explain_container_ready | |||
| explain_stage_finale_start | |||
| explain_hotel_elevator_doors | |||
| explain_ferry_button | |||
| explain_gates_are_open | |||
| explain_DLC3radio | |||
| explain_DLC3howitzer | |||
| explain_impound_lot | |||
| explain_deactivate_alarm | |||
| explain_store_item | |||
| explain_survival_alarm | |||
| explain_c3m4_rescue | |||
| explain_lift_button | |||
| explain_survival_carousel | |||
| explain_DLC3repair_generator | |||
| explain_emergency_door | |||
| explain_pre_drawbridge | |||
| explain_decon_wait | |||
| waiting_checkpoint_button_used | |||
| explain_stage_survival_start | |||
| explain_church_door | |||
| explain_c3m4_radio2 | |||
| explain_DLC3generator_button | |||
| explain_gun_shop_tanker | |||
| explain_crane | |||
| explain_c2m4_ticketbooth | |||
| temp_c4m1_getgas | |||
| explain_stage_lighting | |||
| explain_mainstreet | |||
| explain_store_item_stop | |||
| gameinstructor_nodraw | |||
| explain_train_boss | |||
| explain_onslaught | |||
| explain_carousel_destination | |||
| </source> | |||
| }} | |||
| == See also == | == See also == | ||
Revision as of 11:31, 21 May 2023
|  Class hierarchy | 
|---|
| CInfoGameEventProxy | 
It is an entity that triggers a game event (for example show a hint).
 Note:Whenever a hint is shown to the player, a count of how many times the player was notified is recorded in the
Note:Whenever a hint is shown to the player, a count of how many times the player was notified is recorded in the save/game_instructor_counts.txt file which is found in the Left 4 Dead save folder. After a certain threshold, certain tips will no longer show up, possibly depending on how many success entries. If you want hints to begin showing up again, open your game_instructor_counts.txt file and delete the corresponding thread, or load up the game and enter gameinstructor_reset_counts in the console(the latter will reset all of the instructor lessons.)Keyvalues
- Event Name (event_name) <string>
- The event to trigger by name from modevents.res
- Range (in feet) (range) <float>
- Distance that the player must be before the event is generated.
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentnameortarget).
 Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
- Start Disabled (StartDisabled) <boolean>
- Stay dormant until activated (with theEnableinput).
Flags
- Automatically detect visibility : [1]
Inputs
- GenerateGameEvent
- Generate the event on input. (This entity is sent as the SUBJECT)
EnableDisable:
- Enable / Disable
- Enable/disable this entity from performing its task. It might also disappear from view.
List of events used in Left 4 Dead 2 official maps
| explain_junkyard_fuel
explain_gas_can_panic
explain_save_items
explain_return_item
explain_carousel_button
explain_train_lever
explain_float
explain_sewer_run
explain_shack_button
explain_gun_shop
c1m4_scavenge_instructions
explain_radio
gameinstructor_draw
explain_panic_button
explain_van_panic
explain_pre_radio
strongman_bell_knocked_off
explain_c1m4_finale
explain_bridge
explain_sewer_gate
explain_start_generator
explain_perimeter
explain_DLC3barrels
explain_scavenge_goal
explain_coaster_stop
explain_disturbance
explain_vehicle_arrival
explain_elevator_button
explain_survival_radio
explain_DLC3lift_lever
explain_survival_generic
explain_decon
explain_lighthouse_generator
temp_c4m3_return_to_boat
explain_mall_alarm
explain_scavenge_leave_area
explain_drawbridge
success_checkpoint_button_used
explain_bridge_button
explain_container_drop
explain_restart_generator
started_pre_radio
explain_store_alarm
stashwhacker_game_won
explain_lighthouse_finale_event
explain_burger_sign
explain_train_exit
explain_coaster
explain_mall_window
explain_c6m3_finale
explain_hatch_button
explain_c3m4_radio1
explain_DLC3door
explain_container_ready
explain_stage_finale_start
explain_hotel_elevator_doors
explain_ferry_button
explain_gates_are_open
explain_DLC3radio
explain_DLC3howitzer
explain_impound_lot
explain_deactivate_alarm
explain_store_item
explain_survival_alarm
explain_c3m4_rescue
explain_lift_button
explain_survival_carousel
explain_DLC3repair_generator
explain_emergency_door
explain_pre_drawbridge
explain_decon_wait
waiting_checkpoint_button_used
explain_stage_survival_start
explain_church_door
explain_c3m4_radio2
explain_DLC3generator_button
explain_gun_shop_tanker
explain_crane
explain_c2m4_ticketbooth
temp_c4m1_getgas
explain_stage_lighting
explain_mainstreet
explain_store_item_stop
gameinstructor_nodraw
explain_train_boss
explain_onslaught
explain_carousel_destination | 

