water, shapes, and phisics drivers
water, shapes, and phisics drivers
first off, i have windows, and i use bzedit.
whenever i put water into a map, it always kills. how do i make it so it doent kill? and i cant use the water texture on normal bricks for some reason
also, whenever i try to put in a sphere or other abnormal shape, the server wont run.
last, i want to be able to use a physics driver. i copied and pasted the example off the page http://www.bzflag.org/wiki/MapMaking and put it in but it didnt work.
for example, i tried to put a sphere 200 feet up in the middle of the map with a physics driver. the server had all kinds of problems until i took both out
whenever i put water into a map, it always kills. how do i make it so it doent kill? and i cant use the water texture on normal bricks for some reason
also, whenever i try to put in a sphere or other abnormal shape, the server wont run.
last, i want to be able to use a physics driver. i copied and pasted the example off the page http://www.bzflag.org/wiki/MapMaking and put it in but it didnt work.
for example, i tried to put a sphere 200 feet up in the middle of the map with a physics driver. the server had all kinds of problems until i took both out
waay ot here, this should be in map help thingy.
you have 2 change the type of box to meshbox, from box. ( to add a texture)
to this
this is to make water, with a custom texture
If you want to make the water move, but not deadly, do this:
you have 2 change the type of box to meshbox, from box. ( to add a texture)
Code: Select all
box
name Box
position -200 0 0
rotation 0
size 180 2 33
end
Code: Select all
meshbox
name Box
position -200 0 0
rotation 0
size 180 2 33
[b]matref you matref here[/b]
end
this is to make water, with a custom texture
Code: Select all
physics
name death
death you died boom! # this makes the death when a tank touches
end
material
name water_text
texture water.png # that adds the texture and make it move
shift 1 10
end
meshbox
name box
size 1 10 10
rotation 0 # that is the actual box that makes you die
position 0 0 0 # and has shifty textures.
phydrv death
texmat water_text
end
If you want to make the water move, but not deadly, do this:
Code: Select all
material
name water_text
texture water.png
shift 1 10
end
meshbox
name box
size 1 10 10
rotation 0
position 0 0 0
texmat water_text
end
-
- Private First Class
- Posts: 1400
- Joined: Sun Feb 06, 2005 5:40 pm
- Location: Somewhere over there.
Win Xp
the 'shift' option only works for texture matrix the way your used it win. the corrected water codes are:
Note: the physics, TexMat, and Material MUST be in that order or it won't work.
the 'shift' option only works for texture matrix the way your used it win. the corrected water codes are:
Code: Select all
physics
name death
death you died boom! # this makes the death when a tank touches
end
textureMatrix
name move
shift 10 2 #this moves the water
end
material
name water_text
texture water.png # that adds the texture
texmat move
end
meshbox
name box
size 1 10 10
rotation 0 # that is the actual box that makes you die
position 0 0 0 # and has shifty textures.
phydrv death
texmat water_text
end
Code: Select all
textureMatrix
name move
shift 10 2 #this moves the water
end
material
name water_text
texture water.png # that adds the texture
texmat move
end
meshbox
name box
size 1 10 10
rotation 0 # that is the actual box
position 0 0 0 # it has shifty textures.
texmat water_text
end
- A Meteorite
- Private First Class
- Posts: 1786
- Joined: Thu Apr 28, 2005 12:56 am
- Location: California, U.S.
- Contact:
BZEdit won't do any 2.0 objects such as spheres, textures, and other mesh stuff.
Owner @ BZFX
Core Admin @ CAN
Email me: bzmet…@gmail.com
check out the man pages or go here:
http://www.rangfar.com/hosted/bzflagwor ... um.php?f=8
all sorts of help on mapping stuff.
http://www.rangfar.com/hosted/bzflagwor ... um.php?f=8
all sorts of help on mapping stuff.