From 45287616d06ab1deb39fff10b1a09d4fbde151d8 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sat, 13 Nov 2010 14:26:00 +0000 Subject: moved shipmodel templates to ships.ini --- base/ini/ships.ini | 32 +++++++++++++++++++++++++++++++- base/ini/templates.ini | 27 ++------------------------- 2 files changed, 33 insertions(+), 26 deletions(-) diff --git a/base/ini/ships.ini b/base/ini/ships.ini index a8f2fc5..2b15ccb 100644 --- a/base/ini/ships.ini +++ b/base/ini/ships.ini @@ -1,10 +1,40 @@ -; ; +; ; ships.ini ; ; global ship type definitions ; This file describes all types of ships that can be used. ; +; ------------------------------------------------------------------ ; +; TEMPLATES +; ------------------------------------------------------------------ ; + +; templates define default settings, like radius + +[template] +label=ship_small +radius=0.25 + +[template] +label=ship_medium +radius=0.5 + +[template] +label=ship_large +radius=1 + +[template] +label=ship_cruiser +radius=5 + +[template] +label=ship_battleship +radius=5 + +[template] +label=ship_capital +radius=10 + ; ------------------------------------------------------------------ ; ; MERCHANT ; ------------------------------------------------------------------ ; diff --git a/base/ini/templates.ini b/base/ini/templates.ini index 4bee8c5..c433682 100644 --- a/base/ini/templates.ini +++ b/base/ini/templates.ini @@ -1,7 +1,8 @@ ; ; templates.ini -; entity templates ; +; entity templates define a set of default settings that +; can be applied to an entity or ship type ; the navpoint template is used by the game code [template] @@ -14,27 +15,3 @@ radius=0.25 label=cargopod model=maps/cargo/pod radius=0.1 - -[template] -label=ship_small -radius=0.25 - -[template] -label=ship_medium -radius=0.5 - -[template] -label=ship_large -radius=1 - -[template] -label=ship_cruiser -radius=5 - -[template] -label=ship_battleship -radius=5 - -[template] -label=ship_capital -radius=10 -- cgit v1.2.3