mirror of
https://github.com/1dot13/source.git
synced 2026-08-12 14:10:23 +02:00
Driveable vehicle Update: Externalized vehicle seats (by anv)
- externalised vehicle seats (TableData\Vehicles.xml) influence position of passenger, field of view, ability to shoot and being hidden, - seat can chosen by using ctrl+RMB on vehicle (ctrl + LMB just takes the first visible seat) - seats can be changed or swapped while inside vehicle, - remade JSD files for cars, - vehicles aren't transparent anymore, - vehicles are louder than people, depending how fast they move. see: http://www.bears-pit.com/board/ubbthreads.php/topics/332790/5.html git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@7212 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -177,6 +177,7 @@ bool Loc::ExportStrings()
|
||||
ExportSection(props, L"Vehicle", Loc::pVehicleStrings, 0, 6);
|
||||
ExportSection(props, L"ShortVehicle", Loc::pShortVehicleStrings, 0, 6);
|
||||
ExportSection(props, L"VehicleName", Loc::zVehicleName, 0, 6);
|
||||
ExportSection(props, L"VehicleSeatsStrings", Loc::pVehicleSeatsStrings, 0, 2);
|
||||
|
||||
ExportSection(props, L"Tactical", Loc::TacticalStr, 0, TEXT_NUM_TACTICAL_STR);
|
||||
ExportSection(props, L"ExitingSectorHelp", Loc::pExitingSectorHelpText, 0, TEXT_NUM_EXIT_GUI);
|
||||
|
||||
@@ -740,6 +740,7 @@ extern STR16 sKeyDescriptionStrings[2];
|
||||
extern CHAR16 zHealthStr[][13];
|
||||
extern STR16 gzHiddenHitCountStr[1];
|
||||
extern STR16 zVehicleName[ 6 ];
|
||||
extern STR16 pVehicleSeatsStrings[ 2 ] ;
|
||||
|
||||
// Flugente: externalised texts for some features
|
||||
enum
|
||||
|
||||
@@ -3072,6 +3072,11 @@ STR16 zVehicleName[] =
|
||||
L"直升飞机", //an abbreviation for Helicopter
|
||||
};
|
||||
|
||||
STR16 pVehicleSeatsStrings[] =
|
||||
{
|
||||
L"You cannot shoot from this seat.", // TODO.Translate
|
||||
L"You cannot swap those two seats in combat without exiting vehicle first.", // TODO.Translate
|
||||
};
|
||||
|
||||
//These are messages Used in the Tactical Screen
|
||||
|
||||
|
||||
@@ -3070,6 +3070,11 @@ STR16 zVehicleName[] =
|
||||
L"Heli", //an abbreviation for Helicopter
|
||||
};
|
||||
|
||||
STR16 pVehicleSeatsStrings[] =
|
||||
{
|
||||
L"You cannot shoot from this seat.", // TODO.Translate
|
||||
L"You cannot swap those two seats in combat without exiting vehicle first.", // TODO.Translate
|
||||
};
|
||||
|
||||
//These are messages Used in the Tactical Screen
|
||||
|
||||
|
||||
@@ -3072,6 +3072,11 @@ STR16 zVehicleName[] =
|
||||
L"Heli", //an abbreviation for Helicopter
|
||||
};
|
||||
|
||||
STR16 pVehicleSeatsStrings[] =
|
||||
{
|
||||
L"You cannot shoot from this seat.",
|
||||
L"You cannot swap those two seats in combat without exiting vehicle first.",
|
||||
};
|
||||
|
||||
//These are messages Used in the Tactical Screen
|
||||
|
||||
|
||||
@@ -3074,6 +3074,11 @@ STR16 zVehicleName[] =
|
||||
L"Hélico", //an abbreviation for Helicopter
|
||||
};
|
||||
|
||||
STR16 pVehicleSeatsStrings[] =
|
||||
{
|
||||
L"You cannot shoot from this seat.", // TODO.Translate
|
||||
L"You cannot swap those two seats in combat without exiting vehicle first.", // TODO.Translate
|
||||
};
|
||||
|
||||
//These are messages Used in the Tactical Screen
|
||||
|
||||
|
||||
@@ -3075,6 +3075,12 @@ STR16 zVehicleName[] =
|
||||
L"Heli", //an abbreviation for Helicopter
|
||||
};
|
||||
|
||||
STR16 pVehicleSeatsStrings[] =
|
||||
{
|
||||
L"You cannot shoot from this seat.", // TODO.Translate
|
||||
L"You cannot swap those two seats in combat without exiting vehicle first.", // TODO.Translate
|
||||
};
|
||||
|
||||
//These are messages Used in the Tactical Screen
|
||||
CHAR16 TacticalStr[][ MED_STRING_LENGTH ] =
|
||||
{
|
||||
|
||||
@@ -3066,6 +3066,11 @@ STR16 zVehicleName[] =
|
||||
L"Eli", //an abbreviation for Helicopter
|
||||
};
|
||||
|
||||
STR16 pVehicleSeatsStrings[] =
|
||||
{
|
||||
L"You cannot shoot from this seat.", // TODO.Translate
|
||||
L"You cannot swap those two seats in combat without exiting vehicle first.", // TODO.Translate
|
||||
};
|
||||
|
||||
//These are messages Used in the Tactical Screen
|
||||
|
||||
|
||||
@@ -3079,6 +3079,11 @@ STR16 zVehicleName[] =
|
||||
L"Heli.", //an abbreviation for Helicopter
|
||||
};
|
||||
|
||||
STR16 pVehicleSeatsStrings[] =
|
||||
{
|
||||
L"Nie jesteś w stanie strzelać z tego miejsca.",
|
||||
L"Nie możesz sie przesiąść między tymi dwoma miejscami bez opuszczania pojazdu.",
|
||||
};
|
||||
|
||||
//These are messages Used in the Tactical Screen
|
||||
|
||||
|
||||
@@ -3072,6 +3072,11 @@ STR16 zVehicleName[] =
|
||||
L"Вертолёт", //an abbreviation for Helicopter
|
||||
};
|
||||
|
||||
STR16 pVehicleSeatsStrings[] =
|
||||
{
|
||||
L"You cannot shoot from this seat.", // TODO.Translate
|
||||
L"You cannot swap those two seats in combat without exiting vehicle first.", // TODO.Translate
|
||||
};
|
||||
|
||||
//These are messages Used in the Tactical Screen
|
||||
|
||||
|
||||
@@ -3075,6 +3075,11 @@ STR16 zVehicleName[] =
|
||||
L"Heli", //an abbreviation for Helicopter
|
||||
};
|
||||
|
||||
STR16 pVehicleSeatsStrings[] =
|
||||
{
|
||||
L"You cannot shoot from this seat.", // TODO.Translate
|
||||
L"You cannot swap those two seats in combat without exiting vehicle first.", // TODO.Translate
|
||||
};
|
||||
|
||||
//These are messages Used in the Tactical Screen
|
||||
|
||||
|
||||
Reference in New Issue
Block a user