Raised This Month: $ Target: $400
 0% 

[CSO] Hidden Mod(Update v3.5-3/10/13)


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Gameplay       
oxygen935
Veteran Member
Join Date: Jun 2012
Location: Athens, Greece
Old 05-01-2013 , 18:23   [CSO] Hidden Mod(Update v3.5-3/10/13)
Reply With Quote #1

-=Description=-

Hey guys! This is my first mod! i take the idea from cso. This hidden mod is a match mod where Humans Must Kill Jokers. Jokers have more speed/ap/hp/lower gravity(all of them controlled by cvar).
Changing Teams: When a Human Kills a Joker, the joker is moving on human team and the killer human is moving on joker team.
Unlock Mod:The unlock mod is a property of guns/knifes menu at the human Spawn. The human needs some money(can be changed on .cfg file) to unlock m4a1 and some guns/Knifes. Also he has some free options so he don't need money for them. If the human unlock 1 gun, this gun will be unlocked until the map change.
New Update 3.0:The Joker will start being full invisible but after x seconds(customized by cvar) he will be full visible. BUT If a joker kills a human he will be full invisible and the timer will start again...

-=Video=-


New Video for 3.5 Version!



-=Available Commands=-


say/say_team:

/hidden - open the main hidden mod menu!
/guns - open guns menu(it's more specified)
/shop - open the shop
/fixspawn - fix the bug with spawn(you will be respawned)

-=Requirements For Installation=-


Also Install Infinite Round by Arkshine

-=Installing the plugin=-


1)Download the cso_hidden_res_v3.5.zip(scoll down) file and copy all the files on your server.
2)put the hiddenmod.cfg on your amxmodx/configs directory.
3)Download AND COMPILE LOCKALLY OR PRESS GET PLUGIN the sma.
4)Move your compiled amxx file to your server and write the plugin name on your plugins.ini.

-=Plugin Suggestions=-

-Hud Customizer

-=Cvars=-
Code:
///////////////////////////////////////////////////////
///////  Hidden Mod Configuration File  ///////
///////////////////////////////////////////////////////

//JOKER FEATURES
hm_joker_hp "500"
hm_joker_armor "600"
hm_joker_speed "500.0"
hm_joker_gravity "0.45"
hm_new_invisibility_system "1" //Enable(1)/Disable(0) The new system for joker(he lose invisibility every second)
hm_joker_seconds_to_be_full_invisible "60" //Use this if "hm_new_invisibility_system" cvar is 1
hm_joker_invisibility "30" //Set the percent invisibility of joker if "hm_new_invisibility_system" cvar is 0
hm_joker_silent_steps "1" //Enable(1)/Disable(0) Silent steps

//HUMAN FEATURES
hm_human_hp "120"
hm_human_armor "100"
hm_hmuan_speed "250.0"
hm_human_gravity "1.0"
hm_human_silent_steps "0" //Enable(1)/Disable(0) Silent steps

//SHOP FEATURES
hm_shop "1" //Enable(1)/disable(0) shop

//Humans Shop
hm_shop_hp_ammout "255"
hm_shop_gravity_ammount "0.6"
hm_shop_armor_ammount "200"
hm_shop_max_jumps "2" //max jumps for multijump on shop(both max jumps for jokers & humans)
hm_shop_speed_ammount "450.0"
hm_shop_hp_cost "4000"
hm_shop_gravity_cost "7000"
hm_shop_armor_cost "5000"
hm_shop_speed_cost "8000"
hm_shop_multijump_cost "8000"
hm_shop_ak_and_m4_cost "9000" 
hm_shop_double_damage_cost "10000"

//Jokers Shop
hm_shop_hp_joker_ammount "600"
hm_shop_hp_joker_cost "5000"
hm_shop_multijump_joker_cost "10000"
hm_shop_double_damage_joker_cost "13000"


//KNIFES
hm_knife_hp_add "50"
hm_knife_gravity_combat "0.7"
hm_knife_gravity_default "0.8"
hm_knife_speed "350.0"
hm_knife_damage_multi "1.5"
hm_vip_knife "1" //enable(1)/disable(0) to use the hammer knife only vip members


//UNLOCK MOD FOR SHOP
hm_unlock_system "1" //enable(1) / disable(0) the unlock mod
hm_unlock_m4a1 "8000"
hm_unlock_ak47 "8000"
hm_unlock_galil "6000"
hm_unlock_awp "7000"
hm_unlock_p90 "10000"
hm_unlock_deagle "5000"
hm_unlock_dualelites "4000"
hm_unlock_axe_knife "3000"
hm_unlock_strong_knife "3500"
hm_unlock_combat_knife "3500"


//EFFECTS
hm_weather_effects "3" //Disable(0), ScreenShake(1), Fadescreen(2), Both(3)
hm_hudmessages "1" //Enable(1)/Disable(0) The Kill Hud messages & also the hud bar
hm_enable_fog "1" //Enable(1)/Disable(0) Fog
hm_fog_red_color "255"
hm_fog_green_color "255"
hm_fog_blue_color "255"
hm_fog_density "1"


//COUNTDOWN TIME
hm_countdown_time "5"
-=Credits=-


-Kia|For when joker is freeze to be invisible
-ConnorMcLeod|For his screenfade & screenshake stocks|Remove Shadow
-ROOT|For his TeamManager
-Hlias|Support And Help
-All the testers of the plugin! xD

-=Changelog=-
Code:
*v1.0
-Added New custom sounds for joker's knife
-Added Custom models for jokers/humans and knifes
-Custom Shop for both teams
*v1.1
-Added Custom Days System
-Added Custom lights for each day
*v1.3
-Added more sounds(like when joker dies) from cso
*v1.4
-Added Some effects when someone kills a human/joker
*v2.0
-Added When joker is freeze to be invisible
-Added Aura on humans
-Added Custom Knife Classes
-Added 3 Human Models
-Added 1 Vip Model
-More i don't remember everything...
*v2.1
-Bug Fixes...
*v2.1.1(STABLE)
-more bugs fixed, optimisation code
*v2.3(BETA)
-Fixed bugs with speed
-Remove Changing Description Name
-Optimisation Code
-Added Unlock Mod On Shop
*v2.4
-Change Joker speed/hp per day
-Added more cvars
-Fixed some bugs which cause lag.
*v2.5
-Fixed bugs with sounds
-Removed Aura(useless)
-Removed Days System(useless)
-Made the gameplay exactly like in cso
 -Added Respawn
 -Only 1 Joker
-more...
*v2.6
-Fixed Bug with suicide
-Fixed Bug with guns(reopen if locked)
-Added cvar for weather effects(earthquake etc...)
-Added cvar for countdown time
-Fix Some other bugs...
*v2.6b
-Deleted human models(as requested)
-added countdown(thanks to m4m3ts)
*v2.7
-Bug fixes
*v2.8
-No need compile lockally
*v2.9
-optimise code
-fixed invisibility(when no move)
-remove some forgotten things
*v3.0
-Another Way to be Invisible(read description)
-Removed Shadow/Thanks to ConnorMcLeod
*v3.1
-Added Fix command for spawn bug
*v3.2
-Added More Cvars For Easy handle For users who don't want some things
*v3.5
-Finally Fixed The Joker's Knife
-Optimize The Team Select & Changing to a different way(The 1st will be joker, the others cts)
-If the joker will disconnect a random ct will take his place
-Optimize code to be more efficient
-More...

-TO DO LIST:

-Change HP/Speed in each day(DONE!)
-Unlock Mod (DONE!)
-The joker every second he will loose the 5% of his ivisibility, if he kill a human will be full invisible again(like in cso)(DONE!)
-Add Remeber and last option on guns menu
-More Options On shop
-New Style Of shop(you will see what i mean )
-If you want post a suggestion!!!

NOTE:
Everything changed! Update to 3.5 version!

Download Count
700+
Attached Files
File Type: cfg hiddenmod.cfg (2.3 KB, 1757 views)
File Type: sma Get Plugin or Get Source (hidden-mod-v3.5.sma - 2850 views - 58.3 KB)
File Type: zip cso_hidden_res_v3.5.zip (3.15 MB, 2329 views)
__________________
Quote:
Originally Posted by quark View Post
You're a genius
Stopped any pawn work cause of university for computer science

Last edited by oxygen935; 10-04-2013 at 16:32.
oxygen935 is offline
Send a message via Skype™ to oxygen935
roymor
Senior Member
Join Date: Apr 2012
Old 05-01-2013 , 18:29   Re: [CSO] Hidden-Mod - By OxYgEn
Reply With Quote #2

Nice job although it was made already the same mod I saw it while I was playing with dias but again good job anyway
roymor is offline
oxygen935
Veteran Member
Join Date: Jun 2012
Location: Athens, Greece
Old 05-01-2013 , 18:43   Re: [CSO] Hidden-Mod - By OxYgEn
Reply With Quote #3

I knew it man... As i told original idea is from dias... I just love hidden mod so firstly i decided to make it for myself... But then i published it...
__________________
Quote:
Originally Posted by quark View Post
You're a genius
Stopped any pawn work cause of university for computer science

Last edited by oxygen935; 05-01-2013 at 18:44.
oxygen935 is offline
Send a message via Skype™ to oxygen935
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 05-01-2013 , 19:11   Re: [CSO] Hidden-Mod - By OxYgEn
Reply With Quote #4

Quote:
Originally Posted by oxygen935 View Post
(cause of big file i must uploaded on other host...)
You could split the file into multiple parts, but since the host you choose isn't trying to confuse people with a page littered with ads, I won't make you do this (can't speak for others though)

Code:
#include <fakemeta_util>
Why? There is no reason to use this include, just use the other methods

Code:
#include <dhudmessage>
#include <model_changer>
Where are the Include files or links to the Include files?
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (intervening in a thread, asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
AmineKyo
فوق سريرك
Join Date: Oct 2011
Location: Morocco
Old 05-01-2013 , 19:13   Re: [CSO] Hidden-Mod - By OxYgEn
Reply With Quote #5

Furien mod/NightCrawlers FTW
Btw : nice job, I'd suggest some ideas for this mod but for now i have nothing to tell
__________________
AmineKyo is offline
dias
BANNED
Join Date: Jul 2009
Location: South Vietnam
Old 05-01-2013 , 20:24   Re: [CSO] Hidden-Mod - By OxYgEn
Reply With Quote #6

- LOL ?. What is day system ?
- You should add more description, and does human become hidden when they kill hidden ?

21/9/2012
http://www.youtube.com/watch?v=9VmWCThd8QI

Last edited by dias; 05-01-2013 at 20:25.
dias is offline
Send a message via Yahoo to dias Send a message via Skype™ to dias
oxygen935
Veteran Member
Join Date: Jun 2012
Location: Athens, Greece
Old 05-02-2013 , 02:50   Re: [CSO] Hidden-Mod - By OxYgEn
Reply With Quote #7

@Yamikaitou: You're right. I fixed the downloading part. Also posted the include files. I use fakemeta_util cause i change the sound on joker knife. I don't know any other way to do this. So if you have one post it...

@AmineKyo: I really don't like furien, but i really enjoy nightcrawlers. Thanks!

@Dias: More description Added. As i told you the idea is from you. But this plugin has a lot of differences from you.I didn't take the plugin from you. I just made a new one cause i love this mod...
__________________
Quote:
Originally Posted by quark View Post
You're a genius
Stopped any pawn work cause of university for computer science

Last edited by oxygen935; 05-02-2013 at 02:50.
oxygen935 is offline
Send a message via Skype™ to oxygen935
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 05-02-2013 , 03:21   Re: [CSO] Hidden-Mod - By OxYgEn
Reply With Quote #8

Quote:
Originally Posted by oxygen935 View Post
@Yamikaitou: You're right. I fixed the downloading part. Also posted the include files. I use fakemeta_util cause i change the sound on joker knife. I don't know any other way to do this. So if you have one post it...
You actually never use fakemeta_util. You do use fakemeta though, so just change fakemeta_util to fakemeta and it will still compile. Also, fakemeta_util is included with AMXX


There is one thing that I noticed that annoys me, and that is that you switch between using { } and not using them. It is fine if you don't use them when it is just one line, but keep it consistent.

Example (2 different styles in the same function...)
Code:
public cmd_knifes(id) {     if(knife_used[id])     {         client_printc(id, "%s Wait for !tnext round !nto !gopen !nthis menu!", saychatprefix)         return PLUGIN_CONTINUE     }         knifes = menu_create("[Hidden-Mod] Knifes Menu:","cmd_knifes_handler")     menu_additem(knifes, "Axe - HP++","1",0);     menu_additem(knifes, "Combat - Gravity--","2",0);     menu_additem(knifes, "Strong - Damage++","3",0);
    if(get_user_flags(id) & VIP_FLAG) menu_additem(knifes, "Hammer - Speed++","4",0);
    else menu_additem(knifes, "\dHammer - Speed++ - VIP ONLY","4",0);
    menu_additem(knifes, "Default Knife - Gravity-","5",0);     menu_setprop(knifes, MPROP_EXIT, MEXIT_ALL)    
    if(cs_get_user_team(id) == CS_TEAM_CT)
    {      
        menu_display(id, knifes, 0);
    }
        return PLUGIN_HANDLED }
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (intervening in a thread, asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
oxygen935
Veteran Member
Join Date: Jun 2012
Location: Athens, Greece
Old 05-02-2013 , 03:28   Re: [CSO] Hidden-Mod - By OxYgEn
Reply With Quote #9

you just wanted to use only 1 style of using the brackets?
Code:
if(get_user_flags(id) & VIP_FLAG) menu_additem(knifes, "Hammer - Speed++","4",0); else menu_additem(knifes, "\dHammer - Speed++ - VIP ONLY","4",0); menu_additem(knifes, "Default Knife - Gravity-","5",0); menu_setprop(knifes, MPROP_EXIT, MEXIT_ALL) if(cs_get_user_team(id) == CS_TEAM_CT) menu_display(id, knifes, 0);
i hope it's ok now?
PS: Change fakemeta_util to fakemeta
__________________
Quote:
Originally Posted by quark View Post
You're a genius
Stopped any pawn work cause of university for computer science

Last edited by oxygen935; 05-02-2013 at 03:30.
oxygen935 is offline
Send a message via Skype™ to oxygen935
wickedd
Veteran Member
Join Date: Nov 2009
Old 05-02-2013 , 03:34   Re: [CSO] Hidden-Mod - By OxYgEn
Reply With Quote #10

Here are a few things I notice after a quick glance.

You do not need to check is_user_connected() when using get_players.

Learn how to use charsmax().

PHP Code:
get_players(playerspnum"ac""CT"); 
to

PHP Code:
get_players(playerspnum"ace""CT"); 
Plus:
PHP Code:
for(i=1i<=maxplayersi++) 
Use get_players() instead of get_maxplayers.


PHP Code:
client_cmd(id"bind v hidden"
This is not allowed, plus it doesn't work anymore.

PHP Code:
if(is_user_alive(id) && is_user_connected(id)) 
Just use is_user_alive(), you don't need both of them.
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.
wickedd 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 07:06.


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