Light not working

Lord_Troll69

L1: Registered
Mar 24, 2023
30
0
For some reason, when I complie the map, ingame non of the lights are working. Why is that?
 

Attachments

  • ctf_minefort_remake_b.vmf
    10.1 MB · Views: 53
Solution
I have now found one thanks to a quick Python script I whipped up:
1713816317310.png


This property should not exist on item_healthkit and item_ammopack entities, and since "force_respawntime_override_timer15" is longer than 32 characters, it creates our error.

You can fix this by clicking the SmartEdit button, then clicking on these properties and clicking "Delete".

Tiftid

the Embodiment of Scarlet Devil
aa
Sep 10, 2016
602
465
This is the usual cause:
1713816019776.png


However, I looked extensively through the VMF and cannot find a property where this is happening.
 

Tiftid

the Embodiment of Scarlet Devil
aa
Sep 10, 2016
602
465
I have now found one thanks to a quick Python script I whipped up:
1713816317310.png


This property should not exist on item_healthkit and item_ammopack entities, and since "force_respawntime_override_timer15" is longer than 32 characters, it creates our error.

You can fix this by clicking the SmartEdit button, then clicking on these properties and clicking "Delete".
 
Solution

Tiftid

the Embodiment of Scarlet Devil
aa
Sep 10, 2016
602
465
Having an entity NAME be more than 32 characters won't cause a problem, because that's the value of the property, which can be up to 1024.
You'll only experience this problem if you:
  • Download a dodgy FGD
  • Turn SmartEdit off and add custom properties to your entities for whatever reason
  • Paste the entire Bible into some property on one of your entities just for fun