|
From: Crossfire C. r. messages.
<cro...@li...> - 2010-05-14 04:23:49
|
Revision: 13216
http://crossfire.svn.sourceforge.net/crossfire/?rev=13216&view=rev
Author: kbulgrien
Date: 2010-05-14 04:23:43 +0000 (Fri, 14 May 2010)
Log Message:
-----------
- Move dev/wip/manhole to connect/Hole as it is tested and ready to use. The
test patch is removed as it is out of date, and the README is moved to the
Hole directory as documentation.
Modified Paths:
--------------
arch/trunk/CHANGES
Added Paths:
-----------
arch/trunk/connect/Hole/README
arch/trunk/connect/Hole/manhole.arc
arch/trunk/connect/Hole/manhole.base.111.png
arch/trunk/connect/Hole/manhole.base.112.png
arch/trunk/connect/Hole/manhole.base.113.png
arch/trunk/connect/Hole/manhole.base.114.png
arch/trunk/connect/Hole/manhole.base.xcf
arch/trunk/connect/Hole/manhole.face
Removed Paths:
-------------
arch/trunk/dev/wip/manhole/
Modified: arch/trunk/CHANGES
===================================================================
--- arch/trunk/CHANGES 2010-05-13 22:31:30 UTC (rev 13215)
+++ arch/trunk/CHANGES 2010-05-14 04:23:43 UTC (rev 13216)
@@ -1,6 +1,11 @@
Changes for SVN top of tree:
==============================================================================
+Move dev/wip/manhole to connect/Hole as it is tested and ready to use. The
+test patch is removed as it is out of date, and the README is moved to the
+Hole directory as documentation.
+Kevin Bulgrien 2010-05-13
+
Add a ships wheel based on a heavily modified down-scale of an image found at
dreadnoughtproject.org. Permission obtained for use of the image as a model
to produce this free image. Other use of the original image is not free.
Copied: arch/trunk/connect/Hole/README (from rev 13210, arch/trunk/dev/wip/manhole/README)
===================================================================
--- arch/trunk/connect/Hole/README (rev 0)
+++ arch/trunk/connect/Hole/README 2010-05-14 04:23:43 UTC (rev 13216)
@@ -0,0 +1,80 @@
+-----------------------------------------------------------------------------
+manhole
+-----------------------------------------------------------------------------
+
+manhole.arc
+
+ manhole_closed_1
+
+ A HOLE modeled after arch/trunk/connect/Hole/pit.arc pit_closed, except
+ that it is a multi-tile archetype, and that the non-head pieces are
+ deliberately set to the wrong face so that the animation works. The
+ cover is over the hole by default when a map loads or is reset.
+
+ manhole_open_1
+
+ A HOLE modeled after arch/trunk/connect/Hole/pit.arc pit_open that has
+ its lid off the hole by default when a map loads or is reset.
+
+manhole.base.xcf
+
+ This is a GIMP 64 x 64 bit image with layers and transparency.
+
+ The elements used to construct the manhole .png files. This file does
+ also contain some variations of the archetype that could be used to
+ produce different manholes (rust- colored vs. bronze, for example).
+ Ideally, graphic design changes are made in this file, and then .pngs
+ are exported.
+
+manhole.base.111.png
+manhole.base.112.png
+manhole.base.113.png
+manhole.base.114.png
+
+ A bronze manhole animation set. 111 is an open manhole. 112 and 113 are
+ transitional shots of a manhole opening or closing, and 114 is the closed
+ manhole. A ladder is shown going down the hole underneath the lid when
+ it is open.
+
+Using the manhole:
+
+ 1) This is a pit. It can only transfer a player to a location on the same
+ map.
+
+ 2) The manhole can be used to drop players in another map by pointing it to
+ a hidden coordinate that has a teleporter in it. The teleporter can then
+ transfer the player on to another map. Though the transfer is very fast,
+ it may be wise to place the same flooring, and a ladder going down arch
+ at the transfer coordinates and on top of the teleporter so that it does
+ not look too wierd if the player notices.
+
+ To get back up the manhole, in the lower map, just place a ladder going
+ up directly to the manhole map location.
+
+ 3) The manhole is unlikely to be useful on a world map since there are no
+ hidden places where a teleport can be placed to transfer to another map.
+
+ 4) The manhole needs a trigger (connection) to activate. This can be a
+ lever, button, script, etc., but a very effective connection for a closed
+ manhole is an activate_on_push and activate_on_release player pedestal.
+ Place the pedestal under the manhole. When the player steps on the
+ manhole, the open animation begins and if the player continues to stand
+ on the manhole, they will "fall in". The reason for using push and
+ release is that after the player has fallen in, the manhole "resets" to
+ the shut position, much like a door. The animation is slow enough that
+ the player can step off the manhole to avoid going down.
+
+ When a pedestal is used to open the manhole when it is stepped on, make
+ sure that the exit back to the manhole location returns the player to a
+ coordinate beside the manhole cover, and not right on the lid so they do
+ not automatically fall back in when they come out.
+
+ 5) If an item (i.e. rock) is placed on top of the manhole to obscure it,
+ sometimes the manhole is rendered on top of the item. If this is the
+ case, one workaround is to set "map_layer no_pick" in the manhole on the
+ map, and "map_layer item" on the obscuring item.
+
+The concept of the manhole was developed by Kevin Bulgrien, but would not have
+been possible if Nicolas Weeger had not figured out how to modify the server
+code to operate and animate the pit when it was placed in a multi-tile arch.
+
Copied: arch/trunk/connect/Hole/manhole.arc (from rev 13210, arch/trunk/dev/wip/manhole/manhole.arc)
===================================================================
--- arch/trunk/connect/Hole/manhole.arc (rev 0)
+++ arch/trunk/connect/Hole/manhole.arc 2010-05-14 04:23:43 UTC (rev 13216)
@@ -0,0 +1,74 @@
+# These archetypes are presently modeled after the contents found in pit.arc in
+# the arch/trunk/connect/Hole directory. The difference is that this archetype
+# is a 64 x 64 bit multi-tile HOLE.
+#
+# This animation shold work as expected.
+#
+Object manhole_closed_1
+name manhole
+type 94
+activate_on_push 1
+activate_on_release 1
+no_pick 1
+face manhole.114
+animation manhole
+is_animated 0
+wc 4
+end
+More
+Object manhole_closed_1a
+face manhole.114
+animation manhole
+x 1
+end
+More
+Object manhole_closed_1b
+face manhole.114
+animation manhole
+y 1
+end
+More
+Object manhole_closed_1c
+face manhole.114
+animation manhole
+x 1
+y 1
+end
+#
+# This animation should work.
+#
+Object manhole_open_1
+name manhole
+type 94
+activate_on_push 1
+activate_on_release 1
+no_pick 1
+face manhole.111
+animation manhole
+is_animated 0
+move_on walk
+wc 0
+maxsp 1
+end
+More
+Object manhole_open_1a
+face manhole.111
+animation manhole
+maxsp 1
+x 1
+end
+More
+Object manhole_open_1b
+face manhole.111
+animation manhole
+maxsp 1
+y 1
+end
+More
+Object manhole_open_1c
+face manhole.111
+maxsp 1
+animation manhole
+x 1
+y 1
+end
Copied: arch/trunk/connect/Hole/manhole.base.111.png (from rev 13210, arch/trunk/dev/wip/manhole/manhole.base.111.png)
===================================================================
(Binary files differ)
Copied: arch/trunk/connect/Hole/manhole.base.112.png (from rev 13210, arch/trunk/dev/wip/manhole/manhole.base.112.png)
===================================================================
(Binary files differ)
Copied: arch/trunk/connect/Hole/manhole.base.113.png (from rev 13210, arch/trunk/dev/wip/manhole/manhole.base.113.png)
===================================================================
(Binary files differ)
Copied: arch/trunk/connect/Hole/manhole.base.114.png (from rev 13210, arch/trunk/dev/wip/manhole/manhole.base.114.png)
===================================================================
(Binary files differ)
Copied: arch/trunk/connect/Hole/manhole.base.xcf (from rev 13210, arch/trunk/dev/wip/manhole/manhole.base.xcf)
===================================================================
(Binary files differ)
Copied: arch/trunk/connect/Hole/manhole.face (from rev 13210, arch/trunk/dev/wip/manhole/manhole.face)
===================================================================
--- arch/trunk/connect/Hole/manhole.face (rev 0)
+++ arch/trunk/connect/Hole/manhole.face 2010-05-14 04:23:43 UTC (rev 13216)
@@ -0,0 +1,22 @@
+animation manhole
+manhole.111
+manhole.112
+manhole.113
+manhole.114
+mina
+face manhole.111
+magicmap black
+visibility 50
+end
+face manhole.112
+magicmap black
+visibility 50
+end
+face manhole.113
+magicmap black
+visibility 50
+end
+face manhole.114
+magicmap black
+visibility 50
+end
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|