From 51fee46c91fd2cd6010e1c9605e2a176d834ac30 Mon Sep 17 00:00:00 2001 From: RandumKiwi Date: Thu, 14 Aug 2008 01:15:31 +0000 Subject: [PATCH] mapediting guide, pages 1, 2 and 3 are now complete. git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2315 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- docs/mapediting3.xml | 64 ++++++++++++++++++++++++++++++++++++++------ 1 file changed, 56 insertions(+), 8 deletions(-) diff --git a/docs/mapediting3.xml b/docs/mapediting3.xml index a376b510..526737aa 100644 --- a/docs/mapediting3.xml +++ b/docs/mapediting3.xml @@ -167,7 +167,49 @@

-

Mapmodels :: TODO

+

Mapmodels

+

+ AssaultCube is packaged with many mapmodels to begin with, so there's a large choice available. You can add your own custom models if + you want through config files. When adding mapmodels to your map, use them sparingly, as mapmodels slow + down gamespeed and too many in one place just looks plain ugly. +

+

+ To add a mapmodel to a map, type: /newent mapmodel X Y Z.
+ Alternatively, you can use the very handy mapmodel menu inside the editing menu. +

+

+ Replace X with the mapmodels number (you can find this out by opening + /config/default_map_settings.cfg - The mapmodels number is written in a comment to + the right of the mapmodel). +

+

+ Replace Y with the height you would like the mapmodel to appear above the cube that it is placed upon. +

+

+ If you want a different texture to appear on the mapmodel, you can use Z to define a texture number to apply to that mapmodel. + Using this is unreccomended as it's better to use the models default texture. +

+

+ Note: Some mapmodels in the mapmodels menu do not appear instantly. Instead, they bring up the text needed to place that mapmodel, + giving you a chance to define a height for that mapmodel. +

+

Mapmodel platforms

+

+ Due to the AssaultCube engines limitations... you can't use geometry to create a second level. + But, you can use a mapmodel platform or bridge. Look in the editing menu under "Platforms/Clips". Apply some height to these + to create a second floor. +

+

Clips

+

+ Clips is an invisible mapmodel that can be used to block players from accessing areas that they shouldn't be able to access + (for example: over a fence). It's also known as the "nothing" mapmodel. The default size for the blocking force created by the nothing + mapmodel is 4 cubes in width, 4 in length and 2 in height.
+ You can use the clips model through the editing menu under "Platforms/Clips". +

+

+ The size of the "nothing" mapmodel can be changed through config files. +

+

CTF flags

If you want to enable CTF mode on your map, place a CTF flag in each respective base using the menus or by typing: @@ -199,12 +241,18 @@ that the player will need to climb.

- -

Ambient sounds :: TODO

- - - - - +

Ambient sounds

+

+ So long as the sound is defined in the config files you can use ambient sounds in a map. + When using ambient sounds, sound will be played to all players within the radius defined, from the source of the entity. +

+

+ To use an ambient sound, type: /newent sound X Y Z +

+

+ Replace X with the number for the sound (as defined by your custom config files).
+ Replace Y with the radius you want the sound to play for.
+ Replace Z with the amount of distance you would like before the sound starts to fade. +