Skip to content

Commit

Permalink
Fix Issues With Modern WZ Versions
Browse files Browse the repository at this point in the history
- Mod now comes with its own copy of libcampaign, this should reduce the chances of future updates breaking scripts.
- Updated nexus.js and victory.js to match their modern base counterparts.
- Implemented the improved "Under Attack!" message system from Fractured Kingdom.
- Made propulsions use the new single-model system.
- Updated Super Cyborgs and Cyborg Mechanics to use their modern models.
  • Loading branch information
DARwins1 committed Jan 24, 2023
1 parent 01aa225 commit cf088a1
Show file tree
Hide file tree
Showing 123 changed files with 33,143 additions and 489 deletions.
12 changes: 12 additions & 0 deletions Changelog.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,16 @@
Changelog:
Refactored v2.5.4

Update with bugfixes to work with recent versions.

Changes:
- Mod now comes with its own copy of libcampaign, this should reduce the chances of future updates breaking scripts.
- Updated nexus.js and victory.js to match their modern base counterparts.
- Implemented the improved "Under Attack!" message system from Fractured Kingdom.
- Made propulsions use the new single-model system.
- Updated Super Cyborgs and Cyborg Mechanics to use their modern models.


Refactored v2.5.3

Update with some minor tweaks.
Expand Down
99 changes: 49 additions & 50 deletions components/weapons/cy_rep.pie
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,15 @@ TYPE 200
TEXTURE 0 page-17-droid-weapons.png 0 0
LEVELS 1
LEVEL 1
POINTS 29
0 7 -4
-3 0 -9
-3 8 -19
0 12 -15
3 0 -9
3 8 -19
0 1 -32
0 12 -24
POINTS 27
0 13 -15
-3 8 -20
-3 0 -8
0 7 -4
3 8 -20
3 0 -8
0 12 -24
0 1 -32
-3 13 -15
-3 18 -19
-3 13 -25
Expand All @@ -33,46 +31,47 @@ POINTS 29
4 -7 -4
4 7 -4
4 7 4
POLYGONS 40
200 3 0 1 2 0.140625 0.730469 0.121094 0.730469 0.121094 0.707031
200 3 0 2 3 0.140625 0.730469 0.121094 0.707031 0.140625 0.707031
200 3 3 2 1 0.140625 0.707031 0.121094 0.707031 0.121094 0.730469
200 3 3 1 0 0.140625 0.707031 0.121094 0.730469 0.140625 0.730469
200 3 4 0 3 0.121094 0.730469 0.140625 0.730469 0.140625 0.707031
200 3 4 3 5 0.121094 0.730469 0.140625 0.707031 0.121094 0.707031
200 3 5 3 0 0.121094 0.707031 0.140625 0.707031 0.140625 0.730469
200 3 5 0 4 0.121094 0.707031 0.140625 0.730469 0.121094 0.730469
200 3 6 7 8 0.132812 0.707031 0.140625 0.730469 0.121094 0.730469
200 3 8 7 6 0.121094 0.730469 0.140625 0.730469 0.132812 0.707031
200 3 6 9 7 0.132812 0.707031 0.121094 0.730469 0.140625 0.730469
200 3 7 9 6 0.140625 0.730469 0.121094 0.730469 0.132812 0.707031
200 3 8 10 11 0.789062 0.914062 0.789062 0.875 0.75 0.875
200 3 8 11 12 0.789062 0.914062 0.75 0.875 0.75 0.914062
200 3 13 14 15 0.75 0.875 0.789062 0.875 0.789062 0.914062
200 3 13 15 16 0.75 0.875 0.789062 0.914062 0.75 0.914062
200 3 16 15 8 0.0078125 0.691406 0 0.691406 0 0.746094
200 3 16 8 12 0.0078125 0.691406 0 0.746094 0.0078125 0.746094
200 3 15 14 10 0 0.691406 0.015625 0.691406 0.015625 0.746094
200 3 15 10 8 0 0.691406 0.015625 0.746094 0 0.746094
200 3 14 13 11 0.015625 0.691406 0.0234375 0.691406 0.0234375 0.746094
200 3 14 11 10 0.015625 0.691406 0.0234375 0.746094 0.015625 0.746094
200 3 13 16 12 0.0234375 0.691406 0.0078125 0.691406 0.0078125 0.746094
200 3 13 12 11 0.0234375 0.691406 0.0078125 0.746094 0.0234375 0.746094
200 3 17 18 19 0.789062 0.894531 0.75 0.894531 0.761719 0.914062
200 3 17 19 20 0.789062 0.894531 0.761719 0.914062 0.777344 0.914062
200 3 17 21 22 0.789062 0.894531 0.777344 0.875 0.761719 0.875
200 3 17 22 18 0.789062 0.894531 0.761719 0.875 0.75 0.894531
200 3 23 24 25 0.75 0.894531 0.789062 0.894531 0.777344 0.914062
200 3 23 25 26 0.75 0.894531 0.777344 0.914062 0.761719 0.914062
200 3 24 23 27 0.789062 0.894531 0.75 0.894531 0.761719 0.875
200 3 24 27 28 0.789062 0.894531 0.761719 0.875 0.777344 0.875
200 3 24 28 21 0.0117188 0.691406 0.0234375 0.691406 0.0234375 0.746094
200 3 24 21 17 0.0117188 0.691406 0.0234375 0.746094 0.0117188 0.746094
200 3 27 23 18 0.0234375 0.691406 0.0117188 0.691406 0.0117188 0.746094
200 3 27 18 22 0.0234375 0.691406 0.0117188 0.746094 0.0234375 0.746094
200 3 23 26 19 0.0117188 0.691406 0 0.691406 0 0.746094
200 3 23 19 18 0.0117188 0.691406 0 0.746094 0.0117188 0.746094
200 3 25 24 17 0 0.691406 0.0117188 0.691406 0.0117188 0.746094
200 3 25 17 20 0 0.691406 0.0117188 0.746094 0 0.746094
POLYGONS 41
200 3 0 1 2 0.140625 0.707031 0.121094 0.707031 0.121094 0.730469
200 3 0 2 3 0.140625 0.707031 0.121094 0.730469 0.140625 0.730469
200 3 4 0 3 0.121094 0.707031 0.140625 0.707031 0.140625 0.730469
200 3 4 3 5 0.121094 0.707031 0.140625 0.730469 0.121094 0.730469
200 3 1 6 7 0.121094 0.730469 0.140625 0.730469 0.132812 0.707031
200 3 6 4 7 0.140625 0.730469 0.121094 0.730469 0.132812 0.707031
200 3 1 8 9 0.787207 0.912207 0.787207 0.876855 0.751855 0.876855
200 3 1 9 10 0.787207 0.912207 0.751855 0.876855 0.751855 0.912207
200 3 11 12 13 0.751855 0.876855 0.787207 0.876855 0.787207 0.912207
200 3 11 13 14 0.751855 0.876855 0.787207 0.912207 0.751855 0.912207
200 3 14 13 1 0.00843039 0.691406 0.00185143 0.691406 0.00185143 0.746094
200 3 14 1 10 0.00843039 0.691406 0.00185143 0.746094 0.00843039 0.746094
200 3 13 12 8 0.00185143 0.691406 0.0150094 0.691406 0.0150094 0.746094
200 3 13 8 1 0.00185143 0.691406 0.0150094 0.746094 0.00185143 0.746094
200 3 12 11 9 0.0150094 0.691406 0.0215883 0.691406 0.0215883 0.746094
200 3 12 9 8 0.0150094 0.691406 0.0215883 0.746094 0.0150094 0.746094
200 3 11 14 10 0.0215883 0.691406 0.00843039 0.691406 0.00843039 0.746094
200 3 11 10 9 0.0215883 0.691406 0.00843039 0.746094 0.0215883 0.746094
200 3 15 16 17 0.787207 0.894531 0.751855 0.894531 0.762461 0.912207
200 3 15 17 18 0.787207 0.894531 0.762461 0.912207 0.776602 0.912207
200 3 15 19 20 0.787207 0.894531 0.776602 0.876855 0.762461 0.876855
200 3 15 20 16 0.787207 0.894531 0.762461 0.876855 0.751855 0.894531
200 3 21 22 23 0.751855 0.894531 0.787207 0.894531 0.776602 0.912207
200 3 21 23 24 0.751855 0.894531 0.776602 0.912207 0.762461 0.912207
200 3 22 21 25 0.787207 0.894531 0.751855 0.894531 0.762461 0.876855
200 3 22 25 26 0.787207 0.894531 0.762461 0.876855 0.776602 0.876855
200 3 22 26 19 0.0117199 0.691406 0.0215883 0.691406 0.0215883 0.746094
200 3 22 19 15 0.0117199 0.691406 0.0215883 0.746094 0.0117199 0.746094
200 3 25 21 16 0.0215883 0.691406 0.0117199 0.691406 0.0117199 0.746094
200 3 25 16 20 0.0215883 0.691406 0.0117199 0.746094 0.0215883 0.746094
200 3 21 24 17 0.0117199 0.691406 0.00185143 0.691406 0.00185143 0.746094
200 3 21 17 16 0.0117199 0.691406 0.00185143 0.746094 0.0117199 0.746094
200 3 23 22 15 0.00185143 0.691406 0.0117199 0.691406 0.0117199 0.746094
200 3 23 15 18 0.00185143 0.691406 0.0117199 0.746094 0.00185143 0.746094
200 3 26 20 19 0.0136755 0.691409 0.0216003 0.746076 0.0136755 0.746076
200 3 20 26 25 0.0216003 0.746076 0.0136755 0.691409 0.0216003 0.691409
200 3 24 18 17 0.00185012 0.691381 0.00964297 0.746082 0.00185012 0.746082
200 3 18 24 23 0.00964297 0.746082 0.00185012 0.691381 0.00964297 0.691381
200 3 4 2 1 0.172925 0.730518 0.153341 0.707211 0.153341 0.730518
200 3 2 4 5 0.153341 0.707211 0.172925 0.730518 0.172925 0.707211
200 3 1 7 4 0.121094 0.730469 0.132812 0.707031 0.121094 0.730469
CONNECTORS 1
0 -32 1
90 changes: 59 additions & 31 deletions components/weapons/scbody.pie
Original file line number Diff line number Diff line change
@@ -1,41 +1,69 @@
PIE 2
PIE 3
TYPE 10200
TEXTURE 0 page-14-droid-hubs.png 256 256
TEXTURE 0 page-14-droid-hubs.png 0 0
LEVELS 1
LEVEL 1
POINTS 14
-16 24 -6
-16 8 -14
POINTS 22
-3.7375 24 -9.6
3.7375 16.8 -14
-3.7375 16.8 -14
3.7375 24 -9.6
8 -8 -14
3.7375 8 -14
16 8 -14
16 24 -6
-3.7375 8 -14
-16 8 -14
-8 -8 -14
8 -8 -14
-16 24 10
-16 24 -6
-16 8 10
-16 24 10
-8 -8 2
16 24 10
16 8 10
16 24 10
8 -8 2
-16 24 -14
16 24 -14
POLYGONS 18
200 3 3 2 1 66 167 74 167 74 185
200 3 3 1 0 66 167 74 185 66 185
200 3 5 4 1 82 172 82 180 74 185
200 3 5 1 2 82 172 74 185 74 167
200 3 0 1 7 66 163 74 167 74 155
200 3 0 7 6 66 163 74 155 66 155
200 3 4 8 7 82 167 82 159 74 155
200 3 4 7 1 82 167 74 155 74 167
200 3 6 7 10 29 155 37 155 37 137
200 3 6 10 9 29 155 37 137 29 137
200 3 11 10 7 45 142 37 137 37 155
200 3 11 7 8 45 142 37 155 45 150
200 3 9 13 12 169 155 157 155 157 137
200 3 9 12 6 169 155 157 137 169 137
200 3 9 10 2 66 155 74 155 74 167
200 3 9 2 3 66 155 74 167 66 163
200 3 11 5 2 82 159 82 167 74 167
200 3 11 2 10 82 159 74 167 74 155
16 24 -6
7.5 24 -6
-7.5 16.8 -9.6
-7.5 24 -6
7.5 16.8 -9.6
POLYGONS 38
200 3 0 1 2 0.260853 0.697759 0.274036 0.681651 0.274036 0.697759
200 3 1 0 3 0.274036 0.681651 0.260853 0.697759 0.260853 0.681651
200 3 4 5 6 0.319486 0.672466 0.292999 0.681651 0.292999 0.655001
200 3 4 7 5 0.319486 0.672466 0.292999 0.697759 0.292999 0.681651
200 3 4 8 7 0.319486 0.672466 0.292999 0.721657 0.292999 0.697759
200 3 4 9 8 0.319486 0.672466 0.319486 0.706944 0.292999 0.721657
200 3 10 11 12 0.260934 0.641361 0.292999 0.608524 0.260934 0.608524
200 3 11 10 8 0.292999 0.608524 0.260934 0.641361 0.292999 0.655001
200 3 9 11 8 0.319718 0.657411 0.292999 0.608524 0.292999 0.655001
200 3 11 9 13 0.292999 0.608524 0.319718 0.657411 0.319718 0.623655
200 3 12 14 15 0.116457 0.540332 0.147754 0.602638 0.116457 0.602638
200 3 14 12 11 0.147754 0.602638 0.116457 0.540332 0.147754 0.540332
200 3 16 11 13 0.179044 0.588024 0.147754 0.540332 0.179044 0.554407
200 3 11 16 14 0.147754 0.540332 0.179044 0.588024 0.147754 0.602638
200 3 15 17 18 0.661162 0.604587 0.629854 0.604587 0.629854 0.587237
200 3 15 6 17 0.260934 0.608524 0.292999 0.655001 0.260934 0.641361
200 3 6 15 14 0.292999 0.655001 0.260934 0.608524 0.292999 0.608524
200 3 16 6 14 0.319718 0.623655 0.292999 0.655001 0.292999 0.608524
200 3 6 16 4 0.292999 0.655001 0.319718 0.623655 0.319718 0.657411
200 3 10 19 8 0.260853 0.721657 0.274036 0.705866 0.292999 0.721657
200 3 19 10 20 0.274036 0.705866 0.260853 0.721657 0.260853 0.705866
200 3 6 18 17 0.292999 0.655001 0.260853 0.673543 0.260853 0.655001
200 3 18 6 21 0.260853 0.673543 0.292999 0.655001 0.274036 0.673543
200 3 20 2 19 0.260853 0.705866 0.274036 0.697759 0.274036 0.705866
200 3 2 20 0 0.274036 0.697759 0.260853 0.705866 0.260853 0.697759
200 3 5 1 21 0.292999 0.681651 0.274036 0.681651 0.274036 0.673543
200 3 7 1 5 0.292999 0.697759 0.274036 0.681651 0.292999 0.681651
200 3 1 7 2 0.274036 0.681651 0.292999 0.697759 0.274036 0.697759
200 3 19 2 7 0.274036 0.705866 0.274036 0.697759 0.292999 0.697759
200 3 18 1 3 0.260853 0.673543 0.274036 0.681651 0.260853 0.681651
200 3 1 18 21 0.274036 0.681651 0.260853 0.673543 0.274036 0.673543
200 3 5 21 6 0.292999 0.681651 0.274036 0.673543 0.292999 0.655001
200 3 19 7 8 0.274036 0.705866 0.292999 0.697759 0.292999 0.721657
200 3 0 18 3 0.616169 0.563804 0.629854 0.587237 0.616169 0.578775
200 3 18 0 20 0.629854 0.587237 0.616169 0.563804 0.629854 0.555622
200 3 12 20 10 0.661162 0.538057 0.629854 0.555622 0.629854 0.538057
200 3 15 20 12 0.661162 0.604587 0.629854 0.555622 0.661162 0.538057
200 3 20 15 18 0.629854 0.555622 0.661162 0.604587 0.629854 0.587237
CONNECTORS 1
-18 -4 16
-18 -2 14
Loading

0 comments on commit cf088a1

Please sign in to comment.