Raised This Month: $51 Target: $400
 12% 

[L4D1/2] Randomize Tank Witch HP and Speed 1.2


Post New Thread Reply   
 
Thread Tools Display Modes
Mortiegama
Senior Member
Join Date: Feb 2010
Old 02-07-2010 , 15:37   Re: [L4D1/2] Randomize Tank Witch HP and Speed 1.2
Reply With Quote #11

Yeah, this isn't working for me either. I can't get the Witch or the Tank to spawn with the amounts I've set.

Quote:
//[Tank]\\
sm_cvar l4d_supertank 0
sm_cvar l4d_tank_hp_max 8000
sm_cvar l4d_tank_hp_min 6000
sm_cvar l4d_tank_speed max 325
sm_cvar l4d_tank_speed min 250
sm_cvar tank_swing_interval .75 // Default 1.5
sm_cvar tank_swing_miss_interval 0.75 // Default 1
sm_cvar srs_bosses_unprohibit 1
sm_cvar srs_debug 1
sm_cvar srs_tank_immunity_time 5 //default 2
sm_cvar srs_tank_prelight_fix 1
sm_cvar l4d_randomize_tankwitch_notify 1

//[Witch]\\
sm_cvar l4d_witch_hp_max 2500
sm_cvar l4d_witch_hp_min 1500
sm_cvar l4d_witch_speed_max 300
sm_cvar l4d_witch_speed_min 250
sm_cvar z_witch_damage_per_kill_hit 75
sm_cvar z_witch_anger_rate 0.80
sm_cvar z_witch_wander_personal_time 0.5
sm_cvar z_witch_personal_space 200
sm_cvar versus_witch_flow_team_variation 0.5
sm_cvar l4d_nwh_incapaction 1
sm_cvar versus_witch_chance_intro 1
sm_cvar versus_witch_chance_finale 1
sm_cvar versus_witch_chance 1
The result every time is that they each spawn with their standard HP/Speed 4K/210 and 1K/?

Last edited by Mortiegama; 02-07-2010 at 15:40.
Mortiegama is offline
Thraka
AlliedModders Donor
Join Date: Aug 2005
Old 02-07-2010 , 16:49   Re: [L4D1/2] Randomize Tank Witch HP and Speed 1.2
Reply With Quote #12

Quote:
Originally Posted by SkaP View Post
Is it possible anyone could take the part of this plugin that prints to chat for infected that a Witch has spawned and do only that(without randomizing it)? This way the infected know a witch has spawned and can set up an attack with her.
Actually, just set the min\max to the same, normal amount. Then it should always be that value and print it out.
Thraka is offline
Thraka
AlliedModders Donor
Join Date: Aug 2005
Old 02-07-2010 , 16:50   Re: [L4D1/2] Randomize Tank Witch HP and Speed 1.2
Reply With Quote #13

Quote:
Originally Posted by Mortiegama View Post
Yeah, this isn't working for me either. I can't get the Witch or the Tank to spawn with the amounts I've set.
...

The result every time is that they each spawn with their standard HP/Speed 4K/210 and 1K/?
Please play again, and when the witch or tank spawn, use this command and tell me what it gives you: l4d_randomize_tankwitch_print
Thraka is offline
SkaP
Senior Member
Join Date: Dec 2009
Old 02-08-2010 , 00:58   Re: [L4D1/2] Randomize Tank Witch HP and Speed 1.2
Reply With Quote #14

Will this interfere with the tank on fire plugin at all?

Edit: So I did some testing for you(Log for this level is attached), the witch prints fine(speed and HP). But the Tank prints twice like some have said, thing is the second printing has some kind of an effect on the Tank. If it prints out 6500HP and 220 speed and the second print says 7000HP and 230 speed it is hard to determine the actual stats because you become the Tank with 6500HP and a life bar looking like it's missing 500 HP. I can't determine if it's using the first speed rating or second at that point. Pics below:

Round 1
[IMG]http://img193.**************/img193/7738/c1m2streets0004.jpg[/IMG]

Round 2
[IMG]http://img32.**************/img32/8985/c1m2streets0005.jpg[/IMG]
Attached Files
File Type: txt RandomTankWitch.txt (24.1 KB, 280 views)

Last edited by SkaP; 02-08-2010 at 01:58.
SkaP is offline
Thraka
AlliedModders Donor
Join Date: Aug 2005
Old 02-08-2010 , 02:40   Re: [L4D1/2] Randomize Tank Witch HP and Speed 1.2
Reply With Quote #15

Thats because you're not using the latest
Thraka is offline
SkaP
Senior Member
Join Date: Dec 2009
Old 02-08-2010 , 02:43   Re: [L4D1/2] Randomize Tank Witch HP and Speed 1.2
Reply With Quote #16

Quote:
Originally Posted by Thraka View Post
Thats because you're not using the latest
I am using 1.2 I only just downloaded the smx about an hour or so ago. Unless there is another version not listed in the first post. Also I sent you another PM I forgot to add something to the other.

Code:
[SM] Listing 34 plugins:
  01 "Admin File Reader" (1.4.0-dev) by AlliedModders LLC
  02 "Admin Help" (1.4.0-dev) by AlliedModders LLC
  03 "Admin Menu" (1.4.0-dev) by AlliedModders LLC
  04 "Anti-Flood" (1.4.0-dev) by AlliedModders LLC
  05 "Basic Ban Commands" (1.4.0-dev) by AlliedModders LLC
  06 "Basic Chat" (1.4.0-dev) by AlliedModders LLC
  07 "Basic Comm Control" (1.4.0-dev) by AlliedModders LLC
  08 "Basic Commands" (1.4.0-dev) by AlliedModders LLC
  09 "Basic Info Triggers" (1.4.0-dev) by AlliedModders LLC
  10 "Blind Luck" (1.1.0) by James Richardson (grandwazir)
  11 "Connect Announce" (1.1) by Arg!
  12 "Client Preferences" (1.4.0-dev) by AlliedModders LLC
  13 "Fun Commands" (1.4.0-dev) by AlliedModders LLC
  14 "Kigen's Anti-Cheat" (1.2.0.8) by Kigen
  15 "L4D2 Score/Team Manager" (1.2.0) by Downtown1 & AtomicStryker
  16 "Rage Counter" (2.0) by Crazydog
  17 "L4D2 Tank-on-fire Speed Booster" (1.03) by DarkNoghri
  18 "[L4D2] Weapon Unlock" (0.4.3) by Crimson_Fox
  19 "L4D2 Ready Up" (0.17.3) by Downtown1 and Frustian
  20 "L4D Black and White Notifier" (1.3) by DarkNoghri, madcap
  21 "L4D_Ghostpounce" (1.0.4) by  AtomicStryker
  22 "Infected Ghost Everywhere SM 1.3" (PLUGIN_VERSION) by AtomicStryker
  23 "L4D Kick Load Stuckers" (1.0.5) by AtomicStryker
  24 "L4D1-2 Randomize Tank and Witch Settings" (1.2) by Thraka - Idea From gamemann
  25 "L4D SM Respawn" (1.8) by AtomicStryker & Ivailosp
  26 "Player Commands" (1.4.0-dev) by AlliedModders LLC
  27 "pouncedamage+" (0.9.6) by extrospect
  28 "RCON Lock" (0.4) by devicenull
  29 "Reserved Slots" (1.4.0-dev) by AlliedModders LLC
  30 "SaveChat" (SaveChat_1.1.1) by citkabuto
  31 "Sound Commands" (1.4.0-dev) by AlliedModders LLC
  32 "Standardized Revamp Structure Modification for L4D2" (1.0 DEV) by srsteam
  33 "Vocalize Fatigue" (1.2c) by Mr. Zero
  34 "L4D Vote Manager 2" (1.5.5) by Madcap

Last edited by SkaP; 02-08-2010 at 02:56.
SkaP is offline
SkaP
Senior Member
Join Date: Dec 2009
Old 02-08-2010 , 18:58   Re: [L4D1/2] Randomize Tank Witch HP and Speed 1.2
Reply With Quote #17

I think it's the SRS plugin's ghost tanking the Tank that's causing the double output.
SkaP is offline
Mortiegama
Senior Member
Join Date: Feb 2010
Old 02-08-2010 , 20:19   Re: [L4D1/2] Randomize Tank Witch HP and Speed 1.2
Reply With Quote #18

Whenever I do the L4D_X_Print I get the default stat settings. I went into the autocreated CFG to edit them there but even when I change those it still loads up the default settings. Doesn't seem to be taking the changes.
Mortiegama is offline
Thraka
AlliedModders Donor
Join Date: Aug 2005
Old 02-08-2010 , 20:34   Re: [L4D1/2] Randomize Tank Witch HP and Speed 1.2
Reply With Quote #19

Most likely it is the SRS ghost tank. I'm unsure how to handle that since I depend on the normal spawn_tank event. If they could block the event from being fired those extra times, then it would play nicer I'm sure.

If you only ever have one tank, you could mod the plugin to only print once then shutdown for 10 seconds or something.

I may be able to do something like detect the entity instance and see if it changes reference to a different entity during those transitions, if not, then I have something unique to key off of. Apart from that, I don't know what to do about it.

Mortie: I'm not sure what to tell you. My config has been changed and I see the changes. SkaP showed screenshots with it working for him. I would try restarting your server with the _restart command (in the console). Double check your settings file was saved etc..
Thraka is offline
Mortiegama
Senior Member
Join Date: Feb 2010
Old 02-09-2010 , 18:36   Re: [L4D1/2] Randomize Tank Witch HP and Speed 1.2
Reply With Quote #20

Just created a brand new server to try to host this on. All I've got installed are Sourcemod, Metamod, SRS Mod, SDK Hooks, and your plugin. Still the same results. Is there a min/max limit I'm hitting that turns your plugin off?
Mortiegama 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:19.


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