GithubHelp home page GithubHelp logo

Comments (6)

KernCore91 avatar KernCore91 commented on May 15, 2024

Certain weapons from uboa rampage have iPositions that conflict with the 1.6 plugin.
When loading CS1.6 as a plugin, I do specific changes to the iPosition of each weapon here so they don't conflict with custom map weapons (if they're using 4 to 9).
What you could try doing is modifying the map's weapon iPositions so they don't conflict with the plugin anymore.

If you want to completely disable weapon registering in that map then you should add some code to ignore the map after this line:

if( string(g_Engine.mapname) == "uboa_rampage" )
    return;

from -sc-counter-strike-1.6-weapons-project.

danylopez123 avatar danylopez123 commented on May 15, 2024

Which file do i need to put that code?

from -sc-counter-strike-1.6-weapons-project.

KernCore91 avatar KernCore91 commented on May 15, 2024

After this line in the cs16_register file

from -sc-counter-strike-1.6-weapons-project.

danylopez123 avatar danylopez123 commented on May 15, 2024

That did the trick, thanks!
Before i close this post, can you give me an example if i want to add more than 1 map? Because i have more maps that uses custom weapons and uboa_rampage its not the only one.

from -sc-counter-strike-1.6-weapons-project.

KernCore91 avatar KernCore91 commented on May 15, 2024
if( string(g_Engine.mapname) == "uboa_rampage" || string(g_Engine.mapname) == "dis_beta" )
    return;

I used dis_beta as an example || string(g_Engine.mapname) == "dis_beta" this part is the one that matters.

from -sc-counter-strike-1.6-weapons-project.

danylopez123 avatar danylopez123 commented on May 15, 2024

Alright, thanks for the example!
Now i can close this issue.

from -sc-counter-strike-1.6-weapons-project.

Related Issues (4)

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.