Error on Mountains, Question on Scaling & Supplies [Solved]

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
TheMonarchGamer
Posts: 2
Joined: Sat Apr 22, 2017 3:27 pm
Projects :: No Mod project currently.
Games I'm Playing :: Battlefront II
xbox live or psn: No gamertag set

Error on Mountains, Question on Scaling & Supplies [Solved]

Post by TheMonarchGamer »

Howdy all,

First time poster! I've been playing around with the mod tools lately, since the map I wanted wasn't made yet. I've tried to research/troubleshoot but alas, to no avail! I hope y'all don't mind me posting a few questions here, then.

Firstly, I'm using the Utapau skydome and sky texture. I'm also trying to add the Mustafar volcano mountains to my world's sky, so that I have volcanic mountains with a blue sky.

Here's my SUL.sky script:
Hidden/Spoiler:
SkyInfo()
{
Enable(1);

PS2()
{
NearSceneRange(0.100000, 40.000000, 55.000000);
NearSplitScreenRange(0.100000, 35.000000, 50.000000);
FarSceneRange(400.000000);
}
PC()
{
NearSceneRange(55, 70.0, 70.0, 120.0);
FarSceneRange(400.000000, 600.0);

}
XBOX()
{
NearSceneRange(0.100000, 55.000000, 75.000000);
NearSplitScreenRange(0.100000, 35.000000, 50.000000);
FarSceneRange(600.000000);

}
}

DomeInfo()
{
Filter(0);
Threshold(0);
Intensity(0);

Softness(1);
SoftnessParam(60);

DomeModel()
{
Geometry("uta1_sky_dome");
}

DomeModel()
{
Geometry("mus1_sky_volcano");
Offset(100.0);
MovementScale(0.995);
}
}
And here's the error I get:
Hidden/Spoiler:
ERROR[levelpack SUL.req]:Expecting bracket, but none was found.
File : munged\pc\mus1_sky_volcano.texture.req(1)...

ucft <--
ERROR[levelpack SUL.req]:Expecting bracket, but none was found.
File : munged\pc\mus1_sky_volcano.texture.req(1)...

ucft <--
[continuing]
2 Errors 0 Warnings

ERROR[levelpack SUL.req]:Expecting bracket, but none was found.
File : munged\pc\mus1_sky_volcano.texture.req(1)...

ucft <--
ERROR[levelpack SUL.req]:Expecting bracket, but none was found.
File : munged\pc\mus1_sky_volcano.texture.req(1)...

ucft <--
[continuing]
2 Errors 0 Warnings

ERROR[levelpack SUL.req]:Expecting bracket, but none was found.
File : munged\pc\mus1_sky_volcano.texture.req(1)...

ucft <--
ERROR[levelpack SUL.req]:Expecting bracket, but none was found.
File : munged\pc\mus1_sky_volcano.texture.req(1)...

ucft <--

2 Errors 0 Warnings

ERROR[levelpack SUL.req]:Expecting bracket, but none was found.
File : munged\pc\mus1_sky_volcano.texture.req(1)...

ucft <--
ERROR[levelpack SUL.req]:Expecting bracket, but none was found.
File : munged\pc\mus1_sky_volcano.texture.req(1)...

ucft <--

2 Errors 0 Warnings
I've made sure that all the necessary files are in the right place (I think), and I've even figured out what file they're talking about. I just have no idea how to fix this one. Any advice would be greatly appreciated.

Secondly, I was also wondering if there was any (relatively easy) way to scale an object. Let's say I want to use the Death Star blast doors to seal the Endor Bunker entrance (because I do :yes:), but they're too big. Can I just reduce the scale by 25% or something like that?

And lastly, where in the world do I find the ammunition and medical droids? I haven't been able to find them to place them on my map yet.

Thank you all for your time and help! You've been a great help so far without even knowing it!

Regards,
-TMG
Last edited by TheMonarchGamer on Fri Apr 28, 2017 8:21 pm, edited 1 time in total.
SkinnyODST
Lieutenant Colonel
Lieutenant Colonel
Posts: 545
Joined: Mon Jul 04, 2016 10:56 pm
Location: My other account
Contact:

Re: Error on Mountains, Question on Scaling & Ammo/Medic Dro

Post by SkinnyODST »

1. I think this means that somewhere in a file called "mus1_sky_volcano.texture.req" there is supposed to be a bracket in the code, but it`s missing. ")". Have you messed around with the coding inside it?

2. I`m not sure about that, someone else will hopefully

3. The Ammo and Medical droid are located in BF2_Modtools/data/Common. From there you need to copy over all the necessary files from the "mshs" and "odfs" folders. The medical droid is called "com_item_healthrecharge" and the ammo droid is called "com_item_weaponrecharge"

Oh and welcome to GameToast! :thumbs:
AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

Re: Error on Mountains, Question on Scaling & Ammo/Medic Dro

Post by AQT »

SkinnyODST wrote:1. I think this means that somewhere in a file called "mus1_sky_volcano.texture.req" there is supposed to be a bracket in the code, but it`s missing. ")". Have you messed around with the coding inside it?
Just an FYI, Expecting bracket, but none was found doesn't mean there's actually a bracket (or parenthesis) missing. It means there's something wrong with the raw source file of the munged file indicated. So for mus1_sky_volcano.texture.req it's referring to mus1_sky_volcano.tga.

@TheMonarchGamer: Did you edit mus1_sky_volcano.tga at all?
3. The Ammo and Medical droid are located in BF2_Modtools/data/Common. From there you need to copy over all the necessary files from the "mshs" and "odfs" folders. The medical droid is called "com_item_healthrecharge" and the ammo droid is called "com_item_weaponrecharge"
If you plan on using the ammo and health droids as they are, you actually don't need to copy anything over to your world folder. All you have to do is browse to data_***\Common\odf in ZE object mode to select and place them.

As for scaling up/down objects:
Keep in mind, if scaled using the .msh.option route, objects may flicker and/or experience collision issues.
TheMonarchGamer
Posts: 2
Joined: Sat Apr 22, 2017 3:27 pm
Projects :: No Mod project currently.
Games I'm Playing :: Battlefront II
xbox live or psn: No gamertag set

Re: Error on Mountains, Question on Scaling & Supplies [Solv

Post by TheMonarchGamer »

Thanks folks! It worked like a charm. I had compressed the mountains file when I saved it, so that was the problem there.
Post Reply