FFA Trickshotting base mod
@Emosewaj yea good idea adding it if I'm back home
@Enki oh lol I fixed it myself after fiddling with the code for a while xD
@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
for some reason my server crashes upon adding match bonus?
@treyful this is what I mean with my post above
People just trynna copy and paste without looking at the code
This post is deleted!
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
@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
@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 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