[Resource] FFA Trickshotting base mod
-
treyful this is what I mean with my post above
People just trynna copy and paste without looking at the code
_globallogic.... -
treyful this is what I mean with my post above
People just trynna copy and paste without looking at the code
_globallogic....This post is deleted! -
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.gschow 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 filehint: there a 2 correct answers
-
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.gschow 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 filehint: there a 2 correct answers
Enki thank you. all i needed
-
im getting this error
1 script error(s):
Unresolved external : "init" with 0 parameters in "maps/mp/gametypes/_globallogic.gsc" at lines 1,1 ** -
Why globallogic.gsc? I did not include it anywhere
And btw I removed the matchbonus its causing some problems looking for a better way
-
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
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
-
-
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 spawnedthere is no way you are going to die after adding the code
but the most importent thing is to call it on onPlayerSpawned