Forum
General
CS2D Bug Reports
thedarkgamerYT: Yeah, seems like this happens only for low quality smoke.
SQ: I've used
bot_freeze 1, maybe this is the reason. However,
ai_rotate works pretty much fine.
bot_freeze freezes the bots. It shouldn't be a big surprise that they can't aim while being frozen. I guess
ai_rotate works anyway because it is an instant operation which does not require the bot update loop (which isn't executed when bots are frozen). I hope that helps to clarify the behavior. edited 1×, last 19.05.17 06:03:29 pm
DC: Look Video Bug https://youtu.be/k-UF-PL0Gtk
DanelSonic123: SQ has written
Just so reports doesn't repeat:
I've fixed issues with radar getting all messed up after tabbing out when lighting engine is not enabled. And few related issues to that.
I've fixed issues with radar getting all messed up after tabbing out when lighting engine is not enabled. And few related issues to that.
Also that's because you have disabled lighting and played with settings a bit. I think it fixes itself if you press options.
SQ: Oh Thanks
I mean, I can't change and re-code Standart AI.lua if this would change everybody else's too.
And now, I want to use
ai_aim. What do you suggest?
Masea: Just overwrite the AI functions with your own ones. Unfortunately bots/Standard AI.luais parsed AFTER all the other scripts. So to make it work anyway I suggest to use a timer (
timer) which then runs a dofile for your own AI script. It should be sufficient to run it once with a tiny delay. Put this in any of the Lua files you load:1
2
3
4
2
3
4
timer(1,"loadAI")
function loadAI()
	dofile("sys/lua/YourAIScript.lua")
end
In your own AI script you just overwrite the Lua functions that CS2D calls for the AI. There are just a few. Basically all the functions defined directly in
bots/Standard AI.lua- they all start with "ai_"
You can actually just copy that standard AI script and change what the already defined functions do.
btw: This is going off-topic. If you need further help with this please create a separate thread
Wrench is not used to fix, but damage your buildings, after next it's switch is okay:
https://youtu.be/3S9MGjrEQaQ
retryand
reconnectin console while an sfx is playing will not stop the sfx
SQ: Look bug Link https://www.youtube.com/watch?v=vnKeZWTLc44&feature=youtu.be 
@
SQ: crash server Link https://youtu.be/prznw2pA9WQ edited 1×, last 23.05.17 06:31:24 am
DanelSonic123: Thanks, very useful! Also this might have been fixed already (not released yet though)
http://i.imgur.com/DUfQk4L.gif
http://i.imgur.com/0ZiAxba.png
edited 1×, last 27.05.17 11:22:36 pm
Quote
UTF-8 chat messages support (to allow users to chat in more languages)
This feature doesn't work for teamchat
1
2
3
4
5
6
7
8
9
10
11
12
13
2
3
4
5
6
7
8
9
10
11
12
13
addhook("clientdata","rp_noclip")
function rp_noclip(id,mode,x,y)
	if mode == 2 then
		if action_f4[id]==true then
			parse("setpos "..id.." "..x.." "..y)
			action_f4[id]=false
			return
		end
		if player(id,"weapontype") == 69 then
			parse("explosion "..x.." "..y.." 32 10000000 "..id)
		end
	end
end
It teleports me and sets the explosion in the wrong place.
How to convert?
1
2
2
x*32+16 y*32+16
CS2D Bug Reports


Offline