current version: 1.3
Installation (important!)
To install, you must do two things:
Extract the contents of the zip archive to the main CS2D directory
Add this line into the file sys/servertransfer.lst
1
gfx/Boing_B_17G_contour.png
Starting the script
To start the script, let Lua parse this line:
1
dofile("sys/lua/asimg.lua")
Notes: In my test, this script did not go into conflict with other scripts. If you discover errors when using this script together with other scripts, let me know.
Update to v1.1: Whoops, there was a bug in version 1.0. When throwing lots of Air Strikes, the console complained about table fields that did not exist. This console spam could be a bit annoying for the server and I fixed that issue now.
Update to v1.2: Whoops, there was another bug (thx, phihung940) which let apper airplanes if you use another weapon after holding an Air Strike marker in hand. This should be fixed now. I also added parameters in the source code for a quick change of the airplane speed and the start distance from the throwing player.
Update to v1.3: I took a different default image for the air plane. It is somewhat the contour of a B 17G and is based on this work by bagera3005. It looks more like a bomber, has sharper contours than the previous image and even has a smaller file size!
edited 3×, last 23.09.11 07:26:18 pm
Approved by Starkkz
Download
9 kb, 1,345 Downloads