-
09-14-2005, 03:08 PM #1
Locking a team out of a vehicle
There is an object property called TeamOnVehicle that has a rumor to the effect that if this property is set to a specific team, then only that team can use that object.
Can anyone verify this?
I'm interested to see if we can server-side mod this so that certain vehicles (i.e. aircraft) cannot be taken by the enemy.
-
09-14-2005, 04:21 PM #2
Re: Locking a team out of a vehicle
Interesting. I saw this property and thought is was to do with the team symbol being shown on the side of things like UAV and Radar. I will check it out tonight!
Peace through fear... since 1947!
-
09-14-2005, 05:34 PM #3
Re: Locking a team out of a vehicle
That property is required for the UAV/Arty/Radar. This restricts the other team from using it. However, I've never tested it with standard vehicles.
Originally Posted by icky
-
09-14-2005, 09:16 PM #4
Re: Locking a team out of a vehicle
I would consider the Essex defensive guns to be vehicles. The US can get into those but the opfor can't. Maybe check the game coding on those.
|TG-33rd|Dark_Viper




I thought I wanted a career, turns out I just wanted paychecks.
-
09-15-2005, 01:40 AM #5
Re: Locking a team out of a vehicle
Ok, I confirmed that this does indeed lock the vehicles. However, I took a look at the stock maps and could not find the file that we would want to edit.
On my custom map, there is a file \MyLevel\Editor\GamePlayObjects.con that contains the following code...
However, I was not able to find this file for the stock maps.rem [ObjectSpawnerTemplate: 64_MEC_OS_Storage_Hanger_ME_US_LightJeep]
ObjectTemplate.create ObjectSpawner 64_MEC_OS_Storage_Hanger_ME_US_LightJeep
ObjectTemplate.activeSafe ObjectSpawner 64_MEC_OS_Storage_Hanger_ME_US_LightJeep
ObjectTemplate.modifiedByUser "Craig Aschbrenner"
ObjectTemplate.isNotSaveable 1
ObjectTemplate.hasMobilePhysics 0
ObjectTemplate.setObjectTemplate 1 JEP_PARATROOPER
ObjectTemplate.minSpawnDelay 120
ObjectTemplate.maxSpawnDelay 300
ObjectTemplate.TimeToLive 300
ObjectTemplate.Distance 120
ObjectTemplate.team 1
ObjectTemplate.teamOnVehicle 1
So my question is how would we set this teamOnVehicle value to 1 for aircraft on the stock maps?
-
09-15-2005, 02:22 AM #6
- Join Date
- Jul 2005
- Posts
- 1,355
Re: Locking a team out of a vehicle
Might it be a good idea to set this on armor (tank, APC, mobile AA) as well? I would imagine that in real life it wouldn't be so easy to jump in a different model armor and immediately start using it effectively. While with light vehicles (jeep, van, etc.) it's reasonable to think that anyone could hop in and use it.
Originally Posted by asch
I'm not fully confident that this is a good idea, just wanted to throw it out for discussion.
-
09-15-2005, 02:25 AM #7
Re: Locking a team out of a vehicle
I think this is a good idea for the airplanes, but for armor it seems that when attacking its very important to try to steal the enemy's armor. If they refuse to use it, well then ill definatly use it. If we make it impossible for the enemy to steal armor, it makes defenses easier because they dont have to always have someone in their armor.
Originally Posted by SgtDuke
-
09-15-2005, 02:27 AM #8
Re: Locking a team out of a vehicle
Please help a computer ignorant person like myself.
Would this mod, assuming it is implemented, prevent me (USMC) from hopping in an MEC vehicle after I have successfully converted the flag? i.e. the vehicle was there before I capped the flag."Umm Deputy these aren't my pants" - Common alarm cry of the North American Crackhead
[tg-c1][ma-c1][defense]
-
09-15-2005, 02:45 AM #9
Re: Locking a team out of a vehicle
Excellent tip! Yes, that is exactly what is used for the carrier guns.
Originally Posted by Dark Viper
Asch, check your old PM's from me for the location of that file in the stock maps.
rem [ObjectSpawnerTemplate: CPNAME_DP_64_uscarrier_Defence_Back]
ObjectTemplate.create ObjectSpawner CPNAME_DP_64_uscarrier_Defence_Back
ObjectTemplate.activeSafe ObjectSpawner CPNAME_DP_64_uscarrier_Defence_Back
ObjectTemplate.modifiedByUser nla
ObjectTemplate.isNotSaveable 1
ObjectTemplate.hasMobilePhysics 0
ObjectTemplate.setObjectTemplate 1 wasp_defence_back
ObjectTemplate.setObjectTemplate 2 wasp_defence_back
ObjectTemplate.teamOnVehicle 1Peace through fear... since 1947!
-
09-15-2005, 09:18 AM #10
Re: Locking a team out of a vehicle
It's possible to set any objectspawn to work only for one team, however doing so with land vehicles would greatly limit the use of vehicles. What would happen is once a team caps a flag, they would not be able to gain access to the vehicle. They would have to destroy it and wait for a respawn.
Originally Posted by SgtDuke
-
09-15-2005, 09:19 AM #11
Re: Locking a team out of a vehicle
That is true. The vehicle would have to be destroyed and you would have to wait for your version of the vehicle to spawn. This is one of the main reasons to restrict it to most aircraft.
Originally Posted by Pickle
-
09-15-2005, 09:20 AM #12
Re: Locking a team out of a vehicle
Found it! Thanks!
Originally Posted by icky
-
09-15-2005, 04:33 PM #13
- Join Date
- Jul 2005
- Posts
- 1,355
Re: Locking a team out of a vehicle
I think this might be better than enemy armor camping. The fundamental problem I have is that team vehicles constantly spawn out of thin air whether you want them to or not. I'd rather you had to walk up to an area where a team vehicle would spawn and then indicate that you would like the vehicle to spawn and it would automatically put you in it. But I doubt it's possible for us to achieve something like that with the current modding capabilities.
Originally Posted by asch
-
09-15-2005, 05:51 PM #14
Re: Locking a team out of a vehicle
One thing that can be done is to increase the spawn time for vehicles. In my custom maps I make vehicles critical to keep alive and used properly. A vehicle may take five minutes to respawn.
Originally Posted by SgtDuke
I believe the current setting on most stock maps is less than one minute.
-
09-15-2005, 06:02 PM #15
Re: Locking a team out of a vehicle
Default is 20-40 seconds, I believe. Most vehicles use the default and will respawn almost as quickly as the player who was in them.
Peace through fear... since 1947!
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)




Reply With Quote

Bookmarks