Raised This Month: $ Target: $400
 0% 

[L4D/L4D2] Infected Bots Control (1.0.0)


Post New Thread Reply   
 
Thread Tools Display Modes
crazydog
AlliedModders Donor
Join Date: Jan 2006
Old 10-25-2009 , 01:54   Re: [L4D] Infected Bots (1.8.2)
Reply With Quote #511

In 1.8.2 I can't spawn, and I don't like the whole flashlight workaround of changing the gamemode.
crazydog is offline
mi123645
Veteran Member
Join Date: Feb 2009
Old 10-25-2009 , 01:56   Re: [L4D] Infected Bots (1.8.2)
Reply With Quote #512

Quote:
Originally Posted by crazydog View Post
In 1.8.2 I can't spawn, and I don't like the whole flashlight workaround of changing the gamemode.
You cannot spawn? What is the Gamemode you are playing and the cvars that you have on?

As for the flashlight thing, it was either that or a really glitched up workaround that would have made you gagged.
mi123645 is offline
crazydog
AlliedModders Donor
Join Date: Jan 2006
Old 10-25-2009 , 04:05   Re: [L4D] Infected Bots (1.8.2)
Reply With Quote #513

Coop or survival. It works fine with the same settings on 1.8.1 fix v1.
crazydog is offline
mi123645
Veteran Member
Join Date: Feb 2009
Old 10-25-2009 , 10:15   Re: [L4D] Infected Bots (1.8.2)
Reply With Quote #514

Quote:
Originally Posted by crazydog View Post
Coop or survival. It works fine with the same settings on 1.8.1 fix v1.
Ok, but I need more details than that. Do bots spawn? Do tanks spawn? Is the HUD up and running? I need to know the Infected Bots cvar settings (unless they are all default) so that I can narrow down the problem. I really can't work off of the problem of "I can't spawn" unless I get more details.

Last edited by mi123645; 10-25-2009 at 10:30.
mi123645 is offline
crazydog
AlliedModders Donor
Join Date: Jan 2006
Old 10-25-2009 , 17:10   Re: [L4D] Infected Bots (1.8.2)
Reply With Quote #515

Well I fixed it.

Apparently, if I'm spawned in, and it tries to make me the tank, it crashes. I just added a IsPlayerAlive() to the tank chooser thingy, and that fixed it all up.

Maybe a sourcemod 1.3 thing?

Code:
// This file was auto-generated by SourceMod (v1.2.1)
// ConVars for plugin "disabled/l4dinfectedbots.smx"


// Sets the limit for boomers spawned by the plugin
// -
// Default: "1"
l4d_infectedbots_boomer_limit "1"

// If 1, tank will be playable in coop/survival, only one player can take control of a tank at a time
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
l4d_infectedbots_coop_survival_tank_playable "0"

// If 1, the plugin will use the director's timing of the spawns
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
l4d_infectedbots_director_spawn "1"

// If 1, infected players in coop/survival will spawn as ghosts, does not allow ghost spawning at finale on versus
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
l4d_infectedbots_free_spawn "0"

// If 1, players can join the infected team in coop/survival
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
l4d_infectedbots_infected_team_joinable "1"

// Toggle whether L4D Infected HUD plugin announces itself to clients.
// -
// Default: "1"
l4d_infectedbots_infhud_announce "0"

// Toggle whether L4D Infected HUD plugin is active or not.
// -
// Default: "1"
l4d_infectedbots_infhud_enable "1"

// If 1, clients will be announced to about joining the infected team
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
l4d_infectedbots_jointeams_announce "0"

// Defines how many special infected can be on the map on all gamemodes
// -
// Default: "4"
l4d_infectedbots_max_specials "4"

// Sets the limit for smokers spawned by the plugin
// -
// Default: "1"
l4d_infectedbots_smoker_limit "1"

// Sets spawn time for special infected spawned by the plugin in seconds
// -
// Default: "25"
l4d_infectedbots_spawn_time "25"

// If 1, the stats board will show up after an infected player dies
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
l4d_infectedbots_stats_board "0"

// Number of tanks when a tank spawns, includes the original tank
// -
// Default: "1"
l4d_infectedbots_tanks_per_spawn "1"
Bots spawn, tanks spawn, I'm not 100% sure the HUD works.

Last edited by crazydog; 10-25-2009 at 18:56.
crazydog is offline
mi123645
Veteran Member
Join Date: Feb 2009
Old 10-26-2009 , 12:07   Re: [L4D] Infected Bots (1.8.2)
Reply With Quote #516

That's very strange, because GetClientHealth is what I use to determine whether or not the tank is alive. IsPlayerAlive returns true on the tank being dead if it was recently killed. It should not crash the plugin. Even if it did, I would still avoid using IsPlayerAlive for that reason.

It could possibly be a 1.3 SM thing.
mi123645 is offline
LTR.2
Veteran Member
Join Date: Aug 2009
Old 10-27-2009 , 17:21   Re: [L4D] Infected Bots (1.8.2)
Reply With Quote #517

BTW where do i get the latest version of sourcemod?
LTR.2 is offline
m4ster
Senior Member
Join Date: Mar 2007
Old 10-28-2009 , 07:48   Re: [L4D] Infected Bots (1.8.2)
Reply With Quote #518

LTR.2: dont be idiot, www.sourcemod.com !
__________________
m4ster is offline
m4ster
Senior Member
Join Date: Mar 2007
Old 10-28-2009 , 07:49   Re: [L4D] Infected Bots (1.8.2)
Reply With Quote #519

Sometimes i have 6 tanks spawned.. wtf?
__________________
m4ster is offline
LTR.2
Veteran Member
Join Date: Aug 2009
Old 10-28-2009 , 16:16   Re: [L4D] Infected Bots (1.8.2)
Reply With Quote #520

Quote:
Originally Posted by m4ster View Post
LTR.2: dont be idiot, www.sourcemod.com !
it's hard for me not to be!

thanks =)
LTR.2 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 13:57.


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