Skip to content

Example: 2D Aim Down Sight

yvt edited this page Mar 15, 2014 · 6 revisions

Image

http://yvt.jp/files/programs/osppaks/pngsight.zip

This example shows how to emulate 2D aim down sight by modifying skin script files. Prior to 0.0.9, this kind of modification required you to modify the source code and recompile OpenSpades. Using the new scripting feature introduced in 0.0.9, recompilation is no longer needed.

Updated Version Available Example: 2D Aim Down Sight 2

How to Try

To try this, you need semi.png, smg.png, and shotgun.png from AoS 0.75.

  1. Extract pngsight.zip.
  2. Copy semi.png, smg.png, and shotgun.png into the Gfx directory.
  3. Copy Gfx and Scripts folder into the Resource directory.

Starting from 0.0.10, you can pack files to a zip file with the extension ".pak" for better file management.