CSCWMOD 1.0 Released!


(Azyu) #1

[ MOD Page ]
http://azyu.i-i.st/moniwiki/wiki.php/Project/CSCWMOD

[ Forum ]
http://azyu.i-i.st/zboard/zboard.php?id=cscwmod

[ Report ]
http://azyu.i-i.st/mantis/bug_report_page.php

[ Screen Shots ]
http://sleepnot.i-i.st/zoralboard/data/et_freeboard/2005_04_27_212413_battery.jpg
http://sleepnot.i-i.st/zoralboard/data/et_freeboard/2005_04_27_213929_oasis.jpg
http://azyu.i-i.st/cscwmod/cscwmod_96.jpg
http://azyu.i-i.st/cscwmod/cscwmod_93.jpg
http://azyu.i-i.st/cscwmod/cscwmod_94.jpg
http://azyu.i-i.st/cscwmod/cscwmod_95.jpg

[ Download ]
http://user.chol.com/~bakku/parkyou/cscwmod/CSCWMOD_1_0.zip

[ Source Code ]
http://azyu.i-i.st/cscwmod/CSCWMOD_1_0_src.zip

[ Sample Configs ]
http://user.chol.com/~bakku/parkyou/cscwmod/CONFIGS_1_0.zip

[ Current Server List ]
Team CSCW Public Server - i-i.st:27960 (CSCWMOD 1.0 + etadmin 0.27)

PS. ‘cscw_gfx_doong.pk3’ is Optional. If you don’t use ‘comic icon pack’, remove this file.


(Azyu) #2

V0.99 Changes -
Built by ET 2.60 SDK (Merged)


([DS]-=Pencil=-) #3

Here is a Downloadmirror from RTCW-Prison.net: http://rtcw-prison.planet-multiplayer.de/prison/downloads.php?release_id=883

Hope I Helped

:slight_smile:


(Azyu) #4

V1.0 Changes -

[ General ]

  • Added Credits.
  • Added ‘XP Save (c_XPSave - 2, 4)’.
  • Added ‘Realistic Ammo Count (c_cscw - 64, It same works TC:Elite)’.
  • Respawn timer is not shown in spectator mode.

[ Bug Fixes ]

  • ‘ref’ commands doesn’t work in server console.
  • ‘stoprecord’ was missing from COMMANDS list
  • Round timer and respawn timer gone when cg_drawFireteamOverlay is set to 0.
  • Missing command completion for imready, say_buddy, setspawnpt, vsay, vsay_buddy, vsay_team, where.
  • When using Panzer and SMG, it switches to grenades and not the SMG after you fire the panzer.
  • Fixed minor bugs.

(Jaquboss) #5
  • Added ‘Realistic Ammo Count (c_cscw - 64, It same works TC:Elite)’.
    Woo ! I want to add it too , but actually i am not sure which implementation will be better.
    I was thinking about setting ps->ammo as number of clips , are you doing it like that too?

(Azyu) #6

I choose this way.

First, Removed all ammo in current clip.
And Check current clip that is last clip.
Finally re-setting ammo in current clip.


(Azyu) #7

Ok, here is my source code.


/*
==============
PM_ReloadClip
==============
*/
// CSCWMOD #67
static void PM_ReloadClip( int weapon ) {
	int ammoreserve, ammoclip, ammomove;

	ammoreserve = pm->ps->ammo[ BG_FindAmmoForWeapon(weapon)];

	if( PM_CSCW_REALCOUNT_AMMO )
		ammoclip = 0;
	else
		ammoclip = pm->ps->ammoclip[BG_FindClipForWeapon(weapon)];

	ammomove = GetAmmoTableData(weapon)->maxclip - ammoclip;

	if(ammomove > ammoreserve)
		ammomove = ammoreserve;

	if(ammomove) {
		pm->ps->ammoclip[BG_FindClipForWeapon(weapon)] += ammomove;
		pm->ps->ammo[ BG_FindAmmoForWeapon(weapon)] -= ammomove;

		if( PM_CSCW_REALCOUNT_AMMO )
		{
			if( pm->ps->ammoclip[BG_FindClipForWeapon(weapon)] > GetAmmoTableData(weapon)->maxclip )
				pm->ps->ammoclip[BG_FindClipForWeapon(weapon)] = GetAmmoTableData(weapon)->maxclip;

			if( GetAmmoTableData(weapon)->maxclip > ammoreserve ) {
				pm->ps->ammoclip[BG_FindClipForWeapon(weapon)] = ammoreserve;
			}
		}
	}
		
	// reload akimbo stuff
	if( BG_IsAkimboWeapon( weapon ) ) {
		PM_ReloadClip( BG_AkimboSidearm( weapon ) );
	}
}


(Jaquboss) #8

Ok thanks now i understand it much better :slight_smile:


([DS]-=Pencil=-) #9

Is this the final version of the Mod?

Hope you Help

:slight_smile:


(Azyu) #10

Not final, Maybe :slight_smile:

http://azyu.i-i.st/mantis/view_all_bug_page.php

Here is the reports of CSCWMOD for Bug Fixes/Enhancement.
When so many reports are reported, I’ll update my mod.