Replying to SCAR question
Topic Summary
Posted 04 September 2022 - 03:48 PM
Posted 04 September 2022 - 03:44 PM
Alternatively you could try and acquire the old dawn of war "campaign external binaries mod" which allows you to imbed and bind to new lua functions via scar, it was designed for testing purposes but I believe it comes with a mini tutorial (Jaguar_Lords version is certainly better and, (if you can get it), probably requires far less effort to use of course)
Gambit
Posted 24 June 2022 - 10:04 AM
Do I put them in scar/winconditions?
Yeap!
Remember to always include two files (the scar and the description one). You will see how it is with all other win conditions.
Now, if you want something to ALWAYS run, and not appear in winconditions, you must import it in the scautil file.
Again, see what I have done with Unification.
A word of caution: Unification is VERY complex.
I had to include checks, and fixes, and code that restores and remedies Vanilla limitations...
So it is NOT the best place to see "the basics".
Start from the unmodded DoW (the DXP2.module), and if you want something more challenging, you can always look into Unification SCaR
YOUSLESS
Posted 24 June 2022 - 04:39 AM
Map-specific scar indeed applies to each map separately, but it is intended to work ONLY for that map anyway.
If you want something to work everywhere, the you need a Win Condition!
If you are looking for something more complex, just download Unification, and see what I did with the SCaR of each map (a since "flag" - that is a variable that tells what's what - may help)
Thank you again Gambit, you really are saving me on my SCAR journey. I will dig around the scar files of the unification mod, but I have oone more question, where do I put the win conditions? Do I put them in scar/winconditions?
Gambit
Posted 24 June 2022 - 04:10 AM
Map-specific scar indeed applies to each map separately, but it is intended to work ONLY for that map anyway.
If you want something to work everywhere, the you need a Win Condition!
If you are looking for something more complex, just download Unification, and see what I did with the SCaR of each map (a since "flag" - that is a variable that tells what's what - may help).
YOUSLESS
Posted 24 June 2022 - 01:14 AM
Hello, I have recently been poking around in the scardoc file and I want to start working on a script that works across all maps, all the implementations I've see so far are applied to an individual map. Is it possible to make a SCAR file that is used by every map?