[Crossfire-wiki] [Crossfire DokuWiki] page changed: making_archetypes

no-reply_wiki at metalforge.org no-reply_wiki at metalforge.org
Thu Sep 27 14:11:57 CDT 2007


A page in your DokuWiki was added or changed. Here are the details:

Date        : 2007/09/27 14:11
User        : leaf
Edit Summary: DRAFT: Partial content for modify existing potion arch

@@ -1,5 +1,5 @@
- ===== Making Archetypes =====
+ ====== Making Archetypes ======
  
  Monsters, walls, tiles, and practically everything else in Crossfire are Archetypes. Archetype is often abbreviated to "arch".
  
  To make and test your own archetype, you will need:
@@ -7,8 +7,56 @@
    * if you are under Linux {FIXME other architectures}, you need to have the server built
    * a working Crossfire server
    * the archetypes collection
    * Perl.
+ 
+ ===== Items =====
+ 
+ FIXME -- Modify Exising Potion section is a draft and work in progress
+ 
+ ==== 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.
+ 
+ Now, some decisions
+ 
+   * If the potion name changed, check and see if the shop file needs to be updated. This file is located in the archetypes directory at: shop/Floors/shop_potion.trs
+     * 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.
+   * If the potion is new, and 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
+      * Be sure to follow this format:
+ 
+   more
+   arch potion_<foo>
+     chance <number>
+ 
+   * If you want players to be able to create the potion through alchemy, you will need to update the alchemy formula file.  This file is located in the server directory at: lib/formula
+     * Be sure to follow this format or syntax:
+ 
+   # -- <comment or brief summary>
+   Object <as found in the archetype file>
+   arch <graphic_name>
+   chance <number>
+   diff <number>
+   exp <number>
+   yield <number>
+   skill alchemy
+   cauldron cauldron
+   ingred <ingredient1,ingredient2,etc>
+ 
+   * If you want players to be able to find the potion in dungeons or through random chance, you will need to update the treasure generation file.  This is located in the server directory at: lib/treasures
+ 
+ ==== Modify Existing Potion (Example) ====
+ 
+ 
+ ===== Monters =====
+ 
+ 
+ ==== Modify Existing Monster (Example) ====
  
  We will create a new goblin called "Goblin War Lord".
  
    - cd into your base arch directory


IP-Address  : 65.193.16.100
Old Revision: http://wiki.metalforge.net/doku.php/making_archetypes?rev=1168012126
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