source: abuse/trunk/doc/frabs/pages/editor2.html @ 634

Last change on this file since 634 was 592, checked in by Sam Hocevar, 12 years ago

doc: move Frabs documentation to doc/.

  • Property svn:keywords set to Id
  • Property svn:mime-type set to text/html
File size: 13.6 KB
Line 
1<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
2<html>
3<head>
4   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
5   <meta name="Author" content="Justin Cassidy">
6   <meta name="GENERATOR" content="Mozilla/4.75 [en] (Win98; U) [Netscape]">
7   <title>The Free Abuse Project</title>
8</head>
9<body text="#FFFFFF" bgcolor="#000000" link="#C0C0C0" vlink="#666666" alink="#C0C0C0" background="../images/jmc.jpg" nosave>
10<font color="#FFFFFF"><u><font size=+4>fRaBs</font></u><i>&nbsp;
11advanced level editing</i></font>
12<br><a href="../readme.html">Main</a><i><font color="#FFFFFF"> - </font></i><a href="updates.html">Updates</a><i><font color="#FFFFFF">
13- </font></i><a href="single.html">Single Player</a><i><font color="#FFFFFF">
14- </font></i><a href="dm.html">Deathmatch</a><i><font color="#FFFFFF">
15- </font></i><a href="editor.html">Level Editing</a><i><font color="#FFFFFF">
16- </font></i><a href="faq.html">FAQ</a><i><font color="#FFFFFF"> - </font></i><a href="credits.html">Credits</a><i><font color="#FFFFFF">
17- </font></i><a href="links.html">Links</a>
18<p><tt>&nbsp;&nbsp;&nbsp; [1-4] <a href="editor.html">Level Editing Basics</a></tt>
19<br><tt>&nbsp;&nbsp; ---------------------------</tt>
20<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [5] <a href="#Addon">Adding Foreground
21and Background Art</a></tt>
22<br><tt>&nbsp;&nbsp;&nbsp; [5.a] Foreground and Background Basics</tt>
23<br><tt>&nbsp;&nbsp;&nbsp; [5.b] fRaBs Fore/Back Art Tile Listing</tt>
24<br><tt>&nbsp;&nbsp;&nbsp; [5.c] Standards For Adding Art to fRaBs</tt>
25<br><tt>&nbsp;&nbsp; -------------------------------------------</tt>
26<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [6] <a href="#Addon2">Adding Objects
27and Enemies</a></tt>
28<br><tt>&nbsp;&nbsp;&nbsp; [6.a] Scenery Objects</tt>
29<br><tt>&nbsp;&nbsp;&nbsp; [6.b] Objects Activated by Switches</tt>
30<br><tt>&nbsp;&nbsp;&nbsp; [6.c] Creating Enemies</tt>
31<br><tt>&nbsp;&nbsp;&nbsp; [6.d] List of Functions Referenced By Objects</tt>
32<br><tt>&nbsp;&nbsp;&nbsp; [6.e] Testing, Hints and Ideas</tt>
33<br><tt>&nbsp;&nbsp; ----------------------------------------------</tt>
34<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [7] Creating Unique Artwork and
35Objects</tt>
36<br><tt>&nbsp;&nbsp;&nbsp; [7.a] Creating Unique Artwork and Objects</tt>
37<br><tt>&nbsp;&nbsp; ------------------------------------------</tt>
38<br><tt>&nbsp;&nbsp; [8-10] <a href="editor3.html">Making Special Types
39of Levels</a></tt>
40<p><tt>[5]</tt>
41<br><a NAME="Addon" href="#Tips"></a><tt><a href="#Addon">Adding New Foreground
42and Background Art to Abuse and fRaBs</a></tt>
43<p><tt>------------------------------------------------------------------------</tt>
44<br><tt>[5.a] Adding Foreground and Background Art</tt>
45<br><tt>------------------------------------------------------------------------</tt>
46<p><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If you want to add your
47own art and objects to Abuse, chances are</tt>
48<br><tt>the game has become a labor of love for you. Even with some of
49the editor's</tt>
50<br><tt>little inadequacies, you still are having a blast making level
51after level.</tt>
52<br><tt>It's time for you to branch out and try creating your own artwork,
53so your</tt>
54<br><tt>levels become truly original.</tt>
55<p><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; To understand how the
56artwork system in Abuse works, you need to</tt>
57<br><tt>first make yourself familiar with Satan Paint. Named for it's incredible</tt>
58<br><tt>ease of use and rock-solid stability (cough, cough), you can make
59nearly</tt>
60<br><tt>anything you want for Abuse in it. With fRaBs, you can find SPAINT.EXE
61in</tt>
62<br><tt>the /art directory. One of these days I'll write up an entire tutorial
63on</tt>
64<br><tt>this pain-in-the-ass program, but for now I'm just going to stick
65with it's</tt>
66<br><tt>functionality in relation to foreground and background.</tt>
67<p><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Anyways, to start out,
68try loading a file in /art/fore or /art/back</tt>
69<br><tt>and see what they look like. Each one of these files has a litany
70of tiles</tt>
71<br><tt>that you see in a normal game of Abuse, and perhaps a few that
72you don't</tt>
73<br><tt>recognize. Press 'i' to see a mosiac of all the tiles in the file,
74and to</tt>
75<br><tt>navigate between the different tiles, press 'n'. Each tile has
76a 'name' and</tt>
77<br><tt>a 'type' which vary depending on the file you're looking at. For
78example,</tt>
79<br><tt>if you're browsing one of the files from art/fore, then chances
80are your</tt>
81<br><tt>tile will have a numerical name from 0-1100 and it will be a 'Fore
82Tile'</tt>
83<br><tt>type. All foreground tiles are 30*15, and all background tiles
84are 60*30.</tt>
85<p><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; There are three big things
86you need to do to get your artwork in</tt>
87<br><tt>fRaBs. Firstly, you need to import the art into Satan Paint so
88it is</tt>
89<br><tt>corrected for the fRaBs palette. Second, each tile needs to be
90numbered</tt>
91<br><tt>correctly so that the Abuse engine picks it up right. Third, you
92need to</tt>
93<br><tt>write some LISP that calls up your artwork and puts it with the
94rest of</tt>
95<br><tt>Abuse's artwork.</tt>
96<p><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Satan Paint can import
97most file formats easily... just don't use</tt>
98<br><tt>too many colors in your original bits of art and you'll be ok.
99There is a</tt>
100<br><tt>palette.bmp file in /art that should help you tune your art to
101the fRaBs</tt>
102<br><tt>color palette. Every time you import a file using the 'Import Detectable</tt>
103<br><tt>Images' command, it will follow the file you are looking at in
104Satan Paint.</tt>
105<br><tt>After you import each file individually, you save the composite
106of all the</tt>
107<br><tt>files you have imported into a .spe file. Use the File 'SaveAs'
108command</tt>
109<br><tt>just to be safe.</tt>
110<p><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Once you do that, you
111need to give your tiles numbers. The</tt>
112<br><tt>following note is very important if you want to work with your
113art in</tt>
114<br><tt>fRaBs without causing conflicts.</tt>
115<p><tt><u>NUMBER YOUR TILES ACCORDING TO THE TILE LISTING IN THE FOLLOWING
116SECTION.</u></tt>
117<p><tt>There are a couple of ways to renumber your tiles. In the Image
118menu, you</tt>
119<br><tt>will find a 'Name' option. You can use it to renumber the current
120tile to</tt>
121<br><tt>whatever you like. There is also a 'renumber' option in the Commands
122menu</tt>
123<br><tt>which is probably quicker, but it's a bit confusing.</tt>
124<p><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Not only do you have
125to renumber your tiles, but you also have to</tt>
126<br><tt>reformat your tiles as either 'Back Tile' or 'Fore Tile'... if
127you simply</tt>
128<br><tt>import art into Satan Paint, it will be of type 'Image' and the
129methods</tt>
130<br><tt>that Abuse uses to load foreground and background tiles will not
131work</tt>
132<br><tt>unless you format your tiles correctly. This is fairly easy...
133press '/'</tt>
134<br><tt>to bring up the Satan Paint command line and type 'with all type
135fore tile'</tt>
136<br><tt>and your tiles will all be formatted to be 'Fore Tiles'. I believe
137you can</tt>
138<br><tt>change the 'all' to the number/name of a image in your SPE file.
139After you</tt>
140<br><tt>renumber and reformat, make sure you save your file.</tt>
141<p><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Now it's time to add
142your tiles to Abuse. The easy way to do this</tt>
143<br><tt>is to make a text file and copy the lines from addon/newart/newart.lsp
144into</tt>
145<br><tt>it. All newart.lsp has in it is a simple 'load_tiles' function,
146and it looks</tt>
147<br><tt>for specific files. Just change one of the filenames in quotes
148to the file</tt>
149<br><tt>where your tiles are located, and save the text file you have made
150into a</tt>
151<br><tt>subdirectory of /addon. Finally, open up abuse.lsp, copy a 'load("")'
152line</tt>
153<br><tt>and add the path to your new LISP file. You can load LISP files
154in any little</tt>
155<br><tt>text editor. I've found that Windows Wordpad is a good utility
156for working</tt>
157<br><tt>with LISP files.</tt>
158<p><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Run Abuse, and look around
159in the foreground/background menus for</tt>
160<br><tt>your new art. If you number your tiles according to the guidelines
161below,</tt>
162<br><tt>then your artwork should be near the end of the foreground/background
163menu.</tt>
164<p><tt>------------------------------------------------------------------------</tt>
165<br><tt>[5.b] fRaBs Fore/Back Art Tile Listing</tt>
166<br><tt>------------------------------------------------------------------------</tt>
167<p><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; This is the listing of
168all the tiles in fRaBs, foreground and</tt>
169<br><tt>background. DO NOT NUMBER YOUR TILES IN BETWEEN THESE ONES or OVER
170THESE</tt>
171<br><tt>ONES or Abuse will start up with some funky error messages and
172the levels</tt>
173<br><tt>won't look right. Mark these words well, for it is a knell that
174summons thee</tt>
175<br><tt>to heaven or to hell...</tt>
176<p><tt>REGULAR ABUSE FOREGROUND TILES</tt>
177<p><tt>/art/fore/foregrnd.spe&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0</tt>
178<br><tt>/art/fore/techno.spe&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1791-99</tt>
180<br><tt>/art/fore/techno2.spe&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 100-167</tt>
181<br><tt>/art/fore/techno3.spe&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 200-236</tt>
182<br><tt>/art/fore/techno4.spe&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 300-460</tt>
183<br><tt>/art/fore/cave.spe&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
184500-634</tt>
185<br><tt>/art/fore/alien.spe&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
186700-774</tt>
187<br><tt>/art/fore/trees.spe&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
188800-931</tt>
189<br><tt>/art/fore/endgame.spe&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
190950-1014</tt>
191<br><tt>/art/fore/trees2.spe&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1921100-1134</tt>
193<p><tt>NEW FOREGROUND TILES</tt>
194<br>&nbsp;
195<p><tt>/addon/leon/lnewft.spe&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 660-671</tt>
196<br><tt>/addon/leon/lnewft2.spe&nbsp;&nbsp;&nbsp;&nbsp; 672</tt>
197<br><tt>/addon/leon/stones.spe&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 676-694</tt>
198<br><tt>/addon/newart/mtile2.spe&nbsp;&nbsp;&nbsp; 1150-1154</tt>
199<br><tt>/addon/newart/frabs_1.spe&nbsp;&nbsp; 1200-1239</tt>
200<br><tt>/addon/newart/frabs_2.spe&nbsp;&nbsp; 1250-1285</tt>
201<br><tt>/addon/newart/final.spe&nbsp;&nbsp;&nbsp;&nbsp; 1300-1336</tt>
202<br><tt>/addon/aliens/fortiles.spe&nbsp; 2000-2077</tt>
203<br><tt>/addon/claudio/pal81f.spe&nbsp;&nbsp; 2200-2217</tt>
204<br><tt>/addon/claudio/pal82f.spe&nbsp;&nbsp; 2250-2283</tt>
205<p><tt>REGULAR ABUSE BACKGROUND TILES</tt>
206<p><tt>/art/back/backgrnd.spe&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0</tt>
207<br><tt>/art/back/intro.spe&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
2085-37</tt>
209<br><tt>/art/back/city.spe&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
21040-70</tt>
211<br><tt>/art/back/cave.spe&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
21284-103</tt>
213<br><tt>/art/back/tech.spe&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
214110-139</tt>
215<br><tt>/art/back/alienb.spe&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
216150-179</tt>
217<br><tt>/art/back/green2.spe&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
218200-268</tt>
219<br><tt>/art/back/galien.spe&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
220300-320</tt>
221<p><tt>NEW BACKGROUND TILES</tt>
222<p><tt>/addon/aliens/bactiles.spe&nbsp; 340-374</tt>
223<br><tt>/addon/claudio/pal2.spe&nbsp;&nbsp;&nbsp;&nbsp; 380-387</tt>
224<br><tt>/addon/claudio/pal5.spe&nbsp;&nbsp;&nbsp;&nbsp; 430-444</tt>
225<br><tt>/addon/newart/space.spe&nbsp;&nbsp;&nbsp;&nbsp; 450-468</tt>
226<br><tt>/addon/claudio/pal90.spe&nbsp;&nbsp;&nbsp; 475-494</tt>
227<br><tt>/addon/claudio/pal21.spe&nbsp;&nbsp;&nbsp; 500-529</tt>
228<br><tt>/addon/newart/blcave.spe&nbsp;&nbsp;&nbsp; 560-574</tt>
229<br><tt>/addon/newart/frbsblue.spe&nbsp; 580-611</tt>
230<p><tt>------------------------------------------------------------------------</tt>
231<br><tt>[5.c] Standards For Adding Art to fRaBs</tt>
232<br><tt>------------------------------------------------------------------------</tt>
233<p><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; As mentioned before,
234you need to number your tiles so that they do</tt>
235<br><tt>not conflict with the existing ones. If you want your artwork in
236the main</tt>
237<br><tt>version of fRaBs, check the latest <a href="http://www.abuse2.com/frabs/pages/updates.html">updates
238log</a> to make sure that I haven't</tt>
239<br><tt>added any more new art. Then, number your tiles correctly and you
240only need</tt>
241<br><tt>to <a href="mailto: messiah15@dog.com">send me</a> the SPE file
242of the artwork. I will add a line to /addon/newart/</tt>
243<br><tt>newart.lsp and place your SPE file in that directory.</tt>
244<p><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; And that's all it takes
245to make your own artwork, test it out, and</tt>
246<br><tt>get it added to the main fRaBs distribution. It's a lot easier
247than it</tt>
248<br><tt>sounds... :)</tt>
249<p><tt>[6]</tt>
250<br><a NAME="Addon2" href="#Tips"></a><tt><a href="#Addon2">Adding Objects
251and Enemies</a></tt>
252<p><tt>------------------------------------------------------------------------</tt>
253<br><tt>[6.a] Scenery Objects</tt>
254<br><tt>------------------------------------------------------------------------</tt>
255<br><tt>**Coming Soon... sections 6 and 7 will take a while to write**</tt>
256<p><font color="#FFFFFF"><a href="editor3.html">Special Types of Levels
257--></a></font>
258<p><font color="#FFFFFF">Justin Cassidy</font>
259<br><a href="mailto: messiah15@*spam-me-and-die*dog.com">messiah15@dog.com</a>
260<p><img SRC="../images/ssig.GIF" NOSAVE height=17 width=20>
261</body>
262</html>
Note: See TracBrowser for help on using the repository browser.