Files

> > CS2D > Lua Scripts > BetterBot for place
Files overviewCS2D overviewLua Scripts overview

English BetterBot for place >

4 comments733 b, 63 Downloads

old BetterBot for place

WatPz
User Off Offline

A simple script allows you to place the bot.
It's pretty convenient when you want to practise shooting skills

By saying cmd "@pb" or "@placebot", you can place a bot in the position of your mouse.
You need to have the rcon, otherwise, create the sv on client.

Warning: This script will change your game mode into Deathmatch!

Examples are listed on IMGs
edited 3×, last 25.06.24 12:30:00 pm
Approved by Gaios

Download Download

733 b, 63 Downloads

Comments

4 comments
To the start Previous 1 Next To the start

Log in!

You need to log in to be able to write comments!Log in

old

WatPz
User Off Offline

JonyFrosta has written
hook 'key' - I'm some kind of joke to you?

That's EZ, just add cmd /bind "q" "say @pb" (like example)

I didn't use hook 'key', because someone might use this key for other purpose.
However, hook 'serveraction' is making a mountain out of a molehill, because we often use serveraction for some BIG interaction like server MainMenu.

That's simple to add some code
1
2
3
4
5
6
addbind('H')
function BetterBot.hook.key(p, k)
    if k == 'H' then
        botPlace(p)
    end
end

Anyway, thx for your supplement

old

JonyFrosta
User Off Offline

hook 'key' - I'm some kind of joke to you?

old

WatPz
User Off Offline

Mami Tomoe has written
There's an exploit in the code where if a bot says the command it will work too.
Bots also have IP 0.0.0.0.
Bots can talk with cs2d lua cmd ai_say.

I haved fixed it. thx

old

Mami Tomoe
User Off Offline

There's an exploit in the code where if a bot says the command it will work too.
Bots also have IP 0.0.0.0.
Bots can talk with cs2d lua cmd ai_say.
To the start Previous 1 Next To the start