AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Crysis Nanosuit Advanced v12.3 (https://forums.alliedmods.net/showthread.php?t=77936)

ot_207 09-24-2008 03:52

Crysis Nanosuit Advanced v12.3
 
4 Attachment(s)

-=What is new/better on this version?=-
-Less CPU usage.
-Multilanguage. For translations please Click here!
-Nano Low Resource in case you have lag! (command)
-Throw in strength mode.
-The speed change functions work better, and are compatible with plugins that change your maxspeed like frostnades.
-Enhanced AI support.
-All in all newer and better!
-More efficient than ever!
-No more fakemeta utilities (so no need to try to find the file)
-New nanosuit functions
-Zombie mods compatability
-No more speed_api! For real!
-More crysis alike, more effects, more small details that will influence battle

-=Include=-
#include <cstrike>
#include <fakemeta>
#include <hamsandwich>


You need the hamsandwitch module if you don't have the AMXX 1.80:
HamSandwitch Modile + Include
The hamsandwitch.inc goes in the "\addons\amxmodx\scripting\include"
The hamsandwitch binaries go in the "\addons\amxmodx\modules"
The resources go in the "\cstrike" folder.
The nanosuit.txt file goes in the "\addons\amxmodx\data\lang\" folder.
It is adviced that the speed api must be uninstalled!

-=Description=-
Now you can buy and use the Crysis NanoSuit in CS!!!
You can choose between 4 differents modes:

-=Maximum Strength=-
- jump higher
- melee attack critical damage
- first attack of the knife will throw the enemy
- powerful nade throw
- lower recoil
- better throw system
- no more slowdown on landing (after jump)

-=Maximum Armor=-
- slower (if set)
- smaller damage dealt to you
- energy is the armor that absorbs damage
- pain shock free
- nice effects
- smaller painshock

-=Maximum Speed=-
- run faster
- reload faster (all weapons)
- use knife faster
- use some of the weapons faster
- reload shotguns faster

-=Cloak Mode=-
- invisibility
- moments when your energy will be set to 0 (all of them can be set!)
-> throw grenade
-> shoot weapon
-> use knife
-> use/plant bomb

-=Cvars=-
nanosuit_price 0 // the price of the nanosuit, if set to 0 the nanosuit will be given automatically to all players
nanosuit_death_remove 0 // if a player dies remove his nanosuit (doesn't work if nanosuit_price is set to 0)
nanosuit_buyzone 1 // user has to be in buyzone to buy the nanosuit
nanosuit_bot_allow 0 // if the bots can use it
nanosuit_bot_buy_mode 1 // how do the bots buy the nanosuit? 0 on round start | 1 on spawn (use 1 when you run respawn modes)
nanosuit_nightvision 1 // give player night vision 1 yes 0 no
nanosuit_team_allow 3 // 1 Terorist 2 CT 3 both
nanosuit_energy 100 // the nanosuit total energy
nanosuit_critical 10 // nanosuit critical energy border
nanosuit_health 100 // nanosuit player health
nanosuit_armor 200 // nanosuit player armor
nanosuit_regenerate 0.75 // energy regeneration per 0.1 seconds that means that per second a user receives 7 energy points
nanosuit_hpcharge 5 // health recharge per 1 second
nanosuit_apcharge 7 // armor recharge per 1 second
nanosuit_ground_affect 2 // 0 normal ground, 1 also crouch, 2 water, 3 water + crouch
nanosuit_disinfect_regive 1 // regive the nanosuit to the player who was disinfected! ZP and BH now!

nanosuit_armor_speed 1.0 // armor mode speed multiply (0.1 slower, 1.1 faster)
nanosuit_armor_damage 0.85 // armor mode damage multiply (0.9 smaller, 1.1 bigger damage)

nanosuit_strength_impulse 460.0 // impule when user jumps when in strength mode
nanosuit_strength_stab 10 // energy cost when user uses knife in strength mode
nanosuit_strength_jump 15 // energy cost when user jumps in strength mode
nanosuit_strength_throw 600.0 // the power of the throw in strength mode
nanosuit_strength_recoil_attenuation 1.75 // the bigger the smaller the recoil of the weapon in strength mode
nanosuit_strength_recoil_energy 1.5 // energy cost when player shoots a weapon in strength mode
nanosuit_strength_grenade_throw 3.0 // energy cost when player throws a grenade in strength mode
nanosuit_strength_throw_override 1 // if set to 1 you can throw your teammates wether friendly fire is enabled or not

nanosuit_speed_maximum 2.2 // speed mode speed multiply when energy > critical border
nanosuit_speed_critical 1.36 // speed mode speed multiply when energy < critical border
nanosuit_speed_energy 1.8 // energy cost when running with the maximum speed
nanosuit_speed_fast_attack 2.0 // fast attack with some weapons in speed mode energy cost
nanosuit_speed_fast_reload 5.0 // energy cost when reloading weapons in speedmode (faster)
nanosuit_speed_fast_sh_reload 2.5 // Energy per super shotgun reload

nanosuit_cloak_energy 0.65 // energy cost in cloak mode
nanosuit_cloak_punish_weapon_fire 1 // punish weapon fire when cloaked
nanosuit_cloak_punish_knife_usage 1 // punish knife usage when cloaked
nanosuit_cloak_punish_grenade_throw 1 // punish grenade throw when cloaked
nanosuit_cloak_punish_c4 1 // punish c4 plant/defuse when cloaked

The punishments set the players energy to 0 and put the nanosuit in armor mode

-=Commands=-
For showing the help motd:
say/say_team : /nanohelp
console: nanohelp

For buying the nanosuit (if needed):
say/say_team: /nanobuy
console: nanobuy

For accesing the nanosuit functions:
say/say_team: /nanosuit
console: nanosuit (it is best if u bind this command ;))

For activating the low res mod (if you have lag)
say/say_team:/nanolowres
console: nanolowres

-=Useful links=-
Servers using this plugin
Translation topic

-=NanoSuit Movie [Thanks Abes_Ziomal_PL(Poland)]=-
http://www.youtube.com/watch?v=ee5BHoBvzoE

-=NanoSuit Models =- [Thanks frk_14!]
http://forums.alliedmods.net/showpos...0&postcount=70
http://forums.alliedmods.net/showpos...5&postcount=59

-=Credits=-
-Connor for the speedy reload
-Testers
-Translators

FakeNick 09-24-2008 11:41

Re: Crysis Nanosuit Advanced
 
Soon i'll try translate messages in your plugin to polish language, so it can be "more" ML :).
BTW. Nice job, good plugin ;).

Arkshine 09-24-2008 12:18

Re: Crysis Nanosuit Advanced
 
- If using cstrike, why did you bother to convert in fakemeta the money ? ( or reversely, why did you convert only the money ? )
- colored_msg() and fm_set_user_money() ; the value of get_user_msgid() should be saved just one time.
- 'stock' label are pointless here.
- TE_SPARKS : use MSG_PVS. No need to show sparks to players who don't look to this origin. ( better )
- "You are not in a buy zone." I know that there is a define text for that like the others but I don't remind.
- You forget to add to the ML 2 messages : ""You have bought a nanosuit armor!" and "You don't have a nanosuit!".
- Since is_user_bot() is used severals time, you may want to optimize by saving one time the type on 'putinserver' forward.

That's all for me, for the moment. Feel free to ignore or not. :)

danielkza 09-24-2008 12:46

Re: Crysis Nanosuit Advanced
 
Quote:

Originally Posted by arkshine (Post 690281)
- If using cstrike, why did you bother to convert in fakemeta the money ? ( or reversely, why did you convert only the money ? )
- colored_msg() and fm_set_user_money() ; the value of get_user_msgid() should be saved just one time.
- 'stock' label are pointless here.
- TE_SPARKS : use MSG_PVS. No need to show sparks to players who don't look to this origin. ( better )
- "You are not in a buy zone." I know that there is a define text for that like the others but I don't remind.
- You forget to add to the ML 2 messages : ""You have bought a nanosuit armor!" and "You don't have a nanosuit!".
- Since is_user_bot() is used severals time, you may want to optimize by saving one time the type on 'putinserver' forward.

That's all for me, for the moment. Feel free to ignore or not. :)

Stock labels are never pointless. Why in hell would you include a function that will not be called, and cannot be called from other plugins? Having to comment a function or remove it is just waste of time

Arkshine 09-24-2008 12:54

Re: Crysis Nanosuit Advanced
 
In such plugin, it's pointless. There is no functions that he want to not used for the moment, or any included files. So in this case, it's useless.

Better explanations here : http://wiki.amxmodx.org/Optimizing_P...blic_Correctly

danielkza 09-24-2008 13:35

Re: Crysis Nanosuit Advanced
 
Quote:

Originally Posted by arkshine (Post 690299)
In such plugin, it's pointless. There is no functions that he want to not used for the moment, or any included files. So in this case, it's useless.

Better explanations here : http://wiki.amxmodx.org/Optimizing_Plugins_(SourceMod_Scripting)#Use_ Stock.2FPublic_Correctly

Just because it's like this now does not mean it will stay that way. Sometimes I do huge changes in plugins during development, and exchange beetween different methods and functions a lot. Having to comment or remove them seems unecessary to me. Ignoring non-used functions should be the default behavior on any compiler, and at least pawn offers this as an alternative.

Arkshine 09-24-2008 13:56

Re: Crysis Nanosuit Advanced
 
I understand what you mean but I would prefer to be warned by the compiler and thus to add/modify/copy a function with 'stock' label, if need, just during the developpement. Then, if I release the plugin, I would remove any stock label since it would be pointless, like in this plugin, because I don't see the purpose to add it if not used. ( seeing as bad habit for me ).

ot_207 09-24-2008 15:12

Re: Crysis Nanosuit Advanced
 
Quote:

Originally Posted by arkshine (Post 690281)
- If using cstrike, why did you bother to convert in fakemeta the money ? ( or reversely, why did you convert only the money ? )
- colored_msg() and fm_set_user_money() ; the value of get_user_msgid() should be saved just one time.
- 'stock' label are pointless here.
- TE_SPARKS : use MSG_PVS. No need to show sparks to players who don't look to this origin. ( better )
- "You are not in a buy zone." I know that there is a define text for that like the others but I don't remind.
- You forget to add to the ML 2 messages : ""You have bought a nanosuit armor!" and "You don't have a nanosuit!".
- Since is_user_bot() is used severals time, you may want to optimize by saving one time the type on 'putinserver' forward.

That's all for me, for the moment. Feel free to ignore or not. :)

1. The conversion of fakemeta money was in the first plugin and I was a little bit busy to convert all the functions, but don't worry will convert them soon!
2. Right! Will do in the next version
3. You have a point, will remove them when the plugin will reach it's final stages.
4. That was an idea, I wanted where the player shot the nanosuit armor to show a spark, but I forgot to remove it, anyway it's a stock so it will disapear.
5. For that I know that there is a define but I know that it doesn't work.
6. Will add them to the ML system.
7. Well never thought about that, will do that ;).

And the last thing is that I will make my plugin use my Speed API.

Thanks for pointing all these things out.

Edit: Updated it will almost all things that you requested!

DruGzOG 09-25-2008 21:32

Re: Crysis Nanosuit Advanced
 
Plugin is great, works fine in my server

lowled 09-26-2008 09:31

Re: Crysis Nanosuit Advanced
 
hello !!

yes its really great !!!! nice job :D

but i saw one prob ... when u choose the speed ability u always run fast cos u re energy doesnt go under 6 ... and u always hear "the critical energy advice" .. can u check that plzz


All times are GMT -4. The time now is 05:10.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.