jump.tf Forums
Welcome B)

Height Finder

Master Cake

  • Newbie
  • *
    • Posts: 15
    • Frags: +0/-0
  • Cake likes to create plugins with SourcePawn :)
    • View Profile
    • Steam
Plugin finds and shows your target height (Z coord)

Compiler needed 1.10

Version 1.0.0
- Added ConVar "hfind_version" that stores plugin version
- Added ConVar "hfind_enabled" that stores plugin state
- Added console command "sm_findh" to enable Height Finder (detecting brush entity - beta version, important to be near the wall or something)
- Added console command "sm_checkjump" to enable/disable jump checker

<-Some Admin stuff->
- Added console command "sm_brushmode" (for Admins) to enable/disable brush mode
- Added console command "sm_nogrenades" (for Admins) to show func_nogrenades brush entities
- Added console command "sm_stopnogrenades" (for Admins) to stop showing func_nogrenades brush entities
- Added console command "sm_teletriggers" (for Admins) to show trigger_teleport brush entities
- Added console command "sm_stopteletriggers" (for Admins) to stop showing trigger_teleport brush entities
- Added console command "sm_removent" (for Admins) to remove trigger_teleport and func_nogrenades brush entities, restart the map to restore triggers and func_ brush entities
- Added console command "sm_getentindex" (for Admins) to get trigger_teleport and func_nogrenades index
- Added console command "sm_moventup" (for Admins) to move trigger_teleport and func_nogrenades brush entities up
- Added console command "sm_moventdown" (for Admins) to move trigger_teleport and func_nogrenades brush entities down

Version 1.0.1
- Bug fix
- Corrected description (how to use command)

Demo: Finder
Demo: Admin stuff
« Last Edit: July 11, 2020, 05:13:03 PM by Master Cake »
Mastered


Master Cake

  • Newbie
  • *
    • Posts: 15
    • Frags: +0/-0
  • Cake likes to create plugins with SourcePawn :)
    • View Profile
    • Steam
For the record, some func_nogrenades brush entities can't be REmoved with all other but can be moved instead.
Mastered


JoinedSenses

  • ECJ Owner
  • Administrator
  • Novice
  • *****
    • Posts: 57
    • Frags: +0/-0
    • View Profile
Thanks for your work. Ive attached a cleaned up version of your plugin. Updated syntax, fixed potential bugs, updated formatting and naming schemes. Untested, but assuming it works as expected.

Im uncertain how you were able to use this plugin and be able to do anything - the way OnPlayerCommand was handled wouldve prevented any player inputs.

Heres a diff check:
https://www.diffchecker.com/m5MCxpho


Master Cake

  • Newbie
  • *
    • Posts: 15
    • Frags: +0/-0
  • Cake likes to create plugins with SourcePawn :)
    • View Profile
    • Steam
Thanks :)

This is half of the final plugin? I just make jump map with c-tap stairs and func_nogrenades tricks :)
Mastered