-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMain.cs
745 lines (666 loc) · 34 KB
/
Main.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
using MelonLoader;
using BTD_Mod_Helper;
using boxermonkey;
using BTD_Mod_Helper.Api.Display;
using BTD_Mod_Helper.Api.Towers;
using BTD_Mod_Helper.Extensions;
using Il2CppAssets.Scripts.Models.Towers;
using Il2CppAssets.Scripts.Models.Towers.Behaviors;
using Il2CppAssets.Scripts.Models.Towers.Behaviors.Attack;
using Il2CppAssets.Scripts.Models.Towers.Behaviors.Emissions;
using Il2CppAssets.Scripts.Models.Towers.Projectiles.Behaviors;
using Il2CppAssets.Scripts.Models.TowerSets;
using Il2CppAssets.Scripts.Simulation.Towers;
using Il2CppAssets.Scripts.Simulation.Towers.Weapons;
using Il2CppAssets.Scripts.Unity;
using Il2CppAssets.Scripts.Unity.Display;
using Il2CppSystem.IO;
using UnityEngine;
using BTD_Mod_Helper.Api.Enums;
using Il2CppAssets.Scripts.Simulation.Bloons;
using Il2CppAssets.Scripts.Simulation.Towers.Projectiles;
using Il2Cpp;
using BTD_Mod_Helper.Api;
using Il2CppAssets.Scripts.Models.Towers.Weapons.Behaviors;
using Il2CppAssets.Scripts.Models.Towers.Behaviors.Abilities.Behaviors;
using Il2CppAssets.Scripts.Models.Towers.Behaviors.Abilities;
using Il2CppAssets.Scripts.Models.Towers.TowerFilters;
using Il2CppAssets.Scripts.Models.Map;
using System.Collections.Generic;
using System.Linq;
using Il2CppAssets.Scripts.Models.GenericBehaviors;
using Il2CppAssets.Scripts.Models.Towers.Filters;
using System.Runtime.CompilerServices;
using Il2CppAssets.Scripts.Models.Bloons.Behaviors;
using Il2CppAssets.Scripts.Models.Towers.Behaviors.Attack.Behaviors;
using Il2CppInterop.Runtime.InteropTypes.Arrays;
using Il2CppAssets.Scripts.Models;
[assembly: MelonInfo(typeof(boxermonkey.boxermonkey), ModHelperData.Name, ModHelperData.Version, ModHelperData.RepoOwner)]
[assembly: MelonGame("Ninja Kiwi", "BloonsTD6")]
namespace boxermonkey
{
public class boxermonkey : BloonsTD6Mod
{
public override void OnApplicationStart()
{
ModHelper.Msg<boxermonkey>("Boxer Monkey loaded!");
}
public class exampul1 : ModTower
{
public override string Portrait => "000_boxer";
public override string Icon => "portrait";
public override TowerSet TowerSet => TowerSet.Primary;
public override string BaseTower => TowerType.DartMonkey;
public override int Cost => 250;
public override int TopPathUpgrades => 5;
public override int MiddlePathUpgrades => 5;
public override int BottomPathUpgrades => 5;
public override string Description => "Throws strong and fast Punches for the exchange of low range.";
public override string DisplayName => "Boxer Monkey";
public override void ModifyBaseTowerModel(TowerModel towerModel)
{
towerModel.ApplyDisplay<Wyglad>();
towerModel.range = 20;
var attackModel = towerModel.GetAttackModel();
attackModel.range = 20;
attackModel.weapons[0].projectile.GetDamageModel().damage = 2;
var projectile = attackModel.weapons[0].projectile;
projectile.ApplyDisplay<Projectile1>();
projectile.pierce = 1;
attackModel.weapons[0].Rate = 0.9f;
attackModel.weapons[0].projectile.GetBehavior<TravelStraitModel>().Lifespan = 0.2f;
}
}
public class Wyglad : ModCustomDisplay
{
public override string AssetBundleName => "boxermonkey222"; // loads from "assets.bundle"
public override string PrefabName => "boxer000"; // loads the "MyModel" prefab
public override void ModifyDisplayNode(UnityDisplayNode node)
{
node.transform.GetChild(0).transform.localScale *= 86;
foreach (var meshRenderer in node.GetMeshRenderers())
{
meshRenderer.ApplyOutlineShader();
meshRenderer.SetOutlineColor(new Color(108 / 255f, 0 / 255f, 0 / 255f));
}
}
}
public class Projectile1 : ModDisplay
{
public override string BaseDisplay => Generic2dDisplay;
public override void ModifyDisplayNode(UnityDisplayNode node)
{
Set2DTexture(node, Name);
}
}
public class Projectile2 : ModDisplay
{
public override string BaseDisplay => Generic2dDisplay;
public override void ModifyDisplayNode(UnityDisplayNode node)
{
Set2DTexture(node, Name);
}
}
public class Projectile3 : ModDisplay
{
public override string BaseDisplay => Generic2dDisplay;
public override void ModifyDisplayNode(UnityDisplayNode node)
{
Set2DTexture(node, Name);
}
}
public class Projectile4 : ModDisplay
{
public override string BaseDisplay => Generic2dDisplay;
public override void ModifyDisplayNode(UnityDisplayNode node)
{
Set2DTexture(node, Name);
}
}
public override void OnWeaponFire(Weapon weapon)
{
if (weapon.attack.tower.towerModel.name.Contains("testmod1-exampul1"))
{
weapon.attack.tower.Node.graphic.GetComponent<Animator>().SetTrigger("Punch");
}
}
public class u100 : ModUpgrade<exampul1>
{
public override int Path => TOP;
public override int Tier => 1;
public override int Cost => 190;
public override string Portrait => "100copy";
public override string Icon => "100";
public override string DisplayName => "Faster Punch throws";
public override string Description => "Slightly increases Attack speed";
public override void ApplyUpgrade(TowerModel tower)
{
tower.ApplyDisplay<looks100>();
foreach (var weaponModel in tower.GetWeapons())
{
weaponModel.Rate -= 0.1f;
}
}
}
public class u010 : ModUpgrade<exampul1>
{
public override int Path => MIDDLE;
public override int Tier => 1;
public override int Cost => 200;
public override string DisplayName => "Far Strikes";
public override string Description => "Very Slightly Increases Range";
public override string Icon => "010";
public override string Portrait => "010copy";
public override void ApplyUpgrade(TowerModel tower)
{
foreach (var weaponModel in tower.GetWeapons())
{
{
tower.ApplyDisplay<looks010>();
tower.range += 3;
tower.GetAttackModel().range += 3;
}
}
}
}
public class u001 : ModUpgrade<exampul1>
{
public override int Path => BOTTOM;
public override int Tier => 1;
public override int Cost => 340;
public override string Description => "Slightly Increases Damage";
public override string DisplayName => "Haymaker";
public override string Portrait => "001copy";
public override string Icon => "001";
public override void ApplyUpgrade(TowerModel tower)
{
tower.ApplyDisplay<looks001>();
foreach (var weaponModel in tower.GetWeapons())
{
weaponModel.projectile.GetDamageModel().damage += 1;
}
}
}
public class u002 : ModUpgrade<exampul1>
{
public override int Path => BOTTOM;
public override int Tier => 2;
public override int Cost => 440;
public override string Description => "Can pop Lead and Frozen Bloons";
public override string DisplayName => "Iron Fists";
public override string Portrait => "002copy";
public override void ApplyUpgrade(TowerModel tower)
{
tower.ApplyDisplay<looks002>();
foreach (var weaponModel in tower.GetWeapons())
{
tower.GetAttackModel().weapons[0].projectile.GetDamageModel().immuneBloonProperties = BloonProperties.None;
}
}
}
public class u020 : ModUpgrade<exampul1>
{
public override int Path => MIDDLE;
public override int Tier => 2;
public override int Cost => 170;
public override string Description => "Increases range Even further";
public override string DisplayName => "Spiked Gloves";
public override string Portrait => "020copy";
public override void ApplyUpgrade(TowerModel tower)
{
tower.ApplyDisplay<looks020>();
tower.range += 3;
tower.GetAttackModel().range += 3;
}
}
public class u200 : ModUpgrade<exampul1>
{
public override int Path => TOP;
public override int Tier => 2;
public override int Cost => 210;
public override string Portrait => "200copy";
public override string DisplayName => "Even faster punches";
public override string Description => "Increases Attack speed even more";
public override void ApplyUpgrade(TowerModel tower)
{
tower.ApplyDisplay<looks200>();
foreach (var weaponModel in tower.GetWeapons())
{
weaponModel.Rate -= 0.15f;
}
}
}
public class u300 : ModUpgrade<exampul1>
{
public override int Path => TOP;
public override int Tier => 3;
public override int Cost => 1600;
public override string Portrait => "300copy";
public override string DisplayName => "Welterweight Elite";
public override string Description => "Greatly increases damage dealt to MOAB class Bloons";
public override void ApplyUpgrade(TowerModel tower)
{
tower.ApplyDisplay<looks300>();
foreach (var weaponModel in tower.GetWeapons())
{
weaponModel.projectile.AddBehavior(new DamageModifierForTagModel("Moab", "Moab", 1, 13, false, true));
weaponModel.projectile.AddBehavior(new DamageModifierForTagModel("Bfb", "Bfb", 1, 5, false, true));
weaponModel.projectile.AddBehavior(new DamageModifierForTagModel("Zomg", "Zomg", 1, 5, false, true));
weaponModel.Rate -= 0.15f;
}
}
}
public class u400 : ModUpgrade<exampul1>
{
public override int Path => TOP;
public override int Tier => 4;
public override int Cost => 4200;
public override string Portrait => "400copy";
public override string DisplayName => "Heavyweight Champion";
public override string Description => "Triple winner of the Ultimate Popping Championship. Increases Damage dealt and Attack rate";
public override void ApplyUpgrade(TowerModel tower)
{
tower.ApplyDisplay<looks400>();
foreach (var weaponModel in tower.GetWeapons())
{
weaponModel.projectile.GetDamageModel().damage += 13;
weaponModel.Rate -= 0.15f;
weaponModel.projectile.AddBehavior(new DamageModifierForTagModel("Ddt", "Ddt", 1, 15, false, true));
}
}
}
public class u500 : ModUpgrade<exampul1>
{
public override int Path => TOP;
public override int Tier => 5;
public override int Cost => 23500;
public override string Portrait => "500copy";
public override string DisplayName => "Atomweight";
public override string Description => "Nearly died trying to lose weight for the next fight, but was revived after absorbing ghostly energy.";
public override void ApplyUpgrade(TowerModel tower)
{
tower.GetAttackModel().weapons[0].emission = new ArcEmissionModel("ArcEmissionModel_", 2, 0, 320, null, false, false);
tower.ApplyDisplay<looks500>();
var attackModel = tower.GetAttackModel();
attackModel.weapons[0].projectile.GetBehavior<TravelStraitModel>().Lifespan *= 5.0f;
attackModel.weapons[0].projectile.AddBehavior(Game.instance.model.GetTowerFromId("Adora 20").GetAttackModel().weapons[0].projectile.GetBehavior<AdoraTrackTargetModel>().Duplicate());
attackModel.weapons[0].projectile.GetBehavior<AdoraTrackTargetModel>().lifespan *= 5f;
attackModel.weapons[0].projectile.pierce += 65;
attackModel.weapons[0].projectile.ApplyDisplay<Projectile2>();
foreach (var weaponModel in tower.GetWeapons())
{
weaponModel.projectile.GetDamageModel().damage -= 10;
}
}
}
public class u030 : ModUpgrade<exampul1>
{
public override int Path => MIDDLE;
public override int Tier => 3;
public override int Cost => 540;
public override string Description => "Now Chops Bloons with an Axe";
public override string DisplayName => "Axe";
public override string Portrait => "030copy";
public override void ApplyUpgrade(TowerModel tower)
{
tower.ApplyDisplay<looks030>();
tower.range += 2;
tower.GetAttackModel().range += 2;
var attackModel = tower.GetAttackModel();
var projectile = attackModel.weapons[0].projectile;
projectile.ApplyDisplay<Projectile3>();
projectile.pierce += 2;
foreach (var weaponModel in tower.GetWeapons())
{
weaponModel.projectile.GetDamageModel().damage += 3;
weaponModel.Rate -= 0.2f;
attackModel.weapons[0].projectile.GetBehavior<TravelStraitModel>().Lifespan = 0.1f;
}
}
}
public class u040 : ModUpgrade<exampul1>
{
public override int Path => MIDDLE;
public override int Tier => 4;
public override int Cost => 8400;
public override string Description => "Lumberjack's Cocktail: Increases Attack rate of all Boxer Monkeys in range by 100%";
public override string DisplayName => "Lumberjack's Cocktail";
public override string Portrait => "040copy";
public override void ApplyUpgrade(TowerModel tower)
{
tower.ApplyDisplay<looks040>();
TowerFilterModel filter1 = new FilterInBaseTowerIdModel("BaseTowerFilter", new Il2CppStringArray(new string[] { tower.baseId }));
ActivateRateSupportZoneModel az = Game.instance.model.towers.First(t => t.name == "IceMonkey-050").GetAbility().GetBehavior<ActivateRateSupportZoneModel>().Clone().Cast<ActivateRateSupportZoneModel>();
az.name = "FireRateBuff";
az.mutatorId = "boxerFireRateBuff";
az.rateModifier = 0.3f;
az.useTowerRange = true;
az.isGlobal = false;
az.canEffectThisTower = true;
az.lifespan = 20;
az.lifespanFrames = 999;
az.buffIconName = "";
az.buffLocsName = "";
az.filters = new Il2CppReferenceArray<TowerFilterModel>(new TowerFilterModel[] { filter1 });
AbilityModel ability = new AbilityModel("CocktailAbility", "Lumberjacks Cocktail", "Double the attack speed of all nearby Boxer Monkeys for a short time.", 1, -1,
ModContent.GetSpriteReference(this.mod, "u040-Icon"), 60, new Il2CppReferenceArray<Model>(new Model[] { az}),
false, false, "", 0, 0, -1, false, false);
ability.AddBehavior(Game.instance.model.GetTowerFromId("AdmiralBrickell 3").GetBehavior<AbilityModel>().GetBehavior<CreateEffectOnAbilityModel>());
tower.AddBehavior(ability);
}
}
public class u050 : ModUpgrade<exampul1>
{
public override int Path => MIDDLE;
public override int Tier => 5;
public override int Cost => 35400;
public override string Description => "Cuts right through Bloons with a Trusty Chainsaw";
public override string DisplayName => "Chainsaw";
public override string Portrait => "050copy";
public override void ApplyUpgrade(TowerModel tower)
{
tower.ApplyDisplay<looks050>();
tower.range += 3;
tower.GetAttackModel().range += 3;
var attackModel = tower.GetAttackModel();
var projectile = attackModel.weapons[0].projectile;
projectile.pierce -= 2;
projectile.ApplyDisplay<Projectile3>();
foreach (var weaponModel in tower.GetWeapons())
{
weaponModel.Rate = 0.05f;
}
}
}
public class u003 : ModUpgrade<exampul1>
{
public override int Path => BOTTOM;
public override int Tier => 3;
public override int Cost => 1440;
public override string Description => "Slams Bloons istead dealing AOE damage.";
public override string DisplayName => "Primitive Techniques";
public override string Portrait => "003copy";
public override void ApplyUpgrade(TowerModel tower)
{
tower.ApplyDisplay<looks003>();
var attackModel = tower.GetAttackModel();
attackModel.weapons[0].projectile.AddBehavior(Game.instance.model.GetTowerFromId("BombShooter-200").GetWeapon().projectile.GetBehavior<CreateProjectileOnContactModel>().Duplicate());
attackModel.weapons[0].projectile.AddBehavior(Game.instance.model.GetTowerFromId("BombShooter").GetWeapon().projectile.GetBehavior<CreateSoundOnProjectileCollisionModel>().Duplicate());
attackModel.weapons[0].projectile.GetDamageModel().immuneBloonProperties = BloonProperties.None;
attackModel.weapons[0].projectile.ApplyDisplay<Projectile4>();
foreach (var weaponModel in tower.GetWeapons())
{
weaponModel.projectile.GetDamageModel().damage += 2;
}
}
}
public class u004 : ModUpgrade<exampul1>
{
public override int Path => BOTTOM;
public override int Tier => 4;
public override int Cost => 5200;
public override string Description => "ME SEE BLOON. NO MORE BLOON";
public override string DisplayName => "Primal Monkey";
public override string Portrait => "004copy";
public override void ApplyUpgrade(TowerModel tower)
{
tower.ApplyDisplay<looks004>();
var attackModel = tower.GetAttackModel();
attackModel.weapons[0].projectile.ApplyDisplay<Projectile4>();
var slammer = attackModel.weapons[0].Duplicate();
slammer.rate = 2.7f;
slammer.projectile.AddBehavior(Game.instance.model.GetTowerFromId("BombShooter-400").GetWeapon().projectile.GetBehavior<CreateProjectileOnContactModel>().Duplicate());
slammer.projectile.AddBehavior(Game.instance.model.GetTowerFromId("BombShooter-400").GetWeapon().projectile.GetBehavior<CreateSoundOnProjectileCollisionModel>().Duplicate());
attackModel.weapons[0].projectile.AddBehavior(Game.instance.model.GetTowerFromId("BombShooter").GetWeapon().projectile.GetBehavior<CreateEffectOnContactModel>().Duplicate());
slammer.projectile.GetDamageModel().immuneBloonProperties = BloonProperties.None;
slammer.projectile.ApplyDisplay<Projectile4>();
slammer.projectile.AddBehavior(new DamageModifierForTagModel("DamageModifierForTagModel_Fortified","Fortified", 1, 30, false, false));
attackModel.AddWeapon(slammer);
}
}
public class u005 : ModUpgrade<exampul1>
{
public override int Path => BOTTOM;
public override int Tier => 5;
public override int Cost => 55200;
public override string Description => "Has been battling the Bloons since the beginning of Time.";
public override string DisplayName => "Primodial Ancestor";
public override string Portrait => "005copy";
public override void ApplyUpgrade(TowerModel tower)
{
tower.ApplyDisplay<looks005>();
var attackModel = tower.GetAttackModel();
attackModel.weapons[0].projectile.ApplyDisplay<Projectile4>();
attackModel.weapons[0].projectile.AddBehavior(Game.instance.model.GetTowerFromId("BombShooter-400").GetWeapon().projectile.GetBehavior<CreateProjectileOnContactModel>().Duplicate());
var slammer = attackModel.weapons[0].Duplicate();
slammer.rate = 4.7f;
slammer.projectile.AddBehavior(Game.instance.model.GetTowerFromId("BombShooter-300").GetWeapon().projectile.GetBehavior<CreateEffectOnContactModel>().Duplicate());
slammer.projectile.AddBehavior(Game.instance.model.GetTowerFromId("BombShooter-500").GetWeapon().projectile.GetBehavior<CreateProjectileOnContactModel>().Duplicate());
slammer.projectile.AddBehavior(Game.instance.model.GetTowerFromId("BombShooter-500").GetWeapon().projectile.GetBehavior<CreateSoundOnProjectileCollisionModel>().Duplicate());
attackModel.weapons[0].projectile.AddBehavior(Game.instance.model.GetTowerFromId("BombShooter").GetWeapon().projectile.GetBehavior<CreateEffectOnContactModel>().Duplicate());
slammer.projectile.GetDamageModel().immuneBloonProperties = BloonProperties.None;
slammer.projectile.AddBehavior(new DamageModifierForTagModel("DamageModifierForTagModel_Fortified", "Fortified", 1, 30, false, false));
slammer.projectile.AddBehavior(new DamageModifierForTagModel("DamageModifierForTagModel_Ceramic", "Ceramic",1, 30, false, false));
slammer.projectile.ApplyDisplay<Projectile4>();
slammer.projectile.AddBehavior(new DamageModifierForTagModel("Moab", "Moab", 1, 7, false, true));
slammer.projectile.AddBehavior(new DamageModifierForTagModel("Bfb", "Bfb", 1, 7, false, true));
slammer.projectile.AddBehavior(new DamageModifierForTagModel("Zomg", "Zomg", 1, 7, false, true));
attackModel.AddWeapon(slammer);
foreach (var weaponModel in tower.GetWeapons())
{
weaponModel.projectile.GetDamageModel().damage += 27;
}
}
}
public class looks002 : ModCustomDisplay
{
public override string AssetBundleName => "boxermonkey222"; // loads from "assets.bundle"
public override string PrefabName => "boxer002"; // loads the "MyModel" prefab
public override void ModifyDisplayNode(UnityDisplayNode node)
{
node.transform.GetChild(0).transform.localScale *= 86;
foreach (var meshRenderer in node.GetMeshRenderers())
{
meshRenderer.ApplyOutlineShader();
meshRenderer.SetOutlineColor(new Color(108 / 255f, 0 / 255f, 0 / 255f));
}
}
}
public class looks001 : ModCustomDisplay
{
public override string AssetBundleName => "boxermonkey222"; // loads from "assets.bundle"
public override string PrefabName => "boxer001"; // loads the "MyModel" prefab
public override void ModifyDisplayNode(UnityDisplayNode node)
{
node.transform.GetChild(0).transform.localScale *= 86;
foreach (var meshRenderer in node.GetMeshRenderers())
{
meshRenderer.ApplyOutlineShader();
meshRenderer.SetOutlineColor(new Color(108 / 255f, 0 / 255f, 0 / 255f));
}
}
}
public class looks020 : ModCustomDisplay
{
public override string AssetBundleName => "boxermonkey222"; // loads from "assets.bundle"
public override string PrefabName => "boxer020"; // loads the "MyModel" prefab
public override void ModifyDisplayNode(UnityDisplayNode node)
{
node.transform.GetChild(0).transform.localScale *= 86;
foreach (var meshRenderer in node.GetMeshRenderers())
{
meshRenderer.ApplyOutlineShader();
meshRenderer.SetOutlineColor(new Color(108 / 255f, 0 / 255f, 0 / 255f));
}
}
}
public class looks010 : ModCustomDisplay
{
public override string AssetBundleName => "boxermonkey222"; // loads from "assets.bundle"
public override string PrefabName => "boxer010"; // loads the "MyModel" prefab
public override void ModifyDisplayNode(UnityDisplayNode node)
{
node.transform.GetChild(0).transform.localScale *= 86;
foreach (var meshRenderer in node.GetMeshRenderers())
{
meshRenderer.ApplyOutlineShader();
meshRenderer.SetOutlineColor(new Color(108 / 255f, 0 / 255f, 0 / 255f));
}
}
}
public class looks200 : ModCustomDisplay
{
public override string AssetBundleName => "boxermonkey222"; // loads from "assets.bundle"
public override string PrefabName => "boxer200"; // loads the "MyModel" prefab
public override void ModifyDisplayNode(UnityDisplayNode node)
{
node.transform.GetChild(0).transform.localScale *= 86;
foreach (var meshRenderer in node.GetMeshRenderers())
{
meshRenderer.ApplyOutlineShader();
meshRenderer.SetOutlineColor(new Color(108 / 255f, 0 / 255f, 0 / 255f));
}
}
}
public class looks100 : ModCustomDisplay
{
public override string AssetBundleName => "boxermonkey222"; // loads from "assets.bundle"
public override string PrefabName => "boxer100"; // loads the "MyModel" prefab
public override void ModifyDisplayNode(UnityDisplayNode node)
{
node.transform.GetChild(0).transform.localScale *= 86;
foreach (var meshRenderer in node.GetMeshRenderers())
{
meshRenderer.ApplyOutlineShader();
meshRenderer.SetOutlineColor(new Color(108 / 255f, 0 / 255f, 0 / 255f));
}
}
}
public class looks300 : ModCustomDisplay
{
public override string AssetBundleName => "boxertoppath1"; // loads from "assets.bundle"
public override string PrefabName => "boxer300"; // loads the "MyModel" prefab
public override void ModifyDisplayNode(UnityDisplayNode node)
{
node.transform.GetChild(0).transform.localScale *= 86;
foreach (var meshRenderer in node.GetMeshRenderers())
{
meshRenderer.ApplyOutlineShader();
meshRenderer.SetOutlineColor(new Color(108 / 255f, 0 / 255f, 0 / 255f));
}
}
}
public class looks400 : ModCustomDisplay
{
public override string AssetBundleName => "boxertoppath1"; // loads from "assets.bundle"
public override string PrefabName => "boxer400"; // loads the "MyModel" prefab
public override void ModifyDisplayNode(UnityDisplayNode node)
{
node.transform.GetChild(0).transform.localScale *= 86;
foreach (var meshRenderer in node.GetMeshRenderers())
{
meshRenderer.ApplyOutlineShader();
meshRenderer.SetOutlineColor(new Color(108 / 255f, 0 / 255f, 0 / 255f));
}
}
}
public class looks500 : ModCustomDisplay
{
public override string AssetBundleName => "boxertoppath1"; // loads from "assets.bundle"
public override string PrefabName => "ghost500"; // loads the "MyModel" prefab
public override void ModifyDisplayNode(UnityDisplayNode node)
{
node.transform.GetChild(0).transform.localScale *= 86;
foreach (var meshRenderer in node.GetMeshRenderers())
{
meshRenderer.ApplyOutlineShader();
meshRenderer.SetOutlineColor(new Color(135 / 255f, 251 / 255f, 255 / 255f));
}
}
}
public class looks030 : ModCustomDisplay
{
public override string AssetBundleName => "boxermidpath1"; // loads from "assets.bundle"
public override string PrefabName => "boxer030"; // loads the "MyModel" prefab
public override void ModifyDisplayNode(UnityDisplayNode node)
{
node.transform.GetChild(0).transform.localScale *= 86;
foreach (var meshRenderer in node.GetMeshRenderers())
{
meshRenderer.ApplyOutlineShader();
meshRenderer.SetOutlineColor(new Color(108 / 255f, 0 / 255f, 0 / 255f));
}
}
}
public class looks040 : ModCustomDisplay
{
public override string AssetBundleName => "boxermidpath1"; // loads from "assets.bundle"
public override string PrefabName => "boxer040"; // loads the "MyModel" prefab
public override void ModifyDisplayNode(UnityDisplayNode node)
{
node.transform.GetChild(0).transform.localScale *= 86;
foreach (var meshRenderer in node.GetMeshRenderers())
{
meshRenderer.ApplyOutlineShader();
meshRenderer.SetOutlineColor(new Color(108 / 255f, 0 / 255f, 0 / 255f));
}
}
}
public class looks050 : ModCustomDisplay
{
public override string AssetBundleName => "boxermidpath1"; // loads from "assets.bundle"
public override string PrefabName => "boxer050"; // loads the "MyModel" prefab
public override void ModifyDisplayNode(UnityDisplayNode node)
{
node.transform.GetChild(0).transform.localScale *= 86;
foreach (var meshRenderer in node.GetMeshRenderers())
{
meshRenderer.ApplyOutlineShader();
meshRenderer.SetOutlineColor(new Color(108 / 255f, 0 / 255f, 0 / 255f));
}
}
}
public class looks003 : ModCustomDisplay
{
public override string AssetBundleName => "boxerbotpath1"; // loads from "assets.bundle"
public override string PrefabName => "boxer003"; // loads the "MyModel" prefab
public override void ModifyDisplayNode(UnityDisplayNode node)
{
node.transform.GetChild(0).transform.localScale *= 86;
foreach (var meshRenderer in node.GetMeshRenderers())
{
meshRenderer.ApplyOutlineShader();
meshRenderer.SetOutlineColor(new Color(77 / 255f, 32 / 255f, 6 / 255f));
}
}
}
public class looks004 : ModCustomDisplay
{
public override string AssetBundleName => "boxerbotpath1"; // loads from "assets.bundle"
public override string PrefabName => "boxer004"; // loads the "MyModel" prefab
public override void ModifyDisplayNode(UnityDisplayNode node)
{
node.transform.GetChild(0).transform.localScale *= 89;
foreach (var meshRenderer in node.GetMeshRenderers())
{
meshRenderer.ApplyOutlineShader();
meshRenderer.SetOutlineColor(new Color(77 / 255f, 32 / 255f, 6 / 255f));
}
}
}
public class looks005 : ModCustomDisplay
{
public override string AssetBundleName => "boxerbotpath1"; // loads from "assets.bundle"
public override string PrefabName => "boxer005"; // loads the "MyModel" prefab
public override void ModifyDisplayNode(UnityDisplayNode node)
{
node.transform.GetChild(0).transform.localScale *= 105;
foreach (var meshRenderer in node.GetMeshRenderers())
{
meshRenderer.ApplyOutlineShader();
meshRenderer.SetOutlineColor(new Color(77 / 255f, 32 / 255f, 6 / 255f));
}
}
}
}
}