PDA

View Full Version : KillCam and PRM 2.0


Parrot
12-25-2003, 06:04 PM
Kill Cam is not working in S & D and Ret gametype modes, but it does work in TDM mode.

I saw a previous thread from Cobra where the kill cam wasn't working at all, but this is slightly different. I'll paste the pertinent info from my server.cfg file.


// Weapons
set scr_allow_bar "1"
set scr_allow_bren "1"
set scr_allow_enfield "1"
set scr_allow_fg42 "0"
set scr_allow_kar98k "1"
set scr_allow_kar98ksniper "1"
set scr_allow_m1carbine "1"
set scr_allow_m1garand "1"
set scr_allow_mp40 "1"
set scr_allow_mp44 "1"
set scr_allow_nagant "1"
set scr_allow_nagantsniper "1"
set scr_allow_panzerfaust "0"
set scr_allow_ppsh "1"
set scr_allow_springfield "1"
set scr_allow_sten "1"
set scr_allow_thompson "1"

//Realism settings

set sv_alliedSniperLimit "2"// default 2
set sv_alliedSMGLimit "6"// default 6
set sv_alliedMGLimit "3"// default 3
set sv_axisSniperLimit "2"// default 2
set sv_axisSMGLimit "6"// default 10
set sv_axisMGLimit "3"// default 3

//-HUD cvars:
set sv_no_crosshairs "1"// 1 = disables crosshair, any other value enables them
set sv_no_crosshair_names "0"// 1 = disables them, any other value enables them
set sv_no_compass_players "0"// 1 = disables them, any other value enables them

//-Other various cvars:
set sv_healthpacks "1"// 1 = drop health, 0 = no health packs dropped
set sv_nokillcam "0"// 1 = killcam disabled, 0 = killcam enabled
set sv_noDropSniper "1"// 1 = snipers not dropped, 0 = snipers dropped
set sv_bleeding "0"// 1 = bleeding on, 0 = bleeding off


// DM
set scr_dm_scorelimit "50"
set scr_dm_timelimit "10"
set scr_drawfriend "1"
set scr_forcerespawn "0"

// TDM
set scr_tdm_scorelimit "200"
scr_tdm_timelimit "15"

// SD
set scr_sd_graceperiod "15"
set scr_sd_roundlength "5"
set scr_sd_roundlimit "11"
set scr_sd_scorelimit "7"
set scr_sd_timelimit "0"

// BEL
set scr_bel_alivepointtime "10"
set scr_bel_scorelimit "60"
set scr_bel_timelimit "20"

// RE
set scr_re_graceperiod "15"
set scr_re_roundlength "4"
set scr_re_roundlimit "0"
set scr_re_scorelimit "5"
set scr_re_timelimit "0"
set scr_re_showcarrier "0"

// Map Rotation
set sv_mapRotation "gametype sd map mp_brecourt gametype re map mp_carentan gametype sd map mp_depot gametype tdm map mp_hurtgen gametype tdm map mp_pavlov gametype sd map mp_railyard gametype sd map mp_rocket gametype re map mp_chateau gametype sd map mp_powcamp gametype sd map mp_dawnville"
set sv_mapRotationCurrentmap "mp_brecourt "

I am also running Serverwatch server side monitor and messaging only right now, but wether I have Serverwatch on or off, it doesn't make a difference.

The strange thing is that it works for TDM- but not SD or RE

Thanks

ctec1
12-29-2003, 06:11 AM
I have the exact same problem, it worked until I disabled it and after that I could never get it to turn back on. It's not a big deal with me right now but if anyone knows where the problem lies please speak up THX :smile:

PS I have tried making the cvar change thru console also but no luck.

Parrot
12-29-2003, 02:36 PM
I thought I found something, but I guess I was wrong.

KillCam still isn't working.

Sitting_Duck
12-29-2003, 07:02 PM
I myself haven't opened the guts of PRM, but I would think maybe its in the realism scripting that you need to edit it. I'm sorry I don't have the right answer for you, but then again 3.0 should be out soon and hopefully it will adress the issue you are having.

Parrot
12-30-2003, 02:20 PM
Well, I think I did find the reason why the MP40 runs the reload animation even when the weapon is full. The magazine load has been changed to only 28 rounds, versus the standard magazine load of 32. Maybe??? dunno- I'm not any kind of major modder.

I'll just sit tight too and wait for 3.0.

nice work Poolmaster.

Below, I'll put into a quote what I thought was the reason. take a look at the difference between the TDM and the 2 other kill-cam scripts.


TDM.gsc file excerpt

attackerNum = -1;
if(isPlayer(attacker))
{
if(attacker == self) // killed himself
{
doKillcam = false;

attacker.score--;

if(isdefined(attacker.reflectdamage))
clientAnnouncement(attacker, &"MPSCRIPT_FRIENDLY_FIRE_WILL_NOT");
}
else
{
attackerNum = attacker getEntityNumber();
//doKillcam = true;

if(self.pers["team"] == attacker.pers["team"]) // killed by a friendly
attacker.score--;
else

BEL.gsc excerpt

attackerNum = -1;
level.playercam = attacker getEntityNumber();

if(isPlayer(attacker))
{
if(attacker == self) // killed himself
{
doKillcam = false;

attacker.pers["score"]--;
attacker.score = attacker.pers["score"];

if(isdefined(attacker.reflectdamage))
clientAnnouncement(attacker, &"MPSCRIPT_FRIENDLY_FIRE_WILL_NOT");
}
else
{
attackerNum = attacker getEntityNumber();
doKillcam = true;

if(self.pers["team"] == attacker.pers["team"]) // killed by a friendly
{
attacker.pers["score"]--;
attacker.score = attacker.pers["score"];
}
else


SD.gsc excerpt

attackerNum = -1;
level.playercam = attacker getEntityNumber();

if(isPlayer(attacker))
{
if(attacker == self) // killed himself
{
doKillcam = false;

attacker.pers["score"]--;
attacker.score = attacker.pers["score"];

if(isdefined(attacker.reflectdamage))
clientAnnouncement(attacker, &"MPSCRIPT_FRIENDLY_FIRE_WILL_NOT");
}
else
{
attackerNum = attacker getEntityNumber();
doKillcam = true;

if(self.pers["team"] == attacker.pers["team"]) // killed by a friendly
{
attacker.pers["score"]--;
attacker.score = attacker.pers["score"];
}
else


Notice the doKillcam = true is commented out on the TDM gametype- and it works in TDM... but in the SD and RE gametypes, it is not commented out- and the kill cam does not work.

Could this be the issue?

Cobra
12-31-2003, 09:05 AM
add me to your msn,
chance54444@hotmail.com

And i will upload you my config file and you can see if it works then.

Parrot
12-31-2003, 09:53 AM
Done. Thanks.

imported_PoolMaster
01-01-2004, 06:14 AM
Hehehehehe :P

Your problem m8, is that you have a 0 instead of a 1 for the cvar. sv_nokillcam, no being the key part. 1 = yes, 0 = no, so a 1 = no killcam.

Parrot
01-01-2004, 12:05 PM
hmm.. that is contrary to the directions that are in the setup, and it still doesn't explain why it works for TDM but not SD and RE game types.

imported_PoolMaster
01-02-2004, 03:21 AM
-Other various cvars:
sv_healthpacks // 1 = drop health, 0 = no health packs dropped
sv_nokillcam // 1 = killcam disabled, 0 = killcam enabled
sv_noDropSniper // 1 = snipers not dropped, 0 = snipers dropped
sv_bleeding // 1 = bleeding on, 0 = bleeding off

Straigh from the ver 2.0 READ ME. If kill cam is'nt able to be disabled on SD and RE etc... gametypes... then I dunno, works for us, and everyone else, try a re-install, possibly something in your cfg... not really sure there m8 :?