View Full Version : Help please!
Gaivs Valerivs Sejanvs
08-15-2008, 15:07
Hello!
I've took a look on the Res Gestae Reform script. For me it seems to be an easier way to add this in my mod. So I've changed the little things, there are not the same (I am using the Mudus Magnus Campaign) and save and done. There is a campaign script, who create the first reform as building and then I have a show_me script, who create after a few time the second and then the third reform as building in all settlements.
So, and here is my problem: everytime, when I start the game, I have a lucky meeting whit my desktop again :oops: .
What is wrong?
PS: Here are the files, who I changed:
-export_descr_building.txt
-show_me (i've add a new script, the "Sejanus_mod_script.txt"
-in the imperial_campaign folder I has add the "campaign_script"
-in the "descr_strat.txt" I've add the line:
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;start of regions scetion;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
script
campaign_script.txt
Just to clarrify, you added new buildings to EDB, and didn't add any text descriptions to go along with them (you didn't mention export_buildings.txt being modified)? And you're still wondering why your getting a CTD?
Gaivs Valerivs Sejanvs
08-16-2008, 10:49
Yes, it's true, I thought I don't need to add a description for this "building". I thought it can be only a marker for the reforms. And I've found this: I forgot to add a trigger in the export_descr_advice.txt.
But I don't know what I have to wirte in as trigger, that is compatible whit this script:
script
monitor_event FactionTurnStart FactionIsLocal
and I_TurnNumber = 163
console_command create_building Isurium reform2
console_command create_building Hafnia reform2
console_command create_building Vicus_Aestii reform2
console_command create_building Vicus_Fenni reform2
console_command create_building Campus_Siracae reform2
console_command create_building Campus_Alanni reform2
console_command create_building Emain_Macha reform2
console_command create_building Campus_Roxolani reform2
console_command create_building Deva reform2
console_command create_building Rugium reform2
console_command create_building Vicus_Neuri reform2
console_command create_building Camulodunum reform2
console_command create_building Phabiranum reform2
console_command create_building Teutoburgum reform2
console_command create_building Carrodunum reform2
console_command create_building Samarobriva reform2
.
.
.
.
.
.
end_Script
Gaivs Valerivs Sejanvs
08-16-2008, 11:25
Hmmm...!!!
It don't works! I've add in the export_descr_advice.txt a trigger and in the .../text/ folder export_advice.txt a text for this advice! Then in the export_buildings.txt I add a text ... and: IT DON'T WORK!!!!
What is wrong??
HouseOfHam
08-18-2008, 22:33
Post the code you added to each file.
Gaivs Valerivs Sejanvs
08-19-2008, 13:03
script
monitor_event FactionTurnStart FactionIsLocal
and I_TurnNumber = 163
console_command create_building Isurium reform2
console_command create_building Hafnia reform2
console_command create_building Vicus_Aestii reform2
console_command create_building Vicus_Fenni reform2
console_command create_building Campus_Siracae reform2
console_command create_building Campus_Alanni reform2
console_command create_building Emain_Macha reform2
console_command create_building Campus_Roxolani reform2
console_command create_building Deva reform2
console_command create_building Rugium reform2
console_command create_building Vicus_Neuri reform2
console_command create_building Camulodunum reform2
console_command create_building Phabiranum reform2
console_command create_building Teutoburgum reform2
console_command create_building Carrodunum reform2
console_command create_building Samarobriva reform2
.
.
.
.
.
.
end_monitor
end_Script
This code, I has added at first in the imperial_campaign folder as campaign_script:
console_command create_building Isurium reform1
console_command create_building Hafnia reform1
console_command create_building Vicus_Aestii reform1
.
.
.
.
.
.
.
end_script
Then I has the this code added in the show_me folder:
monitor_event FactionTurnStart FactionIsLocal
and I_TurnNumber = 163
console_command create_building Isurium reform2
console_command create_building Hafnia reform2
console_command create_building Vicus_Aestii reform2
console_command create_building Vicus_Fenni reform2
.
.
.
.
.
end_monitor
And then:
monitor_event FactionTurnStart FactionIsLocal
and I_TurnNumber = 163
console_command create_building Isurium reform2
console_command create_building Hafnia reform2
console_command create_building Vicus_Aestii reform2
console_command create_building Vicus_Fenni reform2
.
.
.
..
.
.
end_monitor
end_script
This building I has added in the export_descr_buildings.txt and even this buildings must be created by the script code, but when I start the game I have CTD.
LAst but not least :beam: : I has added UI and text, too.
Gaivs Valerivs Sejanvs
08-19-2008, 13:07
[QUOTE=Gaivs Valerivs Sejanvs;1994176]
And then:
monitor_event FactionTurnStart FactionIsLocal
and I_TurnNumber = 280
console_command create_building Isurium reform3
console_command create_building Hafnia reform3
console_command create_building Vicus_Aestii reform3
console_command create_building Vicus_Fenni reform3
.
.
.
..
.
.
end_monitor
end_script
Sorry, that's the right third reform script.
HouseOfHam
08-19-2008, 23:22
and where/how do you start the background script?
Is the game working without the script? You still haven't noted this yet.
Gaivs Valerivs Sejanvs
08-20-2008, 09:57
Yes, It works without the script and the changes in the EDB. But when I do this changes it don't works.
Your last post isn't clear seems to say, "it works without having added either the buildings or the scripts". If that's the case that wasn't what I was asking. I was asking does it work with the buildings and without the scripts.
Gaivs Valerivs Sejanvs
08-22-2008, 14:04
Ohh yeah sorry, that you mean.
Noo, it don't work's when I have added this reform buildings.
Then it isn't the scripts that's the problem, its your new building(s) that are the problem. Most likely missing/mistyped/incorrect text entries or missing/misplaced/misnamed pictures.
Gaivs Valerivs Sejanvs
08-22-2008, 19:21
Thanks! It's working now!
vBulletin® v3.7.1, Copyright ©2000-2025, Jelsoft Enterprises Ltd.