Well I don't knowI tried without , yet didn't work apparently ..
You need to declare the counter - just don't do it inside a monitor
normal practice is to declare all the counters just after the start of the script
Visit Total War Center Wiki for:
Total War Mods - Modding Portal - Total War Series
M2TW Modding - Battle Map Buildings - Techtrees - worldpkgdesc
Rome Remastered Modding - New Campaign Map
IWTE functions for RR - Unit models in RR
It's best to declare them before-hand, outside of any conditionals/monitors.
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
Anyone got scripting movies to work ?
I have this in my background script :
I'm using a modfolder , if that's of any help ..Code:monitor_event FactionTurnStart FactionIsLocal and I_TurnNumber = 2 play_video data/fmv/wonders/wonder_pyramids.mpg end_monitor
The play_video command is not implemented.
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
Well, you can insert a movie into any event scroll by tweaking descr_event_images.txt. It isn't limited to just the wonder_captured event.
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 Tutorial, especially for a begginner like me. +Rep
Last edited by ulti; October 02, 2009 at 07:02 AM.
Hi, HofH, I have a question. can two background scripts be running at same time? say, I am currently playing with EB mod so I have EB background script running. but is that possible to create my own background_script (another script) and make it run with the EB script at same time? will this cause any problem to the gameplay?
Thanks for your reply.
Nope, you'll need to add your stuff to the one that's already there.
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
thanks for your prompt reply. I have another question. If I want to add few units to the city of Rome when I click on an UI button during gameplay, can I just add the following piece of codes to the existing EB script?
monitor_event ButtonPressed ButtonPressed family_tree_button
console_command create_unit Rome "roman hastati" 3 1 0 0
end_monitor
Last edited by jazz_chow; December 09, 2009 at 09:19 PM.
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
Very good tutorial !![]()
Yes...
♪ Now it's over, I'm dead and I haven't done anything that I want, or I'm still alive and there's nothing I want to do ♪
umm,It when I've put a new trigger,then when I've load up the game It crash.
Sorry if that not enough,I'm new to modding...
♪ Now it's over, I'm dead and I haven't done anything that I want, or I'm still alive and there's nothing I want to do ♪