vicberg wrote:Can you check again. Here's the code for RHC
SelectFaction = FRA
AddDiploItem = RHC;$diAllianceMembership;CURRENT
Looks good to me. Alliance Membership should give foreign access.
Captain_Orso wrote:That is from an event, which if you already have the Rhine Conf. will not fire again.
What Vicberg is saying is that being a member of the Alliance inherently gives all members Access Right in all member states. A separate treaty which could be turned on or off again is not necessary, as long as the Alliance exists.
vicberg wrote:Forcing an event is bringing up console and then typing forceevent (something like that) and FULL pathname to the file containing the event.
vicberg wrote:There's no GenText = str_.....
That generates a message. SelectFaction = 'CMN' if you want message to go to everyone. The str_ has to be in localstrings under settings. That's a pain to work with. You MUST save as csv, semi-colon delimited and that can be a struggle with newer versions of excel.
FYI, you don't need select faction twice. That happens when someone puts a SELECTFACTION statement in the script excel spreadsheets. That's not needed as the CSV Splitter automatically generates a selection faction from the spreadsheet.
So you might see selectfaction = 'FRA' selectfaction 'FRA' twice in a row. not needed.
timrt wrote:Following thread, can edit in notepad but cant save. What am I doing wrong? (Windows 10)
vicberg wrote:GenTextMsg = opt_notify_NewGovOption;1;NULL;NULL;NULL
Go to Wiki to look at GenTextMsg. Multiple configurations for it and one of them is the "newspaper" you are looking for.
SelectFaction = 'CMN' just before the gentext if you want to go to everyone.
MarshalJean wrote:Yo should just be able to right click on the Notepad file, go to properties, go to Permissions, select your user account, and edit permissions. Then click the boxes giving you full permission to edit the file. You should be able to do this for any file you want to edit/save.
MarshalJean wrote:Okay. Still not clear, unless you mean that the GenTxt msg thing pertains to the StartEvent evt_nam_.... line that begins a new event. Otherwise, I'm not sure. But I'll look at the wiki, like you've said. I've tried looking at the wiki before, and have found a little help now and then, but honestly I'm such a neophyte at all of this that I find a lot of it confusing. I learned best to edit in PoN by finding a script that performs something close to what I want, keeping the important syntax the same, and then filling in the variables with my creations. But I'm finding this harder in WoN for some reason.
MarshalJean wrote:Okay. Still not clear, unless you mean that the GenTxt msg thing pertains to the StartEvent evt_nam_.... line that begins a new event. Otherwise, I'm not sure. But I'll look at the wiki, like you've said. I've tried looking at the wiki before, and have found a little help now and then, but honestly I'm such a neophyte at all of this that I find a lot of it confusing. I learned best to edit in PoN by finding a script that performs something close to what I want, keeping the important syntax the same, and then filling in the variables with my creations. But I'm finding this harder in WoN for some reason.
vicberg wrote:- Go to c:\program files (x86)\matrix games\wars of napoleon\ngc\events
- open RHC Events.sct
- find evt_nam_RHC_RhineConfederacy;
- change MinDate to 1806/01/01
- save
Once that is done, you can rollback turn and choose event again. If you can't rollback, you can fire evt_nam_RHC_RhineConfederacy from console.
Captain_Orso wrote:Copy the original file to a location where you are allowed to edit files. Edit the file and save the changes. Now copy the edited file back to it's original location--overwriting the original file. Windows will tell you that this is not allowed, but if your account has Administrative privileges, you will be asked to complete the actions with Administrative privileges. Confirm this and the original file will be overwritten.
You only need to change the MinDate in the evt_nam_RHC_RhineConfederacy event from 1807/01/01 to 1806/01/01. You should not have to change anything else.
vicberg wrote:Unless I'm misunderstanding you, you want a message with the newspaper, right? If so, the script you displayed above needs to have the GenTextMsg command within the Actions. This will generate your message and create the Newspaper popup. Your script is firing, but you aren't getting a message. The message isn't automatically created. You have to use the gentext command to generate the message.
MarshalJean wrote:Thanks, CaptainOrso. I did this and can confirm that it works.
But my conversation with vicberg was about something else, namely, how to write new events in such a way that the game opens up the newspaper page with a picture and your event text. Sorry. Separate topic than this thread is about, I admit.
Thanks!
Users browsing this forum: No registered users and 13 guests