Page 1 of 1

A few questions on map/server

Posted: Sun Jan 14, 2007 5:56 am
by knoxkorner
1. How do you get bots?


2. How do you create one sided mesh?


3. how do you figure out if you use laser as a weapon in a map how do you know the rotation (summary: How do you know rotation for lasers?)

4. How do you get normal bullets as a weapon?


5. What are the basic colors (Red Green Purple blue(color 0 0 0))


6. can you add color line to anything? (box position 0 0 0 size 1 1 1 rotation 0 color 0 5 5)

Posted: Sun Jan 14, 2007 10:28 am
by Zelgadis
1.) To get bots you must (if you use windows) go to the desktop icon, then right mouse button, and then "properties" then you will see the path to bz, and after this path, u must write: "-solo 5" the number is how many bots you will have.

Here my path with solo: "C:\Programme\BZFlag2.0.8\bzflag.exe -solo 5"

2.) One sided mesh??
I really dont know what you really mean with it, but here is the code of the mesh:

Code: Select all

meshbox
	position 0 0 0
	size 10 10 5
        top matref norm	
        outside matref red
end
3.) Hmm, you can take a orientation by the boxes, i do it ever :)

4.) To get normal bullets as a weapon, you can use "US", here the code:

Code: Select all

weapon
  type US
  position 0 0 32
  rotation 0
  initdelay 15
  delay 6
end
5.) Here the colors, you can also use "texture blue_tank" or red_tank etc. :

Code: Select all

material
  name red
  diffuse 1 0 0 1
  addtexture boxwall
end

material
  name green
  diffuse 0 1 0 1
  addtexture boxwall
end

material
  name blue
  diffuse 0 0 1 1
  addtexture boxwall
end

material
  name purple
  diffuse 1 0 1 1
  addtexture boxwall
end

6.) Yes you can :)

Posted: Mon Jan 15, 2007 3:30 am
by knoxkorner
Another thing: 7.How do you enter areas that kill you? (louman's maps sometimes + Viper



One more thing: Does bzedit understand color lines?

Posted: Mon Jan 15, 2007 3:37 am
by Davy Jones
Serverside plugins, look at the plugin-releases and premade objects etc. search the forum.

What they do is kill if if you enter a specific area

Posted: Mon Jan 15, 2007 3:46 am
by knoxkorner
I have prop with color this is exactly what it looks like:

Code: Select all

# World built with bzedit32 world class, available at
# http://www.sourceforge.net/projects/bzflag

box
name Box
	position 0 0 0
	rotation 0
	size 100 100 100
      color 1 0 1 1
end

Posted: Mon Jan 15, 2007 3:47 am
by knoxkorner
Davy Jones wrote:Serverside plugins, look at the plugin-releases and premade objects etc. search the forum.

What they do is kill if if you enter a specific area
How do i CREATE one?

Posted: Mon Jan 15, 2007 4:12 am
by Davy Jones
add it in your map file...

Posted: Mon Jan 15, 2007 9:09 am
by Zelgadis
nah, not right jones....

To add a kill area, you need a meshbox and a physic driver.

Code: Select all

physics
  name klarea
  death Tanks can't swim :P
end

meshbox 
   position 0 0 0 
   size 10 10 5 
   phydrv klarea
   matref water
end

Posted: Mon Jan 15, 2007 9:12 am
by Zelgadis
huh, sry forgot material :P

Code: Select all

physics 
  name klarea 
  death Tanks can't swim :P 
end


material
  name water
  diffuse 0.6 0.35 0.95 1
  addtexture telelink
    texmat slide
    notexalpha
end 

meshbox 
   position 0 0 0 
   size 10 10 5 
   phydrv klarea 
   matref water 
end

Posted: Mon Jan 15, 2007 7:30 pm
by Davy Jones
that's what i meant...

Posted: Mon Jan 15, 2007 8:01 pm
by Winny
Davy Jones wrote:that's what i meant...



A plugin is a touch different then a physics driver, oh enlightening one.

Posted: Mon Jan 15, 2007 9:28 pm
by CannonBallGuy
Now now, Win XP, don't exaggerate.

Posted: Mon Jan 15, 2007 9:30 pm
by Winny
Sorry, it's just sometimes...I can't hold myself back. Ill try to be more conservative in the near future.


;)

Posted: Tue Jan 16, 2007 8:34 am
by Zelgadis
Win Xp wrote:Sorry, it's just sometimes...I can't hold myself back. Ill try to be more conservative in the near future.


;)
hehe winnie, thats my OS with serial: ycxxx-xxxxx-xxxxx-xxxxx-xxxxx :PP