Skip to content

Commit d0c053c

Browse files
author
Argent77
committed
Version 1.2
1 parent bcf26cd commit d0c053c

22 files changed

Lines changed: 628 additions & 2 deletions

File tree

.gitattributes

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
*.2da text
2+
*.baf text
3+
*.bat text eol=crlf
4+
*.d text
5+
*.html text
6+
*.ini text
7+
*.sh text eol=lf
8+
*.tp2 text
9+
*.tph text
10+
*.tra text
11+
*.txt text
12+
13+
*.7z binary
14+
*.are binary
15+
*.bam binary
16+
*.bmp binary
17+
*.cre binary
18+
*.dll binary
19+
*.eff binary
20+
*.exe binary
21+
*.itm binary
22+
*.jpg binary
23+
*.png binary
24+
*.pvrz binary
25+
*.pro binary
26+
*.spl binary
27+
*.sto binary
28+
*.vef binary
29+
*.vvc binary
30+
*.wav binary
31+
*.wed binary
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
@1 = ~Banter Accelerator~
2+
@10 = ~Frequency: 900 ticks (1/15th seconds), Probability: 10%~
3+
@11 = ~Frequency: 900 ticks, Probability: 25%~
4+
@12 = ~Frequency: 900 ticks, Probability: 50%~
5+
@20 = ~Frequency: 600 ticks, Probability: 10% (default)~
6+
@21 = ~Frequency: 600 ticks, Probability: 25%~
7+
@22 = ~Frequency: 600 ticks, Probability: 50%~
8+
@30 = ~Frequency: 450 ticks, Probability: 10%~
9+
@31 = ~Frequency: 450 ticks, Probability: 25%~
10+
@32 = ~Frequency: 450 ticks, Probability: 50%~
11+
@40 = ~Frequency: 150 ticks, Probability: 10%~
12+
@41 = ~Frequency: 150 ticks, Probability: 25%~
13+
@42 = ~Frequency: 150 ticks, Probability: 50%~
14+
@99 = ~User-defined~
15+
16+
@100 = ~Not supported by this game.~
17+
@101 = ~Invalid number specified. Use positive integers.~
18+
@102 = ~Number is out of range. Use values between 0 and 100.~
19+
@103 = ~Please specify "y" for yes, "n" for no or "c" for cancel.~
20+
@104 = ~Installation cancelled by user.~
21+
22+
@200 = ~Enter frequency in ticks (1/15th seconds):~
23+
@201 = ~Enter probability (in percent):~
24+
@202 = ~Use these values: frequency = %freq%, probability = %prob% ? ([Y]es, [N]o or [C]ancel):~
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
@1 = ~Accelerateur de bavardages~
2+
@10 = ~Frequence : 900 ticks (1/15e de seconde) - Probabilite : 10 % (par defaut)~
3+
@11 = ~Frequence : 900 ticks - Probabilite : 25 %~
4+
@12 = ~Frequence : 900 ticks - Probabilite : 50 %~
5+
@20 = ~Frequence : 600 ticks - Probabilite : 10 %~
6+
@21 = ~Frequence : 600 ticks - Probabilite : 25 %~
7+
@22 = ~Frequence : 600 ticks - Probabilite : 50 %~
8+
@30 = ~Frequence : 450 ticks - Probabilite : 10 %~
9+
@31 = ~Frequence : 450 ticks - Probabilite : 25 %~
10+
@32 = ~Frequence : 450 ticks - Probabilite : 50 %~
11+
@40 = ~Frequence : 150 ticks - Probabilite : 10 %~
12+
@41 = ~Frequence : 150 ticks - Probabilite : 25 %~
13+
@42 = ~Frequence : 150 ticks - Probabilite : 50 %~
14+
@99 = ~Choisissez vous-meme le rythme des bavardages.~
15+
16+
@100 = ~Ce composant n'est pas compatible avec votre jeu.~
17+
@101 = ~Vous avez saisi un nombre non valide. Veuillez saisir un nombre entier positif.~
18+
@102 = ~Vous avez saisi une probabilite non valide. Veuillez saisir une valeur comprise entre 0 et 100.~
19+
@103 = ~Veuillez valider par "y" pour oui, "n" pour non ou "c" pour annuler (cancel).~
20+
@104 = ~Installation interrompue par l'utilisateur.~
21+
22+
@200 = ~Saisissez la frequence des bavardages en ticks (1/15e de seconde) :~
23+
@201 = ~Saisissez la probabilite d'engager un bavardage (en pourcentage) :~
24+
@202 = ~Vous avez choisi d'utiliser ces valeurs : frequence = %freq%, probabilite = %prob% ? ([Y]Oui, [N]on or [C]Annuler):~
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
@1 = ~Banterbeschleuniger~
2+
@10 = ~Frequenz: 900 Ticks (1/15 Sekunden), Wahrscheinlichkeit: 10%~
3+
@11 = ~Frequenz: 900 Ticks, Wahrscheinlichkeit: 25%~
4+
@12 = ~Frequenz: 900 Ticks, Wahrscheinlichkeit: 50%~
5+
@20 = ~Frequenz: 600 Ticks, Wahrscheinlichkeit: 10% (Standard)~
6+
@21 = ~Frequenz: 600 Ticks, Wahrscheinlichkeit: 25%~
7+
@22 = ~Frequenz: 600 Ticks, Wahrscheinlichkeit: 50%~
8+
@30 = ~Frequenz: 450 Ticks, Wahrscheinlichkeit: 10%~
9+
@31 = ~Frequenz: 450 Ticks, Wahrscheinlichkeit: 25%~
10+
@32 = ~Frequenz: 450 Ticks, Wahrscheinlichkeit: 50%~
11+
@40 = ~Frequenz: 150 Ticks, Wahrscheinlichkeit: 10%~
12+
@41 = ~Frequenz: 150 Ticks, Wahrscheinlichkeit: 25%~
13+
@42 = ~Frequenz: 150 Ticks, Wahrscheinlichkeit: 50%~
14+
@99 = ~Benutzerdefiniert~
15+
16+
@100 = ~Wird nicht von diesem Spiel unterstuetzt.~
17+
@101 = ~Ungueltiger Wert. Nur positive Zahlen sind zulaessig.~
18+
@102 = ~Zahl muss innerhalb des Bereichs 0 bis 100 liegen.~
19+
@103 = ~Bitte "y" fuer Ja, "n" fuer Nein oder "c" fuer Abbruch eingeben.~
20+
@104 = ~Installation wurde durch den Nutzer abgebrochen.~
21+
22+
@200 = ~Frequenz in Ticks (1/15 Sekunden):~
23+
@201 = ~Wahrscheinlichkeit (in Prozent):~
24+
@202 = ~Folgende Werte anwenden: Frequenz = %freq%, Wahrscheinlichkeit = %prob% ? ([Y]Ja, [N]ein oder [C]Abbruch):~
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
/**
2+
* Sets one or more values in the banter timing table.
3+
*/
4+
DEFINE_ACTION_FUNCTION SET_BANTER_VALUES
5+
INT_VAR
6+
frequency = "-1"
7+
probability = "-1"
8+
replayDelay = "-1"
9+
specialProbability = "-1"
10+
BEGIN
11+
ACTION_IF (FILE_EXISTS_IN_GAME ~banttimg.2da~ AND
12+
(frequency != "-1" OR probability != "-1" OR replayDelay != "-1" OR specialProbability != "-1")) BEGIN
13+
COPY_EXISTING ~banttimg.2da~ ~override~
14+
COUNT_2DA_COLS numCols
15+
COUNT_2DA_ROWS numCols numRows
16+
FOR (row = 0; row < numRows; row += 1) BEGIN
17+
READ_2DA_ENTRY row 0 numCols name
18+
PATCH_IF (frequency != "-1" AND ~%name%~ STRING_EQUAL_CASE ~FREQUENCY~) BEGIN
19+
PATCH_LOG ~DEBUG: frequency set to %frequency%~
20+
SET_2DA_ENTRY row 1 numCols ~%frequency%~
21+
SET frequency = "-1"
22+
END ELSE PATCH_IF (probability != "-1" AND ~%name%~ STRING_EQUAL_CASE ~PROBABILITY~) BEGIN
23+
PATCH_LOG ~DEBUG: probability set to %probability%~
24+
SET_2DA_ENTRY row 1 numCols ~%probability%~
25+
SET probability = "-1"
26+
END ELSE PATCH_IF (replayDelay != "-1" AND ~%name%~ STRING_EQUAL_CASE ~REPLAYDELAY~) BEGIN
27+
PATCH_LOG ~DEBUG: replayDelay set to %replayDelay%~
28+
SET_2DA_ENTRY row 1 numCols ~%replayDelay%~
29+
SET replayDelay = "-1"
30+
END ELSE PATCH_IF (specialProbability != "-1" AND ~%name%~ STRING_EQUAL_CASE ~SPECIALPROBABILITY~) BEGIN
31+
PATCH_LOG ~DEBUG: specialProbability set to %specialProbability%~
32+
SET_2DA_ENTRY row 1 numCols ~%specialProbability%~
33+
SET specialProbability = "-1"
34+
END
35+
PATCH_IF (frequency = "-1" AND probability = "-1" AND replayDelay = "-1" AND specialProbability = "-1") BEGIN
36+
SET row = numRows
37+
END
38+
END
39+
BUT_ONLY
40+
END
41+
END
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
2DA V1.0
2+
0
3+
VALUE
4+
FREQUENCY 150
5+
PROBABILITY 10
6+
REPLAYDELAY 150
7+
SPECIALPROBABILITY 25
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
2DA V1.0
2+
0
3+
VALUE
4+
FREQUENCY 150
5+
PROBABILITY 25
6+
REPLAYDELAY 150
7+
SPECIALPROBABILITY 25
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
2DA V1.0
2+
0
3+
VALUE
4+
FREQUENCY 150
5+
PROBABILITY 50
6+
REPLAYDELAY 150
7+
SPECIALPROBABILITY 25
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
2DA V1.0
2+
0
3+
VALUE
4+
FREQUENCY 450
5+
PROBABILITY 10
6+
REPLAYDELAY 150
7+
SPECIALPROBABILITY 25
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
2DA V1.0
2+
0
3+
VALUE
4+
FREQUENCY 450
5+
PROBABILITY 25
6+
REPLAYDELAY 150
7+
SPECIALPROBABILITY 25

0 commit comments

Comments
 (0)