[Crossfire-wiki] [Crossfire DokuWiki] page changed: making_archetypes
no-reply_wiki at metalforge.org
no-reply_wiki at metalforge.org
Sat Dec 29 08:32:19 CST 2007
A page in your DokuWiki was added or changed. Here are the details:
Date : 2007/12/29 08:32
User : kbulgrien
Edit Summary: Rework the outline to better organize information.
@@ -1,4 +1,10 @@
+ ====== Information and Tips ======
+
+ ===== Commenting .arc Files =====
+
+ * The number sign (#) may be used as a comment character in .arc files.
+
====== Making Archetypes ======
Monsters, walls, tiles, and practically everything else in Crossfire are Archetypes. Archetype is often abbreviated to "arch".
@@ -7,36 +13,14 @@
* if you are under Linux {FIXME other architectures}, you need to have the server built
* a working Crossfire server
* the archetypes collection
* Perl.
-
- =====Tips=====
-
- ====Commenting .arc Files====
-
- * The number sign (#) may be used as a comment character in .arc files.
===== Items =====
- FIXME -- Modify Existing Potion section is a draft and work in progress
+ ==== Potions ===
- ==== Modify Existing Potion ====
-
- - Locate the //object name// of the potion in question. You can find this while in game and in DM mode by using the //dump// command on an existing potion id number.
- - Locate or search for the object name in the archetype files. You can use the grep command or search for text in the Archetype files that contains a key word in the potion name, this will probably require some trial and error.
- - Edit the .arc file with the changes you want to make. Examples include changing the name, modifying the potion duration, the potion appearance (aka graphic), and so on.
- - Save the file with your changes.
-
- === If the potion name changed ===
-
- * You will need to update the shop file. This file is located in the **archetypes** directory at: shop/Floors/shop_potion.trs
- * FIXME - where is the shop_potion.trs file in branch?
- * You will need to update the alchemy formula file. This file is located in the **server** directory at: lib/formulae
- * You will need to update the treasure generation file. This is located in the **server** directory at: lib/treasures
- * You will need to search through all the **map** files and update any references to the old (object) name as well.
- * Let the developers on the Gridarta (map editor) project know about the change so they can update the pickmap (ex: trunk/crossfire/resource/pickmaps/treasure)
-
- ==== Making a New Potion ====
+ === Making a New Potion ===
Some may find it easier to take an existing potion and tweak all the stats on it to ultimately create a "new potion."
* If you want it to show up in shops, the shop file needs to be updated. This file is located in the **archetypes** directory at: shop/Floors/shop_potion.trs
@@ -65,8 +49,32 @@
more
arch potion_<foo>
chance <number>
+
+ === Modify Existing Potion ===
+
+ FIXME -- Modify Existing Potion section is a draft and work in progress
+
+ - Locate the //object name// of the potion in question. You can find this while in game and in DM mode by using the //dump// command on an existing potion id number.
+ - Locate or search for the object name in the archetype files. You can use the grep command or search for text in the Archetype files that contains a key word in the potion name, this will probably require some trial and error.
+ - Edit the .arc file with the changes you want to make. Examples include changing the name, modifying the potion duration, the potion appearance (aka graphic), and so on.
+ - Save the file with your changes.
+
+ == If the potion name changed ==
+
+ * You will need to update the shop file. This file is located in the **archetypes** directory at: shop/Floors/shop_potion.trs
+ * FIXME - where is the shop_potion.trs file in branch?
+ * You will need to update the alchemy formula file. This file is located in the **server** directory at: lib/formulae
+ * You will need to update the treasure generation file. This is located in the **server** directory at: lib/treasures
+ * You will need to search through all the **map** files and update any references to the old (object) name as well.
+ * Let the developers on the Gridarta (map editor) project know about the change so they can update the pickmap (ex: trunk/crossfire/resource/pickmaps/treasure)
+
+ ===== Map Features =====
+
+ ==== Buildings ====
+
+ FIXME describe multi-tile building special requirements and address how to specify which tile is the "head", and what/where attributes are placed. Some note s describing object types seem to imply that it is not necessary to replicate properties on parts other than the "head".
===== Monsters =====
==== Modify Existing Monster (Example) ====
@@ -125,13 +133,9 @@
body_arm 2
body_range 1
end
- =====Buildings=====
-
- FIXME describe multi-tile building special requirements and address how to specify which tile is the "head", and what/where attributes are placed. Some note s describing object types seem to imply that it is not necessary to replicate properties on parts other than the "head".
-
- ======Testing Archetypes======
+ ====== Testing Archetypes ======
- If you have compiled before,
- go into the crossfire/lib directory
- type, "rm archetypes"
IP-Address : 70.254.39.97
Old Revision: http://wiki.metalforge.net/doku.php/making_archetypes?rev=1198937992
New Revision: http://wiki.metalforge.net/doku.php/making_archetypes
--
This mail was generated by DokuWiki at
http://wiki.metalforge.net/
More information about the crossfire-wiki
mailing list