Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Donate
Collapse

Plutonium

  1. Home
  2. BO2 Modding Releases & Resources
  3. [Resource] FFA Trickshotting base mod

[Resource] FFA Trickshotting base mod

Scheduled Pinned Locked Moved BO2 Modding Releases & Resources
trickshotffamodgsc
28 Posts 7 Posters 5.8k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Niferundefined Nifer

    Enki The Sniper only damage makes you immune to even death barriers.
    Please help ;(

    Ioofundefined Offline
    Ioofundefined Offline
    Ioof
    Contributor
    wrote on last edited by
    #12

    Nifer Oh yea sorry about that i uploaded a updated version with that
    just redownload

    Niferundefined 1 Reply Last reply
    0
    • Ioofundefined Ioof

      Hello there..

      Since there are alot of people that need help with gsc scripting etc.
      i decided to create a mod base for a FFA trickhotting mod.

      Features :

      • Welcome Message

      • Sniper only damage ( including Ballistic Knife,Tomahawk and the FAL )

      • Midgame classchange

      • Lowered death barriers for following maps:

        Detour
        Uplink
        Hydro
        Vertigo

      Thing you should know :

      If you open the _clientids.gsc in the init() thread you can see this variable

      level.serverName = "Nuze's Server";
      

      be sure to put your server name in there this appears in the welcome message.

      Note :
      This mod is ready to load just compile the mod rename it to _clientids.gsc
      and drag it in your data/t6r/maps/mp/gametypes folder and start your dedicated server.

      Edit :
      11.02.2020 :

      • Fixed deathbarriers / fall damage

      12.02.2020 :

      • you are now able to change to the same class that you have already equipped

      Download

      Emosewajundefined Offline
      Emosewajundefined Offline
      Emosewaj
      VIP
      wrote on last edited by
      #13

      Enki instead of manually setting level.serverName, why not get the server name from the config?

      level.serverName = getDvar( "sv_hostname" );
      
      Ioofundefined 1 Reply Last reply
      0
      • Emosewajundefined Emosewaj

        Enki instead of manually setting level.serverName, why not get the server name from the config?

        level.serverName = getDvar( "sv_hostname" );
        
        Ioofundefined Offline
        Ioofundefined Offline
        Ioof
        Contributor
        wrote on last edited by
        #14

        Emosewaj the level. ServerName is only made for the welcome message "Welcome to" +level. ServerName.....

        Looks stupid if there is the whole server title xd

        Emosewajundefined 1 Reply Last reply
        0
        • Ioofundefined Ioof

          Emosewaj the level. ServerName is only made for the welcome message "Welcome to" +level. ServerName.....

          Looks stupid if there is the whole server title xd

          Emosewajundefined Offline
          Emosewajundefined Offline
          Emosewaj
          VIP
          wrote on last edited by
          #15

          Enki other suggestion then:

          server.cfg

          set sv_hostname "some really long name with colour codes"
          set sv_displayname "short server name"
          

          _clientids.gsc

          setDvarIfUninitialized( "sv_displayname", getDvar( "sv_hostname" );
          level.serverName = getDvar( "sv_displayname" );
          
          Emosewajundefined 1 Reply Last reply
          0
          • Emosewajundefined Emosewaj

            Enki other suggestion then:

            server.cfg

            set sv_hostname "some really long name with colour codes"
            set sv_displayname "short server name"
            

            _clientids.gsc

            setDvarIfUninitialized( "sv_displayname", getDvar( "sv_hostname" );
            level.serverName = getDvar( "sv_displayname" );
            
            Emosewajundefined Offline
            Emosewajundefined Offline
            Emosewaj
            VIP
            wrote on last edited by
            #16

            Emosewaj said in FFA Trickshotting base mod:

            other suggestion then:

            This way people don't have to edit the GSC and have to recompile but can easily change it through the server config or even change it dynamically using other scripts.

            Ioofundefined 2 Replies Last reply
            0
            • Emosewajundefined Emosewaj

              Emosewaj said in FFA Trickshotting base mod:

              other suggestion then:

              This way people don't have to edit the GSC and have to recompile but can easily change it through the server config or even change it dynamically using other scripts.

              Ioofundefined Offline
              Ioofundefined Offline
              Ioof
              Contributor
              wrote on last edited by
              #17

              Emosewaj yea good idea adding it if I'm back home

              1 Reply Last reply
              0
              • Ioofundefined Ioof

                Nifer Oh yea sorry about that i uploaded a updated version with that
                just redownload

                Niferundefined Offline
                Niferundefined Offline
                Nifer
                wrote on last edited by
                #18

                Enki oh lol I fixed it myself after fiddling with the code for a while xD

                1 Reply Last reply
                0
                • Emosewajundefined Emosewaj

                  Emosewaj said in FFA Trickshotting base mod:

                  other suggestion then:

                  This way people don't have to edit the GSC and have to recompile but can easily change it through the server config or even change it dynamically using other scripts.

                  Ioofundefined Offline
                  Ioofundefined Offline
                  Ioof
                  Contributor
                  wrote on last edited by Ioof
                  #19

                  Emosewaj i thought about adding it again

                  but my point with this thread is not spoonfeeding the people with a mod

                  i actually want that the not so experienced people maybe look at the code and maybe learn from it

                  the mod has the basic stuff that a trickshot server needs but there is still stuff that people want .

                  and it feels like the people that want other scripts etc. are just begging here in the forum to send them a ready to use scripts

                  after all i dont think changing a variable and compiling a mod should be that hard😜

                  1 Reply Last reply
                  0
                  • treyfulundefined Offline
                    treyfulundefined Offline
                    treyful
                    wrote on last edited by
                    #20

                    for some reason my server crashes upon adding match bonus?

                    Ioofundefined 1 Reply Last reply
                    0
                    • treyfulundefined treyful

                      for some reason my server crashes upon adding match bonus?

                      Ioofundefined Offline
                      Ioofundefined Offline
                      Ioof
                      Contributor
                      wrote on last edited by
                      #21

                      treyful this is what I mean with my post above
                      People just trynna copy and paste without looking at the code
                      _globallogic....

                      treyfulundefined 1 Reply Last reply
                      0
                      • Ioofundefined Ioof

                        treyful this is what I mean with my post above
                        People just trynna copy and paste without looking at the code
                        _globallogic....

                        treyfulundefined Offline
                        treyfulundefined Offline
                        treyful
                        wrote on last edited by
                        #22
                        This post is deleted!
                        1 Reply Last reply
                        0
                        • Ioofundefined Offline
                          Ioofundefined Offline
                          Ioof
                          Contributor
                          wrote on last edited by
                          #23

                          treyful said in FFA Trickshotting base mod:

                          cause you think i don't understand gsc

                          alright let say it like this in the matchbonus code there is a function
                          but the function is not placed in my mod its placed in the raw file _globallogic_score.gsc

                          how do you get acces to the file that has that function without loading it in your mod?

                          a. use the #include function to get acces to all the scripts that are placed in the file
                          b. use the folder path to thread the function outside your current gsc file

                          hint: there a 2 correct answers

                          treyfulundefined 1 Reply Last reply
                          0
                          • Ioofundefined Ioof

                            treyful said in FFA Trickshotting base mod:

                            cause you think i don't understand gsc

                            alright let say it like this in the matchbonus code there is a function
                            but the function is not placed in my mod its placed in the raw file _globallogic_score.gsc

                            how do you get acces to the file that has that function without loading it in your mod?

                            a. use the #include function to get acces to all the scripts that are placed in the file
                            b. use the folder path to thread the function outside your current gsc file

                            hint: there a 2 correct answers

                            treyfulundefined Offline
                            treyfulundefined Offline
                            treyful
                            wrote on last edited by
                            #24

                            Enki thank you. all i needed

                            1 Reply Last reply
                            0
                            • lulaundefined Offline
                              lulaundefined Offline
                              lula
                              Contributor
                              wrote on last edited by
                              #25

                              im getting this error

                              1 script error(s):
                              Unresolved external : "init" with 0 parameters in "maps/mp/gametypes/_globallogic.gsc" at lines 1,1 **

                              1 Reply Last reply
                              0
                              • Ioofundefined Offline
                                Ioofundefined Offline
                                Ioof
                                Contributor
                                wrote on last edited by Ioof
                                #26

                                Why globallogic.gsc? I did not include it anywhere

                                And btw I removed the matchbonus its causing some problems looking for a better way

                                1 Reply Last reply
                                0
                                • Ioofundefined Ioof

                                  Hello there..

                                  Since there are alot of people that need help with gsc scripting etc.
                                  i decided to create a mod base for a FFA trickhotting mod.

                                  Features :

                                  • Welcome Message

                                  • Sniper only damage ( including Ballistic Knife,Tomahawk and the FAL )

                                  • Midgame classchange

                                  • Lowered death barriers for following maps:

                                    Detour
                                    Uplink
                                    Hydro
                                    Vertigo

                                  Thing you should know :

                                  If you open the _clientids.gsc in the init() thread you can see this variable

                                  level.serverName = "Nuze's Server";
                                  

                                  be sure to put your server name in there this appears in the welcome message.

                                  Note :
                                  This mod is ready to load just compile the mod rename it to _clientids.gsc
                                  and drag it in your data/t6r/maps/mp/gametypes folder and start your dedicated server.

                                  Edit :
                                  11.02.2020 :

                                  • Fixed deathbarriers / fall damage

                                  12.02.2020 :

                                  • you are now able to change to the same class that you have already equipped

                                  Download

                                  ImVeryTwistedundefined Offline
                                  ImVeryTwistedundefined Offline
                                  ImVeryTwisted
                                  wrote on last edited by
                                  #27

                                  Enki Only wanted this for the lowered barriers, issue is that when i saw on lets say detour, i die instantly. I know why this is happening but i dont know how to find out the actual variables for the maps barriers. Happens on all maps you’ve included. Forgive me if it works for you and I’ve just not used it in my code correctly but it’s a weird one

                                  1 Reply Last reply
                                  0
                                  • Ioofundefined Offline
                                    Ioofundefined Offline
                                    Ioof
                                    Contributor
                                    wrote on last edited by
                                    #28

                                    Yea i had that issue before but

                                    if you look at the code :
                                    -You are going to call it if you spawn
                                    -Only moves the barriers that have a lower z axis that you have after you spawned

                                    there is no way you are going to die after adding the code

                                    but the most importent thing is to call it on onPlayerSpawned

                                    1 Reply Last reply
                                    0
                                    Reply
                                    • Reply as topic
                                    Log in to reply
                                    • Oldest to Newest
                                    • Newest to Oldest
                                    • Most Votes


                                    • 1
                                    • 2
                                    • Login

                                    • Don't have an account? Register

                                    • Login or register to search.
                                    • First post
                                      Last post
                                    0
                                    • Recent
                                    • Tags
                                    • Popular
                                    • Users
                                    • Groups
                                    • Donate