In a file called 'autoexec.cfg' in the root of your SRB2 folder (if there is none there then make one) add this line to the end:
bind <key name> "changeteam spectator"
where '<key name>' is the name of the key you wish to use to spectate. The key name is usually as it appears on your keyboard...
If you freeslot a sprite inside of a function, like this:
addHook("ThinkFrame", do
if not _G["SPR_ABC1"]
freeslot("SPR_ABC1")
end
for p in players.iterate
if _G["SPR_ABC1"]
p.mo.sprite = SPR_ABC1
end
end
end)
you get an error (in addition to the sprite not being displayed):
ERROR...
Welcome to Snow Fight!
Press [Toss Flag] to shoot a snowball.
When a snowball hits a player, the player significantly slows down. A few seconds later, the snowball will melt and the player will revert to their regular speed.
Hit a player with enough snowballs and they will be completely frozen...
The Turbo Ring is a quick, exploding weapon meant to be a balanced replacement to the infamous Rail Ring. It features an original weapon play style: it duplicates itself 8 times from the same point it was shot from. It is significantly slower than the Rail Ring, but faster than the other rings...
My apologies if this has already been mentioned:
Sometimes when I join a server, I have the viewpoint of the host and I don't see myself on the player list. It constantly desynchs like this until I close the game or get kicked because of a Synch failure. I'm not sure if it's just me, or if...
"The SegaSonic Network, or SSN for short, was a Sonic the Hedgehog fan site owned and operated by AJ Freda, also known as SSNTails."
For more info, here's the link to the history of the SegaSonic Network:
http://info.sonicretro.org/SegaSonic_Network
https://wiki.srb2.org/wiki/Versions
He's taking into account the SRB2 TGF, even though it was unreleased. It was developed March-July 1998. If you only count the next released version (SRB2 Halloween), SRB2 is 17 years old, or approx. 204 months.
Looks great, Lilac! One thing I would like to point out is the floors and the walls have no variety to them, so the level looks kind of bland. Adding a few sectors just for eye candy (like Egg Rock Zone does) should do the trick.
(Also, if you want to embed pictures in your posts instead of...
In the source code, you'd use R_TextureNumForName, but that hasn't (yet) been implemented into Lua and I'm not sure if there's any way to do it outside of EXE mods. A trick you could use is making a map with a wall that uses the texture you want. Then use a Lua script to print that wall's...
It does detect how a player leaves the server, but cannot replace the vanilla quit string the way it is coded right now. There are kick reasons, such as KR_KICK, KR_BAN, etc.
We desperately need a "Player Quit" Lua hook.
Fortunately, I've created one! (This isn't normal SRB2, so don't try this)
addHook("PlayerQuit", function(player)
COM_BufInsertText(server, "csay Aw! Looks like \\ "..player.name.." \\ didn't want to play anymore.")
end)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.