Sign in to follow this  
Followers 0
aLTis

Oddball Respawn

14 posts in this topic

and a another thing i found is using /sv_map_reset while this script loaded with an oddball game using the script, will crash the server :wub:

Edited by no offence

 

 

Share this post


Link to post
Share on other sites

Tiddy-bits:

I've updated this script because I wanted it to work on any map effortlessly. Changes:

  • The script now calculates the height at which the oddball should respawn instead of using a single value for all maps;
  • Oddball now respawns in a random oddball spawn instead of respawning in a single place;
  • The script now works on protected maps;
  • The script will work if SAPP was reloaded.

The height at which the oddball should respawn is calculated by checking for the lowest point of all spawn points and netgame flags and reducing that value by 5 world units just to make sure. It worked on all maps I've tested so far except for Snowdrop because it had a secret room below the map. You can still override the height value for maps like that in the script.

 

Download: oddball.lua

Takka likes this

08f9474ede.jpg

Share this post


Link to post
Share on other sites
Sign in to follow this  
Followers 0
  • Recently Browsing   0 members

    No registered users viewing this page.