Soll das Fenster für das Aufwerten sein? Also kein Abwerten? Dann vermute ich brauchst du noch eine Anzeige, die zeigt, wie viel die nächste Stufe Kostet und wie viel an Ressourcen zur Verfügung ist.
Zur Verständigung: Die Kosten direkt sind nicht in der Variable 2 gespeichert, sondern wie viel Gold der Spieler hat, richtig? Die Kosten sind also fix (es wird immer 50 Gold kosten von Stufe 1 auf Stufe 2 zu upgraden?).
Soll das Fenster für das Aufwerten sein? Also kein Abwerten? Dann vermute ich brauchst du noch eine Anzeige, die zeigt, wie viel die nächste Stufe Kostet und wie viel an Ressourcen zur Verfügung ist.
...
Genau. Ja, abwerten braucht's dann eigentlich nicht. Die Anzeige wäre nicht schlecht. Die muss auf jeden Fall mit rein.
Zitat von maniglo93
Zur Verständigung: Die Kosten direkt sind nicht in der Variable 2 gespeichert, sondern wie viel Gold der Spieler hat, richtig? Die Kosten sind also fix (es wird immer 50 Gold kosten von Stufe 1 auf Stufe 2 zu upgraden?).
...
Ja, Stufe 1 wird immer 50 Gold kosten in dem Fall. Aber wenn ich zB ein Haus von Stufe 1 auf Stufe 2 upgraden will, brauche ich hier kein Gold, sondern Holz. Da es hier viele Optionen gibt, brauche ich hier eine Möglichkeit, die einzelnen Kostenvariablen pro Aufwerteoption individuell zuzuweisen.
--
Ein sehr symphatischer und überaus aktiver RPG Maker Benutzer
Dann baue ich eine Datenbank ein, welche dir erlaubt jede Stufe individuell festzulegen. Das Ganze wird dann mit soviele Variablen möglich sein, wie du möchtest. Das wirst du im Script festlegen müssen, ist jedoch keine große Schwierigkeit. Dazu kommt dann noch ein weiteres Fenster, welche die Kosten der nächsten Stufe und die aktuellen Ressourcen anzeigt.
Hoffe dieses Beispiel einer Datenbank ist für dich verständlich
____________________________
Wird es so sein, dass man mehrere Upgrade Stufen auf einmal macht, also von Bewohner 1 auf Bewohner 15? Oder wird es eher so laufen, dass der Spieler das Menü für nur ein Level öfters aufruft? So werde ich die Tastenbelegung etwas ändern, sowie das Design. Dass es dem kurzen Upgrade besser passt.
Willst du, dass als Hintergrund die Map sichtbar ist? Soll diese Ausgegraut werden?
Werde mich wohl Mittwoch daran setzten, bis dahin habe ich leider viel zu tun. Denke das ganze wird kein Problem sein
Ich habe es mir erlaubt, es etwas zu animieren. Schaue einmal rüber. Es ist noch keine Abfrage, ob überhaupt genügend Ressourcen vorhanden sind im Script, ist aber eine Sache von 1-2 Minuten (höchstens) dies einzubauen, kommt dann wenn ich das ganze vollständig mache. Falls du das Fenster bzw. deren Inhalt anderes anordnen möchtest, male mir eine Paint-Skizze.
Dann stelle ich dir das Skript mit genügend Kommentaren fertig
Beim implementieren helfe ich dir so gut wie ich kann, Linkey hat ja auch Hilfe angeboten.
Denke damit werde ich morgen fertig sein.
PS: Ich kann dir nur empfehlen etwas Programmier-Sprache zu beherrschen es ist wirklich sehr nützlich und Ruby ist nicht allzu schwer (finde ich aufjedenfall). Das aktuelle Skript hat mich 1 1/2h Zeit gekostet, also sind solche Kleinigkeiten schnell erledigt
Ich hab kein Script von ihm bekommen. Er scheint aber auch gar nicht mehr hier aktiv zu sein, denn der letzte Login ist über einen Monat her. Aber selbst wenn, würde ich ihn auch nicht mit PMs nerven wollen, wenn er gerade wichtigeres zu tun hat.
--
Ein sehr symphatischer und überaus aktiver RPG Maker Benutzer
Leider habe ich für so etwas momentan eigentlich überhaupt keine Zeit. Ich hab sie mir gerade trotzdem genommen um auf die schnelle etwas für dich bereitzustellen.
In den ersten gut 50 Zeilen kannst du diverse Einstellungen vornehmen. Ich habe diese einmal beispielhaft ausgefüllt, damit du eine Idee davon bekommst, wie du es eintragen musst.
Das Upgrade-Menü rufst du über folgenden Scriptcall im Event auf:
Hier das Update, wie gewünscht:
- Fenstergröße maximiert
- Titelwindow für Beschreibung hinzugefügt
Farbliche markierungen kannst du mit \\C[0] setzen. Nicht vergessen, die Schriftfarbe danach wieder auf 0 zu setzen:
"Dies ist ein \\C[2]Beispiel\\C[0] mit roter Farbe."
Falls du im oberen Teil schon Einstellungen vorgenommen hast, habe ich dir die dort neu hinzugefügte Zeile extra farblich gekennzeichnet, sodass du nicht deine Anpassungen mit copy&paste überschreiben musst.
Es reicht wenn du das blaue kopierst und den enstprechenden Teil im alten Script damit überschreibst.