by Tormentor667 » Fri May 01, 2015 1:51 pm
Here is a small summary of the setting that I have atm:
Spoiler: ZSDF Script
Code: Select all
conversation
{
actor = "Scientist2";
page //The page block here marks the first page
{
name = "\cQProf. Gutenberg";
dialog = "\cCJunger Mann, how can I help you?";
panel = "DLP_NIG1";
voice = "DLV_NIG1";
choice
{
text = "\cCNazi Professor";
nextpage = 2;
}
choice
{
text = "\cCOperation Eisenmann";
nextpage = 3;
}
choice
{
text = "\cCEisenmann Files";
nextpage = 4;
}
}
page //2
{
name = "\cQProf. Gutenberg";
dialog = "\cCMein Gott! Not all of us are Nazis. There are people who fight against Hitler and his sick vision since the beginning. It was time for me to make a decision for the side - and I think I choose the right one.";
panel = "DLP_NIG1";
voice = "DLV_NIG1";
choice
{
text = "\cCI apologize.";
nextpage = 1;
}
}
page //3
{
name = "\cQProf. Gutenberg";
dialog = "\cCJaja... die Eisenmann Operation... Dr. Mengele is generally responsible for this infernal genetic experiments. I don't know the details but if the doctor and his henchmen succeed, europe is lost for all time. If you find files about the Eisenmann experiments, bring them to me and I will try to dechiffer the information. Maybe we will find a way to stop the doctor.";
panel = "DLP_NIG1";
voice = "DLV_NIG1";
choice
{
text = "\cCI will do what I can!";
nextpage = 1;
}
}
page //4
{
name = "\cQProf. Gutenberg";
dialog = "\cCIf you have found files about the Operation Eisenmann, give them to me.";
panel = "DLP_LAZ2";
voice = "DLV_LAZ2";
choice
{
text = "\cCHere, take 1 file";
yesmessage = "\cQDanke!";
nomessage = "\cGNo, you don't have one.";
nextpage = 5;
displaycost = false;
cost
{
item = "AktenEisenmann";
amount = 1;
}
}
page //5
{
name = "CDR. Keen";
dialog = "Danke Cpt., this will help to dechiffer the coordinates of the Eisenmann Hauptquartier.";
choice
{
text = "You're welcome";
nextpage = 1;
special = 80;
arg0 = 2;
closedialog = true;
}
}
}
Spoiler: ACS Script (that gets started from the ZSDF script
Code: Select all
int eisenmann_akten=0;
//Eisenmann Script
script 2 (void)
{
floor_raisebyvalue(19, 10, 16);
eisenmann_akten++;
}
Spoiler: DECORATE code
Code: Select all
ACTOR AktenEisenmann : Inventory 16002
{
//$Category Pickups (Wolf3D)
//$Title Secret Files (Eisenmann)
//$Color 13
inventory.icon AKTEA0
inventory.pickupmessage "Picked up Eisenmann files"
inventory.pickupsound "misc/p_pkup"
inventory.amount 1
+INVENTORY.UNDROPPABLE
+INVENTORY.INVBAR
+INVENTORY.ALWAYSPICKUP
+INVENTORY.UNTOSSABLE
States
{
Spawn:
AKTE B -1
stop
}
}
If I start all these together and do the final step (giving the scientist the AktenEisenmann), GZDoom crashes, bug report attached.
- Attachments
-
CrashReport.zip
- (20.06 KiB) Downloaded 66 times
Here is a small summary of the setting that I have atm:
[spoiler=ZSDF Script][code]conversation
{
actor = "Scientist2";
page //The page block here marks the first page
{
name = "\cQProf. Gutenberg";
dialog = "\cCJunger Mann, how can I help you?";
panel = "DLP_NIG1";
voice = "DLV_NIG1";
choice
{
text = "\cCNazi Professor";
nextpage = 2;
}
choice
{
text = "\cCOperation Eisenmann";
nextpage = 3;
}
choice
{
text = "\cCEisenmann Files";
nextpage = 4;
}
}
page //2
{
name = "\cQProf. Gutenberg";
dialog = "\cCMein Gott! Not all of us are Nazis. There are people who fight against Hitler and his sick vision since the beginning. It was time for me to make a decision for the side - and I think I choose the right one.";
panel = "DLP_NIG1";
voice = "DLV_NIG1";
choice
{
text = "\cCI apologize.";
nextpage = 1;
}
}
page //3
{
name = "\cQProf. Gutenberg";
dialog = "\cCJaja... die Eisenmann Operation... Dr. Mengele is generally responsible for this infernal genetic experiments. I don't know the details but if the doctor and his henchmen succeed, europe is lost for all time. If you find files about the Eisenmann experiments, bring them to me and I will try to dechiffer the information. Maybe we will find a way to stop the doctor.";
panel = "DLP_NIG1";
voice = "DLV_NIG1";
choice
{
text = "\cCI will do what I can!";
nextpage = 1;
}
}
page //4
{
name = "\cQProf. Gutenberg";
dialog = "\cCIf you have found files about the Operation Eisenmann, give them to me.";
panel = "DLP_LAZ2";
voice = "DLV_LAZ2";
choice
{
text = "\cCHere, take 1 file";
yesmessage = "\cQDanke!";
nomessage = "\cGNo, you don't have one.";
nextpage = 5;
displaycost = false;
cost
{
item = "AktenEisenmann";
amount = 1;
}
}
page //5
{
name = "CDR. Keen";
dialog = "Danke Cpt., this will help to dechiffer the coordinates of the Eisenmann Hauptquartier.";
choice
{
text = "You're welcome";
nextpage = 1;
special = 80;
arg0 = 2;
closedialog = true;
}
}
}[/code][/spoiler]
[spoiler=ACS Script (that gets started from the ZSDF script][code]int eisenmann_akten=0;
//Eisenmann Script
script 2 (void)
{
floor_raisebyvalue(19, 10, 16);
eisenmann_akten++;
}[/code][/spoiler]
[spoiler=DECORATE code][code]ACTOR AktenEisenmann : Inventory 16002
{
//$Category Pickups (Wolf3D)
//$Title Secret Files (Eisenmann)
//$Color 13
inventory.icon AKTEA0
inventory.pickupmessage "Picked up Eisenmann files"
inventory.pickupsound "misc/p_pkup"
inventory.amount 1
+INVENTORY.UNDROPPABLE
+INVENTORY.INVBAR
+INVENTORY.ALWAYSPICKUP
+INVENTORY.UNTOSSABLE
States
{
Spawn:
AKTE B -1
stop
}
}[/code][/spoiler]
If I start all these together and do the final step (giving the scientist the AktenEisenmann), GZDoom crashes, bug report attached.