Skip to content

Commit 7d03721

Browse files
author
Sierra Nevada
committed
add auto-spawning cube on random location when map starts
1 parent e20bf95 commit 7d03721

File tree

3 files changed

+524
-41
lines changed

3 files changed

+524
-41
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ An application with Source Engine integration through VScript.
1717
- **Picker (Aimbot)**: Advanced targeting system with manual selection
1818
- **AWP Quit Trigger**: Shoot spawned props with AWP to quit the game
1919
- **Auto-load Scripts**: Automatically loads on every map
20+
- **Auto spawning cube**: Spawn cube on random location of the map.
2021

2122
## Supported Games
2223

Sourcebox.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -988,11 +988,12 @@ def main():
988988
try:
989989
bridge = SourceBridge()
990990
if bridge and bridge.active_game:
991-
# only install vscript features for supported games
991+
# only install VScript features for supported games
992992
if bridge.vscripts_path:
993993
bridge.install_listener()
994-
bridge.install_picker()
994+
bridge.install_picker()
995995
bridge.install_awp_quit()
996+
bridge.install_auto_spawner()
996997
bridge.setup_mapspawn()
997998
bridge.setup_autoexec()
998999
bridge.start_listening()
@@ -1003,11 +1004,12 @@ def main():
10031004
print(f"\n[game] {bridge.active_game}")
10041005
print(f"[session] {bridge.session_id}")
10051006
print("\n[features]")
1006-
1007+
10071008
if bridge.vscripts_path:
10081009
print(" python bridge - spawn the cube from sourcebox")
10091010
print(" picker - aimbot (script PickerToggle and PickerNext)")
10101011
print(" awp quit - shoot srcbox with awp to quit the game")
1012+
print(" auto-spawner - spawns 3-5 cubes at random locations on map load")
10111013
print("\n[auto-load] all scripts start automatically on map load")
10121014
print("\n[manual] if needed:")
10131015
print(" script_execute python_listener")

0 commit comments

Comments
 (0)