| Home Page | Recent Changes | Preferences

Mod Ideas/CarJack

Mod ideas for UT 2003 – CarJack

Description

This concept is somewhat similar to Mod Ideas/UnrealBallPool – but I came up with it separately, I swear :P

Each team's base is a "garage", a large area where vehicles can be parked (not necessarily enclosed). At the start of the game, a number of cars are spawned around the map. The goal of the game is to steal all the cars, and park them in your team's garage. Cars can be stolen from the garage as easily as anywhere else on the map, so your team must guard your garage as well as hunt down the vehicles.

If a team has every car parked in their garage for 10 seconds, or they hold the majority at timeout, they win the game. In the event of a tie at timeout, the game goes into "sudden death" mode, where any change in car balance between the teams (gained or lost) immediately determines the winner.

The cars should be designed to allow for a passenger, who can stand in the back and use weapons. This promotes the use of the cars to get to other cars (drive a second player out to the car, and drive both back to base), rather than just hoarding them. Ideally, the physics should be written such that if the car is jolted sufficiently, the occupants can be thrown out (ie, high-speed collisions send the occupants into ragdoll mode temporarily)... ramming is a valid technique for stealing currently-occupied vehicles. :)

The cars should be indestructible, such that there is always a constant number of vehicles in play. They should also be self-righting, so cars don't get abandoned upside-down and undriveable. In the event that a car does get stuck somehow, they should be just light enough that judicious application of the shield gun can nudge it back into play. (This also means that a potential way to quickly clear an opponent's garage is to hit it with a Redeemer, and send the cars flying :D)

Depending on map design, cars could either spawn at known points, or randomly throughout the map (if no points are assigned). The number of cars spawned is also a map design issue (with a game setting override), although should never be less than two. A mapper could, for example, design a map with four cars – two already parked in each team's garage – forcing an incursion into enemy territory...

[kagato_carjack_sketch]

An example car concept

Kagato: I won't have the skills to work on this mod myself for some time, so I'll throw this one open.

Sample Script

GRAF1K: I don't know if this would work:

class BlueTeamGarage extends Volume;

function Touch(Actor Other)
{
  if ( Other.IsA( 'Vehicle' ) )
    ScoreTeam();
}

function Untouch(Actor Other)
{
  if ( Other.IsA( 'Vehicle' ) )
    DescoreTeam();
}

function ScoreTeam()
{
  //One can imagine what would go here...
}

function DescoreTeam()
{
  //One can imagine what would go here...
}

Comments

GRAF1K: I don't know about the rest of you, but this sounds INCREDIBLY fun, and even if it was based on UnrealBallPool (which it wasn't) it would be a way better gametype in it's own right. Awesome idea Kagato. :tup: Doesn't sound too hard to script; I think I could do it myself in not too much time.

Kagato: Thanks! Glad you like it :)

(I've realised this probably isn't really a CTF variant (despite similarities in gameplay) because the maps will have to be different. I'll move this to a different section if more appropriate.)

GRAF1K: No one really cares where you put it; it is somewhat like CTF. But if you'd like it somewhere else that's fine. :-)

MeanFish: This is an amazing idea... when does it get released? :-P Seriously... this one's got a lot of potential. A couple important questions though:

  1. So if someone is in a car they are indestructible too?
  2. How many people can fit into a car?
  3. What kind of theme would you go with for the cars/maps?

Foxpaw: Well, it's quite possible that you could still have people inside a car able to be killed. In my mod it's already quite possible to hit the driver by shooting through windows, or potentially doors and such if your weapon is powerful enough. It appears that the vehicles in UT2004 are going to have the ability to hit the driver separately from the vehicle as well, though that's just speculation based on screenshots.

Kagato: I envision a 2-seater open-topped car, like a dune buggy with a rollcage. The occupants are exposed and can be shot at. (I guess a bit like Halo's Warthog, but smaller.) Is it possible to set the bone positions of a character? Ideally, you could put the driving player in a sitting pose, and "attach" him to the car – maybe even have his arms move as the car steers. I have yet to develop my modelling skills, but I can post a sketch if you like. (sketch added)

Foxpaw: It is possible to set the bones of a character to make scripted animations, but it's not the best route. Many custom models will not animate properly due to a different bone structure. UT2004 has "exposed" drivers (at least, you can see them in the screenshots, don't know if they can be shot or not) so there is almost certainately going to be a standardized driving animation that people making models will include.

MeanFish: It seems to me that by making some alterations to the collsion volume for the vehicle mesh you could indeed shoot at the driver i.e. not have it include areas where you intend for the assailants to shoot through.

HSDanClark: I actually got to play UT2004 at the Unreal University last weekend, so maybe I can settle a thing or two. When you're in a vehicle, whether it's an open vehicle or a closed vehicle, both the player and the vehicle take damage when shot at. In the lower left corner, both your health and the "health" of the vehicle are displayed. This being the case, the only way to hit the driver without hitting the vehicle is to use an accurate instant-hit weapon, like the lightning gun or the sniper rifle. Any other weapons will either cause splash damage to the vehicle or have (like the minigun) a spread that will spill over onto the vehicle. Don't worry about the need to kill a driver without damaging a vehicle – vehicles can he repaired in the field by the alt-fire of the linkgun. If you want someone's vehicle and you damage it, you can just go up and "heal" it before 'jacking it. Also, and this might be a good launching point for modders, Onslaught is the only gametype that supports vehicles at ship time. Any CTF, DM, or other gametype maps that contain vehicles will have to be produced by the community – and mods have to be scripted to allow things like flag carriers to get in a vehicle.

GRAF1K: This would have to be a custom gametype with custom maps anyhow. As for shooting players while driving:

Quote:

Originally Posted by Kagato

The cars should be indestructible, such that there is always a constant number of vehicles in play.


HSDanClark: That's fine... the cars can be indestructible. I haven't seen the vehicle UScript that comes with UT2004, but I'm sure there will be a property to set for taking/not taking damage. Failing that, they can always be re-scripted – it's about a two line fix to make them not take damage.

Foxpaw: I'm not sure that indestructable cars are the way to go. I would instead suggest something like respawning cars. Or maybe even have new cars drive on to the map with a non-combative AI driver who you'd have to cap before taking the vehicle. Then you could have them come in through a tunnel or something. I think that would be better than just having cars respawn from thin air.

Indestructable cars I don't really like the idea of because although being indestructable to shooting is reasonable enough, what if it gets driven off a cliff? There would be no way to get the vehicle back up onto the map. (Unless perhaps you had something like in Mario Kart where something picks up the car and puts it back onto the map somewhere.

GRAF1K: Hmmm. Suppose it doesn't accept weapon damage instead of all damage?

Foxpaw: Well, depending on how you destroy it when it goes off a cliff or whatever, when something surpasses the KillZ of the zone, I don't think it get's damaged, it just gets destroyed. I think. It destroys things like weapons and the camera, at least on my mod, so I think that it may just call destroy instead of takedamage.

However, having said that, it's still entirely possible that a vehicle could get stuck or trapped somehow, or alternatively the Karma system can suffer an internal error and that will result in either destruction of the karma object, or immediately ceasing simulation of it, depending on the setting of bDestroyOnSimError in the KParams.

So, I think that there should be some means of replacing vehicles that are destroyed, either by getting trapped, suffering a Simerror, or something else.

Kagato: Definitely need some way of handling car loss conditions (simply respawning the car where it started should do), but players shouldn't be able to deliberately destroy cars, in my opinion. If you can blow them up to spawn a fresh car, it takes away from the "car theft" gameplay a bit. I also think being able to snipe the driver is important to gameplay, so I hope that can be done.

A friend had an amusing suggestion for anchoring the driver; drop him into ragdoll mode and attach his hands to the wheel and feet to the pedals, and let physics sort out the rest. :P You'd end up with a pretty drunk looking driver, I think...

GRAF1K:

Quote:


Originally Posted by Kagato

You'd end up with a pretty drunk looking driver, I think...


Not if you attach a few other things. That's actually a good idea. Imagine watching the player get thrown like he's getting whiplash as he does a doughnut manuever... :D

Foxpaw: You'd probrably also want to have a seatbelt if you were going to do that. However, having said that, the performance implications of having numerous players ragdolled and in constant contact with a karma vehicle will put a lot of stress on the physics engine.. I think you might have a problem with framerate if you have the ragdoll-driver thing.

The Unreal Engine Documentation Site

Wiki Community

Topic Categories

Image Uploads

Random Page

Recent Changes

Offline Wiki

Unreal Engine

Console Commands

Terminology

Mapping Topics

Mapping Lessons

UnrealEd Interface

Questions&Answers

Scripting Topics

Scripting Lessons

Making Mods

Class Tree

Questions&Answers

Modeling Topics

Questions&Answers

Log In