Lua has long been hailed as a very flexible language that allows programmers to create features they need from it even if those features do not exist by default. One such notable feature is an object-oriented paradigm that can be implemented in Lua using metatable manipulations. By request of friends, this post will give some basic insight into how this is done. Continue reading Lua: Metatable OOP
So I’ve recently taken to using the Ruby programming language for writing utility scripts, not for any practical purpose, but because the language looks interesting and I want to try it out. I feel like this utility script might be useful to someone else, so I decided to publish it. It’s a script that extracts embedded and sidecar ACDSee metadata from images – keywords in this case – and stores it in an easy-to-use hash. Continue reading Ruby: Extracting ACDSee Metadata
This tutorial will walk you through creating a simple CS2D script that creates explosions at the player’s cursor when they left-click. The script is not very useful in itself, but it will demonstrate how to query clients for data. Continue reading CS2D Lua: Mouse Pointer Explosions
Hats. Hat scripts are one of the most popular categories of scripts in Counter-Strike 2D and on Unreal Software – together with administration solutions and Tibia remakes. The majority of hat scripts, however, contain the same pitfalls and mistakes that lead to errors and malfunctions. This post is a tutorial on how to make good hat scripts. This tutorial is made for those with basic knowledge of Lua and its CS2D API. Continue reading CS2D Lua: Hats
So according to the results of the poll on UnrealSoftware, 6 out of 10 people wanted to see a save system. In this post I’m going to describe a quite sophisticated universal system for saving data in an external file.
Continue reading Useful CS2D Lua Functions: Part III