FAQ  •  Register  •  Login

"Gladiators" masterscript

<<

bobdaduck

User avatar

Global Moderator

Posts: 790

Joined: Thu Mar 11, 2010 1:39 pm

Location: Utah

Post Wed May 08, 2013 4:29 pm

"Gladiators" masterscript

I use this script running my "gladiators" server. Its simple and effective, and also quite fun. When someone dies, it drops an energy pack and a burst that explodes immediately. It could easily be modified to drop health packs, resource items, asteroids, or cores.

I run the server with strictly FFA maps, which complements the script.

  Code:
function onShipKilled(ship)
    local loc = ship:getLoc()
   
    local boom = Burst.new()
    boom:setLoc(loc)
    levelgen:addItem(boom)
   
    local spoils = EnergyItem.new()
    spoils:setLoc(loc)
    spoils:setRegenTime(10000) --Technically not optimal, but does the job.
    levelgen:addItem(spoils)
end

function onMsgReceived(message, playerInfo)
    if(message == "!info") then
        globalMsg("Killing someone will cause them to drop a burst and an energy pack")
    end
end

function main()
    subscribe(Event.MsgReceived)
    subscribe(Event.ShipKilled)
end
Little_Apple wrote:DnD: the REAL bitfighter levelgen documentation

Santiago ZAP wrote:bob doesn't make new maps, he makes new gamemodes
<<

thread

User avatar

Posts: 36

Joined: Sun Apr 28, 2013 3:37 pm

Location: SPAAAAAACCE!!!!!

Post Fri May 10, 2013 1:53 am

Re: "Gladiators" masterscript

bobdaduck wrote:It could easily be modified to drop health packs, resource items, asteroids, or cores.

Can you imagine creating a core every time a player dies? I can't see it ending well
_
\/
*
*
*
<<

Quartz

User avatar

Posts: 901

Joined: Thu Jun 17, 2010 12:14 am

Location: Texas

Post Fri May 10, 2013 1:48 pm

Re: "Gladiators" masterscript

Nice!

bobdaduck wrote:I run the server with strictly FFA maps, which compliments the script.

*complements

thread wrote:
bobdaduck wrote:It could easily be modified to drop health packs, resource items, asteroids, or cores.

Can you imagine creating a core every time a player dies? I can't see it ending well

Pssh what do you mean, that would be great.
Exploits of Quartz and bobdaduck - Pleiades Maps
19-year-old Quartz mad about lawn removal
raptor wrote:sometimes I think getting Quartz to use plugins is like getting my mom to use a computer

Return to Levelgen Gallery

Who is online

Users browsing this forum: No registered users and 7 guests