Comments (6)
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.
Which file do i need to put that code?
from -sc-counter-strike-1.6-weapons-project.
After this line in the cs16_register file
from -sc-counter-strike-1.6-weapons-project.
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.
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.
Alright, thanks for the example!
Now i can close this issue.
from -sc-counter-strike-1.6-weapons-project.
Related Issues (4)
- It's not working HOT 5
- Any way to make the money save with map changes? HOT 2
- Expansion idea HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from -sc-counter-strike-1.6-weapons-project.