Search results

  1. Flame

    Unintended behavior w/ Custom Gametype Rules? GTR_LIVES + GTR_SPECTATORS

    I have reason to believe that unintended behavior is present when there's a custom gamemode that has both GTR_LIVES, and GTR_SPECTATORS gametype rules. If you get a "Game Over", you can become a spectator, and then re-enter the game with all your lives. No screenshots, but I've included a WAD...
  2. Flame

    PSO2 Megathread

    DOWNLOAD: https://pso2.com Phantasy Star Online 2 (often shortened as PSO2) is, in short, a wonderful video game developed by SEGA, and I encourage all of you to try it. PSO2, being one of Japan’s biggest online action RPGs, and a direct sequel to the first PSO, finally arrives in North America...
  3. Flame

    Confirmed Underscores do not parse properly in dedicated netgames

    Underscores "_" do not parse properly in dedicated netgames. They instead turn into hypens or dashes "-" when executed. See below for when I was testing added Lua commands. This also occurs with Vanilla commands as well.
  4. Flame

    Lua MobjDeath hook vs Intermission Screen

    The Lua Hook MobjDeath can trigger on the intermission screen. And you can get the message: This can only be used in a level! Here's some example code to try for yourself: addHook("MobjDeath", function(mo) if mo and mo.valid and mo.player and mo.player.valid print("Something Funny") end...
  5. Flame

    Flame

    Flame (honestly I couldn't come up with anything witty or funny) I almost exclusively play around with Lua, and this is a thread to showcase that? I'll probably post a lot of things on Twitter first before updating this thread. Expect most things I post to have a release at some point. I'll...
  6. Flame

    [Reusable] SRB2 Dungeon Crawler [v2.0.2] - A Rogue-like SRB2 experience

    How fast can you and your friends clear a 50 floor dungeon in this... SRB2 Dungeon Crawler Intro Fight through randomly generated levels with increasing difficulty (Max: 5). Most Levels will have randomly generated enemies, and (basic) hazards. If you think this is crazy, or if you think...
  7. Flame

    [Reusable] Smash Cam - A Smash Bros-like dynamic 2D Camera

    A script that aims to provide versatility to 2D Mode. It is my hope that script can open up the doors to some 2D Match maps in the future. What's included? Custom Map (MAP01) - Toasted Hills Zone by Akirahedgehog (This is a demonstraction map. Ported from 1.09.4, please excuse any errors) 2...
  8. Flame

    [Reusable] SRB2 Tron (SRB2T) [v2.3.1] - Tron meets SRB2

    The classic gameplay style of Tron's Light Cycles makes an appearance in SRB2. You're constantly moving forward, you don't stop once you enter the game. Your goal? Outmaneuver your opponents as you move in a maze like pattern. Try to force the enemy into walls and even your own jet trail, while...
  9. Flame

    Player spawn points are inaccessible (Or nil) through Lua w/o iterator

    I'm attempting to access a Player Spawn point using either the "PlayerSpawn" and "MapThingSpawn" hooks, using this and this as a reference. My code below. It's simple, but the Player Mo's spawnpoint appears to be nil when attempting to access it. It should be returning a userdata value of some...
  10. Flame

    Okami FX

    Inspired from the Okami series, this script adds extra flare to jumping, running, landing on the ground, and thokking as Sonic. It does not change anything gameplay related outside of adding a few additional graphics. I also planned to add non-network friendly code where you could "pause" the...
  11. Flame

    MFE_JUSTHITFLOOR triggers endlessly when standing on a monitor

    Consider the following code: Code below is supposed to spawn MT_TNTDUST in 16 directions in a 360 degree circle when the player hits the floor. addHook("PlayerThink", function(p) if p and p.valid and not p.spectator and p.mo and p.mo.valid local zpos = P_FloorzAtPos(p.mo.x, p.mo.y...
  12. Flame

    Custom typeoflevel maps do not show up in Multiplayer game modes

    I have fair reason to believe the custom TOL_* Lua scripting is not working to it's fullest extent. Consider the following in my custom Lua code: freeslot('TOL_CUSTOMLVL') -- Custom TOL example. This creates a TOL_CUSTOMLVL constant with the value of 8192 G_AddGametype({ name = "Custom"...
  13. Flame

    [Reusable] Rideable Eggmobile (Or how far I'm willing to go with it)

    Wanna take an Eggmobile for a ride? Honestly I was going to program more of this but after attempting to program a laser function for this, I quickly starting losing interest. Other ideas were to have a Spawnable Spikeball shield and Active/Reactive Skullbash that did not make it in. The intent...
  14. Flame

    [Reusable] SRB2 Darkworld (v2)

    Borrowed from the Legend of Zelda series, The Darkworld makes a surprise appearance in SRB2. Solve puzzles, Fool your enemies, trick your friends into attacking something that may outright be... A ghost? It's a simple script, but I think it opens up possibilities for custom user created maps...
  15. Flame

    SRB2 Bomberman (SRB2B) [vB-001]

    Talk about a blast from the past. It's back, and recreated in Lua a decade later! Announcement Trailer SRB2 Bomberman (SRB2B) Version: vB-001 Twitter Discord Youtube? Intro Bomberman. You plant bombs, you move in a 4 directional maze-like-pattern (Usually) and collect power-ups to cause...
  16. Flame

    [Reusable] Bastardized SHA-1 and HMAC-SHA1 Routines in Pure Lua

    Borrowed from this blog post: http://regex.info/blog/lua/sha1 Updated to fit the constraints of SRB2. - Ie. Bastardized* This is more of a utility WAD than anything. Utilize Lua's asserts to verify your sha1 or hmac_sha1 text hashes. Pass sha1() a string, and it returns a hash as a...
  17. Flame

    Lua "ThinkFrame" hook - Checking if BT_USE and not PF_USEDOWN does not trigger at all

    Lua "ThinkFrame" hook - Checking if BT_USE and not PF_USEDOWN does not trigger at all Checking to see if the USE (Spin) button is pressed (p.cmd.buttons & BT_USE), and not held down (p.pflags & PF_USEDOWN) fails to trigger. Within the "ThinkFrame" hook for the player. Example Code Below...
  18. Flame

    [Reusable] DVD Logo (v2 Update 2/2/20)

    You know it. You love it. The classic. Extras: dvd_experience "full" to achieve the full experience. Or what I can achieve in Lua currently. "Off" disables the DVD logo from bouncing around.
  19. Flame

    [Reusable] Map Object Pickup (Updated for v2.2) (v3)

    Second Verse, same as the first! Issues, problems or bugs? In small scale, the only problem I've encountered was with Map objects that disappear, such as the rising pop-out spike object. I've created a workaround such that if the object is no longer valid, it allows you to pickup another...
  20. Flame

    [Script] [Lua] Mobj Pickup!

    Oh hey, look who's back from the grave! Here's a small tidbit of code that I made from a bigger project some time ago. Originally programmed in C and now updated to Lua. Interact with Map Objects (Mobjs) in a totally different way! Maybe mess with your friends? PERHAPS YOU WANT TO PICK UP EACH...
Top