Posts
2,148
Respect
352Add +1
Forum Rank
King of the Zombies
Primary Group
Donator ♥
Login Issues
Forgot password?Activate Issues
Account activation email not received? Wrong account activation email used?Other Problems?
Contact Support - Help Center Get help on the UGX Discord. Join it now!Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
I think it might just be a problem for you. I have been using edited stock scripts for a while and it seems to work for me.
Are you editing the original script or a copy?
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
Try just editing the original file and don't add anything to the zone file. If that works then its a problem with either adding it to zone or copying it.
Nope, still didnt change anything.
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
Hmm this should be working, make sure you checked the link button when compiling in launcher. If nothing else works ill go look and see if i'm doing anything different.
Yup, I am checking link when I compile. I also compile my map as well. Would that make any difference?
I am editing the _zm_score. Just as a test, its a simple iprintlnbold that runs in the minus_to_player_score function
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
Nope, what are you specifically trying to change? Ill try to change it myself to see if its just you having this problem.
Just read what you edited, ill check it out.
Double Post Merge: October 08, 2016, 11:36:50 pm
I just copied the script into usermaps/mapname/scripts/zm and then added it to the zone file and entered the game.
It didn't show the println but that might be because I tested it on a door, I'm not sure but doors might not use that function to take points.
I'm going to make a script real quick to test this and see if that function will show the println.
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
I did see something like this happen before. I was making a perk to double the points gained by kills and it seems like the score never doubled and it was just as normal. I'm trying to see if I can get it to work right now.
Double Post Merge: October 08, 2016, 11:43:13 pm
One problem might be where you place the script. All of my custom scripts are in a new folder I made inside share/raw/scripts.
Also when trying to compile with the _zm_perks.gsc inside my zone file and copied inside my scripts folder I get an error when compiling. I didn't edit the script at all.Spoiler: click to open...^1
^1^
^1ERR(6E) scripts/custom/_zm_score.gsc (706,0) : Compiler Internal Error : Unresolved external 'zm_pers_upgrades_functions::pers_upgrade_pistol_points_set_score'[close]
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
It doesn't really matter as long as the scripts work. I can't seem to find a way for editing these scripts to work.
If you specifically want to do something inside the minus player points function i suppose you could waittill the notify that happens when minus player points is complete, but this would still only work for this function and any other function that has a notify.
That probably wouldnt work, because I would also need to know how much the players spent, and I really cant do that outside of the minus_to_player_score function
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
Best we can do is keep looking. It really seems like they would allow us to do this since they included the scripts for us to use in the first place.