how do you make a world weapon?

Questions and answers about the how and why of making maps.
Post Reply
User avatar
basher02
Private
Private
Posts: 3
Joined: Sun Jan 14, 2007 2:54 am

how do you make a world weapon?

Post by basher02 » Wed Jun 13, 2007 3:14 am

how do u make a world weapon on ibzedit 3.5?

User avatar
Triumph of the Soul
Corporal
Corporal
Posts: 294
Joined: Thu Jul 06, 2006 4:32 pm
Location: Minnesota

Post by Triumph of the Soul » Wed Jun 13, 2007 3:45 am

You don't. ibzedit only works with the basic 1.0 objects (box, pyramid, teleporter, and links). You have to hand code world weapons into the map file in your favorite text editor. Here is the wiki page for making world weapons.
Image
Creator @: Duck or Die, Duck or Die CTF, Fuel Stack, Guernica, Normal, Frayed

User avatar
basher02
Private
Private
Posts: 3
Joined: Sun Jan 14, 2007 2:54 am

Post by basher02 » Wed Jun 13, 2007 4:07 am

I've tried hand coding once but it doesn't work :(

User avatar
Hannibal
Private First Class
Private First Class
Posts: 1073
Joined: Mon May 02, 2005 10:27 pm
Contact:

Post by Hannibal » Wed Jun 13, 2007 4:56 am

Then you did it wrong, if it didnt work.
Games don't make people violent, lag does.
ImageImage

User avatar
A Meteorite
Private First Class
Private First Class
Posts: 1786
Joined: Thu Apr 28, 2005 12:56 am
Location: California, U.S.
Contact:

Post by A Meteorite » Wed Jun 13, 2007 5:59 am

basher02 wrote:I've tried hand coding once but it doesn't work :(
Once hand coding a world weapon in, you will not be able to see it in BZEdit. In fact, BZEdit will toss any objects it doesn't know about when you open it (such as world weapon).

In order to see your world weapon, you must finish everything you want in BZEdit and hand code your stuff in (or remove your hand coding before opening in BZEdit and then put it back), and start a server.
Hannibal wrote:Then you did it wrong, if it didnt work.
Obviously when you do something wrong, or don't know how (which is what you should have explained, instead of being sarcastic), it will not work.
Image
Owner @ BZFX
Core Admin @ CAN

Email me: bzmet…@gmail.com

User avatar
Grace F
Sergeant
Sergeant
Posts: 978
Joined: Sun Oct 01, 2006 12:29 pm
Location: Adelaide, AUSTRALIA

Post by Grace F » Wed Jun 13, 2007 6:31 am

basher02 wrote:I've tried hand coding once but it doesn't work :(
Once? :P Try again, and again... and again. The only why you'll master it is to keep doing it even though it can really piss you off :)

I think this is all I wrote to get my Weapon to work:

Code: Select all

weapon
 name Monument Explosion
 position 0.0 0.0 0.0
 color 1
 initdelay 10.0
 delay 20.0 20.0 20.0
 type SW 
end
Color, you can change that from 1/2/3/4/5, I think it ends at 5 with the different colors. You'll need to play around with it :)
Image
Image

User avatar
big_daddy2
Private First Class
Private First Class
Posts: 131
Joined: Sat May 06, 2006 1:06 am
Location: the middle of nowhere, USA

Post by big_daddy2 » Thu Jun 14, 2007 4:57 pm

no its 0/1/2/3/4

User avatar
ducatiwannabe
Private First Class
Private First Class
Posts: 3249
Joined: Tue Aug 10, 2004 3:55 pm
Location: Planet Earth
Contact:

Post by ducatiwannabe » Fri Jun 15, 2007 1:07 pm

Big daddy is right, if you want to change the color of your world weapon (a very non important step at the moment), it would be 0 for the rogue team, 1 for the red team, etc.

User avatar
chicken fingers
Private First Class
Private First Class
Posts: 39
Joined: Wed Jun 13, 2007 6:19 pm

Post by chicken fingers » Sat Jun 16, 2007 12:54 pm

how many types of world weapons are there? like i know there is sw but what are the others?
Image

User avatar
ducatiwannabe
Private First Class
Private First Class
Posts: 3249
Joined: Tue Aug 10, 2004 3:55 pm
Location: Planet Earth
Contact:

Post by ducatiwannabe » Sat Jun 16, 2007 1:19 pm

Any of the flags. If the flag doesn't actually change your weapon, say, Wings (WG) for example, it will only be a normal shot. But use any flag and the weapon will be the same. :)

User avatar
TD-Linux
Sergeant
Sergeant
Posts: 724
Joined: Wed Apr 27, 2005 8:26 pm
Location: Mountain View, CA

Post by TD-Linux » Sat Jun 16, 2007 9:50 pm

ducatiwannabe wrote:Any of the flags. If the flag doesn't actually change your weapon, say, Wings (WG) for example, it will only be a normal shot. But use any flag and the weapon will be the same. :)
In addition to this, one of the most interesting uses is a TH-style bullet - if you get hit by a TH world weapon, you will lose your flag.

User avatar
chicken fingers
Private First Class
Private First Class
Posts: 39
Joined: Wed Jun 13, 2007 6:19 pm

Post by chicken fingers » Sun Jun 17, 2007 12:05 am

realy ive never seen flags like laser of thief thief would be so funy and laser had posobilities. the map maker could make the laser go off like every 5 minutes. and it could rico around the entire field destroying everyone! personaly some flags would be hilarious like MG next to a teleporter. every time u tele BOOM!!! or like BU youd never see it coming. and another quistion can world wepons aim at you like a BOT on stationary. like a heat seeking turret?
Image

User avatar
Triumph of the Soul
Corporal
Corporal
Posts: 294
Joined: Thu Jul 06, 2006 4:32 pm
Location: Minnesota

Post by Triumph of the Soul » Sun Jun 17, 2007 12:17 am

realy ive never seen flags like laser of thief thief would be so funy and laser had posobilities. the map maker could make the laser go off like every 5 minutes. and it could rico around the entire field destroying everyone!
What you are describing has been initiated at a few different maps. Have you ever been to Duck or Die FFA/CTF, made by yours truly? I don't think CTF is up right now but FFA is.

and another quistion can world wepons aim at you like a BOT on stationary. like a heat seeking turret?
As far as I know, smart turrets are not possible. However, you can manually aim world weapons by changing some variables in the map file. I know on TangenT's "CTF Playground" he made a turret using a plethora of world weapons firing from the same place.
Last edited by Triumph of the Soul on Sun Jun 17, 2007 12:59 am, edited 1 time in total.
Image
Creator @: Duck or Die, Duck or Die CTF, Fuel Stack, Guernica, Normal, Frayed

User avatar
chicken fingers
Private First Class
Private First Class
Posts: 39
Joined: Wed Jun 13, 2007 6:19 pm

Post by chicken fingers » Sun Jun 17, 2007 12:31 am

6 words.. DUCK OR DIE HERE I COME!!!!
Image

User avatar
chicken fingers
Private First Class
Private First Class
Posts: 39
Joined: Wed Jun 13, 2007 6:19 pm

Post by chicken fingers » Sun Jun 17, 2007 12:50 am

i dont mean to sound rude but duck or die is a bad level too many worls weps your name says it all thos gms are distracting you from you iminant laser death
Image

User avatar
Hannibal
Private First Class
Private First Class
Posts: 1073
Joined: Mon May 02, 2005 10:27 pm
Contact:

Post by Hannibal » Sun Jun 17, 2007 4:08 am

A Distraction wrote:
and another quistion can world wepons aim at you like a BOT on stationary. like a heat seeking turret?
As far as I know, smart turrets are not possible....
Ahh, but here we come to an experiment run by Planet MoFo and mmarshall about a year ago.
Whenever you killed a tank (or something like that) a GM from the "Mofo in the Sky" would fire upwards and be locked on to you. This made the GM settings be greatly increased, which screwed up the gameplay majorly.
I know that a good deal of work from many was involved, and I believe that some bzfs or bzfscron modifications were made as well.
Games don't make people violent, lag does.
ImageImage

User avatar
basher02
Private
Private
Posts: 3
Joined: Sun Jan 14, 2007 2:54 am

Post by basher02 » Sun Jun 17, 2007 4:40 am

how do u make a object a world weapon. like when you touch it, it kills you?

User avatar
Triumph of the Soul
Corporal
Corporal
Posts: 294
Joined: Thu Jul 06, 2006 4:32 pm
Location: Minnesota

Post by Triumph of the Soul » Sun Jun 17, 2007 4:55 am

how do u make a object a world weapon. like when you touch it, it kills you?
To do that you need to use a physics driver. Physics drivers are applied to an object like a material is applied to an object. Here is the wiki page for making physics drivers.
Image
Creator @: Duck or Die, Duck or Die CTF, Fuel Stack, Guernica, Normal, Frayed

Post Reply