| Home Page | Recent Changes | Preferences

Mod Ideas/Minefield

Mod ideas for UT 2003 – It's a Minefield

Description

This is a small mutator that spawns a configurable number of mines randomly within a level. A mine is triggered when a player runs over it. When triggered mines fire a small capsule into the air which spins for maybe 1/10th of a second before launching a "lightning gun like spark" at players within a pre-set radius at the point the mine was triggered. If there are no players within the target radius then the "capsule" explodes. The mines themselves don't do a lot of damage and have a fairly small blast radius, but what they do have is a nice kick to bonuce the player around a bit.

  • The number of mines is expressed as a percentage of the number of navigation points on the level (between 5% and 50% – 15% is probably a good default).
  • Mines are always spawned at navigation points (to make life easy).
  • Mines are always visible - but should be very difficult to see.
  • Mines are spawned at the start of the level and never regenerate unless the respawn mines option is set.
  • Mines can be triggered by shooting them. In which case they behave in the same way as if they were triggered by a player.
  • Team mines (for use in team games like BR, DD, and CTF) can be enabled/disabled. If team mines are disabled all mines are hostile. Otherwise all mines within the "owning radius" of the flag base, control point etc become "owned" by the team whose flag base it is.
  • A respawn mines setting allows mines to respawn elswhere in the level when they are triggered - this keeps the number of mines on the level constant.
  • The radius of ownership for team mines can be set to close (512 world units), near (1024 world units), far (2048 world units), and extreme (4096 world units).

Team mine behaviour

Mines will behave differently when in team mode depending on the game type. In capture the flag, when a mine falls within a certain radius of one or more flag bases it will be assigned to the owning team of the closest flag base.

In Domination the mines will all start as neutral, then, when a control point changes team all mines within the "target" radius of the control point become owned by that team.

In Bombing run, mines within a certain radius of the touchdown point and "scoring hoop(s)" become owned by the team whose touchdown point/scoring hoop it is.

In Team deathmatch and deathmatch all mines are hostile - effectively the team mines options have no effect.

Remember - players on the same team as the "owning team" of a mine do not trigger mines.

Note on implementation

Given that Domination points change owners fairly often it's probably better to have a reference on the mine to the "owning object" be it flag base, control point, or touchdown point/scoring hoop. This owning object is then interrogated at the point the mine is "touched" to see whether the mine should fire or not.

Interested Scripters

If you are interested in developing this mod for UT2003 then add your name to the list. Once you start development you should indicate that below (and hopefully include a link to a journal page). Before you start development you should also check this section to see if anyone else has started.

  • Kuhal - Can do in UT but no access to UT2003 as yet
  • Postal? - Allready working on something similar.

Discussion

EntropicLqd: Should mines beep?

ZxAnPhOrIaN: That would be a good idea. Also, mines should have a faint glow on them and explode when shot. In team games like CTF, you should have teamed mines so that you don't die when you have the flag in your base if you step on a mine.

EntropicLqd: Do you not think that the teamed mines would only really be useful if you could actually deploy them yourself as a player? Assuming the mines are still spawned randomly - would you change the owning team of the mines only within a certain radius of the flag, leaving an area in the middle of the map where all mines are dangerous? I like the idea of being able to shoot them. What about spawning more mid-game?

ZxAnPhOrIaN: It should calculate how far the flags are apart, and divide it by 3. One third is red, another third is blue, and the last third is neutral.

EntropicLqd: Hmmm, what about maps that have the flag bases back to back? Could be interesting. I'd prefer most of the map to have "unfriendly" mines tbh so I'd be inclined to set a fixed radius from the flag. Still doesn't help with flag bases that are back to back though.

ZxAnPhOrIaN: Lets forget about team mines.

EntropicLqd: Hmmm, too eary to give up on that idea at the moment I think. It's an appealing idea. As for the back to back levels - there are not that many ... and it might be quite amusing :)

Birelli: Regardless of flag configuration, have the same radius around all flags, and where the fields interesect make the mine be the team of whichever flag is closest (Without some real mathematical analysis of that I'm not sure if it would ever be the case that mines could be in the opponent's base, but I think it would cover 99% of maps out there).

With that, make sure it supports searching for all flag bases so mods like CTF+ which support all kinds of wacky flag setups will still work.

Finally, it might be interesting to try it with Domination also, adds new meaning to having a defensive advantage :-).

ZxAnPhOrIaN: Well, in DOM you have to configure the mines in a certain radius of the Domination checkpoint during gameplay to the team that owns the checkpoint. Also if the checkpoint is neutral, the mines will blow up EVERY player. :) On another note, you should put a mover or some sort of thing near the mine to blow a hole in the ground when the mine blows up.

EntropicLqd: Not sure about the mover idea - what happens if the mine spawns on a grill? Don't forget mines are spawned randomly across the map - they don't actually form part of the map. I always thought movers made up part of the BSP tree. I think I'd prefer to do a simple scorch mark on the ground when the mine explodes. Anyways – after all the refactoring any other comments?

ZxAnPhOrIaN: The scorch mark is a good idea, it could be a smaller redeemer blast mark.

DJPaul: Nice idea, could be fun. I'll put a "I might look in on this idea", just like i've done on a couple of the others. If anyone wants to do this, however - go for it.

Mr.Mitchell: I like the description of this mod. I was already planning on making a UT2003 version of my [FlakMineCannon mutator] so it would be easy to also make this mutator since I am already playing around with mines. So I also add my name to the list.

DJPaul: Dare I up against the might of Mr.Mitchell? Anyway, I may not even do it like I say above.

Mr.Mitchell: Cause DJPaul al already started with it (I guess that is meant by "delivery mode") I removed my name.

DJPaul: hi ho from somewhere in Canada. Hope j00 all having fun. Day before I left, I emailed what i've done with this to someone to continue - I was talking with them in #unrealwiki, but i've forgotten my name. whoever you are, have you done any wokr?

Kuhal: I like the idea. How can you be working on it for UT2K3 already? Are some of you lucky enough to be included in pre-release Alpha trials or something? Anyhow, the issue with who owns a mine is simply mitigated by having multiple ownership. Basically, if the mine is within range of the emmitter (could be a new actor or just the flag/domination point etc) then that particular mine WILL explode if an opposing team comes near it. If multiple teams own the mine then I'd suggest the mine does damage to all players in the radius if it explodes, and only the enemy players for the initial effect (was it lightning gun?). You can possibly add to this later with the idea of a mobile emmitter and in so doing, you could have a tactical decision to make if you wanted to move your emitter to a different location. Possibly also a number of mines can be laid (up to a map maximum) each few seconds. Thus (like the board game stratego) you can set up your defenses as you please... Lasyly, Direct hits or perhaps hits inflicting over a certain threshold of damage should be needed to explode an detected mine. otherwise you clear a minefield easily with spam rockets/deemer...

DJPaul: No, i've done some code for UT. You're welcome to it if you want.

Kuhal: Sure why not. So you've done some UT code trusting that conversion won't be a major issue? Sounds fine to me. kuhal@win.co.nz

Postal: I'm working on a stand alone land mine, a simulation of the M16A1 Apers with M605 fuse. Its mostly working for UT2k3, but I have 2 bugs to work out. I have figured out a way to make bots avoid them. Its a good bit more powerfull then what you guys are talking about, and it can be shot to be destroyed. The UT verson was invisable unless you were near it, unfortunaly the ability to do that was cut from UT2k3. I could easly make another verson of it which does less damage, beeps, and or can be safely passed with a Anti-Prox. Postal@PlanetUnreal.com

The Unreal Engine Documentation Site

Wiki Community

Topic Categories

Image Uploads

Random Page

Recent Changes

Offline Wiki

Unreal Engine

Console Commands

Terminology

FAQs

Help Desk

Mapping Topics

Mapping Lessons

UnrealEd Interface

UnrealScript Topics

UnrealScript Lessons

Making Mods

Class Tree

Modeling Topics

Chongqing Page

Log In