Hallo Chris,
also, es ist nur nen AL-PlugIn (kannste also wärend des Spieles beliebig An und Ausschalten).
Da ich nur Ego-eigene Scripte verwendet hab, dürfte es keine inkompatibilitäten geben.
Voraussetzungen für mein Script sind folgende:
- es muss mindestens ein Unbekannter Sektor beim Start des Scripts vorhanden sein
- es sollte nach möglichkeit nix an den Xenonstationen verändert worden sein (mod-mäßig) <- testen obs noch funzt
- es sollte nach möglichkeit nix an den Xenonschiffen verändert worden sein (mod-mäßig) <- testen obs noch funzt
- die Teladi-Minen sollten auch nicht mod-mäßig verändert worden sein ... sie sollten noch immer erz bzw. silizium produzieren (testen hilft auch hier)
(sollten sie dies nicht mehr produzieren fehlt dir bissl content im script, aber es funzt trotzdem)
Ansonsten dürften eigendlich alle anderen scripte damit funktionieren... wie gesagt: testen hilft
------------------
das problem mit den Minen kann ich leider nur Dirty-mäßig lösen, da die Terracorp Nividiummine auch so von Betty belabert wird, was natürlich nicht ins gesamtbild passt
Da ich aber das "Dirty-Script" sowieso einbauen muss, damit ihr wenigstens bissl ruf und geld bekommt (passiert nämlich sonst nicht - auch wenn es keinen rufabzug mehr gibt) passt mir das ganz gut
LG
-o1
EDIT:
sorry Leute, zur v1.03 - beta hats heute leider nicht mehr gereicht...
das hinbiegen des Dirty-Scriptes (Rufkompensation) is bissl knifflig

Hab aber jetzt wieder die ursprünglichen Stationen drin (Core und Minen) und das SIGNAL_KILLED wird auch wunderbar ausgeführt.
Jetzt muss ich nurnoch ein paar abfragen einbauen, wie sich das mit dem Abschuss im Zusammenhang mit dem Spieler und dessen Aufenthaltsort zum Killzeitpunkt verhält.... vielleicht mach ich das auch über die Abfrage des Attackers (der den finalhit landete) und der bekommt den Bonus (dessen Rasse) - Vorschläge dazu sind gern gesehen
hier der code zum mittüfteln:
Code: Select all
001 * Stationtypes:
002 * 1: CoreStation
003 * 2: ZPE-Converter (10000er Station)
004 * 3: Mine
005 * 4: Shipyard
006 $CoreStation = Teladi Chip-Werk
007 $ZPE.Converter = Xenon Station
008 *$Mine = Teladi Erzmine L | Teladi Erzmine M | Teladi Siliziummine L | Teladi Siliziummine M
009 $Shipyard = Xenon Xenon Schiffswerft
010
011 $notoriety.bonus = 10
012 $notoriety.factor = 3
013 $targetSector = [THIS] -> get sector
014 $killer = [THIS] -> get attacker
015 $race = [THIS] -> get owner race
016 $StationType = [THIS] -> get ware type code of object
017 write to player logbook: printf: fmt='SIGNAL_KILLED: Sector: %s; Killed Obj: %s; Killer: %s; x: %s', $targetSector, [THIS], $killer, $StationType, null
018
019 skip if $race == Xenon
020 return null
021
022 if $StationType == $CoreStation
023 $notoriety.bonus = $notoriety.bonus * $notoriety.factor * $notoriety.factor
024 $money.bonus = 1000000
025 write to player logbook: printf: fmt='Station: %s; Bonus: %s', [THIS], $notoriety.bonus, null, null, null
026 else if $StationType == $Shipyard
027 $notoriety.bonus = $notoriety.bonus * $notoriety.factor * $notoriety.factor
028 $money.bonus = 500000
029 write to player logbook: printf: fmt='Station: %s; Bonus: %s', [THIS], $notoriety.bonus, null, null, null
030 else if $StationType == Teladi Erzmine L
031 $notoriety.bonus = $notoriety.bonus * $notoriety.factor
032 $money.bonus = 100000
033 write to player logbook: printf: fmt='Station: %s; Bonus: %s', [THIS], $notoriety.bonus, null, null, null
034 else if $StationType == Teladi Erzmine M
035 $notoriety.bonus = $notoriety.bonus * $notoriety.factor
036 $money.bonus = 100000
037 write to player logbook: printf: fmt='Station: %s; Bonus: %s', [THIS], $notoriety.bonus, null, null, null
038 else if $StationType == Teladi Siliziummine L
039 $notoriety.bonus = $notoriety.bonus * $notoriety.factor
040 $money.bonus = 100000
041 write to player logbook: printf: fmt='Station: %s; Bonus: %s', [THIS], $notoriety.bonus, null, null, null
042 else if $StationType == Teladi Siliziummine M
043 $notoriety.bonus = $notoriety.bonus * $notoriety.factor
044 $money.bonus = 100000
045 write to player logbook: printf: fmt='Station: %s; Bonus: %s', [THIS], $notoriety.bonus, null, null, null
046 else if $StationType == $ZPE.Converter
047 $notoriety.bonus = $notoriety.bonus * $notoriety.factor
048 $money.bonus = 100000
049 write to player logbook: printf: fmt='Station: %s; Bonus: %s', [THIS], $notoriety.bonus, null, null, null
050 end
bis hierher bin ich gekommen - funzt soweit (balancing der Punkte noch nicht erfolgt)
ab hier ist noch wirrwar
051
052 $environment = [PLAYERSHIP] -> get environment
053
054 $playerSector = [PLAYERSHIP] -> get sector
055 $sectorOwnerRace = $playerSector -> get owner race
056 $playerrace = [PLAYERSHIP] -> get owner race
057
058 $notoriety = get notoriety from race $sectorOwnerRace to race $playerrace
059 write to player logbook $notoriety
060 *if $notoriety <= 0
061 *$notoriety.bonus = ~ $notoriety.bonus
062 *end
063 *$notoriety = $notoriety + $notoriety.bonus
064 *$notoriety = $notoriety + $notoriety + $notoriety
065 *set notoriety of $sectorOwnerRace -> $playerace to $notoriety points
066 $sectorOwnerRace add notoriety: race=$playerrace value=$notoriety.bonus
067
068 $notoriety = get notoriety from race $sectorOwnerRace to race $playerrace
069 write to player logbook $notoriety
070
071 add money to player: $money.bonus
072
073 return null