You are not logged in.
I have recently tried to lock a vehicle from within the console that I spawn myself, without fiddling around in WinRFA. Does anybody here know if this can be done?
The only command I can think of is ObjectTemplate.teamOnVehicle 0/1/2, but that's for the whole team, not just one player. That command is used in many maps, mostly Pacific maps with carriers and big ships. These ships are always locked to one team.
As for using this command from the console, I imagine you used the BF1942 Debugger to do this? Otherwise I imagine you would get the standard ''Unauthorized command'' error dialog in the console.
The only command I can think of is ObjectTemplate.teamOnVehicle 0/1/2, but that's for the whole team, not just one player. That command is used in many maps, mostly Pacific maps with carriers and big ships. These ships are always locked to one team.
As for using this command from the console, I imagine you used the BF1942 Debugger to do this? Otherwise I imagine you would get the standard ''Unauthorized command'' error dialog in the console.
I actually modified the executable thanks to Tuia's help on how to modify the original exe file. Except I cannot seem to get it working when trying the ".teamonvehicle" command, I will se what I can do about it.
Skull Kid wrote:I have recently tried to lock a vehicle from within the console
What do you mean by "lock"?
I think he means that he wants the vehicle to only be able to be used by one individual, or team (teamOnVehicle command) by simply using a console command. IMO this isn't possible unless he uses the BF1942 Debugger on a LAN.
Last edited by Black Mamba (2019-06-25 00:56:42)
Yes Bud, that sounds correct. That's also what I was trying to do.
Black Mamba, I am using a modified BF1942.exe, which I modified myself (thanks to Tuia for the help) to unlock the console to become like the debugger, except it won't list the commands you search for with the tab key.
Okay some code use 0/1 as one/off, the " teamOnVehicle " might be an on/off switch, meaning if its more than 0 then its on (or true), in that case it can take the team property directly from the spawner "setObjectTemplate 2 sherman"
You can use premade spawners with the right conditions if you like
.
https://www.youtube.com/watch?v=Z5dxodt1g5M
It seems though teamonvehicle is not adjustable in-game, I will try it with the debugger.
EDIT: Doesn't work in the debugger either.
Last edited by Skull Kid (2019-06-27 19:37:51)
...
What about !nuke?
...
It seems though teamonvehicle is not adjustable in-game, I will try it with the debugger.
EDIT: Doesn't work in the debugger either.
You need to find a way to "hotswap" one vehicle for another that in its code has another set of spawn parameters (the team setting)
Last edited by bud (2019-06-28 00:36:40)
*BUMP*
My bad for bumping an old thread, but to lock a vehicle while in-game just use the commands in the following order:
"ObjectTemplate.active name-of-vehicle"
"ObjectTemplate.DontClearTeamOnExit 1"