Forum
![>](img/i_next.png)
![>](img/icons/cs2d.png)
![>](img/i_next.png)
![>](img/i_next.png)
![user](img/i_friend.png)
![user](img/i_friend.png)
![cs2d cmd](img/i_codehelp.png)
![cs2d cmd](img/i_codehelp.png)
![cs2d cmd](img/i_codehelp.png)
![cs2d lua cmd](img/i_codehelp.png)
1× editiert, zuletzt 19.05.17 20:03:29
![user](img/i_friend.png)
![](img/smiles/veryfrightened.gif)
![IMG:https://i.imgur.com/3GHPlJ8.jpg](https://i.imgur.com/3GHPlJ8.jpg)
![user](img/i_friend.png)
SQ hat geschrieben
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.
![user](img/i_friend.png)
![](img/smiles/smile.gif)
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
![cs2d lua cmd](img/i_codehelp.png)
![user](img/i_friend.png)
bots/Standard AI.luais parsed AFTER all the other scripts. So to make it work anyway I suggest to use a timer (
![cs2d lua cmd](img/i_codehelp.png)
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
![](img/smiles/smile.gif)
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
![user](img/i_friend.png)
![IMG:https://i.imgur.com/YRjqAx8.jpg](https://i.imgur.com/YRjqAx8.jpg)
@
![user](img/i_friend.png)
1× editiert, zuletzt 23.05.17 08:31:24
![user](img/i_friend.png)
![](img/smiles/ugly.gif)
http://i.imgur.com/DUfQk4L.gif
http://i.imgur.com/0ZiAxba.png
1× editiert, zuletzt 28.05.17 01:22:36
Zitat
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