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

[L4D2] Rock Types


Post New Thread Reply   
 
Thread Tools Display Modes
moschinovac
Member
Join Date: Mar 2019
Location: Vietnam
Old 10-29-2019 , 14:45   Re: [L4D2] Rock Types
Reply With Quote #11

Any chance to disable some rocks and use some specific rocks in list?
moschinovac is offline
BHaType
Great Tester of Whatever
Join Date: Jun 2018
Old 10-29-2019 , 18:43   Re: [L4D2] Rock Types
Reply With Quote #12

Updated.

To change the chance of each rock you need to open the source code and change these values.
PHP Code:
static const int g_iChances[] = 
{
    
100,        // Fire
    
100,        // Electrical
    
100,        // Infected
    
100,        // Gravity
    
100,        // Nuke
    
100,        // Spitter
    
100         // Tesla
}; 
__________________
cry

Last edited by BHaType; 10-29-2019 at 18:44.
BHaType is offline
Send a message via AIM to BHaType
moschinovac
Member
Join Date: Mar 2019
Location: Vietnam
Old 10-31-2019 , 14:21   Re: [L4D2] Rock Types
Reply With Quote #13

Quote:
Originally Posted by BHaType View Post
Updated.

To change the chance of each rock you need to open the source code and change these values.
PHP Code:
static const int g_iChances[] = 
{
    
100,        // Fire
    
100,        // Electrical
    
100,        // Infected
    
100,        // Gravity
    
100,        // Nuke
    
100,        // Spitter
    
100         // Tesla
}; 
I active only Spitter rock but sometime he throw Normal rock. Anyway, thats good enough, Thank you!!!
moschinovac is offline
phoenix0001
Senior Member
Join Date: Apr 2010
Location: China
Old 11-12-2019 , 12:11   Re: [L4D2] Rock Types
Reply With Quote #14

Wow! It would be more fun to add more types of rocks~
The scenes of those rock explosions are very spectacular~
__________________
I like this BBS sharing of spirit

I come from China, my English is poor
phoenix0001 is offline
BHaType
Great Tester of Whatever
Join Date: Jun 2018
Old 11-13-2019 , 05:15   Re: [L4D2] Rock Types
Reply With Quote #15

Quote:
Originally Posted by phoenix0001 View Post
Wow! It would be more fun to add more types of rocks~
The scenes of those rock explosions are very spectacular~
Which ones?
__________________
cry
BHaType is offline
Send a message via AIM to BHaType
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 11-13-2019 , 11:29   Re: [L4D2] Rock Types
Reply With Quote #16

Maybe a boomer and smoker.

Boomer = bile the survivors in the range that the rock breaks
Smoker = adds a smoke when the rock breaks (making difficult to the survivors see), the tank still can see the survivors through the glows.

Just an idea.
Keep rocking.
__________________
Marttt is offline
BHaType
Great Tester of Whatever
Join Date: Jun 2018
Old 11-13-2019 , 18:19   Re: [L4D2] Rock Types
Reply With Quote #17

PHP Code:
v0.4
Added boomer rock
Fixed terrible selecting random rock

TO 
DO
Add smoker rock
Add double rock
__________________
cry

Last edited by BHaType; 11-13-2019 at 18:21.
BHaType is offline
Send a message via AIM to BHaType
moschinovac
Member
Join Date: Mar 2019
Location: Vietnam
Old 11-15-2019 , 23:22   Re: [L4D2] Rock Types
Reply With Quote #18

Yes. Im looking forward to Smoke Rock
moschinovac is offline
BHaType
Great Tester of Whatever
Join Date: Jun 2018
Old 11-16-2019 , 01:33   Re: [L4D2] Rock Types
Reply With Quote #19

PHP Code:
Updated v0.6

Added smoke rock
Added cvar to enable rock only in finale missions

TO 
DO
Double rock
__________________
cry

Last edited by BHaType; 11-16-2019 at 01:33.
BHaType is offline
Send a message via AIM to BHaType
phoenix0001
Senior Member
Join Date: Apr 2010
Location: China
Old 11-16-2019 , 04:07   Re: [L4D2] Rock Types
Reply With Quote #20

L 11/14/2019 - 14:23:22: SourceMod error session started
L 11/14/2019 - 14:23:22: Info (map "c5m1_waterfront_sndscape") (file "E:\1L4D2\left4dead2\addons\sourcemod\logs\er rors_20191114.log")
L 11/14/2019 - 14:23:22: [SM] Exception reported: Unable to set signature from conf "CTerrorPlayer::OnVomitedUpon"
L 11/14/2019 - 14:23:22: [SM] Blaming: l4d2_rock_types.smx
L 11/14/2019 - 14:23:22: [SM] Call stack trace:
L 11/14/2019 - 14:23:22: [SM] [0] SetFailState
L 11/14/2019 - 14:23:22: [SM] [1] Line 562, E:\1L4D2\left4dead2\addons\sourcemod\scriptin g\l4d2_rock_types.sp::OnPluginStart
L 11/14/2019 - 14:23:22: [SM] Unable to load plugin "l4d2_rock_types.smx": Error detected in plugin startup (see error logs)
L 11/14/2019 - 14:23:42: Error log file session closed.
__________________
I like this BBS sharing of spirit

I come from China, my English is poor
phoenix0001 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 14:57.


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