HL-SDK Sentry Spawner v0.5a (beta)
Now you can have the last laugh
Purpose:
- Create a sentry for a player when he/she dies at the location of their death
- Keep track of how many sentries that player has "created" by dying and limit to a number set by administrator
CVARS:
- sm_spawnsentry <-returns version of plugin
- sm_spawnsentry_enabled <0|1> <-enables/disables plugin during gameplay (will not remove sentries)
- sm_spawnsentry_maxsentries <1-20> <-maximum sentries a player has in stock when he/she dies (not affected by engineer's building of sentries), takes effect when clients reconnect or map change.
- sm_spawnsentry_initlevel <1-3> <-can be hundreds of levels but at present is one of the three stock valve sentries. This is the level at which the sentry is to be created (can be upgraded + repaired by engies)
- sm_spawnsentry_chance (0.00-1.00) <-- 0.50 is 50% chance. Defaults to 1.00
- sm_spawnsentry_random <0|1> <-- Random leveled sentry?
Version history:
- 0.3 Submitted to public
- 0.4 Added cvar sm_sentryspawner_chance
- 0.5 Fixed problem with engineer's sentries (beta version, filename is sentryspawner_testing)
- 0.5a Added random level spawned option (still beta version, filename is still sentryspawner_testing)
[IMG]http://img231.**************/img231/1888/sentryspawnermk6.jpg[/IMG]
Credit goes to The JCS, Muridas, bl4nk, and me, HL-SDK. A special thanks goes to liam12360 for his graphic.