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 3.9k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • undefined Offline
    undefined Offline
    frosty
    replied to Ioof on Feb 12, 2020, 2:43 AM last edited by
    #10

    Enki copied the weapon damage thing from that and put it in mine, calling it correctly and everything.
    i get the error
    "**** Unresolved external : "isdamageweapon" with 1 parameters in "_clientids" at line 1 ****"

    1 Reply Last reply
    0
    • undefined Offline
      undefined Offline
      Nifer
      wrote on Feb 12, 2020, 3:54 AM last edited by
      #11

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

      undefined 1 Reply Last reply Feb 12, 2020, 11:36 AM
      0
      • undefined Offline
        undefined Offline
        Ioof Contributor
        replied to Nifer on Feb 12, 2020, 11:36 AM last edited by
        #12

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

        undefined 1 Reply Last reply Feb 12, 2020, 3:30 PM
        0
        • undefined Offline
          undefined Offline
          Emosewaj VIP
          replied to Ioof on Feb 12, 2020, 11:58 AM 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" );
          
          undefined 1 Reply Last reply Feb 12, 2020, 12:26 PM
          0
          • undefined Offline
            undefined Offline
            Ioof Contributor
            replied to Emosewaj on Feb 12, 2020, 12:26 PM 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

            undefined 1 Reply Last reply Feb 12, 2020, 2:08 PM
            0
            • undefined Offline
              undefined Offline
              Emosewaj VIP
              replied to Ioof on Feb 12, 2020, 2:08 PM 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" );
              
              undefined 1 Reply Last reply Feb 12, 2020, 2:15 PM
              0
              • undefined Offline
                undefined Offline
                Emosewaj VIP
                replied to Emosewaj on Feb 12, 2020, 2:15 PM 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.

                undefined 2 Replies Last reply Feb 12, 2020, 3:03 PM
                0
                • undefined Offline
                  undefined Offline
                  Ioof Contributor
                  replied to Emosewaj on Feb 12, 2020, 3:03 PM last edited by
                  #17

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

                  1 Reply Last reply
                  0
                  • undefined Offline
                    undefined Offline
                    Nifer
                    replied to Ioof on Feb 12, 2020, 3:30 PM 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
                    • undefined Offline
                      undefined Offline
                      Ioof Contributor
                      replied to Emosewaj on Feb 12, 2020, 9:03 PM last edited by Ioof Feb 12, 2020, 11:04 PM
                      #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
                      • undefined Offline
                        undefined Offline
                        treyful
                        wrote on Feb 12, 2020, 10:45 PM last edited by
                        #20

                        for some reason my server crashes upon adding match bonus?

                        undefined 1 Reply Last reply Feb 12, 2020, 11:25 PM
                        0
                        • undefined Offline
                          undefined Offline
                          Ioof Contributor
                          replied to treyful on Feb 12, 2020, 11:25 PM 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....

                          undefined 1 Reply Last reply Feb 12, 2020, 11:39 PM
                          0
                          • undefined Offline
                            undefined Offline
                            treyful
                            replied to Ioof on Feb 12, 2020, 11:39 PM last edited by
                            #22
                            This post is deleted!
                            1 Reply Last reply
                            0
                            • undefined Offline
                              undefined Offline
                              Ioof Contributor
                              wrote on Feb 12, 2020, 11:44 PM 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

                              undefined 1 Reply Last reply Feb 13, 2020, 12:40 AM
                              0
                              • undefined Offline
                                undefined Offline
                                treyful
                                replied to Ioof on Feb 13, 2020, 12:40 AM last edited by
                                #24

                                Enki thank you. all i needed

                                1 Reply Last reply
                                0
                                • undefined Offline
                                  undefined Offline
                                  lula Contributor
                                  wrote on Feb 14, 2020, 7:26 AM 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
                                  • undefined Offline
                                    undefined Offline
                                    Ioof Contributor
                                    wrote on Feb 14, 2020, 11:57 AM last edited by Ioof Feb 14, 2020, 1:59 PM
                                    #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
                                    • undefined Offline
                                      undefined Offline
                                      ImVeryTwisted
                                      replied to Ioof on Feb 15, 2020, 7:58 PM 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
                                      • undefined Offline
                                        undefined Offline
                                        Ioof Contributor
                                        wrote on Feb 16, 2020, 1:11 AM 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

                                        19/28

                                        Feb 12, 2020, 9:03 PM

                                        • 1
                                        • 2
                                        • Login

                                        • Don't have an account? Register

                                        • Login or register to search.
                                        1 / 2
                                        • First post
                                          19/28
                                          Last post
                                        0
                                        • Recent
                                        • Tags
                                        • Popular
                                        • Users
                                        • Groups
                                        • Donate