UGX-Mods

Call of Duty 5: World at War => Help Desk => Scripting => Topic started by: MZslayer11 on February 24, 2015, 11:42:00 pm

Title: UGX easy FX interfering with Bam's Perks?
Post by: MZslayer11 on February 24, 2015, 11:42:00 pm
Recently I have installed Bam's mods and they are all working perfectly. I also just recently added in UGX easy fx and that is working too. The problem is that Bam's mod required you to replace your mapname_patch with his custom one. Im not 100% sure if this is the problem or not but my map and game crashes when I include Bam's custom _patch in conjunction with easy fx. I did not have this problem the first time installed UGX esay fx because I forgot to include the _patch. This time when I launch with the _patch, it crashed. The error message is 'Unhanded Exception Caught'. I tried several times with and without the patch and sure enough, the result was the same. The only other thing I added between it working and not working is a skybox model and Fog using the setVolFog() method. So the culpret is one of these three things. I suspect that its easy fx because in the tutorial, it made clear that you need to compile your patch for it to work.  :-\ Is this correct? Is there a way to have them both without a crash?
Title: Re: UGX easy FX interfering with Bam's Perks?
Post by: Harry Bo21 on February 24, 2015, 11:44:46 pm
shouldnt matter, but if it makes you feel better, compile the patch, then drag bams one over it after

It shouldnt matter, The only thing different in bams patch is it has the BO1 models in it
Title: Re: UGX easy FX interfering with Bam's Perks?
Post by: MZslayer11 on February 24, 2015, 11:48:53 pm
shouldnt matter, but if it makes you feel better, compile the patch, then drag bams one over it after

It shouldnt matter, The only thing different in bams patch is it has the BO1 models in it

What do you mean "drag  it over it"? Also, if it isn't this causing the problem, then what is? I'm still getting a crash when I use his _patch and I wasn't before I installed easy fx.
Title: Re: UGX easy FX interfering with Bam's Perks?
Post by: Harry Bo21 on February 24, 2015, 11:50:23 pm
drag his patch over yours

TBH you should only need to compile your patch one time, back when you first made the map, after that you shouldnt need to compile it again

do developer 1 and tell us what error

Also make sure you have the right Bam patch, the others cause all kinds of issues
Title: Re: UGX easy FX interfering with Bam's Perks?
Post by: MZslayer11 on February 25, 2015, 01:14:22 am
drag his patch over yours

TBH you should only need to compile your patch one time, back when you first made the map, after that you shouldnt need to compile it again

do developer 1 and tell us what error

Also make sure you have the right Bam patch, the others cause all kinds of issues

Ok so I compiled my map again
Then I copied Bam's patch to replace current patch
Then I launched the mod (Exact same procedure as always)
Launched the game in Dev 1 and got this:
(https://www.ugx-mods.com/forum/proxy.php?request=http%3A%2F%2Fimg.ctrlv.in%2Fimg%2F15%2F02%2F25%2F54ed1fb58bf3c.jpg&hash=0092a2b3127fc059f4267be551f2a441d4f72982) (http://ctrlv.in/507807)
(https://www.ugx-mods.com/forum/proxy.php?request=http%3A%2F%2Fimg.ctrlv.in%2Fimg%2F15%2F02%2F25%2F54ed1fb41163c.jpg&hash=3ab04aec960a8390acb7d0a5e76fad7cd86a97f2) (http://ctrlv.in/507806)
(https://www.ugx-mods.com/forum/proxy.php?request=http%3A%2F%2Fimg.ctrlv.in%2Fimg%2F15%2F02%2F25%2F54ed1fb227963.jpg&hash=170a561f2e6efc6426a5706d8bf033036799e093) (http://ctrlv.in/507805)
(https://www.ugx-mods.com/forum/proxy.php?request=http%3A%2F%2Fimg.ctrlv.in%2Fimg%2F15%2F02%2F25%2F54ed1fac261f0.jpg&hash=a2332d03f13a70b47150fc5c12dced97248a0c69) (http://ctrlv.in/507804)
There are tons more missing xanims that I didnt show.

I made developer false then launched my map. My game crashed and I got the "Unhandled Exception Caught" error in the Console.
Next I recompiled my map and this time I did not add in Bam's patch. I launched the map and everything worked... except bams perks.  :kidding: Sooooooooo.. im kind of in a stand still here  :'(
Title: Re: UGX easy FX interfering with Bam's Perks?
Post by: Harry Bo21 on February 25, 2015, 01:54:13 am
oK, thats giving all kinds of errors to do with your mod tools, so doesnt really cover your specific issue

When it crashes, it should tell you why, if it isnt, then i dunno

Sometimes the error console shows up behind the game, if you alt+tab to it, it might say like "porter_shader.iwi is missing" or something like that
Title: Re: UGX easy FX interfering with Bam's Perks?
Post by: MZslayer11 on February 25, 2015, 02:04:59 am
Ya the console comes up after the crash and the only error is 'Un handled Exception Caught'. I will Uninstall easy fx and see if that helps. If it doesnt, then I'm screwed. Sick and tired of errors :ok:
Title: Re: UGX easy FX interfering with Bam's Perks?
Post by: Harry Bo21 on February 25, 2015, 02:06:36 am
thing is bro, its not "installed"

its just like any other .gsc, it doesnt do anything special really

Just remove the easy_fx line from your MAPNAME.gsc and its "removed"

But it defo works fine with bams perks. You need to sort out those other errors so we can use developer 1 correctly
Title: Re: UGX easy FX interfering with Bam's Perks?
Post by: MZslayer11 on February 25, 2015, 02:10:40 am
thing is bro, its not "installed"

its just like any other .gsc, it doesnt do anything special really

Just remove the easy_fx line from your MAPNAME.gsc and its "removed"

But it defo works fine with bams perks. You need to sort out those other errors so we can use developer 1 correctly

Yeah, install is just one those buzz words that I use. Probably shouldnt. Anyway, Thanks for all your help. :)
Title: Re: UGX easy FX interfering with Bam's Perks?
Post by: Harry Bo21 on February 25, 2015, 02:11:46 am
no prob, if your still stuck later drop me a pm, i did bams perks without his annoying _patch file
Title: Re: UGX easy FX interfering with Bam's Perks?
Post by: DidUknowiPwn on February 25, 2015, 02:14:45 am
fyi those missing xanims, xmodels, and other shaders/visions are how the game was made. You could see it on first load as well. In any case I don't know specifically what your issue is, I suggest doing logfile 1 and see what error it throws now.
Title: Re: UGX easy FX interfering with Bam's Perks?
Post by: jei9363 on February 25, 2015, 02:41:57 am
maybe in the process you lost one of my IWDs. missing images for materials in FastFiles are what cause them to crash
Title: Re: UGX easy FX interfering with Bam's Perks?
Post by: Harry Bo21 on February 25, 2015, 02:52:47 am
fyi those missing xanims, xmodels, and other shaders/visions are how the game was made. You could see it on first load as well. In any case I don't know specifically what your issue is, I suggest doing logfile 1 and see what error it throws now.
no... no they are not "normal", for example one of the missing files is shock/zombie_death.shock - which should defo be included

I have hardly any of these errors, he has about 200 in a list?
Title: Re: UGX easy FX interfering with Bam's Perks?
Post by: DidUknowiPwn on February 25, 2015, 03:04:13 am
no... no they are not "normal", for example one of the missing files is shock/zombie_death.shock - which should defo be included

I have hardly any of these errors, he has about 200 in a list?
Those errors are generic, everyone has them. There's no way that you can't as it's how the game was created. That shock file is never used either it's included in raw files though. Also just noticed what's wrong in the script error you provided, the gun you're trying to load doesn't exist (target wise i.e. ptrs_zombie) in add_zombie_weapon (or not pretty tired now looking at book while reading this, just fix the KVP and make sure the gun you're trying to set exists in map).
Title: Re: UGX easy FX interfering with Bam\'s Perks?
Post by: MZslayer11 on February 25, 2015, 03:18:58 am
Those errors are generic, everyone has them. There's no way that you can't as it's how the game was created. That shock file is never used either it's included in raw files though. Also just noticed what's wrong in the script error you provided, the gun you're trying to load doesn't exist (target wise i.e. ptrs_zombie) in add_zombie_weapon (or not pretty tired now looking at book while reading this, just fix the KVP and make sure the gun you're trying to set exists in map).

Thanks. I'll give it another look tomorrow.

Double Post Merge: February 26, 2015, 01:35:23 am
I have tested several variables to see if the crash occurred both with and without bams _patch. The only things I tested were things that I changed right between when the map was working and when it first started crashed.

1. Removed Easy FX - Crashed w/ Bam's _patch
                                - Did Not Crash w/o Bam's _patch
2. Removed SetVolFog - Crashed w/ Bam's _patch
                                   - Did Not Crash w/o Bam's _patch
3. Removed Skybox - Crashed w/ Bam's _patch
                               - Did Not Crash w/o Bam's _patch

I also added a few missing images, fixed an fx that I misspelled, and some other small tweaks and still had the same result.  :derp: