Blockland Forums > Suggestions & Requests

[Solved] Fix for Item_Score_Pickups and Player_L4DSurvivor

(1/2) > >>

Spartan224:
So, there's two add-ons I want to use together. But whenever I try to pickup the score items, they don't work with the playertype. I know the L4D Survivor playertype has customization to edit what items can be picked up for each category, but that still doesn't work neither? Here's the two add-ons, and I have a console log. These add-ons don't work correctly even with every other add-on besides those two enabled.

Item_Score_Pickups (RTB)
Player_L4DSurvivor (RTB)

I had trace enabled when testing the two add-ons in the console log, just for those wondering.

Revive:
Here: https://cdn.discordapp.com/attachments/535827708630925313/535827741061283851/Player_L4DSurvivor.zip

Did some testing myself, but let me know if it doesn't work.

Spartan224:
Thanks Revive, I tried to do some testing with the setting the coin item on a brick and making an event for it to spawn when activated, but the same issue regardless with your fix.

EDIT: I also edited the .txt files that determine which items are going to be used for each slot, and enabled the Coin(Copper) item in every .txt file, but still the same issue.
Provided a new console log with trace enabled as well.

Revive:
I looked at my file again and realised I should be ashamed for posting such a terrible fix. I got it to kinda work now, but the problem is whenever I pick up the coin/gem I get both the points and an empty item (a white printgun with no name). If you want to take a look at the code yourself, I would recommend you to take a look at Support_L4DItems.cs in the Player_L4DSurvivor addon. Look for the function Player::pickup(%player,%item);

I'll continue to take a look at it, but I'm not sure if I'm able to get it fixed.

Spartan224:
Huh, well darn. If there's no simple way to fix this then I may have to look for an alternative.

Navigation

[0] Message Index

[#] Next page

Go to full version