Hello all,
I have two slightly different questions reguarding loading a different .fx and/or a different .prp file within the same Data_MODID folder:
1. Is it possible to load a different .fx file partway through a map (e.g., have a campaign script where the .fx file that starts out has rain in it, but on the completion of a certain objective it loads a different .fx file that doesn't have rain in it, and it stops raining).
2. Is it possible to load a different .fx and/or a different .prp file between maps? (e.g, have the clone wars era have super dense foliage and be raining, and have the GCW era have a different .prp file and a different .fx file (which might give it less dense foliage and no rain).
If either of these two options are possible (or both), please post explainations/how-tos.
Thanks!
Loading a different .FX/.prp file - two questions
Moderator: Moderators
- Superm9
- Second Lance Corporal

- Posts: 104
- Joined: Thu Aug 23, 2007 8:41 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Frisbeetarian
- Jedi

- Posts: 1233
- Joined: Wed Sep 12, 2007 3:13 pm
Re: Loading a different .FX/.prp file - two questions
1. Regardless of whether you are able to do exactly that, you could just active a big rain shadow region over the whole map to make it stop raining.
2. I'm pretty sure, but I can't give you a step by step how-to.
2. I'm pretty sure, but I can't give you a step by step how-to.
- Superm9
- Second Lance Corporal

- Posts: 104
- Joined: Thu Aug 23, 2007 8:41 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: Loading a different .FX/.prp file - two questions
1. Thanks! That will give me the same effect that I want. To activate/disable the Rainshadow region within the .LUA, what command would I use - DisableRegion/ActivateRegion?
2. The main thing that I want with this question is whether or not I can have one era of the map be raining, with dense foliage, and the next era be snowing, with less dense foliage - therefore I can't just activate a rain shadow like the first question. Any ideas on how to do this?
Thanks!
2. The main thing that I want with this question is whether or not I can have one era of the map be raining, with dense foliage, and the next era be snowing, with less dense foliage - therefore I can't just activate a rain shadow like the first question. Any ideas on how to do this?
Thanks!
- Sky_216
- Droid Pilot Assassin

- Posts: 2086
- Joined: Mon Feb 13, 2006 3:28 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: Loading a different .FX/.prp file - two questions
Fx different between eras is a definite yes (I use random fx, but the same principle applies).
Foliage I'll have to look into, in theory it should work in exactly the same way. I'll report back when it's been tested.
Foliage I'll have to look into, in theory it should work in exactly the same way. I'll report back when it's been tested.
- Superm9
- Second Lance Corporal

- Posts: 104
- Joined: Thu Aug 23, 2007 8:41 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: Loading a different .FX/.prp file - two questions
Any updates? Is enableRegion/DisableRegion the right pair of LUA commands to use in order to enable/disable the rainshadow region? Has anyone come up with a method of loading a different .fx file with each LUA file (the .prp question isn't as important)?
Thanks!
Thanks!
- Sky_216
- Droid Pilot Assassin

- Posts: 2086
- Joined: Mon Feb 13, 2006 3:28 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: Loading a different .FX/.prp file - two questions
'bout fx - yes. I'll write up a tut for it in next few days.
- Superm9
- Second Lance Corporal

- Posts: 104
- Joined: Thu Aug 23, 2007 8:41 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: Loading a different .FX/.prp file - two questions
Has anyone actually tested using DeactivateRegion on a rainshadow region partway through a map (to turn the rain back on)? Because I tried it, and it didn't do anything...
Any thoughts?
Thanks!
Any thoughts?
Thanks!
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: Loading a different .FX/.prp file - two questions
Rainshadow regions are not regions that can be dynamically deactivated - some regions can (like deathregions), but not rainshadow regions.
- Superm9
- Second Lance Corporal

- Posts: 104
- Joined: Thu Aug 23, 2007 8:41 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: Loading a different .FX/.prp file - two questions
Curses!
What would you suggest, then?
What would you suggest, then?
