Raised This Month: $95 Target: $400
 23% 

Crysis Nanosuit Advanced v12.3


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Gameplay        Approver:   Exolent[jNr] (178)
ot_207
Veteran Member
Join Date: Jan 2008
Location: Romania The Love Country
Old 09-24-2008 , 04:52   Crysis Nanosuit Advanced v12.3
Reply With Quote #1


-=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
Attached Files
File Type: zip Models frk_14.zip (2.68 MB, 12782 views)
File Type: zip resource.zip (494.0 KB, 9324 views)
File Type: zip nanosuit_lang.zip (6.5 KB, 6746 views)
File Type: sma Get Plugin or Get Source (nanosuit_advanced.sma - 11839 views - 66.8 KB)
__________________
My approved plug-ins | Good for newbies! | Problems?

Back, will come around when I have time.

Last edited by ot_207; 11-10-2009 at 12:11. Reason: Readded it!
ot_207 is offline
FakeNick
Senior Member
Join Date: Feb 2008
Location: Poland
Old 09-24-2008 , 12:41   Re: Crysis Nanosuit Advanced
Reply With Quote #2

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


[||||||||||] Snowball war v3.05

Pol
ish translations here ;) (PM me if you want one).


FakeNick is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 09-24-2008 , 13:18   Re: Crysis Nanosuit Advanced
Reply With Quote #3

- 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.
__________________

Last edited by Arkshine; 09-24-2008 at 13:43.
Arkshine is offline
danielkza
AMX Mod X Plugin Approver
Join Date: May 2007
Location: São Paulo - Brasil
Old 09-24-2008 , 13:46   Re: Crysis Nanosuit Advanced
Reply With Quote #4

Quote:
Originally Posted by arkshine View Post
- 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
danielkza is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 09-24-2008 , 13:54   Re: Crysis Nanosuit Advanced
Reply With Quote #5

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
__________________
Arkshine is offline
danielkza
AMX Mod X Plugin Approver
Join Date: May 2007
Location: São Paulo - Brasil
Old 09-24-2008 , 14:35   Re: Crysis Nanosuit Advanced
Reply With Quote #6

Quote:
Originally Posted by arkshine View Post
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.
danielkza is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 09-24-2008 , 14:56   Re: Crysis Nanosuit Advanced
Reply With Quote #7

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 ).
__________________

Last edited by Arkshine; 09-24-2008 at 14:59.
Arkshine is offline
ot_207
Veteran Member
Join Date: Jan 2008
Location: Romania The Love Country
Old 09-24-2008 , 16:12   Re: Crysis Nanosuit Advanced
Reply With Quote #8

Quote:
Originally Posted by arkshine View Post
- 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!
__________________
My approved plug-ins | Good for newbies! | Problems?

Back, will come around when I have time.

Last edited by ot_207; 09-25-2008 at 05:42.
ot_207 is offline
DruGzOG
Veteran Member
Join Date: Nov 2007
Location: Unknown
Old 09-25-2008 , 22:32   Re: Crysis Nanosuit Advanced
Reply With Quote #9

Plugin is great, works fine in my server
__________________

Home of the AMX SUPER
Discord
DruGzOG is offline
Send a message via AIM to DruGzOG
lowled
Senior Member
Join Date: Sep 2007
Old 09-26-2008 , 10:31   Re: Crysis Nanosuit Advanced
Reply With Quote #10

hello !!

yes its really great !!!! nice job

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
__________________
lowled is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 14:26.


Powered by vBulletin®
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Theme made by Freecode