Coder Social home page Coder Social logo

Comments (12)

pkmnmstr98 avatar pkmnmstr98 commented on July 17, 2024

Also can anyone point me to where the color for the inventory boxes are set :)?

from pointshop2.

askrealcookie avatar askrealcookie commented on July 17, 2024

I can't really help you with your first problem as you should use older version of pac3 anyways to ensure icons are generated correctly(for some reasons newer versions can't do that) like this one: https://github.com/CapsAdmin/pac3/tree/0a5ac3501782ed848411ada341e4e9d3fdf281d1

About color of inventory boxes I'm not really sure if I understood you correctly but you should probably look into ps2/lua/kinv/client/cl_ditemstack.lua

from pointshop2.

pkmnmstr98 avatar pkmnmstr98 commented on July 17, 2024

Thank you! I was not aware that i had to use an older version of pac3. It doesn't state that in the docs.
What i want to do is change the weapon icons background in the inventory. Bellow is a picture to use for reference.

ps2exmp

from pointshop2.

askrealcookie avatar askrealcookie commented on July 17, 2024

sooo I'm not sure, but maybe try changing that:
ps2/lua/kinv/client/cl_ditemslot.lua @ line ~71
If it doesn't work you may need to use custom skin(https://github.com/snowywolf/Pointshop-2-Skin) or search in different place maybe.

from pointshop2.

pkmnmstr98 avatar pkmnmstr98 commented on July 17, 2024

I found out where to change it !!! Changing stuff in ps2/lua/kinv/client/cl_ditemslot.lua will change the color for all of the boxes but not for individual items

from pointshop2.

pkmnmstr98 avatar pkmnmstr98 commented on July 17, 2024

sooo I'm not sure, but maybe try changing that: ps2/lua/kinv/client/cl_ditemslot.lua @ line ~71 If it doesn't work you may need to use custom skin(https://github.com/snowywolf/Pointshop-2-Skin) or search in different place maybe.

Also, the pac3 version you linked. Is that the latest version you're aware of that works perfectly with pointshop2? I heard pac3 had/has some vulnerabilities that's why i had updated the one i was using.

from pointshop2.

askrealcookie avatar askrealcookie commented on July 17, 2024

I found out where to change it !!! Changing stuff in ps2/lua/kinv/client/cl_ditemslot.lua will change the color for all of the boxes but not for individual items
Great to hear you found the solution.

Not sure about pac3. There might be newer version working but I don't really know. I think the only issue with pac is when generating icons. If you want to use custom icons you could probably just install latest (but you'd need to create and upload all your icons to the server, it might take a lot of time depending on amount of items in shop).

from pointshop2.

pkmnmstr98 avatar pkmnmstr98 commented on July 17, 2024

Yeah i wont be able to do that lmao. I have over 1000 items. Something else i was curious about. If the items are not in the shop does the client still generate all the icons for all the items?

from pointshop2.

askrealcookie avatar askrealcookie commented on July 17, 2024

that's unfortunate haha. Could you elaborate on your question? What do you mean by "not in the shop", in "Not for sale" category? Client renders icon only once and then caches it. I think only icons in categories that are open or can be seen by players (not sure about that) are generated.

from pointshop2.

pkmnmstr98 avatar pkmnmstr98 commented on July 17, 2024

Ahh okay you answered my question then. Thank you for the help!

from pointshop2.

pkmnmstr98 avatar pkmnmstr98 commented on July 17, 2024

So i uploaded the pac version you sent and I'm still getting particle errors. It starts as soon as i buy the default per GMAN which comes with the particles attached.

Attempting to create unknown particle system 'larvae_glow_b' (x4)

from pointshop2.

pkmnmstr98 avatar pkmnmstr98 commented on July 17, 2024

I can't really help you with your first problem as you should use older version of pac3 anyways to ensure icons are generated correctly(for some reasons newer versions can't do that) like this one: https://github.com/CapsAdmin/pac3/tree/0a5ac3501782ed848411ada341e4e9d3fdf281d1

About color of inventory boxes I'm not really sure if I understood you correctly but you should probably look into ps2/lua/kinv/client/cl_ditemstack.lua

Also in the model viewer the option to add a particle effect doesn't show up

from pointshop2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.