GM Following WW

Premade map objects and sections that can be used in user maps.
Post Reply
User avatar
ChaoticFangUp
Private First Class
Private First Class
Posts: 41
Joined: Mon Apr 02, 2012 1:24 pm
Location: Battlefield - Killing out of Control!

GM Following WW

Post by ChaoticFangUp »

Hello there.

I think we all know here what a World Weapon (WW) is.
Well, you can set different kinds of it, including Guided Missile (GM).
However, the GM shot by a WW, does not follow a Player!

Is there a way this could be able to make?
A GM shot by WW to follow the player at the moment it was shot?

Thank-you.

Cheers,
Fang.
Marshall... yes, I am!
Linux - Fedora 16 Power!
User avatar
joevano
General
General
Posts: 1863
Joined: Sat Jun 18, 2005 1:08 pm
Location: South Bend, Indiana, USA

Re: GM Following WW

Post by joevano »

Which player would it shoot at?
There is nothing worse than aggressive stupidity. -- Johann Wolfgang von Goethe
"How many legs does a dog have if you call his tail a leg? Four. Calling a tail a leg doesn't make it a leg." -- Abraham Lincoln
User avatar
ChaoticFangUp
Private First Class
Private First Class
Posts: 41
Joined: Mon Apr 02, 2012 1:24 pm
Location: Battlefield - Killing out of Control!

Re: GM Following WW

Post by ChaoticFangUp »

The nearest.
A standing Trap.

Actually, more like a Mobster Shot Spawner, hehe.
Marshall... yes, I am!
Linux - Fedora 16 Power!
User avatar
blast
General
General
Posts: 4931
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: GM Following WW

Post by blast »

As far as I know, a bzfs plugin could do this.
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image
User avatar
ChaoticFangUp
Private First Class
Private First Class
Posts: 41
Joined: Mon Apr 02, 2012 1:24 pm
Location: Battlefield - Killing out of Control!

Re: GM Following WW

Post by ChaoticFangUp »

I see. Okay, thx. I can find a plugin myself. :)
Since I have one more Object in mind, I will just create a New Topic.
Marshall... yes, I am!
Linux - Fedora 16 Power!
User avatar
Agent West
Private First Class
Private First Class
Posts: 318
Joined: Thu Jan 31, 2008 1:32 pm

Re: GM Following WW

Post by Agent West »

I have seen this used to guard team flags. Pretty neat.
Rest in peace, AliceD (AKA Happy Alice)! miss ya!
User avatar
ChaoticFangUp
Private First Class
Private First Class
Posts: 41
Joined: Mon Apr 02, 2012 1:24 pm
Location: Battlefield - Killing out of Control!

Re: GM Following WW

Post by ChaoticFangUp »

Yeah, I would use it for my new Tower Defence Map! :)
I was the very 1st to create a path with WWs shooting at you and you had to come to the End & Cap ur Flag. (HTF)
Was pretty good! :D
However, this would make it even harder!
Marshall... yes, I am!
Linux - Fedora 16 Power!
User avatar
Tanx
Private First Class
Private First Class
Posts: 125
Joined: Sat Mar 22, 2008 11:14 pm

Re: GM Following WW

Post by Tanx »

yes, I've seen it before as well, but it went after a person who had just killed another player, it was quite aggravating really. especially since for the most part it was an open map, and these gm's seemed to have no limit on their distance. Be aware of this. Don't do overkill with these gms. There were 4 just following me. The goal is not for the server to have fun, its for the player to have fun. These gms would be best used on a map where its way too easy to cap. if you do use them I'd make sure that where they came from would be obvious, like from a passable sphere or something, but thats just me.

its no substitute for a well meshing map, its just a tool to push one in that direction
known as: Tanx, Eoncho, ckw.
Bzflag player since 2001.
User avatar
optic delusion
Special Forces
Special Forces
Posts: 1052
Joined: Sat Sep 25, 2004 2:29 pm
Location: Planet MoFo
Contact:

Re: GM Following WW

Post by optic delusion »

This is the "missiles" plugin of which Eoncho speaks. It's kinda hackish. Was for 2.0.8 ?? I think it should compile under 2.4 without changes. It has NOT BEEN TESTED with Version 2.4.
http://git.norang.ca/?p=bzflag/bzflag.g ... heads/mofo

It was originally intended as an april fools joke.
The missiles have unlimited range, or close to it.
Fires a single GM shot (with tracking) at every player who makes a kill. Makes it extremely hard to camp unless in a protected spot, or with ST
It does not use a world weapon map object.
Take a look at my Defender game mode concept.

Thinking is not an automatic process. A man can choose to think or to let his mind stagnate, or he can choose actively to turn against his intelligence, to evade his knowledge, to subvert his reason. If he refuses to think, he courts disaster: he cannot with impunity reject his means of perceiving reality.
User avatar
optic delusion
Special Forces
Special Forces
Posts: 1052
Joined: Sat Sep 25, 2004 2:29 pm
Location: Planet MoFo
Contact:

Re: GM Following WW

Post by optic delusion »

There's an API for GMs now, so it's probably possible to do this now without the hackish code.
Take a look at my Defender game mode concept.

Thinking is not an automatic process. A man can choose to think or to let his mind stagnate, or he can choose actively to turn against his intelligence, to evade his knowledge, to subvert his reason. If he refuses to think, he courts disaster: he cannot with impunity reject his means of perceiving reality.
User avatar
ChaoticFangUp
Private First Class
Private First Class
Posts: 41
Joined: Mon Apr 02, 2012 1:24 pm
Location: Battlefield - Killing out of Control!

Re: GM Following WW

Post by ChaoticFangUp »

Hello there, Eoncho.
Even if the GM is infinite Ranged, it Does stop when it hits a wall, and it hits it fast, believe me! ;)

Hey, Optical Delusion.
I wil ltry it out and see. :D
Marshall... yes, I am!
Linux - Fedora 16 Power!
User avatar
Tanx
Private First Class
Private First Class
Posts: 125
Joined: Sat Mar 22, 2008 11:14 pm

Re: GM Following WW

Post by Tanx »

ah, but the biggest problem was when I say sparse I mean like the 2 boxes in the middle of pillbox, yes they were larger about 100 - 150 wu in each direction, but the problem was the gms came from around

+- 350 0 40
0 +-350 40

plus the gms were just slightly slower then a tank, I had to try and plan my kills so I wouldn't get shot up. what I mean is don't be going and put 10 in there on each side. Try to encourage the chaos actually, not prevent it. I believe what we're seeing is a change of the gameplay preferred. From the gameplay of games from years ago (more strategy and slow thinking maps) to quick on your feet maps (quick in action, but mostly about pure reaction) which is like many games played today on cell phones and other hand held devices for instance. This revelation came to me quite recently, which causes me to redefine how I would make maps. as my example I merely point to mofo, zigg, and the map like that before zig. before those maps it was less reaction based, like missilewars (I don't include missilewars in the reaction map catagory, I merely won't say the name of the map between it and zig).

also a question about that gm, it may sound silly but it's an if that needs clearing up. Are those GMs able to lock on STs?
known as: Tanx, Eoncho, ckw.
Bzflag player since 2001.
User avatar
blast
General
General
Posts: 4931
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: GM Following WW

Post by blast »

Eoncho wrote:Are those GMs able to lock on STs?
Probably, because the server likely doesn't check the status. However, the plugin itself could do a check and see if the player has the ST flag before launching the GM.
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image
User avatar
ChaoticFangUp
Private First Class
Private First Class
Posts: 41
Joined: Mon Apr 02, 2012 1:24 pm
Location: Battlefield - Killing out of Control!

Re: GM Following WW

Post by ChaoticFangUp »

Yeah, as blast pointed out.
As for Tower Defence... I do not think I will make any ST Flags, but it is good to know if used in any other Map!

I think this would not be hard to do in JavaFX... does BZFlag support Only C++?
It is basicaly the same as if the player would shoot a GM and click "Lock-on" at the same time... follows the nearest.

One more question.
If a Player writes an add into .bzfs file to change the weapons a bit, everything changes that way, even WW.

Example:

If I set this: "-set _laserAdLife 100", both, player that gets a Laser flag AND a WW with a Laser as a weapon will have the shot ad life of 100.
Is it possible to make a different add life for WW than as for Players shot if using the same weapon?
You get what I mean?
Marshall... yes, I am!
Linux - Fedora 16 Power!
User avatar
blast
General
General
Posts: 4931
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: GM Following WW

Post by blast »

The BZFS API is C/C++. There have been a few plugins that allow plugins to be written in other languages (Python and JavaScript, but not Java), though I'm not sure if any of them were updated for 2.4, nor do I know how complete any of them were.

As for your second question, no, you can't alter the setting for just player shots, since the local clients would use the setting on their end for everyone. The assumption is that everyone (including the server) has the same settings.
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image
User avatar
ChaoticFangUp
Private First Class
Private First Class
Posts: 41
Joined: Mon Apr 02, 2012 1:24 pm
Location: Battlefield - Killing out of Control!

Re: GM Following WW

Post by ChaoticFangUp »

I see.
So both things are as I assumed. :)
OK, thanks!
If we have less of possibilities, we just have to use our imagination to still keep it great!
The awesome thing of BZFlag!
Marshall... yes, I am!
Linux - Fedora 16 Power!
Post Reply