1. Post #281
    Rude member.
    koekje4life V2's Avatar
    August 2010
    4,783 Posts
    Did you remove me from steam friend oh god why. :saddowns:

  2. Post #282
    MerzBro's Avatar
    January 2011
    1,149 Posts
    I purge my friend list on a regular basis because it gets filled with random people too often.

  3. Post #283
    SeveredSkull's Avatar
    October 2008
    1,316 Posts
    MerzBro. Is what I did for my server a while back was attempt to make a storyline. I set your Prerequisites to a variable for each player for each faction. A player could go and attempt the storyline with each faction. The quest would check and see if they had a variable on them, if the variable was equal to the prerequisite, then they were allowed to take the quest. If not, then it wouldnt show up. My basic storyline for Exodus was as followed:

    Find gas (Modified info_lootspawn to spawn gas, as well as a modified point_footlocker to use as a container, such as gastanks in car props)

    bring gas to exodus generator (Again, a modified point_footlocker that would use a Think() function to see if there was gas in the container. If so, remove one and wait 5 minutes) - Results in Power for base

    Power allows you to run special missions further down the road, as well as power the team's defense system (npc_turret)

    The next task for Exodus was to get their computers up and running. This required the player to go find electrical parts to repair the computer, and then bring them back

    After I had that done, I had the player seek out certain NPC's to obtain an experimental weapon that Kliener had seen.

    The player then must work to obtain parts to repair the weapon.

    Once the weapon is complete, Kliner then wanted to establish a trade route between Exodus and the MWA. You must then go to the MWA base and speak with thier trader.

    After trade routes were established, the MWA requested assistance for a gaurded escort back and forth with valuable goods. (The player can choose to kill the MWA shipment to take it for itself, but this forces the player onto a custom team that is for murderers and thugs -- Fifferent storyline)

    etc etc (Not gonna give you my whole Exodus storyline here!)

    Eventually, they build up their base and try to conquer the wasteland.


    But yeah. Hows that for "outside the box"? I had to heavily modify the code a bit, as well as creating some custom items and entities... but Overall it went pretty well for the few weeks that the host decided to use it.

    Edited:

    How about a quest where you need to carry some sort of heavy transmitter thing and stay within a certain area for some time, and you'd be randomly attacked by fast zombies or something

    Oh I did that too. It didnt work out too well at first. I had to think to remove all the items/npc's if the player was to fail the quest. I had about 3 ppl attempt it, and it got to a point where it was hard to kill all of the NPC Rouges over the course of about 5 attempts.

    Edited:

    Gaybows anyone?

  4. Post #284
    MerzBro's Avatar
    January 2011
    1,149 Posts
    Sounds to me like you've combined multiple quests into one.

  5. Post #285
    Rude member.
    koekje4life V2's Avatar
    August 2010
    4,783 Posts
    I purge my friend list on a regular basis because it gets filled with random people too often.
    I had so much useful info to tell you, like bugs and such in the game. Also, another wipe?

  6. Post #286
    SeveredSkull's Avatar
    October 2008
    1,316 Posts
    Sounds to me like you've combined multiple quests into one.
    Kinda. I did do some of my own quests, such as the escorting, and defense. But I really didn't have much else to do seeing as the person whom I was doing all this for shut down his server. But seeing as there was a background given to each faction, I tried to fill the bit of mystery in with reason as to why they are the way they are. The system is pretty open and definately can be expanded upon. Imagination is the only restriction right now. Could go anywhere from obtaining an item, to escorting an NPC, to holding out in a bunker, to trying challenges given by NPC's, (Such as surviving a storm without cover)

    Im sure you could come up with something.Pay attenion to what players are saying in the chats... Im sure people are trying to come up with things to pass the time. Mabye some of them are inventing their own challenges/bets for other players. Turn those into part of the gamemode.

  7. Post #287
    MerzBro's Avatar
    January 2011
    1,149 Posts
    Well if any of your missions are balanced and not entirely impossible to do, feel free to post them.

    I was thinking of adding some sort of interesting item on the map for players to contest. Like an army radio that lets you call in supply drops when used.

    A mission for each team would be to take over said radio. Once a team has taken over the radio they can call in supply drops every minute. A helicopter would drop a crate containing weapons and ammo or something.

  8. Post #288
    SeveredSkull's Avatar
    October 2008
    1,316 Posts
    Well if any of your missions are balanced and not entirely impossible to do, feel free to post them.

    I was thinking of adding some sort of interesting item on the map for players to contest. Like an army radio that lets you call in supply drops when used.

    A mission for each team would be to take over said radio. Once a team has taken over the radio they can call in supply drops every minute. A helicopter would drop a crate containing weapons and ammo or something.
    Problem with that is how the quest system works. Multiple players can take the same quest at the same time. If you have, say WORST case scenario... everyone takes the quest at the same time. If everyone does whatever they need to do, then they will all "Take the station".

    Everyone gets rewarded for their efforts, and the last person to claim it takes the perk.You would have to figure out a way to keep that in order.

    On a side note... Merz you wouldnt happen to be an Alt of Rambo_6...? I was reading seeing you adding more items and such... Are you just doing that on your own, or are you an Alt trying to bring back this gamemode?

  9. Post #289
    MerzBro's Avatar
    January 2011
    1,149 Posts
    If multiple players went on the mission, then there would be a lot of bloodshed. Eventually one player would manage to take the station. They would have to make sure it stays secure while they go back to their trader to get the reward or something.

    I've been too busy with other stuff to worry about making new missions.

    My next big update will overhaul the current money system and make it more optimized and modular.

  10. Post #290
    SeveredSkull's Avatar
    October 2008
    1,316 Posts
    My next big update will overhaul the current money system and make it more optimized and modular.
    Oh God! Thank the lord. Do the inventory while you're at it. That system lagged like hell with constant queries. It got to a point where I started requiring players to dump their shit frequently because of the massive amounts of data being streamed to the clients.

  11. Post #291
    MerzBro's Avatar
    January 2011
    1,149 Posts
    Inventories are already optimized to the best of my ability. Unless someone comes out with a better version of datastream i can't optimize any further.

    This cash fix probably solved a lot of the synch bugs and whatnot, since selling or buying items caused inventories to synch twice. I dunno why i didn't optimize that earlier, probably because i lost interest way back when i started this.

  12. Post #292
    SeveredSkull's Avatar
    October 2008
    1,316 Posts
    Awesome. Heres a change I made for my Hoster. He hated the fact that Radiation didn't get absorbed into your body. And personally I found it a little overwhelming as well. If you agree. I tweaked the Think function to remove 1 level of Rads every minute. It doesnt stop you from dying, but it does make it a little less overpowering. You will need to grab your values for the damage tables though, as the Hoster had me nerf the whole system in general. I dont have the original values anymore:

    Code:
    function meta:Think()
    
        if not self:Alive() then return end
        
        if self.InQuest then
        
            local quest = GAMEMODE:GetQuest( self:GetQuestID() )
            
            quest.StatusThink( self )
        
        end
        
        if self:HasItem( "models/items/battery.mdl" ) then
        
            local tbl = ents.FindByClass( "anomaly*" )
            tbl = table.Add( tbl, ents.FindByClass( "point_radiation" ) )
        
            for k,v in pairs( tbl ) do
            
                local dist = v:GetPos():Distance( self:GetPos() )
            
                if dist < v:GetRadiationRadius() + 300 and dist > v:GetRadiationRadius() and ( v:GetClass() != "point_radiation" or v:IsActive() ) then
                
                    if ( self.WarningTime or 0 ) < CurTime() then
                    
                        local scale = ( ( dist - v:GetRadiationRadius() ) / 300 )
                    
                        self.WarningTime = CurTime() + 0.1 + scale * 1.25
                        
                        self:EmitSound( "radbox/warning.wav", 50, 100 + ( 1 - scale ) * 20 )
                    
                    end
                
                end
            
            end
        
        end
        
        //FIX THIS!
        if self:GetRadiation() == 0 then
            //reset the heal time so that way we dont remove the fist level when we get it.
            self.HealTime = CurTime() + 60 -- Haha... Thatll fix it... 
        end
        if (self:GetRadiation() > 0) then
            //Dont remove the radiation on the first time when its accumulated.
    
        //Heals 1 level of radiaion every 60 seconds.
            if (self.HealTime < CurTime()) then
                print("set an additional min because we healed.")
                self.HealTime = CurTime() + 60
                self:AddRadiation(-1)
            end
        end
            
        if ( self.PoisonTime or 0 ) < CurTime() and self:GetRadiation() > 0 then
        
            self.PoisonTime = CurTime() + 1
                    
            local paintbl = { 0,   0, -1, -1, -2, -2, -3, -3, -4}
            local stamtbl = { 0,  -1, -2, -2, -3, -3, -3, -3, -4}
        
            self:AddHealth( paintbl[ self:GetRadiation() ] )
            self:AddStamina( stamtbl[ self:GetRadiation() ] )
            
            if self:KeyDown( IN_SPEED ) and self:GetVelocity():Length() > 0 then
            
                self:AddStamina( -2 )
            
            end
        
        end
    
        if ( self.HealTime or 0 ) < CurTime() then
    
            self.HealTime = CurTime() + 1.5
            
            if self:IsBleeding() and self:Health() < 100 then
            
                self:AddHealth( -1 )
            
            elseif not self:IsBleeding() then
            
                self:AddHealth( 1 )
            
            end
        
        end
        
        if self:GetRadiation() > 0 then return end
        
        if ( self.StamTime or 0 ) < CurTime() then
            
            if self:GetStamina() < 10 and ( !self:KeyDown( IN_SPEED ) and self:GetVelocity():Length() < 1 ) then
            
                self.StamTime = CurTime() + 2.5
            
            end
            
            if self:KeyDown( IN_SPEED ) and self:GetVelocity():Length() > 0 and self:GetWeight() < GAMEMODE.MaxWeight then
            
                self:AddStamina( -2 )
                self.StamTime = CurTime() + 0.5
            
            elseif self:GetWeight() < GAMEMODE.OptimalWeight then
            
                self:AddStamina( 2 )
                self.StamTime = CurTime() + 1.0
                
            elseif self:GetWeight() < GAMEMODE.MaxWeight then
            
                self:AddStamina( 1 )
                self.StamTime = CurTime() + 1.0
            
            end
        
        end
    
    end
    Edited:

    Oh. And you told me to post one of my quests:
    Heres an example of what I meant by a challenge (KEEP IN MIND that I tweaked the system as I stated earlier. You will need to change the rad level back to 5 or so... I dont remember the original values.)

    Code:
    // Find the loot quest
    
    if CLIENT then
        GM:RegisterQuest( "Main: A Fresh Start (A01-B)", "radbox/menu_loot",  "A01-B", "A01-A", TEAM_ARMY)
        return
    
    end
    
    local QUEST = {}
    QUEST.ID = "A01-A"
    QUEST.PreReq = "none"
    QUEST.Start = function( ply )
        
        local zombie = table.Random( ents.FindByClass( "npc_zombie*" ) )
        
        if ValidEntity( zombie ) then
        
            ply:SetRadarTarget( zombie )
        
        end
        ply:DialogueWindow("This time, you need to prove to us that you can survive out there in the harsh conditions. You're no good to us. Reach a radiation level of 8 and come back to us.")
        ply.QuestNum = 0
        ply:Notify( "You can heal your Rads once you aquire Level 8 radiation. We just want you to see what it feels like." )
        
    end
    
    QUEST.CanStart = function( ply )
        canstart = false
        if (ply:Team() == TEAM_ARMY) then
            if (ply:GetNWString("AProg") == QUEST.PreReq) then
                canstart = true
            end
        end
        if not canstart then
            ply:DialogueWindow( "This mission is not available." )
        end
        return canstart
    end
    
    QUEST.Cancel = function( ply )
    
        ply:SetInQuest( false, 0 )
        ply:SetRadarTarget( NULL )
        ply.QuestNum = nil
    
    end
    
    QUEST.StatusThink = function( ply )
        if ply.QuestStatusChange == false then
            if ply:GetRadiation() >= 8 then
                ply:Notify( "Great! Heal up and head back to base." )
                ply.QuestStatusChange = true
                
            elseif ply:GetRadiation()  == 5 then
                ply:Notify( "Just a little more radiation. Hang in there..." )
            end    
        end
    end
    
    QUEST.CanEnd = function( ply )
    
        return ply.QuestStatusChange
        
    end
    
    QUEST.Dialogue = function( ply )
    
        ply:DialogueWindow( "You haven't gotten to Radiation Level 8 yet." )
    
    end
    
    QUEST.End = function( ply )
        ply:DialogueWindow("So how'd that radiation feel? Good to see you came back to us alive. Here's some cash to repay you for the med's you may have used. Let us know when you're ready for you next test.")
        ply:AddCash( 400 )
        ply:SetInQuest( false, 0 )
        ply:SetRadarTarget( NULL )
        ply.QuestNum = nil
        ply:SetNWString("AProg", "A01-B")
    end
    
    GM:RegisterQuest( QUEST )
    Thats for the MWA... The second quest available after you kill a few zombies to prove yourself to them.
    Reply With Quote Edit / Delete Reply United States Show Events Lua Helper Lua Helper x 1Useful Useful x 1 (list)

  13. Post #293
    Gold Member
    zeldar's Avatar
    July 2007
    7,434 Posts
    Hey Merz, is Chernobyl admin yet?

  14. Post #294
    SeveredSkull's Avatar
    October 2008
    1,316 Posts
    Hey Merz, is Chernobyl admin yet?
    Where is the server in the first place. I cant find it. >.>

  15. Post #295
    MerzBro's Avatar
    January 2011
    1,149 Posts
    Nice to see people are messing around with the quest system.

  16. Post #296
    Gold Member
    zeldar's Avatar
    July 2007
    7,434 Posts
    I wanna play this again badly, but I'm afraid Chernobyl will ban me for constantly declaring war on everyone.

  17. Post #297
    SeveredSkull's Avatar
    October 2008
    1,316 Posts
    Nice to see people are messing around with the quest system.

    Like I said. I had fiddled with it alot to where I had a whole storyline for Exodus. I started on the MWA until the hoster shut down the server. Since then I haven't touched it... The quest system is surprisingly flexible. Its just figure out more specific and non-generic quests seem to be the problem.
    Reply With Quote Edit / Delete Reply United States Show Events Agree Agree x 1 (list)

  18. Post #298
    MerzBro's Avatar
    January 2011
    1,149 Posts
    I wanna play this again badly, but I'm afraid Chernobyl will ban me for constantly declaring war on everyone.
    I'm the only admin right now. I don't really see a point in getting more admins because it just promotes drama and general retardation.

    People can settle their silly disputes without being threatened with bans as far as i'm concerned.

    That said, if i catch people being shitlords (ie. exploiting bugs or just being a complete dick to everyone in the server) then i will not hesitate to send the ban train your way.
    Reply With Quote Edit / Delete Reply Canada Show Events Winner Winner x 2 (list)

  19. Post #299
    SeveredSkull's Avatar
    October 2008
    1,316 Posts
    I'm the only admin right now. I don't really see a point in getting more admins because it just promotes drama and general retardation.

    People can settle their silly disputes without being threatened with bans as far as i'm concerned.

    That said, if i catch people being shitlords (ie. exploiting bugs or just being a complete dick to everyone in the server) then i will not hesitate to send the ban train your way.
    IP? I wouldnt mind hopping in for a bit sometime tommorow

  20. Post #300
    MerzBro's Avatar
    January 2011
    1,149 Posts
    It's in the OP.

    I just finished a big update. Money now doesn't suck ass.

    I've also added another artifact and rejigged the Death Pearl Anomaly (it's now the Storm Pearl). More pretty effects, more dangerous hazards to look out for.

    Check the new interface. Money is no longer an object with an image, you now simply use the bottom left controls to drop/stash/take money.

    Reply With Quote Edit / Delete Reply Canada Show Events Friendly Friendly x 5 (list)

  21. Post #301
    FISSION MAILED
    PredGD's Avatar
    January 2010
    8,106 Posts
    I've launched a server with a previous revision (two updates). I got this weird bug where you join the server, choose your faction, then you're able to fly around. Kill doesn't work, so you're unable to spawn. To play, we gotta fly into radiation and die. When you spawn, you'll spawn at the maps original spawn point, not the faction spawn point. To fix this, you gotta die again and re-choose your faction. Oh and yeah, when you die, you get spammed by LUA errors, unable to get it right now tho.
    Reply With Quote Edit / Delete Reply Norway Show Events Disagree Disagree x 1 (list)

  22. Post #302
    Vakser's Avatar
    November 2009
    19 Posts
    I've launched a server with a previous revision (two updates). I got this weird bug where you join the server, choose your faction, then you're able to fly around. Kill doesn't work, so you're unable to spawn. To play, we gotta fly into radiation and die. When you spawn, you'll spawn at the maps original spawn point, not the faction spawn point. To fix this, you gotta die again and re-choose your faction. Oh and yeah, when you die, you get spammed by LUA errors, unable to get it right now tho.
    That's fixed long time ago.....

  23. Post #303
    Rude member.
    koekje4life V2's Avatar
    August 2010
    4,783 Posts
    I've launched a server with a previous revision (two updates)
    Update it. Problem solved.

  24. Post #304
    MerzBro's Avatar
    January 2011
    1,149 Posts
    If anyone makes a bug report and they aren't fully up to date then i will just ignore it.

    Also, a little sneak peek at what i've been working on. Nightvision is now toggle-able, and it highlights players.



    Also, a new artifact type. Not going to say what.

    Here's a picture of a Pearl exploding.


  25. Post #305
    Rude member.
    koekje4life V2's Avatar
    August 2010
    4,783 Posts
    Holy shit we need to change the map to Atomic or Apocalypse because Garbage is seriously small. Sniper rifles don't even make any sense.

  26. Post #306
    MerzBro's Avatar
    January 2011
    1,149 Posts
    What about this map?

    http://www.garrysmod.org/downloads/?a=view&id=58099

    e: Never mind that map is too wide open.

  27. Post #307
    Gold Member
    zeldar's Avatar
    July 2007
    7,434 Posts
    That said, if i catch people being shitlords (ie. exploiting bugs or just being a complete dick to everyone in the server) then i will not hesitate to send the ban train your way.
    Do constant declarations of war against everyone and killing everyone in attempted peace treaty sessions count?

    Edited:

    What about this?

    http://www.garrysmod.org/downloads/?a=view&id=57969

  28. Post #308
    Rude member.
    koekje4life V2's Avatar
    August 2010
    4,783 Posts
    Do constant declarations of war against everyone and killing everyone in attempted peace treaty sessions count?
    Isn't this what RadBox is all about, inventing your own fun?
    Reply With Quote Edit / Delete Reply Netherlands Show Events Agree Agree x 1Artistic Artistic x 1 (list)

  29. Post #309
    MerzBro's Avatar
    January 2011
    1,149 Posts
    Fixed the inventory dupe bug.

    Items are now more customizable, you can override the default item drop code by returning false from an item's drop function. Check the example in the OP for more info..

    There's also a new convar for servers letting them handle how much day/night affects people indoors. Each map probably has its own unique value.

  30. Post #310
    SeveredSkull's Avatar
    October 2008
    1,316 Posts
    Do constant declarations of war against everyone and killing everyone in attempted peace treaty sessions count?

    Edited:

    What about this?

    http://www.garrysmod.org/downloads/?a=view&id=57969

    That map is horrible. Its small, and there is a whopping total of 5 buildings.
    Reply With Quote Edit / Delete Reply United States Show Events Informative Informative x 1 (list)

  31. Post #311
    MerzBro's Avatar
    January 2011
    1,149 Posts
    Oh god this is probably going to be the best update ever. I've added a client convar that lets you look out of your ragdoll's eyes when you die. Vortexes now turn you into a ragdoll if you get sucked in.





    Those are clientside ragdolls by the way, so hardly any performance hit. Any item that hits the core of a vortex disappears (i assume they end up in a parallel dimension or something). Any NPC or player close enough to a vortex will be ragdolled and thrown around. I've made the vortex slightly more forgiving as well.

  32. Post #312
    Jamsponge's Avatar
    October 2009
    4,383 Posts
    Oh god this is probably going to be the best update ever. I've added a client convar that lets you look out of your ragdoll's eyes when you die. Vortexes now turn you into a ragdoll if you get sucked in.





    Those are clientside ragdolls by the way, so hardly any performance hit. Any item that hits the core of a vortex disappears (i assume they end up in a parallel dimension or something). Any NPC or player close enough to a vortex will be ragdolled and thrown around. I've made the vortex slightly more forgiving as well.
    I want that gun.
    Reply With Quote Edit / Delete Reply United Kingdom Show Events Funny Funny x 1 (list)

  33. Post #313
    SeveredSkull's Avatar
    October 2008
    1,316 Posts
    Out of curiosity... is there ANY reason as to why you are not running rp_apocalypse? That map is the decimator of all Post-Apocalyptic themed maps. Its HUGE, lots of buildings, lots of camps, etc. Think EvoCity2 huge...
    I personally used this map for my old server, and so did the hoster I was scripting for. I would hope to encourage you to do the same. And if it helps... I still have a copy of the entity data file, so I've already got the map set up for you for Radbox. (seeing as you probably just spent about 1-2 hours setting up gm_atomic...)

    http://www.garrysmod.org/downloads/?a=view&id=109989
    http://www.facepunch.com/threads/993307-gm_apocalypse
    http://www.youtube.com/watch?v=mvB3r-FDOsU

    It requires +r_hunkalloclightmaps 0 in the launch options, but since Garry made that a default, you dont need to set it anymore.

    Edit:
    Oh and it is reported due to the fact that the person who uploaded it is not the creator... Files are perfectly fine. (I'd still scan them... but thats just me being paranoid :P )

  34. Post #314
    Rude member.
    koekje4life V2's Avatar
    August 2010
    4,783 Posts
    Because in the past it crashed due to too many edicts when more than 10 people were on the server.

  35. Post #315
    SeveredSkull's Avatar
    October 2008
    1,316 Posts
    Because in the past it crashed due to too many edicts when more than 10 people were on the server.
    Odd. I never had my crash... Max Ive had on at once was 14... It got pretty damn laggy with the horrible optimization back then, but no crashes... ever.

  36. Post #316
    FISSION MAILED
    PredGD's Avatar
    January 2010
    8,106 Posts
    How do I become a loner?
    Reply With Quote Edit / Delete Reply Norway Show Events Funny Funny x 1 (list)

  37. Post #317
    Rude member.
    koekje4life V2's Avatar
    August 2010
    4,783 Posts
    You don't.

  38. Post #318
    FISSION MAILED
    PredGD's Avatar
    January 2010
    8,106 Posts
    Funny thing, I became one.
    Reply With Quote Edit / Delete Reply Norway Show Events Zing Zing x 1 (list)

  39. Post #319
    Rude member.
    koekje4life V2's Avatar
    August 2010
    4,783 Posts
    How, and on the official server or the other one?

  40. Post #320
    FISSION MAILED
    PredGD's Avatar
    January 2010
    8,106 Posts
    How, and on the official server or the other one?
    My own server, lul. 109.169.29.210:27015

    I've encountered a annoying bug where when you put something on your trader (stuff and so on), it doesn't save if the server is restarted. What is going on? People lose their stuff when the server is restarted!

    E:

    Doesn't look like I can spawn anomalies, wat? I just went on GM_atomic, and I can't find the anomalies on my item spawner gun, halp pl0x.