Forum

> > CS2D > General > Ideas for CS2D - READ THE FIRST POST (OP)!
ForenübersichtCS2D-ÜbersichtGeneral-ÜbersichtEinloggen, um zu antworten

Englisch Ideas for CS2D - READ THE FIRST POST (OP)!

3.231 Antworten
Seite
Zum Anfang Vorherige 1 2101 102 103161 162 Nächste Zum Anfang

alt Re: Ideas for CS2D - READ THE FIRST POST (OP)!

sonkii
User Off Offline

Zitieren
Old cs2d version has good bots,but in this version mostly slowly bots.You can make it yourself or rather editing the old one.Making it will be not easy,read lua's manual and start create the new bots.

alt Re: Ideas for CS2D - READ THE FIRST POST (OP)!

Avo
User Off Offline

Zitieren
@user sayori: Better would be a modification of bombplant lua hook like:
1
onBombPlant(id, x, y, mode)
where mode is 0 (planting started) or 1 (planting finished)

OR:

"attack" hook should be triggered when a player tries to plant a bomb.

@user sonkii: not really needed I guess. Just a little detail.

alt Re: Ideas for CS2D - READ THE FIRST POST (OP)!

Ishara
User Off Offline

Zitieren
user Mr_Outsider hat geschrieben
@user Masea: and i sayed before that new players wont love the bots , and many players (like me) can't script Lua , also it would be good idea to add chat and bots can plant mines and LM ... etc.


Here you have some bots.



The game is not dying because of bots, it's the low exposure it has the game itself tbh, finding a platform can be the key, maybe Itch.io but I'm not sure.

Enough said, this is going off-topic.

alt Re: Ideas for CS2D - READ THE FIRST POST (OP)!

Baloon
GAME BANNED Off Offline

Zitieren
@user sayori: Like user Masea said, it can done with LUA. Maybe these codes can help you :

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
planting[1, 32]=0

addhook ("bombplant","onplanting")
function onplanting(id, mode)
   if mode==0 then
      planting[id]=1
      parse("sv_sound blabla")
   end
end

addhook("second","onsecond")
function onsecond()
   for all = 1, 32 do
      if player(all,"exists") then
         if planting[all]>=1 then
            if player(all,"process") then else
               planting[all]=0
               parse("sv_stopsound blabla")
            end end end end
end

Sound must have same duration with planting bomb

I haven't test it yet, so, idk if those codes works.
1× editiert, zuletzt 01.07.16 17:42:07

alt Re: Ideas for CS2D - READ THE FIRST POST (OP)!

GeoB99
Moderator Off Offline

Zitieren
Might not be useful at all but I guess the cs2d lua cmd player lua function needs a weaponswitch parameter for conditional weapon switching case.

• player(id, 'weaponswitch')

The condition case returns true if the player switches the weapon, false otherwise.
Zum Anfang Vorherige 1 2101 102 103161 162 Nächste Zum Anfang
Einloggen, um zu antwortenGeneral-ÜbersichtCS2D-ÜbersichtForenübersicht