AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [CSS] COD-Life v0.4.2 (https://forums.alliedmods.net/showthread.php?t=261162)

D.Moder 04-07-2015 04:54

[CSS] COD-Life v0.4.2
 
1 Attachment(s)
COD-Life


Description
----------------------------------------------------------------------------
This plugin basically adds a little taste of Call Of Duty games to CSS.
It's DeathMatch type, with improoved weapons and player abilities,
custom player classes, rankings, unlock weapons, and attachments
on most weapons. In a fewer words, it's a charged version of CSS.

Gameplay:
Get kills to gain XP + Weapon XP.
You will rank up at certain XP amounts, (will show chart soon)
Unlock better weapons.
(Yes you have to earn the better weapon)

At the same time you also gain Weapon XP, which will unlock
Weapon Attachments.

And the rest is basically a Team DeathMatch, for now...
(Read the Plans section)

Cvars
----------------------------------------------------------------------------
Cvars are currently not done, coming soon...
  • codlife_version - COD-Life version.

Commands
----------------------------------------------------------------------------
  • cod_melee or 'E' - Melee. Player pulls out knife, attacker, switch back.
  • cod_nade or 'F' - Fast Nade. Quick throw Grenade.
  • cod_flash - Fast Flash. Quick throw flash.
  • cod_switch - COD style weapon switch.
  • +speed (adjusted SHIFT) - Walk + Aim Down Sight.
  • say /codmenu - Client Menu.
  • say /save - Manually save your game progress.
  • say /reset-stats - Reset your game progress (just in case!)

Requirements
----------------------------------------------------------------------------
If you're gonna modify the code, you have to have this installed.
>> smlib https://forums.alliedmods.net/showthread.php?t=148387
Installation
----------------------------------------------------------------------------
  • Install Metamod:Source.
  • Install SourceMod.
  • Copy and paste everything from cstrike folder to your servers cstrike folder.
  • Restart server.

Plans
----------------------------------------------------------------------------
This plugin is basically not complete yet, so far I've spent about
2 months on this, and I had to get some feedback from you guys,
and see if this is really worth the time! So here are a list of things to
come if I see some support or feedback...
  • Killstreak rewards.
  • Game modes: FFA, Domination, CTF, Kill Confirmed, 1 In The Chamber.
  • Battle Chatter. players will call things out automatically like: Enemy spoted, Reloading, I'm hit!
  • More Equipments. I.E.D, Semtex...
Changelog
----------------------------------------------------------------------------
Code:


04-16-2015 - v0.4.2
  Removed sv_cheats requirement.

04-11-2015 - v0.4.1
  Fixed issue with save, some optimizations.

04-10-2015 - v0.4
  Fixed few errors, corrected Copyright, Converted most say commands to menu.

04-07-2015 - v0.3
  Initial (beta) release.




Hackmastr 04-13-2015 17:19

Re: [CSS] COD-Life v0.4.1
 
Code:

[CODLIFE] Could not find spawn point file "cfg/cssdm/spawns/de_dust2.txt"
[CODLIFE] This map has no cssdm spawns file '<map name>.txt'

You zip file contains no /cfg, or Should I create these files?

D.Moder 04-13-2015 22:35

Re: [CSS] COD-Life v0.4.1
 
oh hold on, I'm gonna put a link.

EDIT: ok now the package has the spawn files included

and by the way you can also download cssdm plugin, and get the most updated spawn files from the original package.
https://forums.alliedmods.net/showthread.php?t=58388

direct link: http://www.bailopan.net/cssdm/files/cssdm-2.1.4.zip

"cstrike\cfg\cssdm\spawns\<map name>.txt"

Robin955 04-14-2015 02:48

Re: [CSS] COD-Life v0.4.1
 
yeah that sv_cheats 1

will make people stay away really. is there no way to not use sv_cheats 1?
and if so, would it work with SMAC?

Robin955 04-14-2015 06:12

Re: [CSS] COD-Life v0.4.1
 
uhm, buy zones is disabled because of this? how you expect us to buy weapons?
and wherever the players is shoting the textures around the player on the map becomes dark like shadow activates for the entire wall. (de_dust2)
and i try to give myself a couple weapons, thought there was attatchments?
the plugins is running it says. and no errors in the error logs :(

the commands there is binds for player right?

is this for sourcemod 1.7 or 1.6? or both? im running 1.6.4 and meta 1.10.4 on windows
/codmenu wont work for me, and all i see that is working so far is the cvar codlife_version
=D

Mitchell 04-14-2015 13:55

Re: [CSS] COD-Life v0.4.1
 
Are you only forcing SV_CHEATS to 1 because of overlays? You can just remove the cheat flag from the overlay command...


Quote:

Originally Posted by Robin955 (Post 2286041)
is this for sourcemod 1.7 or 1.6? or both? im running 1.6.4 and meta 1.10.4 on windows
/codmenu wont work for me, and all i see that is working so far is the cvar codlife_version
=D

This is under the old language, it will work on both, since 1.7 is compatible with the older version of sourcepawn.

Oshizu 04-14-2015 14:53

Re: [CSS] COD-Life v0.4.1
 
If your forcing sv_cheats only because of overlays you could try perhaps this stock:
PHP Code:

stock DoOverlay(clientString:material[] = "")
{
    if (
IsClientInGame(client) && !IsFakeClient(client))
    {
        new 
iFlags GetCommandFlags("r_screenoverlay");
        
SetCommandFlags("r_screenoverlay"iFlags & ~FCVAR_CHEAT);
        if (!
StrEqual(material"")) ClientCommand(client"r_screenoverlay \"%s\""material);
        else 
ClientCommand(client"r_screenoverlay \"\"");
        
SetCommandFlags("r_screenoverlay"iFlags);
    }



KissLick 04-14-2015 14:58

Re: [CSS] COD-Life v0.4.1
 
As far as I know, r_screenoverlay works fine with sv_cheats 0 (without need to modify cvar flags).

Robin955 04-15-2015 00:49

Re: [CSS] COD-Life v0.4.1
 
screenoverlay is absolutely the worst scenario, (but it does turn off on round /start)

D.Moder 04-15-2015 18:55

Re: [CSS] COD-Life v0.4.1
 
Well I hate to have the sv_cheats on, but right now there are so many functions... And I don't know what will stop working without it...

Mitchell 04-16-2015 00:18

Re: [CSS] COD-Life v0.4.1
 
Quote:

Originally Posted by D.Moder (Post 2286703)
Well I hate to have the sv_cheats on, but right now there are so many functions... And I don't know what will stop working without it...

Have you even tried to play it without sv_cheats? The only thing stopping you is the screen overlay, which some one HAS already provided you with a stock that will work. Stop being lazy.

D.Moder 04-16-2015 14:52

Re: [CSS] COD-Life v0.4.1
 
I was out of town for a few days, I'm gonna make the changes tonight. (Writing this from my phone)


EDIT:

Quote:

Originally Posted by Mitchell (Post 2286792)
Have you even tried to play it without sv_cheats? The only thing stopping you is the screen overlay, which some one HAS already provided you with a stock that will work. Stop being lazy.

Ok! I used that stock, and now the plugin does not require sv_cheats.

But now I need some help with testing!

Robin955 04-18-2015 06:03

Re: [CSS] COD-Life v0.4.2
 
well i forgot to upload the stuff to my fastDL but, there still was no buy zone in the spawns of de_dust2
no one really answered that one.

D.Moder 04-18-2015 18:21

Re: [CSS] COD-Life v0.4.2
 
I removed it purposely, you have to earn the better weapons, it's like call of duty games.

EDIT:
Just type in chat: /codmenu
Setup your loadout. (Primary and secondary weapon)
Soon I'm going to add equipments section in there

Robin955 04-20-2015 15:21

Re: [CSS] COD-Life v0.4.2
 
so if i give myself a M4A1 it wont give me the m4a1 with the layout / material you had made for it?

and the glock and deagle looks stock. everything looks stock. i tried cod_switch but it just goes from primary to secondary.
everything looks normal except the hurt screen and sounds. do i need to level up to see the weapon extras?

fast grenade works etc

D.Moder 04-25-2015 21:53

Re: [CSS] COD-Life v0.4.2
 
I still haven't added the skins, for now it has only the attachments functionality.

EDIT: yes you need to play with the weapon to gain weapon xp, and then unlock attachments
I haven't added anything to notify you when you unlock something, for now just check the edit loadout menu, they will appear there.

cod_switch: it only switches between primary and secondary, and if you have no guns, switches to knife.

alencore 08-29-2015 02:36

Re: [CSS] COD-Life v0.4.2
 
The 2d iron sight view or overlay still needs cheats to work also I'm sure you'll add a feature that will remove crosshair when aiming down sights, right? Not totally bad but may be you could just make it load a secondary weapon skin that's origin is set or pointed at the iron sights well that's how they do it on CS 1.6.

Cool mod seems most of it's features are working well enough so far.
Also would be nice to give it a full bot support as in bots ranks up or have better load out.

s1nk0 01-04-2022 15:11

Re: [CSS] COD-Life v0.4.2
 
1 Attachment(s)
For those looking to play with bots, I edited a line in weapon.inc to stop bots being stripped from weapons. You still need to download another plugin to give them weapons such as Gun Menu: https://forums.alliedmods.net/showthread.php?p=2717647

I tried hacking the code together but proved unsuccessful (I am a noob to scripting here :mrgreen:)

Just place attached in addons\sourcemod\scripting\codlife and compile codlife.sp :wink:


All times are GMT -4. The time now is 06:02.

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