Difference between revisions of "IMPORT(Builder)"

From CoffeeMud Wiki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 16: Line 16:
  
 
===Notes===
 
===Notes===
*Some sample areas are available on [[https://sourceforge.net/projects/coffeemud/files/Sample%20Areas/Assorted%20Sample%20Areas/ Sourceforge]].
+
*Some sample areas are available on [https://sourceforge.net/projects/coffeemud/files/Sample%20Areas/Assorted%20Sample%20Areas/ Sourceforge]
 +
**More links to importing areas can be found at [[Installation_Guide#Importing_Areas]]
 +
*Other file types may be available in the [[CMARE_Share(Admin)|CMARE Share]] page.
 
*If you create a GenExit for each area on the exits that link to each other, then when you import those areas again or fresh they automatically link together without having to reestablish the link each time you import.
 
*If you create a GenExit for each area on the exits that link to each other, then when you import those areas again or fresh they automatically link together without having to reestablish the link each time you import.

Latest revision as of 21:04, 18 January 2022

CoffeeMUD
Administrator                                                  Builder                                                              Player
=CoffeeMUD Builder Information=
Basics Praetor     Player Support     Commands     Zapper Masks Advanced Races     Classes     Abilities     Socials     Scripting    
Building Behaviors     Properties     Areas     Rooms     Exits     Items     Mobs Systems Achievements     Crafting     Help Info     Ships     Planes of Existence     Quests     Triumphs    
===IMPORT===
Usage: IMPORT (NOPROMPT) (NODELETE) (AREATYPE=TYPE) "FILE NAME(S)"
Examples: import /areas/myarea.cmare

import noprompt nodelete /areas/midgaard.are

import areatype=stdthininstance /areas/midgaard.are /areas/school.are

import noprompt /areas/areas.lst

import noprompt /areas/

Shorts:
Description: The import command will allow you to import official coffeemud area files, whose extension is "*.cmare"

CoffeeMud may also import, with varying levels of success, the "*.are" files used by other muds. Some formats are better supported than others, so be sure to carefully examine the imported area afterwards.

The import command will auto detect, based on the file given, whether the file refers to a coffeemud area file, room file, a "*.are" from another mud, or a "*.lst" list of other area files.

The CoffeeMud "resources" directory is the default path. Remember that all paths in CoffeeMud treat the install directory as "root'. This means that the files being imported must be copied into a folder underneath your install directory before use. See the help on VFS for more information on this concept.

Notes

  • Some sample areas are available on Sourceforge
  • Other file types may be available in the CMARE Share page.
  • If you create a GenExit for each area on the exits that link to each other, then when you import those areas again or fresh they automatically link together without having to reestablish the link each time you import.