Search found 314 matches

by LouMan
Sat Jan 06, 2007 7:42 pm
Forum: Map releases
Topic: Pandemonium
Replies: 18
Views: 6043

Pandemonium

Attached is a few screenshots and the map file from a new map I have made called "Pandemonium". It is a red vs. green CTF map, designed to use the plugins: flagStay, timedctf, and teamflagreset. Note that it will not run without the flagStay plugin associated with the server. The map is not hosted y...
by LouMan
Thu Jan 04, 2007 2:17 am
Forum: Plug-in Releases
Topic: Timed CTF
Replies: 11
Views: 7010

It might be that the bz_ePlayerUpdateEvent & bz_GetPlayerFlag are fairly new additions to the API (I think that JeffM2501 added them for the flagStay plugin not so long ago). If you are able, download the latest BZFlag 2.0 branch code and try again. I will change the version requirement above to thi...
by LouMan
Wed Jan 03, 2007 11:24 pm
Forum: Plug-in Releases
Topic: Timed CTF
Replies: 11
Views: 7010

I thought that the fair ctf was essential to timed ctf, so I wrote it such that you cannot have timed ctf without fair ctf. It automatically switches off/on timed ctf based on team fairness. I thought that having both functionalities in the same plugin would be more convenient. Again, it is best sui...
by LouMan
Wed Jan 03, 2007 11:19 pm
Forum: Plug-in Releases
Topic: Team Flag Reset
Replies: 7
Views: 6263

Not that I am aware of. The documented flag functions are:

BZF_API bool bz_removePlayerFlag ( int playeID );
Removes (zaps) the flag carried by the specified player

BZF_API void bz_resetFlags ( bool onlyUnused );
Removes (zaps) all flags on the map, exactly the same as the /flag reset command
by LouMan
Wed Jan 03, 2007 9:33 pm
Forum: Plug-in Releases
Topic: Timed CTF
Replies: 11
Views: 7010

Timed CTF

timedctf plugin Author: LouMan Description: See below. Min Version: Latest CVS 2.0 branch code (to compile), bzfs 2.0.8 ** NOTE: the plugin is committed to CVS; can be obtained there. Description: It will start a timed capture the flag game in which a team must capture another team's flag in a confi...
by LouMan
Wed Jan 03, 2007 9:28 pm
Forum: Plug-in Releases
Topic: Team Flag Reset
Replies: 7
Views: 6263

Team Flag Reset

teamflagreset plugin Author: LouMan Description: See below. Min Version: Latest CVS 2.0 branch code (to compile), bzfs 2.0.8 ** NOTE: the plugin is committed to CVS; can be obtained there. Description: This is the teamflagreset plugin. It will look at the team flags and see if they have been held by...
by LouMan
Wed Jan 03, 2007 2:16 am
Forum: Help: Map Making
Topic: from creation to application
Replies: 14
Views: 4059

You can use inside coordinates to define the 'inside' of a mesh object in a map file (.bzw). Just be sure that the point defined is actually inside the object, with no 'holes' - otherwise the entire outside of the object could be considered 'inside' and strange things happen. Use the 'inside' statem...
by LouMan
Wed Jan 03, 2007 12:07 am
Forum: Plug-in Development
Topic: Null Player Records
Replies: 8
Views: 3569

Thank you so much gentlemen. I used the playerList->operator[](i) and everything seems to work well. :D
by LouMan
Tue Jan 02, 2007 8:52 pm
Forum: Plug-in Development
Topic: Null Player Records
Replies: 8
Views: 3569

I have figured a work-around for the null player records after discovering that this was the result of empty player slots, which I have seen time to time. For example, if a game had the following players: Slot Callsign ____ ________ 0 Player1 1 Player2 2 Player3 5 Player4 The null player records wou...
by LouMan
Tue Jan 02, 2007 10:29 am
Forum: Plug-in Development
Topic: Null Player Records
Replies: 8
Views: 3569

I tried the vector of player slots and a later kill/kick to no avail. My next thought is to try and use the player update event to kill them rather than a loop through the current players. To do this, I think I'll need to track the number of player update events versus the sum of players - I think.
by LouMan
Tue Jan 02, 2007 3:48 am
Forum: Help: Map Making
Topic: SHOT / FLAG SHOT LENGTH
Replies: 8
Views: 2663

Um - won't work for lasers though. I haven't really tried to reduce the range of those.
by LouMan
Tue Jan 02, 2007 3:19 am
Forum: Plug-in Development
Topic: Null Player Records
Replies: 8
Views: 3569

Null Player Records

I have created and tested a timed CTF plugin (with help) that seems to be functioning fairly well, despite my very basic understanding of C++. One annoying issue that crops up from time to time is the null player record. I have managed to remove most functions that reference the player record from t...
by LouMan
Mon Jan 01, 2007 5:13 am
Forum: Help: Map Making
Topic: SHOT / FLAG SHOT LENGTH
Replies: 8
Views: 2663

If your intention is to limit all shot ranges, consider the _shotRange variable. The default for _shotRange is 350; if you lower this it should lower the shot range on all shots. I used _shotRange 85 on The Gauntlet map. The _shotSpeed variable (default = 100) will also affect ranges.
by LouMan
Wed Dec 27, 2006 1:45 am
Forum: Plug-in Development
Topic: bz_killPlayer
Replies: 3
Views: 2445

Wonderful! Works great now - thanks so much :) :)

btw - it was the last one ;)
by LouMan
Tue Dec 26, 2006 5:29 pm
Forum: Plug-in Development
Topic: bz_killPlayer
Replies: 3
Views: 2445

bz_killPlayer

I am using the BZF_API bool bz_killPlayer ( int playerID, bool spawnOnBase ) function in a plugin I have been working on and I seem to be having some difficulty with its behavior. When the function is called, it will remove the player's flag and make the player unresponsive (nr), but not destroy/exp...
by LouMan
Sat Dec 23, 2006 1:50 pm
Forum: Plug-in Development
Topic: What is wrong with this?
Replies: 7
Views: 3679

trepan - long time no see :wink: and thanks for the tip. It dawned on me before I went to sleep last night that the null return from bz_getPlayerFlag() was probably the culprit for the crash and I was going to try that method today. Thanks again, and I hope all is well. LouMan ** Just tried it and t...
by LouMan
Sat Dec 23, 2006 5:29 am
Forum: Plug-in Development
Topic: What is wrong with this?
Replies: 7
Views: 3679

Ok, debugged some more and my problems might be related to how I am comparing: FlagHeld = bz_getPlayerFlag(i); if (FlagHeld == "R*") RedLastTime = bz_getCurrentTime(); Through debugging I have found that FlagHeld does indeed contain "R*" when the red flag is held (or "L" with laser, "GM" with guided...
by LouMan
Sat Dec 23, 2006 3:52 am
Forum: Plug-in Development
Topic: What is wrong with this?
Replies: 7
Views: 3679

JeffM - thanks for the quick response. I've tried using "R*", "Red Flag", "RedFlag" with bz_getPlayerFlag( int playerID ) and still no luck. I've also tried those variations with the player record's currentFlag (player->currentFlag, above) with no luck either. I'm sorry to keep troubling you with th...
by LouMan
Fri Dec 22, 2006 11:36 pm
Forum: Plug-in Development
Topic: What is wrong with this?
Replies: 7
Views: 3679

What is wrong with this?

I am in the process of hacking out a simple plugin to reset flags when a team's flag has been idle too long. Ideally, the plugin would reset the team flags individually, but since the only function available is a general flag reset, that's what I am using. I am having trouble in only one area of the...
by LouMan
Sun Dec 17, 2006 6:11 pm
Forum: Help: Source Code / Compiling / Development
Topic: NSIS Installer?
Replies: 5
Views: 3944

Okay, thanks for the information :) It really isn't a huge issue, because I can still manually install the built executables and run them ok.
by LouMan
Sun Dec 17, 2006 4:10 pm
Forum: Help: Source Code / Compiling / Development
Topic: NSIS Installer?
Replies: 5
Views: 3944

Okay, completed what was mentioned: modified NSIS script for VC8 versions of the dll's and added the VC8 dll's to the bzflag root directory. NSIS compiled ok and installed BZFlag application ok, but now when I try to run the bzflag.exe application I get "The procedure entry point_except_handler4_com...
by LouMan
Sun Dec 17, 2006 2:15 am
Forum: Help: Source Code / Compiling / Development
Topic: NSIS Installer?
Replies: 5
Views: 3944

NSIS Installer?

I have recently compiled BZFlag (from CVS) with Windows Visual C++ Express :), and I can manually install the built applications and associated dll's, folders, etc. to a new directory and run the new build with no problems. I built from the VC80 directory. I am very close to getting the NSIS install...
by LouMan
Sat Dec 16, 2006 9:43 pm
Forum: Map releases
Topic: The Gauntlet
Replies: 18
Views: 4507

Thanks for the kudos. :) I can't wait for the ability to trigger custom, local sounds. How will sounds be triggered? I have had trouble in the past coordinating the timing with texture matrices and world weapons; will I be able to synchronize with the texture matrices used in the lightning somehow w...
by LouMan
Sat Dec 16, 2006 2:23 pm
Forum: Map releases
Topic: The Gauntlet
Replies: 18
Views: 4507

Thanks :)

btw - Revision 2 is running on the server now, hopefully will be updated to Revision 3 today.
by LouMan
Sat Dec 16, 2006 1:46 pm
Forum: Map releases
Topic: The Gauntlet
Replies: 18
Views: 4507

Yes, there are animated lighting bolts :)

Unfortunately, no thunder though.