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
MandeRek
Sith Master
Posts: 2766 Joined: Tue Oct 02, 2007 10:51 am
Projects :: Battlefront Zer0
Games I'm Playing :: SWTOR
xbox live or psn: No gamertag set
Location: Ghosting around GT
Contact:
Post
by MandeRek » Tue Jun 23, 2009 9:52 am
Well, I'm trying to add a boundary to my map but it's not completely working..
BZP.req
Code: Select all
ucft
{
REQN
{
"config"
}
REQN
{
"boundary"
"BZP"
}
REQN
{
"texture"
"BZP_map"
"water_bumpmap_0"
"water_bumpmap_1"
"water_bumpmap_2"
"water_bumpmap_3"
"water_bumpmap_4"
"water_bumpmap_5"
"water_bumpmap_6"
"water_bumpmap_7"
"water_bumpmap_8"
"water_bumpmap_9"
"water_bumpmap_10"
"water_bumpmap_11"
"water_bumpmap_12"
"water_bumpmap_13"
etc...
In ZE, i added a boundary named 'boundary'.. Ideas?
Also, I've got the problem of my weapons, that the game freezes when switching them..
I added this to my weapon odfs:
Code: Select all
ScoreForMedalsType = -1
MedalsTypeToUnlock = -1
Will that do it?
DarthD.U.C.K.
Master of the Force
Posts: 6027 Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany
Post
by DarthD.U.C.K. » Tue Jun 23, 2009 10:05 am
you have to call the boundary in ZE "BZP" i think
501st_commander
Master Bounty Hunter
Posts: 1570 Joined: Wed Dec 10, 2008 7:48 pm
Post
by 501st_commander » Tue Jun 23, 2009 10:08 am
the
ScoreForMedalsType = -1
MedalsTypeToUnlock = -1
will do that. I've used it many times.
Fiodis
Master of the Force
Posts: 4145 Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming
Post
by Fiodis » Tue Jun 23, 2009 10:35 am
Only it's not working for him.
How about setting those two values to extremely high, unrealistic numbers instead?
FragMe!
Gametoast Staff
Posts: 2244 Joined: Sat May 13, 2006 12:34 am
Projects :: Not sure keep changing my mind.
Games I'm Playing :: F1 and SWBF
xbox live or psn: No gamertag set
Location: Origin name GT_FragMe
Contact:
Post
by FragMe! » Tue Jun 23, 2009 11:43 am
you also need to create a region and make it's type mapbounds, you can also name it mapbounds if you want.
MandeRek
Sith Master
Posts: 2766 Joined: Tue Oct 02, 2007 10:51 am
Projects :: Battlefront Zer0
Games I'm Playing :: SWTOR
xbox live or psn: No gamertag set
Location: Ghosting around GT
Contact:
Post
by MandeRek » Tue Jun 23, 2009 11:47 am
FragMe! wrote: you also need to create a region and make it's type mapbounds, you can also name it mapbounds if you want.
Man... I haven't spoken to you in months
So a big, boxy region named mapbounds, which can be seen as my boundaries? No including in req for this region?
AQT
Gametoast Staff
Posts: 4910 Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA
Post
by AQT » Tue Jun 23, 2009 12:19 pm
MandeRek wrote: Also, I've got the problem of my weapons, that the game freezes when switching them..
I added this to my weapon odfs:
Code: Select all
ScoreForMedalsType = -1
MedalsTypeToUnlock = -1
Will that do it?
Don't use those lines
at all . Make weapon .odfs that don't have class parents. For example
and
You see? No class parents! You won't earn medals but at least your game won't freeze.
P.S. Didn't I already send some class parent-free weapon .odfs to you? The day after the Alpha? Oh well.
MandeRek
Sith Master
Posts: 2766 Joined: Tue Oct 02, 2007 10:51 am
Projects :: Battlefront Zer0
Games I'm Playing :: SWTOR
xbox live or psn: No gamertag set
Location: Ghosting around GT
Contact:
Post
by MandeRek » Tue Jun 23, 2009 1:51 pm
Yeah you did send me those.. But more weapons were having that glitch I guess.. Classparent free weapons.. That will be A LOT OF WORK
But okay.. I'll fix it
Thanks AQT!
Btw, do you know anything about leaving-battlefield-messages? My boundary is still not working, even with the mapbounds region
AQT
Gametoast Staff
Posts: 4910 Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA
Post
by AQT » Tue Jun 23, 2009 2:20 pm
You're welcome.
As for the boundary issue, well I got the message to work in my map. What I did was:
1. Placed a boundary in my map and named it "boundary1" (no quotes)
2. Edited my map's .req to include the boundary the same way you did but it was the second to last thing in the .req (before my map's mini-map texture)
3. Made a mapbounds-type region called "mapbounds" (no quotes)
Doing all these things got message to work. Make sure your .bnd and .pth files are being saved.
MandeRek
Sith Master
Posts: 2766 Joined: Tue Oct 02, 2007 10:51 am
Projects :: Battlefront Zer0
Games I'm Playing :: SWTOR
xbox live or psn: No gamertag set
Location: Ghosting around GT
Contact:
Post
by MandeRek » Tue Jun 23, 2009 5:06 pm
Read that, but had problems, which is why i made this topic. I changed the name from boundary 'boundary' to 'boundary1' and now it's working?
Anyhow, this topic can be locked! Thanks for all help, all!
AceMastermind
Gametoast Staff
Posts: 3285 Joined: Mon Aug 21, 2006 6:23 am
Contact:
Post
by AceMastermind » Tue Jun 23, 2009 5:31 pm
MandeRek wrote: I changed the name from boundary 'boundary' to 'boundary1' and now it's working?
Much like the other fellow in that topic, you probably had it right to begin with but the req or something else may not have munged, but when you made another change VM picked up on it.
A manual clean and re-munge may have gotten your original setup to work.