Skip to content

Commit

Permalink
The Super Transport (which is the same gfx as the transport in SP gam…
Browse files Browse the repository at this point in the history
…e) is available

    in MP games now.
    The Super Transport can carry a max of 10 units, their weights are calculated by
    Cyborg / light unit : 1 "slot" used
    Medium unit : 2 "slots" used.
    Heavy : 3 "slots" used.

    The Super Transport becomes available after you reseach the cyborg transport,
    and you research the Super Transport.

    The stats of the Super Transport are NOT final.
  • Loading branch information
buginator committed Oct 12, 2010
1 parent 7836d26 commit 12b7dfa
Show file tree
Hide file tree
Showing 15 changed files with 479 additions and 134 deletions.
251 changes: 251 additions & 0 deletions data/mp/components/bodies/drtrans.pie
@@ -0,0 +1,251 @@
PIE 2
TYPE 10200
TEXTURE 0 page-15-droid-hubs.png 256 256
LEVELS 1
LEVEL 1
POINTS 112
-2 144 68
-67 128 -68
-2 144 -68
-67 128 68
62 128 -68
62 128 68
-108 72 68
-108 72 -68
-67 16 -68
-67 16 68
-2 0 68
-2 0 -68
62 16 -68
103 72 68
103 72 -68
62 16 68
67 54 126
78 66 119
94 55 126
84 44 133
57 33 119
74 23 125
67 28 83
57 25 104
74 14 110
84 17 89
78 39 76
94 29 82
88 69 98
104 58 104
-80 39 76
-90 60 83
-107 49 89
-97 29 82
-60 25 104
-70 28 83
-86 17 89
-76 14 110
-80 66 119
-70 54 126
-86 44 133
-97 55 126
-60 33 119
-76 23 125
52 114 138
-2 126 138
86 72 138
52 29 138
-2 17 138
-56 114 138
-91 72 138
-56 29 138
52 114 -137
-2 126 -137
86 72 -137
52 29 -137
-2 17 -137
-56 114 -137
-91 72 -137
-56 29 -137
30 72 206
-2 72 206
-35 72 206
-35 72 -206
-2 72 -206
30 72 -206
-173 60 -68
-173 60 68
-131 78 -7
-143 76 4
-143 76 -31
-131 78 -19
-155 74 4
-167 72 -7
-167 72 -19
-155 74 -31
-153 64 -31
-141 66 -31
-129 69 -19
-129 69 -7
-141 66 4
-153 64 4
-165 62 -7
-165 62 -19
167 55 -68
167 55 68
161 67 -7
150 70 4
150 70 -31
161 67 -19
138 73 4
126 76 -7
126 76 -19
138 73 -31
159 57 -7
147 61 4
136 64 4
124 67 -7
159 57 -19
147 61 -31
124 67 -19
136 64 -31
88 60 83
104 49 89
-90 69 98
-107 58 104
-8 72 206
8 72 206
8 126 138
-8 126 138
0 151 207
0 151 119
POLYGONS 130
200 3 2 1 0 0 0 41 0 0 63
200 3 1 3 0 41 0 41 63 0 63
200 3 2 0 4 41 0 41 63 0 0
200 3 4 0 5 0 0 41 63 0 63
200 3 7 6 1 41 0 41 63 0 0
200 3 6 3 1 41 63 0 63 0 0
200 3 7 8 6 0 63 41 63 0 0
200 3 6 8 9 0 0 41 63 41 0
200 3 11 10 8 41 63 41 0 0 63
200 3 8 10 9 0 63 41 0 0 0
200 3 14 13 12 41 0 41 63 0 0
200 3 13 15 12 41 63 0 63 0 0
200 3 14 4 13 0 0 41 0 0 63
200 3 13 4 5 0 63 41 0 41 63
200 3 11 12 10 41 0 0 0 41 63
200 3 12 15 10 0 0 0 63 41 63
4200 4 19 18 17 16 8 1 18 14 107 42 125 42 125 56 107 56
4200 4 21 19 16 20 8 1 18 14 107 42 125 42 125 56 107 56
4200 4 25 24 23 22 8 1 18 14 125 42 107 42 107 56 125 56
4200 4 27 25 22 26 8 1 18 14 125 42 107 42 107 56 125 56
4200 4 24 21 20 23 8 1 18 14 125 42 107 42 107 56 125 56
4200 4 18 29 28 17 8 1 18 14 107 42 125 42 125 56 107 56
4200 4 33 32 31 30 8 1 18 14 125 42 107 42 107 56 125 56
4200 4 37 36 35 34 8 1 18 14 107 42 125 42 125 56 107 56
4200 4 36 33 30 35 8 1 18 14 107 42 125 42 125 56 107 56
4200 4 41 40 39 38 8 1 18 14 125 42 107 42 107 56 125 56
4200 4 40 43 42 39 8 1 18 14 125 42 107 42 107 56 125 56
4200 3 5 0 44 8 1 28 63 28 109 28 148 0 115
4200 3 44 0 45 8 1 28 63 0 115 28 148 0 148
4200 3 13 5 46 8 1 28 63 28 84 28 109 0 95
4200 3 46 5 44 8 1 28 63 0 95 28 109 0 115
4200 3 15 47 10 8 1 28 63 28 109 0 115 28 148
4200 3 47 48 10 8 1 28 63 0 115 0 148 28 148
4200 3 13 46 15 8 1 28 63 28 84 0 95 28 109
4200 3 46 47 15 8 1 28 63 0 95 0 115 28 109
4200 3 3 49 0 8 1 28 63 28 109 0 115 28 148
4200 3 49 45 0 8 1 28 63 0 115 0 148 28 148
4200 3 6 50 3 8 1 28 63 28 84 0 95 28 109
4200 3 50 49 3 8 1 28 63 0 95 0 115 28 109
4200 3 9 10 51 8 1 28 63 28 109 28 148 0 115
4200 3 51 10 48 8 1 28 63 0 115 28 148 0 148
4200 3 6 9 50 8 1 28 63 28 84 28 109 0 95
4200 3 50 9 51 8 1 28 63 0 95 28 109 0 115
4200 3 53 2 52 8 1 28 63 1 148 27 148 1 115
4200 3 52 2 4 8 1 28 63 1 115 27 148 27 109
4200 3 52 4 54 8 1 28 63 1 115 27 109 1 95
4200 3 54 4 14 8 1 28 63 1 95 27 109 27 84
4200 3 56 55 11 8 1 28 63 1 148 1 115 27 148
4200 3 55 12 11 8 1 28 63 1 115 27 109 27 148
4200 3 55 54 12 8 1 28 63 1 115 1 95 27 109
4200 3 54 14 12 8 1 28 63 1 95 27 84 27 109
4200 3 53 57 2 8 1 28 63 1 148 1 115 27 148
4200 3 57 1 2 8 1 28 63 1 115 27 109 27 148
4200 3 57 58 1 8 1 28 63 1 115 1 95 27 109
4200 3 58 7 1 8 1 28 63 1 95 27 84 27 109
4200 3 56 11 59 8 1 28 63 1 148 27 148 1 115
4200 3 59 11 8 8 1 28 63 1 115 27 148 27 109
4200 3 59 8 58 8 1 28 63 1 115 27 109 1 95
4200 3 58 8 7 8 1 28 63 1 95 27 109 27 84
200 3 44 45 60 67 42 106 42 83 83
200 3 60 45 61 83 83 106 42 106 83
200 3 44 60 46 67 42 83 83 42 42
200 3 47 60 48 67 42 83 83 106 42
200 3 60 61 48 83 83 106 83 106 42
200 3 47 46 60 67 42 42 42 83 83
200 3 49 62 45 67 42 83 83 106 42
200 3 62 61 45 83 83 106 83 106 42
200 3 49 50 62 67 42 42 42 83 83
200 3 51 48 62 67 42 106 42 83 83
200 3 62 48 61 83 83 106 42 106 83
200 3 51 62 50 67 42 83 83 42 42
200 3 64 56 63 106 83 106 42 83 83
200 3 63 56 59 83 83 106 42 67 42
200 3 58 63 59 42 42 83 83 67 42
200 3 64 65 56 106 83 83 83 106 42
200 3 65 55 56 83 83 67 42 106 42
200 3 54 55 65 42 42 67 42 83 83
200 3 64 63 53 105 41 129 41 105 0
200 3 63 57 53 129 41 144 0 105 0
200 3 58 57 63 169 0 144 0 129 41
200 3 64 53 65 105 41 105 0 82 41
200 3 65 53 52 82 41 105 0 67 0
200 3 54 65 52 42 0 82 41 67 0
4200 4 66 7 6 67 8 1 30 70 1 184 29 184 29 250 1 250
4200 4 67 6 7 66 8 1 30 70 1 250 29 250 29 184 1 184
200 4 71 70 69 68 219 39 233 26 193 26 206 39
200 4 69 70 73 72 193 26 233 26 206 0 193 13
200 4 73 70 75 74 206 0 233 26 233 13 219 0
4200 4 77 76 75 70 8 1 14 9 121 66 107 66 107 57 121 57
4200 4 78 77 70 71 8 1 14 9 109 66 120 66 120 57 109 57
4200 4 79 78 71 68 8 1 14 9 107 66 121 66 121 57 107 57
4200 4 81 80 69 72 8 1 14 9 107 66 121 66 121 57 107 57
4200 4 80 79 68 69 8 1 14 9 120 66 109 66 109 57 120 57
4200 4 82 81 72 73 8 1 14 9 120 66 109 66 109 57 120 57
4200 4 83 82 73 74 8 1 14 9 121 66 107 66 107 57 121 57
4200 4 76 83 74 75 8 1 14 9 109 66 120 66 120 57 109 57
4200 4 14 84 85 13 8 1 30 70 29 184 1 184 1 249 29 249
4200 4 13 85 84 14 8 1 30 70 29 249 1 249 1 184 29 184
200 4 89 88 87 86 219 39 233 26 193 26 206 39
200 4 87 88 91 90 193 26 233 26 206 0 193 13
200 4 91 88 93 92 206 0 233 26 233 13 219 0
4200 4 95 94 86 87 8 1 14 9 120 66 109 66 109 57 120 57
4200 4 96 95 87 90 8 1 14 9 107 66 121 66 121 57 107 57
4200 4 97 96 90 91 8 1 14 9 120 66 109 66 109 57 120 57
4200 4 94 98 89 86 8 1 14 9 107 66 121 66 121 57 107 57
4200 4 98 99 88 89 8 1 14 9 109 66 120 66 120 57 109 57
4200 4 101 100 92 93 8 1 14 9 109 66 120 66 120 57 109 57
4200 4 99 101 93 88 8 1 14 9 121 66 107 66 107 57 121 57
4200 4 100 97 91 92 8 1 14 9 121 66 107 66 107 57 121 57
4200 4 29 103 102 28 8 1 18 14 107 42 125 42 125 56 107 56
4200 4 43 37 34 42 8 1 18 14 107 42 125 42 125 56 107 56
4200 4 105 41 38 104 8 1 18 14 125 42 107 42 107 56 125 56
4200 4 32 105 104 31 8 1 18 14 125 42 107 42 107 56 125 56
4200 4 103 27 26 102 8 1 18 14 107 42 125 42 125 56 107 56
200 4 19 21 24 25 184 0 192 7 192 15 184 22
200 4 103 19 25 27 170 15 184 0 184 22 177 22
200 4 18 19 103 29 177 0 184 0 170 15 170 7
200 4 43 40 36 37 192 7 184 0 184 22 192 15
200 4 40 32 33 36 184 0 170 15 177 22 184 22
200 4 40 41 105 32 184 0 177 0 170 7 170 15
4200 4 106 107 108 109 8 1 32 30 31 180 31 180 7 159 7 159
4200 4 109 108 107 106 8 1 32 30 7 159 7 159 31 180 31 180
4200 4 107 110 111 108 8 1 32 30 31 180 31 150 1 150 7 159
4200 4 108 111 110 107 8 1 32 30 7 159 1 150 31 150 31 180
4200 4 110 106 109 111 8 1 32 30 31 150 31 180 7 159 1 150
4200 4 111 109 106 110 8 1 32 30 1 150 7 159 31 180 31 150
4200 3 107 106 110 8 1 32 30 31 180 31 180 31 150
4200 3 110 106 107 8 1 32 30 31 150 31 180 31 180
4200 3 108 111 109 8 1 32 30 7 159 1 150 7 159
4200 3 109 111 108 8 1 32 30 7 159 1 150 7 159
CONNECTORS 1
-2 -137 16
15 changes: 15 additions & 0 deletions data/mp/messages/resmessagesall.rmsg
Expand Up @@ -232,6 +232,21 @@ RES_CYTRANS
.sequenceName = "res_droid.ogg",
.audioName = NULL,
};

RES_SUPERTRANS
{
{
_("Super Transport Available"),
_("Armed with Machinegun"),
_("Body Points: Medium"),
_("Requires heavy VTOL factory to produce"),
},
.imdName = "MICAPSUL.pie",
.imdName2 = NULL,
.sequenceName = "res_droid.ogg",
.audioName = NULL,
};

RES_EMP_INH
{
{
Expand Down
3 changes: 3 additions & 0 deletions data/mp/messages/strings/names.txt
Expand Up @@ -681,6 +681,9 @@ R-Cyborg-Metals09 _("Cyborg Superdense Composite Alloys Mk3")

R-Cyborg-Transport _("Cyborg Transport")

MP-SuperTransport _("Super Transport")
MP-SuperTransportBody _("Super Transport Body")

R-Cyborg-Wpn-BB _("Bunker Blaster Cyborg")
R-Cyborg-Wpn-Cannon _("Heavy Gunner Cyborg")
R-Cyborg-Wpn-Flamer _("Flamer Cyborg")
Expand Down
2 changes: 2 additions & 0 deletions data/mp/messages/strings/resstrings.txt
Expand Up @@ -27,6 +27,8 @@

//R-Cyborg-Transport Cyborg Transport

//MP-SuperTransport Super Transport

//R-Cyborg-Metals01 Cyborg Composite Alloys

//R-Cyborg-Metals04 Cyborg Dense Composite Alloys
Expand Down
1 change: 1 addition & 0 deletions data/mp/stats/assignweapons.txt
Expand Up @@ -316,4 +316,5 @@ SK-Mantis-VTOL-PBB,Bomb3-VTOL-LtINC,NULL,NULL,6
SK-Mantis-VTOL-HBB,Bomb2-VTOL-HvHE,NULL,NULL,6
SK-Retre-VTOL-HBB,Bomb2-VTOL-HvHE,NULL,NULL,6
SK-Retal-VTOL-Scourge,Missile-VTOL-AT,NULL,NULL,6
MP-SuperTransport,MG3-VTOL,NULL,NULL,5
ZNULLDESIGN,ZNULLWEAPON,ZNULLWEAPON,ZNULLWEAPON,0
1 change: 1 addition & 0 deletions data/mp/stats/body.txt
@@ -1,6 +1,7 @@
Body key,Unused,Size,Build power,Build points,Weight,Body points,Body model,Unused,Weapon slots,Engine power,AFRK,AFRH,AREK,AREH,ALEK,ALEH,ARIK,ARIH,ATOK,ATOH,ABOK,ABOH,Flame model,Designable
ZNULLBODY,Level All,LIGHT,0,0,0,0,MIBNKBOD.PIE,20,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
TransporterBody,Level All,MEDIUM,325,637,250,200,drcytran.pie,100,1,2000,20,9,20,9,20,9,20,9,20,9,20,9,0,0
MP-SuperTransportBody,Level All,HEAVY,500,1000,1850,1000,drtrans.pie,100,1,2100,200,200,200,200,200,200,200,200,200,200,200,200,0,0
Superbody,Level All,HEAVY,10,10,2700,9000,DRHBOD11.PIE,500,1,40000,999,999,999,999,999,999,999,999,999,999,999,999,0,0
FireBody,Level One,LIGHT,4,75,3000,200,EXFIRE.PIE,50,1,4000,4,1,4,1,4,1,4,1,4,1,4,1,0,0
CybRotMgGrd,Level All,LIGHT,21,75,150,200,cybd_std.pie,100,1,600,12,6,12,6,12,6,12,6,12,6,12,6,0,0
Expand Down
2 changes: 2 additions & 0 deletions data/mp/stats/research/multiplayer/prresearch.txt
Expand Up @@ -41,6 +41,8 @@ R-Cyborg-Metals08,R-Cyborg-Metals07,585
R-Cyborg-Metals09,R-Cyborg-Metals08,586
R-Cyborg-Transport,R-Struc-Factory-Cyborg,1081
R-Cyborg-Transport,R-Struc-VTOLFactory,1081
MP-SuperTransport,R-Cyborg-Transport,1200
MP-SuperTransport,R-Struc-VTOLFactory,1200
R-Defense-AA-Laser,R-Wpn-AALaser,1152
R-Defense-AASite-QuadBof,R-Wpn-AAGun02,555
R-Defense-AASite-QuadMg1,R-Wpn-AAGun03,556
Expand Down
1 change: 1 addition & 0 deletions data/mp/stats/research/multiplayer/research.txt
Expand Up @@ -10,6 +10,7 @@ R-Defense-PlasmiteFlamer,Level Three,0,0,IMAGE_RES_DEFENCE,0,0,RES_EMP_PFL,Plasm
R-Wpn-Mortar-Incenediary,Level Three,0,0,IMAGE_RES_WEAPONTECH,0,0,RES_IMORT,0,Mortar-Incenediary,WEAPON,3600,1,2,0,0,0,0,0,1
R-Defense-MortarPit-Incenediary,Level Three,0,0,IMAGE_RES_DEFENCE,0,0,RES_EMP_IMP,Emplacement-MortarPit-Incenediary,0,BODY,2400,0,2,0,1,0,1,0,0
R-Cyborg-Transport,Level All,0,0,IMAGE_RES_CYBORGTECH,0,0,RES_CYTRANS,0,TransporterBody,BODY,3600,1,2,0,0,0,0,0,1
MP-SuperTransport,Level All,0,0,IMAGE_RES_CYBORGTECH,0,0,RES_SUPERTRANS,0,MP-SuperTransportBody,BODY,4000,1,2,0,0,0,0,0,1
R-Cyborg-Armor-Heat07,Level Three,IMAGE_RES_GRPUPG,1,IMAGE_RES_CYBORGTECH,icamrhot.pie,0,0,0,0,BODY,14000,0,1,1,0,0,0,0,0
R-Cyborg-Armor-Heat08,Level Three,IMAGE_RES_GRPUPG,1,IMAGE_RES_CYBORGTECH,icamrhot.pie,0,0,0,0,BODY,16000,0,1,1,0,0,0,0,0
R-Cyborg-Armor-Heat09,Level Three,IMAGE_RES_GRPUPG,1,IMAGE_RES_CYBORGTECH,icamrhot.pie,0,0,0,0,BODY,18000,0,1,1,0,0,0,0,0
Expand Down
1 change: 1 addition & 0 deletions data/mp/stats/research/multiplayer/resultcomponent.txt
Expand Up @@ -118,6 +118,7 @@ R-Sys-VTOLStrike-Turret01,Sys-VstrikeTurret01,SENSOR,0,0,8
R-Sys-VTOLCBS-Turret01,Sys-VTOLCBTurret01,SENSOR,0,0,8
R-Vehicle-Prop-Tracks,tracked01,PROPULSION,0,0,5
R-Cyborg-Transport,TransporterBody,BODY,0,0,2
MP-SuperTransport,MP-SuperTransportBody,BODY,0,0,2
R-Vehicle-Prop-VTOL,V-Tol,PROPULSION,0,0,5
R-Vehicle-Prop-Wheels,wheeled01,PROPULSION,0,0,5
R-Sys-RadarDetector01,RadarDetector,SENSOR,0,0,8
Expand Down
1 change: 1 addition & 0 deletions data/mp/stats/templates.txt
Expand Up @@ -363,3 +363,4 @@ SK-Mantis-VTOL-PBB,742,Body12SUP,ZNULLBRAIN,ZNULLCONSTRUCT,ZNULLECM,NO,V-Tol,ZNU
SK-Mantis-VTOL-HBB,743,Body12SUP,ZNULLBRAIN,ZNULLCONSTRUCT,ZNULLECM,NO,V-Tol,ZNULLREPAIR,DROID,DefaultSensor1Mk1,1
SK-Retre-VTOL-HBB,744,Body7ABT,ZNULLBRAIN,ZNULLCONSTRUCT,ZNULLECM,NO,V-Tol,ZNULLREPAIR,DROID,DefaultSensor1Mk1,1
SK-Retal-VTOL-Scourge,745,Body3MBT,ZNULLBRAIN,ZNULLCONSTRUCT,ZNULLECM,NO,V-Tol,ZNULLREPAIR,DROID,DefaultSensor1Mk1,1
MP-SuperTransport,746,MP-SuperTransportBody,ZNULLBRAIN,ZNULLCONSTRUCT,ZNULLECM,YES,V-Tol,ZNULLREPAIR,TRANSPORTER,DefaultSensor1Mk1,1
17 changes: 8 additions & 9 deletions src/display.c
Expand Up @@ -890,10 +890,10 @@ void processMouseClickInput(void)
// Can't demolish allied objects
item = MT_BLOCKING;
}
//in multiPlayer can only put cyborgs onto a Transporter
// in multiPlayer check for what kind of unit can use it (TODO)
else if (bMultiPlayer && item == MT_TRANDROID)
{
if (!cyborgDroidSelected(selectedPlayer) || ObjUnderMouse->player != selectedPlayer)
if ( ObjUnderMouse->player != selectedPlayer)
{
item = MT_OWNDROID;
}
Expand Down Expand Up @@ -1790,16 +1790,15 @@ static void dealWithLMBDroid(DROID* psDroid, SELECTION_TYPE selection)
addTransporterInterface(psDroid, false);
}
}
else if (!bMultiPlayer || cyborgDroidSelected(selectedPlayer))
{
else
{ // We can order all units to use the transport now
if (cyborgDroidSelected(selectedPlayer))
{
// TODO add special processing for cyborgDroids
}
orderSelectedObj(selectedPlayer, (BASE_OBJECT*)psDroid);
FeedbackOrderGiven();
}
else
{
clearSelection();
SelectDroid(psDroid);
}
}
// Clicked on a commander? Will link to it.
else if (psDroid->droidType == DROID_COMMAND && selection != SC_INVALID &&
Expand Down

0 comments on commit 12b7dfa

Please sign in to comment.