Welcome to Open Carnage

A resource for Halo Custom Edition and MCC modding, with unique means of rewarding content creation and support. Have a wander to see why we're worth the time!

EST. 14th of February, 2012

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

Tucker933 likes this

08f9474ede.jpg

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0
  • Recently Browsing   0 members

    No registered users viewing this page.