Starting Weapons Deluxe v2.0
..
|
Re: Starting Weapons Deluxe v1.0
12k lines for such a small purpose? I'm pretty sure this could be optimized A LOT.
|
Re: Starting Weapons Deluxe v1.0
Dear god. It's like your ctrl+V keys got stuck. This can be done in 300 lines or less with proper coding.
Just the 500 lines of cvar definitions can be easily replaced with a simple loop + get_weaponname usage. |
Re: Starting Weapons Deluxe v1.0
We appreciate your answers, we admit that we are just starting with AMXMod X and that is why we still don't know so many functions. Optimization is what we like to do in much of what we do until it reaches the Z-adjustment. We will try to improve it later, but we warn you that there are some rules of logic in the way the code is currently written, for example the task strip_weapons comes before all others and each weapon and item is written separately. We also tried to look at the question of which modules to use to make the plugin lighter during the game.
|
Re: Starting Weapons Deluxe v1.0
this plugin might be usefull for those who use normal hlds
in regame, you can set weapons using only cvars PHP Code:
|
Re: Starting Weapons Deluxe v1.0
Quote:
_____________________________________________ ____________________________________ Here are some "bugs" that are not the plugin itself for CodeMasters to know (AMXMod X v1.8.2): when we define: PHP Code:
PHP Code:
It is an error of "AMX Mod X". Here is a link for 5 attempts to make the vesthelm to protect correctly, all failed: DOWNLOAD The number of shots to kill does not change in any attempts. Changing the VESTHELM quantity only takes effect with the MPNumb realistic_armor plugin But it still won't resist AWP shots, as it works based on the player's health. Another "AMXMod X" bugs: 1 - If you set starting health using Ham_Spawn or HLTV only our player obeys the function and the bots continue with 100, this in as many ways as possible you try to get the players. This only really works if you use ResetHUD event, just like we did. 2 - In the random weapons function for all players to use the same random weapon, both random(MAX) and random_num( A , B ) functions are apparently having an error in the delivery of the shield when at the end of the current round our player is alive and the others are dead; when the new round begins only those who were dead are receiving shields. No other item has this error, only shield. |
Re: Starting Weapons Deluxe v1.0
I understand you are new to AMX-X, but there's tons and tons of redundant code here that you can eliminate. As you were coding this and realizing you were writing the same lines over and over again, a question in Scripting Help could have helped.
|
Re: Starting Weapons Deluxe v2.0
Quote:
|
Re: Starting Weapons Deluxe v2.0
Why do you write/talk like you own a community service?
And what do you mean with we? |
Re: Starting Weapons Deluxe v2.0
Quote:
We are a team, to be quoting "I" would be incompatible and with an identity change. |
All times are GMT -4. The time now is 01:05. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.