random script line questions???

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
1z2x3c
3rd Warning
3rd Warning
Posts: 259
Joined: Mon Jul 16, 2007 3:22 am

random script line questions???

Post by 1z2x3c »

what do these do?

// ocean parameters
OceanEnable(0);

// dont know if these are working for vehicles but it would be cool
ScanningRange = "60.0"
TransmitRange = "60.0"

any ideas?
Caleb1117
2008 Most Original Avatar
Posts: 3096
Joined: Sun Aug 20, 2006 5:55 pm
Projects :: No Mod project currently.
xbox live or psn: No gamertag set
Location: X-Fire: caleb1117 ಠ_ಠ

Re: random script line questions???

Post by Caleb1117 »

1z2x3c wrote: // dont know if these are working for vehicles but it would be cool
ScanningRange = "60.0"
TransmitRange = "60.0"

That has to do with your minimap radar.
Scanning, is how far you can see, and transmit, I think is if allies are in that range of you, they will see what you do.
User avatar
Eagle Eye
First Lance Corporal
First Lance Corporal
Posts: 129
Joined: Thu Nov 01, 2007 12:44 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Belgium
Contact:

Re: random script line questions???

Post by Eagle Eye »

1z2x3c wrote:what do these do?

// ocean parameters
OceanEnable(0);

// dont know if these are working for vehicles but it would be cool
ScanningRange = "60.0"
TransmitRange = "60.0"

any ideas?
Where did you found those script lines?
1z2x3c
3rd Warning
3rd Warning
Posts: 259
Joined: Mon Jul 16, 2007 3:22 am

Re: random script line questions???

Post by 1z2x3c »

in the fx file:
// ocean parameters
OceanEnable(0);

in the cis_hover_mtt.odf file:
// dont know if these are working for vehicles but it would be cool
ScanningRange = "60.0"
TransmitRange = "60.0"
User avatar
authraw
1st Lieutenant
1st Lieutenant
Posts: 445
Joined: Mon Jun 26, 2006 3:45 pm

Re: random script line questions???

Post by authraw »

The OceanEnable line has something to do with the waves seen in the Kamino level--if you check its .fx file, you will see that it is set to 1.
SilvaDalek
Sith
Sith
Posts: 1329
Joined: Sun Dec 02, 2007 12:52 pm
Games I'm Playing :: Destiny and FIFA
xbox live or psn: TH3 R0LL3R

Re: random script line questions???

Post by SilvaDalek »

You know when you open the map by pressing "m"? Well I guess it means that you can see a certian range on the map. Just a guess . . .
User avatar
Eagle Eye
First Lance Corporal
First Lance Corporal
Posts: 129
Joined: Thu Nov 01, 2007 12:44 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Belgium
Contact:

Re: random script line questions???

Post by Eagle Eye »

1z2x3c wrote:in the fx file:
// ocean parameters
OceanEnable(0);

in the cis_hover_mtt.odf file:
// dont know if these are working for vehicles but it would be cool
ScanningRange = "60.0"
TransmitRange = "60.0"
Thanks
Post Reply