Raised This Month: $32 Target: $400
 8% 

[L4D2] Survivor Carried By Charger Vocalization Restore


Post New Thread Reply   
 
Thread Tools Display Modes
Edison1318
Senior Member
Join Date: Nov 2015
Location: Peaceful place of the in
Old 12-22-2016 , 06:25   Re: [L4D2] Survivor Carried By Charger Vocalization Restore
Reply With Quote #11

I just fixed the charger vocalize lines for Ellis and Rochelle. for some reason the error message display one line has not precache.

I found out the problem. DeathChaos, you coded wrong while you precache the sound.

PHP Code:
//Wrong Code:
public OnMapStart()
{
    for (new 
1<= MAX_ELLISRESPONSEi++)
    {
        
PrefetchSound(sEllisResponse[i]);
        
PrecacheSound(sEllisResponse[i], true);
    }
    for (new 
1<= MAX_ROCHELLERESPONSEi++)
    {
        
PrefetchSound(sRochelleResponse[i]);
        
PrecacheSound(sRochelleResponse[i], true);
    }
}

//Correct Code:
public OnMapStart()
{
    for (new 
0<= MAX_ELLISRESPONSEi++)
    {
        
PrefetchSound(sEllisResponse[i]);
        
PrecacheSound(sEllisResponse[i], true);
    }
    for (new 
0<= MAX_ROCHELLERESPONSEi++)
    {
        
PrefetchSound(sRochelleResponse[i]);
        
PrecacheSound(sRochelleResponse[i], true);
    }


You shouldn't put new i = 1 otherwise the first line voice will not precache.

You can download my charger carried vocalization restore for fix.
__________________
EdisonGar

Last edited by Edison1318; 12-26-2016 at 01:11. Reason: Forgot to upload the file
Edison1318 is offline
Send a message via Skype™ to Edison1318
mightmagix
Junior Member
Join Date: May 2011
Location: KL
Old 12-26-2016 , 21:16   Re: [L4D2] Survivor Carried By Charger Vocalization Restore
Reply With Quote #12

I get an error downloading your file Edison1318 can you reupload?

EDIT: I've downloaded the file but can't open it with rar/ zip, etc.

Last edited by mightmagix; 12-26-2016 at 21:20.
mightmagix is offline
cravenge
Veteran Member
Join Date: Nov 2015
Location: Chocolate Factory
Old 12-27-2016 , 01:11   Re: [L4D2] Survivor Carried By Charger Vocalization Restore
Reply With Quote #13

Got it covered. Also, transitioned to new syntax.
Attached Files
File Type: sp Get Plugin or Get Source (carried_survivor_vocalize_restore-l4d2.sp - 170 views - 3.4 KB)
File Type: smx carried_survivor_vocalize_restore-l4d2.smx (6.1 KB, 168 views)
cravenge is offline
Edison1318
Senior Member
Join Date: Nov 2015
Location: Peaceful place of the in
Old 12-27-2016 , 02:19   Re: [L4D2] Survivor Carried By Charger Vocalization Restore
Reply With Quote #14

Quote:
Originally Posted by mightmagix View Post
I get an error downloading your file Edison1318 can you reupload?

EDIT: I've downloaded the file but can't open it with rar/ zip, etc.
I guess you don't have a winrar so i'll upload smx and sp files instead of zip file then.

Quote:
Originally Posted by cravenge View Post
Got it covered. Also, transitioned to new syntax.
Well cravenge, your plugin one isn't the full lines of rochelle getting charged, DeathChaos missing one rochelle getting charged line "WHAT THE HELL?!?!". He thought that sound file is broken. It's not.

I added an extra command called sm_chargercarried so you can test the voice calls of ellis and rochelle's carried by charger lines.
Attached Files
File Type: smx [L4D2] Survivor Carried By Charger Vocalization Restore.smx (6.5 KB, 395 views)
File Type: sp Get Plugin or Get Source ([L4D2] Survivor Carried By Charger Vocalization Restore.sp - 257 views - 4.5 KB)
__________________
EdisonGar

Last edited by Edison1318; 12-27-2016 at 02:23.
Edison1318 is offline
Send a message via Skype™ to Edison1318
Sev
Veteran Member
Join Date: May 2010
Old 01-02-2017 , 16:17   Re: [L4D2] Survivor Carried By Charger Vocalization Restore
Reply With Quote #15

Error with the newest version.

L 01/02/2017 - 14:46:07: [SM] Unable to load plugin "carried_survivor_vocalize_restore-l4d2.smx": Native "DataPack.WriteCell" was not found
L 01/02/2017 - 15:00:42: Error log file session closed.
Sev is offline
Edison1318
Senior Member
Join Date: Nov 2015
Location: Peaceful place of the in
Old 01-04-2017 , 07:41   Re: [L4D2] Survivor Carried By Charger Vocalization Restore
Reply With Quote #16

Quote:
Originally Posted by Sev View Post
Error with the newest version.

L 01/02/2017 - 14:46:07: [SM] Unable to load plugin "carried_survivor_vocalize_restore-l4d2.smx": Native "DataPack.WriteCell" was not found
L 01/02/2017 - 15:00:42: Error log file session closed.
Try downloading mine.
__________________
EdisonGar
Edison1318 is offline
Send a message via Skype™ to Edison1318
rollslow
Junior Member
Join Date: Nov 2018
Old 10-29-2019 , 07:01   Re: [L4D2] Survivor Carried By Charger Vocalization Restore
Reply With Quote #17

Quote:
Originally Posted by Edison1318 View Post
I guess you don't have a winrar so i'll upload smx and sp files instead of zip file then.



Well cravenge, your plugin one isn't the full lines of rochelle getting charged, DeathChaos missing one rochelle getting charged line "WHAT THE HELL?!?!". He thought that sound file is broken. It's not.

I added an extra command called sm_chargercarried so you can test the voice calls of ellis and rochelle's carried by charger lines.
//// L4D2_Survivor_Carried_By_Charger_Vocalization _Restore.sp
//
// L4D2_Survivor_Carried_By_Charger_Vocalization _Restore.sp(54) : error 035: argument type mismatch (argument 3)
//
// 1 Error.
//
// Compilation Time: 0,2 sec
// ----------------------------------------

sourcemod-1.10.0-git6442
rollslow is offline
Reply



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 21:13.


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