-
Notifications
You must be signed in to change notification settings - Fork 2
/
Patches.flp
7413 lines (6123 loc) · 230 KB
/
Patches.flp
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
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
patchsetversion=1.1
header=0
enabled=1
name=Extend Tomb4.exe size
description=This patch modifies PE header and extends executable with additional 1 MB of extra memory, allowing to place custom code there.////It is a basis for almost any other custom patches, so most of them require this option to be selected.
category=
dependencies=
filename=tomb4.exe
dataoffset=0,0
datadefault=0,SetFileLength,C2000
datamodified=0,SetFileLength,1C4000
datacondbehave=0,0
dataoffset=1,106
datadefault=1,04
datamodified=1,05
datacondbehave=1,0
dataoffset=2,152
datadefault=2,41
datamodified=2,51
datacondbehave=2,0
dataoffset=3,298
datadefault=3,Fill,00,28
datamodified=3,2E666C657000000000001000004041000000100000400C00000000000000000000000000E00000E0
datacondbehave=3,0
dataoffset=4,C4000
datadefault=4,
datamodified=4,Fill,90,100000
datacondbehave=4,1
footer=0
header=1
enabled=1
name=Font Customizer
description=Note: The options that are not present weren't compatible with TRNG or they are already contained in it.//////Using this you can change the interval for the blinking effect used for texts or critical bars.////But the main feature of this Font Customizer is the change of fonts' colours.//Unlike TRNG you cannot customize every type of text but only 4 groups of them: Main Font, Option Title Font, Inventory Title Font and Inventory Item Font.//The advantage is that you can choose both main and fade colours, so you can also get a bicoloured text.//This patch don't overwrite the TRNG - CUST_SET_TEXT_COLOR script command, you can use both.////Also you can change legend (this short «The year 2000, somewhere in Egypt…» text) title timeout, but you can't set it more than 255.////////Patch ported from TREP by Delta.
category=
dependencies=
filename=tomb4.exe
parenabled=0,1
parname=0,Texts/Critical Bars Blinking Interval
paroffset=0,521B0
parvalue=0,5
partype=0,3
parcondbehave=0,0
parenabled=1,1
parname=1,Main Font - Main Colour (RGB)
paroffset=1,ADEF8|ADEF9|ADEFA
parvalue=1,128,128,128
partype=1,9
parcondbehave=1,0
parenabled=2,1
parname=2,Main Font - Fade Colour (RGB)
paroffset=2,ADEFC|ADEFD|ADEFE
parvalue=2,128,128,128
partype=2,9
parcondbehave=2,0
parenabled=3,1
parname=3,Option Title Font - Main Colour (RGB)
paroffset=3,ADF18|ADF19|ADF1A
parvalue=3,192,128,64
partype=3,9
parcondbehave=3,0
parenabled=4,1
parname=4,Option Title Font - Fade Colour (RGB)
paroffset=4,ADF1C|ADF1D|ADF1E
parvalue=4,64,16,0
partype=4,9
parcondbehave=4,0
parenabled=5,1
parname=5,Inventory Title Font - Main Colour (RGB)
paroffset=5,ADF28|ADF29|ADF2A
parvalue=5,224,192,0
partype=5,9
parcondbehave=5,0
parenabled=6,1
parname=6,Inventory Title Font - Fade Colour (RGB)
paroffset=6,ADF2C|ADF2D|ADF2E
parvalue=6,64,32,0
partype=6,9
parcondbehave=6,0
parenabled=7,1
parname=7,Inventory Item Font - Main Colour (RGB)
paroffset=7,ADF10|ADF11|ADF12
parvalue=7,128,128,128
partype=7,9
parcondbehave=7,0
parenabled=8,1
parname=8,Inventory Item Font - Fade Colour (RGB)
paroffset=8,ADF14|ADF15|ADF16
parvalue=8,16,16,16
partype=8,9
parcondbehave=8,0
parenabled=9,1
parname=9,Legend Displaying Time
paroffset=9,50F59
parvalue=9,150
partype=9,3
parcondbehave=9,0
footer=1
header=2
enabled=1
name=GFX1 Customizer
description=Notes: Some TREP options asked for the insertion of a hexadecimal value, for example the Lightning Colours or the Raw Sky Scroll Direction, with FLEP you need to insert the equivalent decimal value.//Also, with TREP you could only enable some options putting a check. Now you must insert a specific value for them. Look at the 'SPECIAL VALUES' section of this description.//////GFX1 Customizer changes various graphical FX and particle effects constants.////- LIGHTING: Here you can modify lightning parameters. There are few types of lightning in TR4 engine (vertical and some horizontal). You can only modify parameters for horizontal lightning (Flame Emitter 3 OCB 2 and 3) and lightning conductor object.////- SMOKE: There are two options for changing smoke durations for pistols/uzis and revolver.////- COLOURS: You can change some hardcoded colours for some effects like Gunflash, Wallpapers, Sparkles, Waterdrops, Shadow and Fadeouts.////- MISC: An option for hardcoded sky scroll direction. You may need to test this over and over again to gain necessary results.////- BLOOD: With this you can customize size, intensity, lifetime and spread parameters. You can also choose the render type for blood, so you can make it opaque or what you want. If you'd like to use the new blending modes for it, you need to enable the FLEP patches "Extend Tomb4.exe size" and "New blending modes".////////SPECIAL VALUES////- WALLPAPERS FADE TOP / BOTTOM: To enable the black fades like in TREP you need to insert the value 0, but you can use other values, between 0 and 255, to get fades of different colours.////////Patch ported from TREP by Delta.
category=
dependencies=
filename=tomb4.exe
parenabled=0,1
parname=0,Lightning - Colour
paroffset=0,1494E
parvalue=0,0
partype=0,3
parcondbehave=0,0
parenabled=1,1
parname=1,Lightning - Rate
paroffset=1,1494F
parvalue=1,24
partype=1,3
parcondbehave=1,0
parenabled=2,1
parname=2,Lightning - Colour 2 (1)
paroffset=2,147AF
parvalue=2,192
partype=2,3
parcondbehave=2,0
parenabled=3,1
parname=3,Lightning - Colour 2 (2)
paroffset=3,147B0
parvalue=3,0
partype=3,3
parcondbehave=3,0
parenabled=4,1
parname=4,Lightning - Colour 3 (1)
paroffset=4,147CD
parvalue=4,192
partype=4,3
parcondbehave=4,0
parenabled=5,1
parname=5,Lightning - Colour 3 (2)
paroffset=5,147CE
parvalue=5,0
partype=5,3
parcondbehave=5,0
parenabled=6,1
parname=6,Lightning - Core Colour (RGB)
paroffset=6,8BC56
parvalue=6,0,0,0
partype=6,9
parcondbehave=6,0
parenabled=7,1
parname=7,Lightning - Core Transparency
paroffset=7,8BC59
parvalue=7,255
partype=7,3
parcondbehave=7,0
parenabled=8,1
parname=8,Lightning - Dispersion Time
paroffset=8,14926
parvalue=8,32
partype=8,3
parcondbehave=8,0
parenabled=9,1
parname=9,Lightning - Dispersion Range
paroffset=9,1493F
parvalue=9,96
partype=9,3
parcondbehave=9,0
parenabled=10,1
parname=10,Lightning - Corona Size
paroffset=10,1491A
parvalue=10,32
partype=10,3
parcondbehave=10,0
parenabled=11,1
parname=11,Lightning - Conductor Dispersion
paroffset=11,56321
parvalue=11,16
partype=11,3
parcondbehave=11,0
parenabled=12,1
parname=12,Lightning - Conductor Corona Size
paroffset=12,5630F
parvalue=12,48
partype=12,3
parcondbehave=12,0
parenabled=13,1
parname=13,Smoke - Pistols \ Uzis Smoke Duration
paroffset=13,2BCD3,2BEDD
parvalue=13,28
partype=13,3
parcondbehave=13,0
parenabled=14,1
parname=14,Smoke - Revolver Smoke Duration
paroffset=14,2BEBD
parvalue=14,28
partype=14,3
parcondbehave=14,0
parenabled=15,1
parname=15,Colours - Gunflash Blend Colour (RGB)
paroffset=15,39697
parvalue=15,47,47,0
partype=15,9
parcondbehave=15,0
parenabled=16,1
parname=16,Colours - Wallpapers Blend Colour (RGB)
paroffset=16,78586
parvalue=16,0,0,0
partype=16,9
parcondbehave=16,1
parenabled=17,1
parname=17,Colours - Wallpapers Fade Top
paroffset=17,78775,78777,787AB,787AD,787E5,787E7
parvalue=17,255
partype=17,3
parcondbehave=17,1
parenabled=18,1
parname=18,Colours - Wallpapers Fade Bottom
paroffset=18,7880B,7880D,78846,78848,7886C,78872
parvalue=18,255
partype=18,3
parcondbehave=18,1
parenabled=19,1
parname=19,Colours - Sparkles Blend Colour (RGB)
paroffset=19,86345
parvalue=19,0,0,0
partype=19,9
parcondbehave=19,0
parenabled=20,1
parname=20,Colours - Waterdrops Colour (RGB)
paroffset=20,88564
parvalue=20,0,0,0
partype=20,9
parcondbehave=20,0
parenabled=21,1
parname=21,Colours - Shadow Blend Colour (RGB)
paroffset=21,857B7
parvalue=21,0,0,0
partype=21,9
parcondbehave=21,0
parenabled=22,1
parname=22,Colour - Shadow Transparency
paroffset=22,857BA
parvalue=22,79
partype=22,3
parcondbehave=22,0
parenabled=23,1
parname=23,Colours - Fadeouts Colour (RGB)
paroffset=23,8A0BB
parvalue=23,0,0,0
partype=23,9
parcondbehave=23,0
parenabled=24,1
parname=24,Misc - Raw Sky Scroll Direction
paroffset=24,4E4C1
parvalue=24,32760
partype=24,4
parcondbehave=24,0
parenabled=25,1
parname=25,Blood - Size
paroffset=25,38A18
parvalue=25,8
partype=25,3
parcondbehave=25,0
parenabled=26,1
parname=26,Blood - Intensity
paroffset=26,3891C
parvalue=26,48
partype=26,3
parcondbehave=26,0
parenabled=27,1
parname=27,Blood - Speed
paroffset=27,38894
parvalue=27,5
partype=27,3
parcondbehave=27,0
parenabled=28,1
parname=28,Blood - Lifetime
paroffset=28,3892C
parvalue=28,24
partype=28,3
parcondbehave=28,0
parenabled=29,1
parname=29,Blood - Spread Factor X
paroffset=29,389A8
parvalue=29,7
partype=29,3
parcondbehave=29,0
parenabled=30,1
parname=30,Blood - Spread Factor Y
paroffset=30,389AB
parvalue=30,7
partype=30,3
parcondbehave=30,0
parenabled=31,1
parname=31,Blood - Render Type
paroffset=31,8812D
parvalue=31,2
partype=31,3
parcondbehave=31,0
parenabled=32,1
parname=32,Blood - Colour (RGB)
paroffset=32,88105
parvalue=32,0,0,0
partype=32,9
parcondbehave=32,0
footer=2
header=3
enabled=1
name=GFX2 Customizer
description=Notes: The options that are not present weren't compatible with TRNG or they are already contained in it.//Some TREP options asked for the insertion of a hexadecimal value, for example the Raw Blast Timeout, with FLEP you need to insert the equivalent decimal value.//Also, with TREP you could only enable some options putting a check. Now you must insert a specific value for them. Look at the 'SPECIAL VALUES' section of this description.//////Like GFX1 Customizer, this one changes some particle and sprite constants.////RICOCHETS: A bunch of sparkle effects. Try to increase «fall-off delay» parameter to get wonderful slowly-falling sparkles effect. Also you can increase add-on sprite initial size or change its ID, so it will be seen more clearly.////EXPLOSION: This will modify explosion effect only for crossbow explosive ammo.////UNDERWATER DUST: Maximum amount value will set max. amount of particles in scene, and density will change speed of UW dust disappearing. Size and sprite ID values control how large sprites are and which sprite is used to draw dust. X/Y flow can be used to force dust move to a specific direction.////ANIM TEXTURES: By default, TR4's animated textures look like slide-show (only 6 FPS), but if you will decrease this value, texture animations will be operated faster! In combination with large animated texture sequences you can create much more realistic (smooth) water, lava and many other effects.////WATER DISTORSION / LIGHTING: Specifies speed of waving water effect and lighting. You can use it to create more smooth and fast water animations.////FLYBY WIDESCREEN BARS: These two parameters will modify widescreen cutscene bars. You can increase its size to gain more cinematographic effect (like aspect ratio 2.35:1, Cinemascope and so on) or set it to 0 to disable it.////FADEOUTS: These options are for loading fadeouts. The formula is Speed/Time, so you can set time to 0 and increase level loading time by that. Also you can increase both speed and time to gain more cinematographic fadeouts, but you must test it a lot, because incorrectly modified values can produce funny bugs, like twin or quad fadeout and such. For example, 5/20 values work good.////WATERFALL MIST: It is a hardcoded mist used for waterfall effects, but actually this effect can be used for various purposes. By decreasing amount and increasing density parameters and changing colours, you can create different particle objects.////SPRINKLER: You can modify spread, amount, arch, colour and also length (gravity) of particles. Most interesting in Sprinkler object is that you can create realistic fountains with it! Just enable «Loop forever» option, and sprinkler will work as long as it's activated! Note that by increasing arch value you can create actual fountain physics.////////SPECIAL VALUES////- UNIFY FOR VARIOUS SURFACES: Put the value 8 to enable it.////- LOOP FOREVER: Put the value 144 to enable it.////////Patch ported from TREP by Delta.
category=
dependencies=
filename=tomb4.exe
parenabled=0,1
parname=0,Ricochets - Amount of Sparkles
paroffset=0,4D44C
parvalue=0,8
partype=0,3
parcondbehave=0,0
parenabled=1,1
parname=1,Ricochets - Unify for various surfaces
paroffset=1,2E53A,2E587,2E59D,36BB9,4D079,4D092,4D130,4D1EE,4D3B5
parvalue=1,3
partype=1,3
parcondbehave=1,0
parenabled=2,1
parname=2,Ricochets - Sparkles Fall-off Delay
paroffset=2,33F45,33F49
parvalue=2,9
partype=2,3
parcondbehave=2,0
parenabled=3,1
parname=3,Ricochets - Sprite Size
paroffset=3,34079
parvalue=3,8
partype=3,3
parcondbehave=3,0
parenabled=4,1
parname=4,Ricochets - Sprite ID
paroffset=4,3400F
parvalue=4,4
partype=4,3
parcondbehave=4,0
parenabled=5,1
parname=5,Ricochets - Core Intensity
paroffset=5,33F1C
parvalue=5,16
partype=5,3
parcondbehave=5,0
parenabled=6,1
parname=6,Ricochets - Colour (RGB)
paroffset=6,33F32|33F1F|33F39
parvalue=6,96,48,0
partype=6,9
parcondbehave=6,0
parenabled=7,1
parname=7,Underwater Dust - Amount
paroffset=7,885F4
parvalue=7,16
partype=7,3
parcondbehave=7,0
parenabled=8,1
parname=8,Underwater Dust - Density
paroffset=8,886AD
parvalue=8,16
partype=8,3
parcondbehave=8,0
parenabled=9,1
parname=9,Underwater Dust - Size
paroffset=9,88919,8891D
parvalue=9,12
partype=9,3
parcondbehave=9,0
parenabled=10,1
parname=10,Underwater Dust - Sprite ID
paroffset=10,88759
parvalue=10,10
partype=10,3
parcondbehave=10,0
parenabled=11,1
parname=11,Underwater Dust - X Flow
paroffset=11,886C2
parvalue=11,-1
partype=11,5
parcondbehave=11,0
parenabled=12,1
parname=12,Underwater Dust - Y Flow
paroffset=12,886E3
parvalue=12,-1
partype=12,5
parcondbehave=12,0
parenabled=13,1
parname=13,Explosions - Fireball Sprite Size
paroffset=13,34797
parvalue=13,40
partype=13,3
parcondbehave=13,0
parenabled=14,1
parname=14,Explosions - Fireball Duration
paroffset=14,345D4
parvalue=14,24
partype=14,3
parcondbehave=14,0
parenabled=15,1
parname=15,Explosions - Fireball Dispersion
paroffset=15,34735
parvalue=15,51
partype=15,3
parcondbehave=15,0
parenabled=16,1
parname=16,Explosions - Blast Radius
paroffset=16,2A9C3
parvalue=16,96
partype=16,3
parcondbehave=16,0
parenabled=17,1
parname=17,Explosions - Raw Blast Timeout
paroffset=17,2A9BE
parvalue=17,411066368
partype=17,7
parcondbehave=17,0
parenabled=18,1
parname=18,Explosions - Raw Blast Size
paroffset=18,2A9CA
parvalue=18,19922992
partype=18,7
parcondbehave=18,0
parenabled=19,1
parname=19,Animation Texture - Frame Change Interval
paroffset=19,7E16E
parvalue=19,5
partype=19,3
parcondbehave=19,0
parenabled=20,1
parname=20,Water Distorsion / Lighting - Speed
paroffset=20,49184
parvalue=20,4
partype=20,3
parcondbehave=20,0
parenabled=21,1
parname=21,Flyby Widescreen Bars - Height
paroffset=21,5F790,6047A
parvalue=21,16
partype=21,3
parcondbehave=21,0
parenabled=22,1
parname=22,Flyby Widescreen Bars - Speed
paroffset=22,5F78E
parvalue=22,1
partype=22,3
parcondbehave=22,0
parenabled=23,1
parname=23,Fadeouts - Speed
paroffset=23,8A01D
parvalue=23,3
partype=23,3
parcondbehave=23,0
parenabled=24,1
parname=24,Fadeouts - Time
paroffset=24,8A068
parvalue=24,8
partype=24,3
parcondbehave=24,0
parenabled=25,1
parname=25,Waterfall Mist - Main Colour (RGB)
paroffset=25,35749|3574D|35751
parvalue=25,192,192,192
partype=25,9
parcondbehave=25,0
parenabled=26,1
parname=26,Waterfall Mist - Core Colour (RGB)
paroffset=26,3573D|35741|35745
parvalue=26,128,128,128
partype=26,9
parcondbehave=26,0
parenabled=27,1
parname=27,Waterfall Mist - Size
paroffset=27,3585B
parvalue=27,12
partype=27,3
parcondbehave=27,0
parenabled=28,1
parname=28,Waterfall Mist - Density
paroffset=28,35766
parvalue=28,6
partype=28,3
parcondbehave=28,0
parenabled=29,1
parname=29,Waterfall Mist - Amount
paroffset=29,35869
parvalue=29,4
partype=29,3
parcondbehave=29,0
parenabled=30,1
parname=30,Sprinkler - Amount
paroffset=30,17FAE
parvalue=30,3
partype=30,3
parcondbehave=30,0
parenabled=31,1
parname=31,Sprinkler - Height
paroffset=31,180D4
parvalue=31,64
partype=31,3
parcondbehave=31,0
parenabled=32,1
parname=32,Sprinkler - Arch
paroffset=32,18040
parvalue=32,224
partype=32,3
parcondbehave=32,0
parenabled=33,1
parname=33,Sprinkler - Spread
paroffset=33,180BA
parvalue=33,4
partype=33,3
parcondbehave=33,0
parenabled=34,1
parname=34,Sprinkler - Colour (RGB)
paroffset=34,17FCB|17FD4|17FEA
parvalue=34,112,128,128
partype=34,9
parcondbehave=34,0
parenabled=35,1
parname=35,Sprinkler - Loop Forever
paroffset=35,17EBE
parvalue=35,64
partype=35,3
parcondbehave=35,0
footer=3
header=4
enabled=1
name=Light Customizer
description=Notes: The options that are not present weren't compatible with TRNG or they are already contained in it.//Also, with TREP you could only enable some options putting a check. Now you must insert a specific value for them. Look at the 'SPECIAL VALUES' section of this description.//////First of all, Light Customizer allows you to change overall light intensity. This option can be useful if you want to create more saturated lighting in level. Also you can turn off lights completely by setting this parameter to zero.////- COMMON EFFECTIVE AREAS: For some dynamic lights, you can modify effective area. For example, if you're creating new guns with more firepower, you can also increase gunflash effective area.//It allow you to modify also the binocular light range. Binocular range format is completely similar to DD/DF range format. Just remember, that you can decrease binocular range to zero and thus turn off binocular light. Also, if you've increased DD/DF range, you can also increase binocular light range in a corresponding manner.////- BLINKING LIGHT: Some options for BLINKING_LIGHT light object.////////SPECIAL VALUES////- BINOCULARS LIGHT RANGE: To make it works correctly choose and insert the value of the option you want.//(Option - Value)// 00 - 0// 05 - 17821// 10 - 17949// 20 - 18080 (DEFAULT)// 25 - 18108// 30 - 18155// 40 - 18205// 50 - 18244// 60 - 18283// 70 - 18313// 80 - 18333// 90 - 18352////- BLEND INTENSITY: To make it works correctly choose and insert the value of the option you want.//(Option - Value)// 0 - 0// 0.0009... - 980522355// 0.0019... - 989584680// 0.0029... - 994015179// 0.0039... - 998277249 (DEFAULT)// 0.0049... - 1000424733// 0.0059... - 1002572217// 0.0069... - 1004719700// 0.0079... - 1006750072// 0.0089... - 1007823814// 0.0099... - 1008897556////- BLINKING LIGHT SHOW MESH: Put the value 1 to enable it.//////////Patch ported from TREP by Delta.
category=
dependencies=
filename=tomb4.exe
parenabled=0,1
parname=0,Common Effective Areas - Pistols / Uzis Flash
paroffset=0,2BA50
parvalue=0,10
partype=0,3
parcondbehave=0,0
parenabled=1,1
parname=1,Common Effective Areas - Revolver Flash
paroffset=1,28EEE
parvalue=1,12
partype=1,3
parcondbehave=1,0
parenabled=2,1
parname=2,Common Effective Areas - Shotgun Flash
paroffset=2,28D78
parvalue=2,12
partype=2,3
parcondbehave=2,0
parenabled=3,1
parname=3,Common Effective Areas - Flame Emitter 1
paroffset=3,14481
parvalue=3,16
partype=3,3
parcondbehave=3,0
parenabled=4,1
parname=4,Common Effective Areas - Binoculars Light Range
paroffset=4,77523
parvalue=4,18080
partype=4,4
parcondbehave=4,0
parenabled=5,1
parname=5,Misc - Blend Intensity
paroffset=5,A72F8
parvalue=5,998277249
partype=5,7
parcondbehave=5,0
parenabled=6,1
parname=6,Blinking Light - Duration
paroffset=6,56A06
parvalue=6,3
partype=6,3
parcondbehave=6,0
parenabled=7,1
parname=7,Blinking Light - Effective Area
paroffset=7,56A47
parvalue=7,16
partype=7,3
parcondbehave=7,0
parenabled=8,1
parname=8,Blinking Light - Show Mesh
paroffset=8,56A5B
parvalue=8,2
partype=8,3
parcondbehave=8,0
parenabled=9,1
parname=9,Blinking Light - Coordinate 1
paroffset=9,56A15
parvalue=9,0
partype=9,4
parcondbehave=9,0
parenabled=10,1
parname=10,Blinking Light - Coordinate 2
paroffset=10,56A25
parvalue=10,0
partype=10,4
parcondbehave=10,0
parenabled=11,1
parname=11,Blinking Light - Coordinate 3
paroffset=11,56A1D
parvalue=11,0
partype=11,4
parcondbehave=11,0
footer=4
header=5
enabled=1
name=Light Customizer - Turn Off Motorbike Headlights
description=Disables the motorbike headlight. You can use it if you're using motorbike in day levels.//////////////////////////////////////Patch ported from TREP by Delta.
category=
dependencies=
filename=tomb4.exe
dataoffset=0,639F0
datadefault=0,83
datamodified=0,C3
datacondbehave=0,0
dataoffset=1,63CB2
datadefault=1,0F8ED4
datamodified=1,E9D500
datacondbehave=1,0
dataoffset=2,63CB7
datadefault=2,00
datamodified=2,90
datacondbehave=2,0
footer=5
header=6
enabled=1
name=Light Customizer - Blinking Light as Alarm Light
description=This option will allow you to use both BLINKING_LIGHT and ALARM_LIGHT objects in the same slot!//////To turn blinking light into alarm light in game, just set OCB to -100 for desired BLINKING_LIGHT object. To modify alarm light radius, you can use Coordinate options (in 'Light Customize' patch), but note that it will also affect ALL BLINKING_LIGHT objects, so you must re-adjust their actual nullmesh position, or light will appear in wrong places.//(Thanks to Harly Wuson for providing information about this modification!)////////////////Patch ported from TREP by Delta.
category=
dependencies=Extend Tomb4.exe size
filename=tomb4.exe
dataoffset=0,569FE
datadefault=0,66FF4E2C66837E2C03
datamodified=0,E91DF53B0090909090
datacondbehave=0,0
dataoffset=1,56A58
datadefault=1,C74608020000007D12
datamodified=1,E9DEF43B0090909090
datacondbehave=1,0
dataoffset=2,C5F20
datadefault=2,
datamodified=2,66837E2C9C740E66FF4E2C66837E2C03E9D20AC4FFE9CF0AC4FF90C74608020000000F8D2B0BC4FF66817E2C9CFF7405E90C0BC4FF6681464E000AE9070BC4FF
datacondbehave=2,1
parenabled=0,1
parname=0,Alarmlight Speed
paroffset=0,C5F59
parvalue=0,2560
partype=0,4
parcondbehave=0,1
footer=6
header=7
enabled=1
name=Audio Customizer
description=Notes: The options that are not present weren't compatible with TRNG or they are already contained in it.//Also, with TREP you could only enable some options putting a check. Now you must insert a specific value for them. Look at the 'SPECIAL VALUES' section of this description.//////This Audio Customizer allow you to change the settings for sound, music and their option bars.////- SOUND VOLUME BAR: You can change the main and fade colours of the Sound Volume Bar, and also the Active Bar Overlay colour.//The Active Bar Overlay is a parameters responsible for active (highlighted) additional colour.////- MUSIC VOLUME BAR: Same as before but for the Music Volume Bar.////- PASSIVE BAR OVERLAY: This is applied to both bars. This parameters changes the colour for the non-highlighted bar.////- SOUND OPTIONS: These commands change a pair of sound ID (this fix the «underwater_door» bug), the SFX Sample Rate to to increase sound quality of samples, and increase the sample memory permitting to use any sound sample larger than 256 kbytes.////- MUSIC OPTIONS: Changes the hardcoded Inside/Outside Jeep and Secret Audiotracks////////SPECIAL VALUES////- OVERALL SFX SAMPLE RATE: To make it works correctly choose and insert the value of the option you want.//(Option - Value)//11025 Hz - 4598852//22050 Hz - 4631620 (DEFAULT)//44100 Hz - 4664388//48000 Hz - 4668288////- EXTEND SAMPLE MEMORY FROM 256KB TO 1024KB: Put the value 16 to enable it.////////Patch ported from TREP by Delta.
category=
dependencies=
filename=tomb4.exe
parenabled=0,1
parname=0,Sound Volume Bar - Main Colour (RGB)
paroffset=0,7A39D
parvalue=0,63,63,255
partype=0,9
parcondbehave=0,0
parenabled=1,1
parname=1,Sound Volume Bar - Fade Colour (RGB)
paroffset=1,7A3A2
parvalue=1,31,31,31
partype=1,9
parcondbehave=1,0
parenabled=2,1
parname=2,Sound Volume Bar - Active Bar Overlay (RGB)
paroffset=2,7A71C
parvalue=2,127,127,127
partype=2,9
parcondbehave=2,0
parenabled=3,1
parname=3,Music Volume Bar - Main Colour (RGB)
paroffset=3,7A366
parvalue=3,63,63,255
partype=3,9
parcondbehave=3,0
parenabled=4,1
parname=4,Music Volume Bar - Fade Colour (RGB)
paroffset=4,7A370
parvalue=4,31,31,31
partype=4,9
parcondbehave=4,0
parenabled=5,1
parname=5,Music Volume Bar - Active Bar Overlay (RGB)
paroffset=5,7A5AC
parvalue=5,127,127,127
partype=5,9
parcondbehave=5,0
parenabled=6,1
parname=6,Sound / Music Volume Bar - Passive Bar Overlay (RGB)
paroffset=6,7A5AC
parvalue=6,63,63,63
partype=6,9
parcondbehave=6,0
parenabled=7,1
parname=7,Sound Options - Overall SFX sample rate
paroffset=7,A7309
parvalue=7,4631620
partype=7,7
parcondbehave=7,0
parenabled=8,1
parname=8,Sound Options - [Lara Being Hit] Sound ID
paroffset=8,0B029
parvalue=8,50
partype=8,3
parcondbehave=8,0
parenabled=9,1
parname=9,Sound Options - [No Ammo] Sound ID
paroffset=9,2D813
parvalue=9,48
partype=9,3
parcondbehave=9,0
parenabled=10,1
parname=10,Sound Options - Extend Sample Memory from 256kb to 1024kb
paroffset=10,71A10,71A1A,71A6D,71A77,71AC5
parvalue=10,4
partype=10,3
parcondbehave=10,0
parenabled=11,1
parname=11,Music Options - Inside Jeep Audiotrack
paroffset=11,663FE
parvalue=11,98
partype=11,3
parcondbehave=11,0
parenabled=12,1
parname=12,Music Options - Outside Jeep Audiotrack
paroffset=12,66EAD,66EC4
parvalue=12,110
partype=12,3
parcondbehave=12,0
parenabled=13,1
parname=13,Music Options - Secret Audiotrack
paroffset=13,4AACC
parvalue=13,5
partype=13,3
parcondbehave=13,0
footer=7
header=8
enabled=1
name=Damage Customizer
description=This customizer has very few parameters since TRNG allows you to change the damage inflicted by most of the enemies and traps, except for these.//////- LITTLE BEETLE (DISPERSION): If you'll decrease this value, little beetles will be more «concentrated» when biting Lara, so her health will decrease quickly. But don't set this parameter too low, because then little beetles will go insane and run around Lara with a speed of a sport-car.////- MAGIC ATTACK (DIVIDER): Here is divider for ALL magical attack in TR4 game: i. e. for demigod attacks, Set's energy attacks, Mutant fire attack, etc. To increase magic attack damage, DECREASE this parameter.////- HP DRAIN NO AIR: When Lara out of air, she drowns. I. e., her HP will decrease until she will die. Here you can change this decrease factor.////- HP DRAIN IN JOBY SPIKES: HP drain value for spikes created by (or for) our dearest level designer named Joby Wood.////////Patch ported from TREP by Delta.
category=
dependencies=
filename=tomb4.exe
parenabled=0,1
parname=0,Enemy Behaviour - Little Beetle (Dispersion)
paroffset=0,E3EC
parvalue=0,1024
partype=0,4
parcondbehave=0,0
parenabled=1,1
parname=1,Enemy Damage - Magic Attack (Divider)
paroffset=1,3A7AD
parvalue=1,2
partype=1,3
parcondbehave=1,0
parenabled=2,1
parname=2,HP Drain - No Air
paroffset=2,30454
parvalue=2,-5
partype=2,5
parcondbehave=2,0
parenabled=3,1
parname=3,HP Drain - In Joby Spikes
paroffset=3,15730
parvalue=3,-8
partype=3,5
parcondbehave=3,0
footer=8
header=9
enabled=1
name=Inventory Customizer
description=Notes: The options that are not present weren't compatible with TRNG or they are already contained in it.//Some TREP options asked for the insertion of a hexadecimal value (Item and Ammo Rotate Speeds) with FLEP you need to insert the equivalent decimal value.//////- STARTUP PARAMETERS: Here you can modify start-up Air and Sprint Energy. But this option will not modify MAXIMUM points.////- FLYCHEAT MAGIC WORD: These 4 commands allow you to change the keys that enable the 'DOZY' flycheat.//Here are the corrisponding value for each letter://A (126) - B (144) - C (142) - D (128) - E (114) - F (129) - G (130)//H (131) - I (119) - J (132) - K (133) - L (134) - M (146) - N (145)//O (120) - P (121) - Q (112) - R (115) - S (127) - T (116) - U (118)//V (143) - W (113) - X (141) - Y (117) - Z (140)////- SMALL MEDIKIT EFFECT: Changes the number of Health Points recovered when the Small Medikit is used.////- INVENTORY: Just for fun. You can independently change item/ammo rotation speeds in inventory and the duration of pick-up rotate animation (you can set it to 0 to disable pick-up showing completely).////////Patch ported from TREP by Delta.
category=
dependencies=
filename=tomb4.exe
parenabled=0,1
parname=0,Startup Parameters - Air at Startup
paroffset=0,5B3D8
parvalue=0,1800
partype=0,4
parcondbehave=0,0
parenabled=1,1
parname=1,Startup Parameters - Sprint Energy at Startup
paroffset=1,5B493
parvalue=1,120
partype=1,3
parcondbehave=1,0
parenabled=2,1
parname=2,Misc - FlyCheat Magic Word - Letter 1 (D)
paroffset=2,760CF
parvalue=2,128
partype=2,3
parcondbehave=2,0
parenabled=3,1
parname=3,Misc - FlyCheat Magic Word - Letter 2 (O)
paroffset=3,760E4
parvalue=3,120
partype=3,3
parcondbehave=3,0
parenabled=4,1
parname=4,Misc - FlyCheat Magic Word - Letter 3 (Z)
paroffset=4,760F9
parvalue=4,140
partype=4,3
parcondbehave=4,0
parenabled=5,1
parname=5,Misc - FlyCheat Magic Word - Letter 4 (Y)
paroffset=5,7610E
parvalue=5,117
partype=5,3
parcondbehave=5,0
parenabled=6,1
parname=6,Item Effect - Small Medikit Effect
paroffset=6,3E2EC,75F39
parvalue=6,500
partype=6,4
parcondbehave=6,0
parenabled=7,1
parname=7,Inventory - Item Rotate Speed
paroffset=7,3CAA3
parvalue=7,1022
partype=7,4
parcondbehave=7,0
parenabled=8,1
parname=8,Inventory - Ammo Rotate Speed
paroffset=8,3D89E
parvalue=8,1022
partype=8,4
parcondbehave=8,0
parenabled=9,1
parname=9,Inventory - Pick-Up Showing Duration
paroffset=9,5255F
parvalue=9,45
partype=9,3
parcondbehave=9,0
footer=9
header=10
enabled=1
name=Inventory Customizer - Fix Compass Bug
description=Unlike TR1, TR4's compass shows non-actual compass direction, but Lara's direction. This is so unrealistic… But this patch will fix direction bug, and compass will show actual compass direction. BUT YOU MUST INVERT COMPASS NEEDLE then, or else needle will point to south instead of north. If you have standard TR4 compass in your level, you only need to retexture it, but if you have created custom compass needle, then you must «reverse» it with your 3D modelling program.////////////////////////////Patch ported from TREP by Delta.
category=
dependencies=Extend Tomb4.exe size
filename=tomb4.exe
dataoffset=0,3BA9F
datadefault=0,E85C43010083C414
datamodified=0,E9C6A43D00909090
datacondbehave=0,0
dataoffset=1,C5F6A
datadefault=1,
datamodified=1,E8919EC3FF83C41466817F0C77010F85245DC2FF8B0DCC707E00A11CE0800083E13FC1E10AC1F9030FBF144DD0344B00C1E2020FAF1530E97F00C1FA0E6603504E81F2D0FF000052E87981C7FF8B0D1CE0800083C404668B414E663DD0FF0F8ED45CC2FF6683F8300F8FCA5CC2FFE9305BC2FF
datacondbehave=1,1
footer=10
header=11
enabled=1
name=Inventory Customizer - 24 Savegame Slots
description=TRNG Savegame Panels don't work on every system, in that case the player needs to delete the savegame panel image from pix folder to go back to the default savegame screen.//So if you want to increase also the default savegame slots or you just don't want to use the TRNG Savegame Panels but you want more savegames slots, this is for you.////Savegame slots are increased to 24. It could have been increased more, but then load/save dialog text strings just won't fit the screen (it was already compressed at maximum).////NOTE: this option will also squash text in Control Configuration menu, but since you don't have to go to Control Configuration frequently, this bug can be considered as minor and non-critical. Also, this option WILL NOT WORK IN SOFTWARE MODE.////////////Patch ported from TREP by Delta.
category=
dependencies=
filename=tomb4.exe
dataoffset=0,789FD
datadefault=0,6C73
datamodified=0,8476
datacondbehave=0,0
dataoffset=1,78C5B
datadefault=1,7473
datamodified=1,8C76
datacondbehave=1,0
dataoffset=2,78CCE
datadefault=2,0E
datamodified=2,17
datacondbehave=2,0
dataoffset=3,78CD2
datadefault=3,0E
datamodified=3,17
datacondbehave=3,0
dataoffset=4,A7296
datadefault=4,40
datamodified=4,00
datacondbehave=4,0
footer=11
header=12
enabled=1
name=Inventory Customizer - Shotgun 6x Divider OFF
description=As you probably know, shotgun's gunfire consists of 6 shots. Thus, ACTUAL SHOTGUN AMMO is not the ammo which you can see in Inventory screen. Inventory screen's ammo is nothing else than ACTUAL ammo divided by 6. So, you now can disable this divider to see ACTUAL ammo amount instead of divided.////WARNING: This patch doesn't affect the TRNG Ammo Counter in which you still will see the ammo divided by 6.//////////////////////////Patch ported from TREP by Delta.
category=
dependencies=
filename=tomb4.exe
dataoffset=0,3B3EB
datadefault=0,0FBFC8B8ABAAAA2AF7E98BC2C1E81F03D0
datamodified=0,8BD0909090909090909090909090909090
datacondbehave=0,0
dataoffset=1,3B418
datadefault=1,0FBFC8B8ABAAAA2AF7E98BCAC1E91F03D1
datamodified=1,8BD0909090909090909090909090909090
datacondbehave=1,0
footer=12
header=13
enabled=1
name=Weapon Customizer
description=Notes: The options that are not present weren't compatible with TRNG or they are already contained in it.//Also, with TREP you could only enable some options putting a check. Now you must insert a specific value for them. Look at the 'SPECIAL VALUES' section of this description.////You can already customize your weapons using the CUST_WEAPON and CUST_AMMO TRNG Script commands, but some gun effects are still missing without this patch.//////- COMPLEX WEAPON MODIFIERS: These commands change the bullet dispersion for pistols, uzis and revolver. Useful when creating powerful weapons with low accuracy.////- COMMON: You can change the behaviour of each Crossbow and Grenade Gun ammo types. //For example, you can set all crossbow ammo flags to 3 (Explosive), then create rocket launcher in crossbow slot and enjoy REAL rockets in DEFAULT crossbow ammo slot.//Grenade Gun actually has two hidden new ammo types! It's Ultra Ammo (flaming grenade with cool red tail, which will explode immediately after touching anything) and Frag Ammo (kind of Super Ammo, but with increased number of fragments).//You can also change Grenade timer (You can simply increase timeout - up to 65535/24=2730 sec=45 min - or DISABLE IT COMPLETELY by setting this value to zero. Still, grenades will explode if any enemy or Lara will touch them.), grenade weight, disable grenade rotation and force the explosion when the grenades collide with any object/surface.//Combining these last 3 options (grenade weight to 0) you can emulate Rocket Launcher or TR2 grenades.////- TARGETING: We may suppose that Lara Croft is a perfect shooter. She can fire from 2 pistols, 2 uzis and other powerful weapons from any distance she wants at anyone she wants. But what if her skills with uzis are less than with pistols? Here we go. DECREASE or INCREASE targeting distance for ANY weapon, and Lara will use autotargeting at different distance.////////SPECIAL VALUES////- CROSSBOW AMMO FLAGS: Choose and insert the value of the ammo flag you want to use for a specific crossbow ammo type.//(Ammo Type - Value)//Normal Ammo - 1//Poisoned Ammo - 2//Explosive Ammo - 3////- DISABLE GRENADE ROTATION: Put the value 1711276216 to enable it.////- FORCE ONE-TOUCH FOR ALL GRENADE AMMO TYPES: Put the value 37008 to enable it.////- GRENADE GUN AMMO FLAGS: Choose and insert the value of the ammo flag you want to use for a specific grenade gun ammo type.//(Ammo Type - Value)//Normal Ammo - 1//Super Ammo - 2//Flash Ammo - 3//Ultra Ammo - 4//Frag Ammo - 5////////Patch ported from TREP by Delta.
category=
dependencies=
filename=tomb4.exe
parenabled=0,1
parname=0,Complex Weapon Modifiers - Pistols Dispersion
paroffset=0,AB871
parvalue=0,5
partype=0,3
parcondbehave=0,0
parenabled=1,1
parname=1,Complex Weapon Modifiers - Uzis Dispersion
paroffset=1,AB8BD
parvalue=1,5
partype=1,3
parcondbehave=1,0
parenabled=2,1
parname=2,Complex Weapon Modifiers - Revolver Dispersion
paroffset=2,AB897
parvalue=2,2
partype=2,3
parcondbehave=2,0
parenabled=3,1
parname=3,Common - Crossbow Ammo Flags - Normal Ammo
paroffset=3,2A0A9
parvalue=3,1
partype=3,3
parcondbehave=3,0
parenabled=4,1
parname=4,Common - Crossbow Ammo Flags - Poisoned Ammo
paroffset=4,2A0B5
parvalue=4,2
partype=4,3
parcondbehave=4,0
parenabled=5,1
parname=5,Common - Crossbow Ammo Flags - Explosive Ammo
paroffset=5,2A0BD
parvalue=5,3
partype=5,3
parcondbehave=5,0
parenabled=6,1
parname=6,Common - Grenade Timer (1/24)
paroffset=6,DBDF,2933B
parvalue=6,120
partype=6,3
parcondbehave=6,0
parenabled=7,1
parname=7,Common - Grenade Weight
paroffset=7,29676
parvalue=7,3
partype=7,3
parcondbehave=7,0
parenabled=8,1
parname=8,Common - Disable Grenade Rotation
paroffset=8,2966F
parvalue=8,1713260427
partype=8,7
parcondbehave=8,0
parenabled=9,1
parname=9,Common - Force One-Touch for All Grenade Ammo Types
paroffset=9,29796
parvalue=9,23669
partype=9,4
parcondbehave=9,0
parenabled=10,1
parname=10,Common - Grenade Gun Ammo Flags - Normal Ammo
paroffset=10,29363
parvalue=10,1
partype=10,3
parcondbehave=10,0
parenabled=11,1
parname=11,Common - Grenade Gun Ammo Flags - Super Ammo
paroffset=11,29380
parvalue=11,2
partype=11,3
parcondbehave=11,0
parenabled=12,1
parname=12,Common - Grenade Gun Ammo Flags - Flash Ammo
paroffset=12,29399
parvalue=12,3
partype=12,3
parcondbehave=12,0
parenabled=13,1
parname=13,Shotgun Smoke Puff Y Position
paroffset=13,28FF9
parvalue=13,11
partype=13,3
parcondbehave=13,0
parenabled=14,1
parname=14,Targeting - Pistols Targeting Distance
paroffset=14,AB874
parvalue=14,8192