Dynlightscript.txt: Difference between revisions
Jump to navigation
Jump to search
Important:Must present in your mod folder, otherwise all the entities will use default light values.
MyGamepedia (talk | contribs) |
MyGamepedia (talk | contribs) No edit summary |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
[[Category:Black Mesa level design]] [[Category:Scripting]] | |||
{{back|Black Mesa Level Creation}} | |||
{{code|dynlightscript.txt}} is a [[txt]] file available in {{bms|4}}, placed in {{code|cfg}} folder. This file used by {{xe|4}} to load values for some settings from new point lights, which are used by some other entities as a dynamic light source. You can set [[RGB]] light color, intensity and light style/appearance. | {{code|dynlightscript.txt}} is a [[txt]] file available in {{bms|4}}, placed in {{code|cfg}} folder. This file used by {{xe|4}} to load values for some settings from new point lights, which are used by some other entities as a dynamic light source. You can set [[RGB]] light color, intensity and light style/appearance. | ||
{{important|Must present in your mod folder, otherwise all the entities will use default light values.}} | {{important|Must present in your mod folder, otherwise all the entities will use default light values.}} | ||
==Full list of entities== | ==Full list of entities== | ||
*{{ent|prop_flare}} (Flare) - flare's light | *{{ent|prop_flare}} (Flare) - flare's light | ||
*{{ent|weapon_gluon}} (GluonRay) - ray's light at the end point | *{{ent|weapon_gluon}} (GluonRay) - ray's light at the end point | ||
*{{ent|item_battery}} (ItemBattery) - battery light | *{{ent|item_battery}} (ItemBattery) - battery light | ||
Line 15: | Line 17: | ||
*{{ent|npc_plantlight_stalker}} (PlantLightStalker.Light) - plantlight's light (stalker version) | *{{ent|npc_plantlight_stalker}} (PlantLightStalker.Light) - plantlight's light (stalker version) | ||
*{{ent|weapon_357}} (WeaponFlash.357) - weapon's muzzle light | *{{ent|weapon_357}} (WeaponFlash.357) - weapon's muzzle light | ||
*{{ent| | *{{ent|weapon_glock}} (WeaponFlash.GLOCK) - weapon's muzzle light | ||
*{{ent|weapon_hivehand}} (WeaponFlash.HIVEHAND) - weapons muzzle light | *{{ent|weapon_hivehand}} (WeaponFlash.HIVEHAND) - weapons muzzle light | ||
*{{ent|weapon_mp5}} (WeaponFlash.MP5) - weapon's muzzle light | *{{ent|weapon_mp5}} (WeaponFlash.MP5) - weapon's muzzle light |
Latest revision as of 06:27, 26 June 2025
dynlightscript.txt is a txt file available in Black Mesa, placed in cfg folder. This file used by
Xengine to load values for some settings from new point lights, which are used by some other entities as a dynamic light source. You can set RGB light color, intensity and light style/appearance.

Full list of entities
- prop_flare (Flare) - flare's light
- weapon_gluon (GluonRay) - ray's light at the end point
- item_battery (ItemBattery) - battery light
- prop_xen_grunt_pod_dynamic and prop_xen_grunt_pod (PropXenGruntPod) - pod's light
- item_ammo_canister and item_ammo_box (ItemAmmoBox) - canister's light
- npc_sentry_ground (SentryGround) - muzzle's light for sentry ground
- entityflame (Flame) - used by entityflame, which used for any ignited object
- npc_gargantua (Gargantua) - used by gargantua's eye
- npc_xontroller (Controller.BrainGlow) - used by xontroller's head
- npc_plantlight (PlantLight.Light) - plantlight's light (protracting version)
- npc_plantlight_stalker (PlantLightStalker.Light) - plantlight's light (stalker version)
- weapon_357 (WeaponFlash.357) - weapon's muzzle light
- weapon_glock (WeaponFlash.GLOCK) - weapon's muzzle light
- weapon_hivehand (WeaponFlash.HIVEHAND) - weapons muzzle light
- weapon_mp5 (WeaponFlash.MP5) - weapon's muzzle light
- weapon_rpg (WeaponFlash.RPG) - weapon's muzzle light
- weapon_shotgun (WeaponFlash.SHOTGUN) - weapon's muzzle light
- weapon_assassin_glock (WeaponFlash.ASSASSIN_GLOCK) - weapon's muzzle light