A few questions on map/server

Questions and answers about the how and why of making maps.
Post Reply
User avatar
knoxkorner
Private First Class
Private First Class
Posts: 112
Joined: Sat Aug 26, 2006 7:24 pm

A few questions on map/server

Post 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)
User avatar
Zelgadis
Private First Class
Private First Class
Posts: 638
Joined: Sat Jul 02, 2005 2:31 pm
Location: European Union

Post 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 :)
Want to improve your skill? Join the http://guleague.org!
User avatar
knoxkorner
Private First Class
Private First Class
Posts: 112
Joined: Sat Aug 26, 2006 7:24 pm

Post 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?
User avatar
Davy Jones
Private First Class
Private First Class
Posts: 297
Joined: Thu Jan 04, 2007 4:39 am
Location: Davy Jone's Locker

Post 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
Owner @ The Twin Towers
Admin @ The Two Boxes
Cop @ Army Of One
Image
Image
User avatar
knoxkorner
Private First Class
Private First Class
Posts: 112
Joined: Sat Aug 26, 2006 7:24 pm

Post 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
User avatar
knoxkorner
Private First Class
Private First Class
Posts: 112
Joined: Sat Aug 26, 2006 7:24 pm

Post 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?
User avatar
Davy Jones
Private First Class
Private First Class
Posts: 297
Joined: Thu Jan 04, 2007 4:39 am
Location: Davy Jone's Locker

Post by Davy Jones »

add it in your map file...
Owner @ The Twin Towers
Admin @ The Two Boxes
Cop @ Army Of One
Image
Image
User avatar
Zelgadis
Private First Class
Private First Class
Posts: 638
Joined: Sat Jul 02, 2005 2:31 pm
Location: European Union

Post 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
Want to improve your skill? Join the http://guleague.org!
User avatar
Zelgadis
Private First Class
Private First Class
Posts: 638
Joined: Sat Jul 02, 2005 2:31 pm
Location: European Union

Post 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
Want to improve your skill? Join the http://guleague.org!
User avatar
Davy Jones
Private First Class
Private First Class
Posts: 297
Joined: Thu Jan 04, 2007 4:39 am
Location: Davy Jone's Locker

Post by Davy Jones »

that's what i meant...
Owner @ The Twin Towers
Admin @ The Two Boxes
Cop @ Army Of One
Image
Image
User avatar
Winny
Grouchy
Grouchy
Posts: 2381
Joined: Wed Aug 24, 2005 12:27 am
Location: Ottawa eh?
Contact:

Post by Winny »

Davy Jones wrote:that's what i meant...



A plugin is a touch different then a physics driver, oh enlightening one.
User avatar
CannonBallGuy
Private First Class
Private First Class
Posts: 2083
Joined: Wed Apr 12, 2006 1:31 am
Contact:

Post by CannonBallGuy »

Now now, Win XP, don't exaggerate.
Image

Merry Christmas!

"Look, if I don't buy booze for the kids, I don't get any incriminating pictures to show to their parents, my business goes down the sink, my girlfriend leaves me and the baby goes on ebay. So help me search..."

"go Play With Toys urself in a dark alley u donkey ******" - Lt-Kirby2007
User avatar
Winny
Grouchy
Grouchy
Posts: 2381
Joined: Wed Aug 24, 2005 12:27 am
Location: Ottawa eh?
Contact:

Post by Winny »

Sorry, it's just sometimes...I can't hold myself back. Ill try to be more conservative in the near future.


;)
User avatar
Zelgadis
Private First Class
Private First Class
Posts: 638
Joined: Sat Jul 02, 2005 2:31 pm
Location: European Union

Post 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
Want to improve your skill? Join the http://guleague.org!
Post Reply