View Single Post
Author Message
BHaType
Great Tester of Whatever
Join Date: Jun 2018
Old 11-03-2019 , 21:14   [L4D2] Navigation Loot Spawner
Reply With Quote #1

Description
This is a real random spawn loot on the map, also with this system you can do a lot of other things.
Weapon creation goes through random navigation grids

ConVars
sm_nav_loot_spawner_count <- How many weapons we create on the map?
sm_nav_loot_spawn_flags <- Should we check nav flags?
sm_nav_loot_check_position_reacheble <- Should we check position reachebly? (Only for windows L4D2)

Note
If you have good ideas for this random system, then describe them below.

Credits
Pelipoika - for his snippet about navigation areas


This is what the navigation grid looks like
Attached Files
File Type: zip L4D1Version.zip (7.7 KB, 444 views)
File Type: smx l4d2_random_nav_loot.smx (6.3 KB, 611 views)
File Type: sp Get Plugin or Get Source (l4d2_random_nav_loot.sp - 646 views - 7.5 KB)
File Type: txt l4d2_nav_loot.txt (959 Bytes, 426 views)
__________________
cry

Last edited by BHaType; 07-07-2021 at 02:12.
BHaType is offline
Send a message via AIM to BHaType