AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   How to create DEAD bot? (https://forums.alliedmods.net/showthread.php?t=93371)

andain 05-28-2009 03:02

How to create DEAD bot?
 
Hello!

I can't figure out how to create dead bot...

Googled this script -> http://scriptbase.org/svn/open/trunk...rtisingBot.sma and changed last line to cs_set_user_team(bot, CS_TEAM_T); for bot to join T team...

My goal here's to put a dead bot in T team to prevent game commencing restarts because i run deathrun plugin and everytime when T leaves map restarts and it's really annoying to play same map over and over again...

Is it even possible to prevent those game commencing restarts with dead bot?

Xellath 05-28-2009 08:02

Re: How to create DEAD bot?
 
Just create a bot and place him outside the map. Search for a NPC/bot tutorial.

zacky 05-28-2009 16:00

Re: How to create DEAD bot?
 
why not just spawn the bot in spectator?

andain 05-29-2009 01:02

Re: How to create DEAD bot?
 
Because it won't prevent game commencing restarts if T player leaves server.

I'll try to explain better - with deathrun plugin there's 1 T and 13 CT players on our server and when that 1 T player disconnects the map restarts as soon as someone else is put into T team so there will be no use of bot if it sits in specs...

Searching this forum/google i found at least 3 bot plugin examples but none of them worked as asked in topic title. 1 of them just spawned, another spawned invisible and 3rd bot spawned outside the map...


All times are GMT -4. The time now is 01:26.

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