File: example.lsp

package info (click to toggle)
abuse-lib 2.00-14
  • links: PTS
  • area: main
  • in suites: woody
  • size: 6,764 kB
  • ctags: 364
  • sloc: lisp: 5,618; makefile: 43; sh: 15
file content (73 lines) | stat: -rw-r--r-- 2,671 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
;;;; This document is provided as is and no support is provided for
;;;; it by Origin or Crack dot Com.  Use at your own risk.. blah blah blah

;;;; This file shows how to create a abuse level which uses your own
;;;; tiles without messing up the main abuse direcory structure & files.
;;;; The first important point is where to put your stuff.

;;;; All addons to abuse should be placed in the directory addon/
;;;; Abuse does not require this to be done, but it's a good idea so the
;;;; user can easily find/install/remove various addons.
;;;; if you do not already have the directory c:\abuse\addon, make it now.

;;;; If you created foretiles for abuse (using Satan Paint) you should 
;;;; start numbering them at 1200 because the last of the registered
;;;; tiles end at 1100 something.  Backtiles should start numbering at 350.
;;;; The command to renumber in Satan Paint is
;;;; /renumber 1200 "%d" 0-last
;;;; this renumbers all loaded tiles starting at 1200

;;;; Remember all images must be changed to the 'foretile' or 'backtile' type
;;;; The spaint command to do this is
;;;; /with all type foretile          (or)
;;;; /with all type backtile

;;;; To have your tiles loaded into the game, you should create your
;;;; own Lisp Startup File (you can just copy this file and replace
;;;; the names with your own.

;;;; ****************** RUNNING PACKAGES *******************
;;;; For example to run this package, you should type :
;;;; abuse -a example
;;;; -a will load up the file addon/example/example.lsp
;;;; if you make a directory addon/joe and have a file joe.lsp in there
;;;; you can start abuse with abuse -a joe

;;;; ****************** CREATING PACKAGES *******************
;;;; to archive this package you should do the following
;;;;   DOS : 
;;;;     cd c:\abuse\addon
;;;;     pkzip -rp example.zip example\*.*
;;;;   UNIX :
;;;;     cd ~/abuse/addon
;;;;     tar cvf - example/ | gzip -9 -c > example.tar.gz


;;;; ****************** INSTALLING PACKAGES *******************
;;;; to install this package you should type
;;;;   DOS :
;;;;     cd c:\abuse\addon
;;;;     pkunzip -d example.zip
;;;;   UNIX :
;;;;     cd ~/abuse/addon
;;;;     gunzip -c example.tar.gz | tar xvf -




;;;; Now the meat of this package :
;;;; Note that slashes should be FORWARD slashes even if 
;;;; you are using DOS

;; load up some tiles I made.  You can add more filenames
;; if you wish, but they should all be loaded from 'your' dir.
(load_tiles "addon/example/example.spe")   

;; set the first level to the one I made
(set_first_level "addon/example/example.lvl")  

;; load up the normal abuse startup file
(load "abuse.lsp")