source: abuse/trunk/data-abuse/addon/example/example.lsp @ 582

Last change on this file since 582 was 582, checked in by Sam Hocevar, 10 years ago

data: remove \r and trailing spaces and tabs from all Lisp sources.

File size: 2.6 KB
RevLine 
[54]1;;;; This document is provided as is and no support is provided for
2;;;; it by Origin or Crack dot Com.  Use at your own risk.. blah blah blah
3
4;;;; This file shows how to create a abuse level which uses your own
5;;;; tiles without messing up the main abuse direcory structure & files.
6;;;; The first important point is where to put your stuff.
7
8;;;; All addons to abuse should be placed in the directory addon/
9;;;; Abuse does not require this to be done, but it's a good idea so the
10;;;; user can easily find/install/remove various addons.
11;;;; if you do not already have the directory c:\abuse\addon, make it now.
12
[582]13;;;; If you created foretiles for abuse (using Satan Paint) you should
[54]14;;;; start numbering them at 1200 because the last of the registered
15;;;; tiles end at 1100 something.  Backtiles should start numbering at 350.
16;;;; The command to renumber in Satan Paint is
17;;;; /renumber 1200 "%d" 0-last
18;;;; this renumbers all loaded tiles starting at 1200
19
20;;;; Remember all images must be changed to the 'foretile' or 'backtile' type
21;;;; The spaint command to do this is
22;;;; /with all type foretile          (or)
23;;;; /with all type backtile
24
25;;;; To have your tiles loaded into the game, you should create your
26;;;; own Lisp Startup File (you can just copy this file and replace
27;;;; the names with your own.
28
29;;;; ****************** RUNNING PACKAGES *******************
30;;;; For example to run this package, you should type :
31;;;; abuse -a example
32;;;; -a will load up the file addon/example/example.lsp
33;;;; if you make a directory addon/joe and have a file joe.lsp in there
34;;;; you can start abuse with abuse -a joe
35
36;;;; ****************** CREATING PACKAGES *******************
37;;;; to archive this package you should do the following
[582]38;;;;   DOS :
[54]39;;;;     cd c:\abuse\addon
40;;;;     pkzip -rp example.zip example\*.*
41;;;;   UNIX :
42;;;;     cd ~/abuse/addon
43;;;;     tar cvf - example/ | gzip -9 -c > example.tar.gz
44
45
46;;;; ****************** INSTALLING PACKAGES *******************
47;;;; to install this package you should type
48;;;;   DOS :
49;;;;     cd c:\abuse\addon
50;;;;     pkunzip -d example.zip
51;;;;   UNIX :
52;;;;     cd ~/abuse/addon
53;;;;     gunzip -c example.tar.gz | tar xvf -
54
55
56
57
58;;;; Now the meat of this package :
[582]59;;;; Note that slashes should be FORWARD slashes even if
[54]60;;;; you are using DOS
61
62;; load up some tiles I made.  You can add more filenames
63;; if you wish, but they should all be loaded from 'your' dir.
[582]64(load_tiles "addon/example/example.spe")
[54]65
66;; set the first level to the one I made
[582]67(set_first_level "addon/example/example.lvl")
[54]68
69;; load up the normal abuse startup file
[582]70(load "abuse.lsp")
[54]71
72
73
Note: See TracBrowser for help on using the repository browser.