I have some ideas for game play but I know nothing about scripting.
I know you can kill a character with a script. But can you also change turns via some sort of script?
I have some ideas for game play but I know nothing about scripting.
I know you can kill a character with a script. But can you also change turns via some sort of script?
Under the Patronage of Lord Condormanius
Ah, perhaps I was not clear enough. It is jumping years.
Basically. In order to get the family tree I want, I need to kill some characters, but, I would like to try to keep the years they died some what in the past instead of everyone dying all in the first year.
So, what I would like is, a script that kills a bunch of characters, then jumps ahead in time so when the game starts the characters would be dead for a few years.
Is this possible?
Under the Patronage of Lord Condormanius
That's great. Thanks for the help. Now to learn scripting or find some one willing to do a few scripts for us.
Under the Patronage of Lord Condormanius
Is there a way of doing it so that when you launch the game it all happens and you don't notice it?
Under the Patronage of Lord Condormanius
Hm, I know I PM'd you for help, but I think you might be close to helping me script for myself here.
I'll look over the tutorials and give what you wrote above a test on my own. Gotta learn some how eh?
Under the Patronage of Lord Condormanius
its loads easier than that you dont even need a show_me script for what you want just a simple campaign script will do.
add something like this to your descr_strat (at the bottom)
Then in a text file in your campaign dir called inca.txt addCode:script inca.txt
when you first start the campaign the descr_strat will run the script and "whoever" will be dead and the date will change, you could also add something like a historical even to coinside explaining what has happended to the player.Code:campaign_wait 5 console_command kill_character "whoever" console_command date x console_command season summer end_script
Oh, that's great, thanks so much guys.
Under the Patronage of Lord Condormanius
Can I repeat that within the script so it looks like this?
campaign_wait 5
console_command kill_character "whoever"
console_command date x
console_command season summer
console_command kill_character "whoever"
console_command date x
console_command season summer
end_script
Under the Patronage of Lord Condormanius
It should work fine. I think I would add a campaign_wait command between each one, just to give the engine time to process (might not be needed though)
edit: reason I suggested a campaign script is because its suited to this type of job and also the player doesnt have to activate it.
RTR website/SVN admin
- Settlement coordinate locator -for RTW/M2TW
- EDB Validator v1.2.8 (Oct 16, 2012) - for RTW/M2TW
- RTW scripting tutorials
- n-turns per year script generator
Great! It worked perfectly.
The next thing I'm going to need is a characters death scripted to occur at a certain date. But I'm thinking that's going to be what KingTheoden 1 has recommended.
Under the Patronage of Lord Condormanius