Author Topic: The "Strange things" Thread  (Read 15742 times)

Snake

  • So little free time, so much to mod..
  • Moderators
  • Internet Addict
  • ****
  • Posts: 2542
  • "Play to win, not to not lose"
  • Awards Special Award for players of the EA's SWBF (2015) Recognizes someone who most generously donated funds to the site or the site Special Award for those that play the original SWBF To recognize Modders that make a most excellent contribution within the Month Intergalactic Clan War 1 Participant Releasing Multiple Mods on SWBFgamers.com
    • View Profile
    • =AaTc=
    • Awards
  • PSN: Octa-king
  • Tunngle ID: aatcsnake
The "Strange things" Thread
« on: April 26, 2012, 04:50:07 PM »
There are many lines in .odf and .lua's that are unique to that one file they are in. I decided to make this thread so that if you find one, post it here and if you don't know what it does then hopefully we can figure it out.

To post a line you found please state the name of the .odf or .lua you found it in and then post the actual line.

I found this line in all_weap_inf_mortar_launcher.odf:

ExtremeRange        = "96"

I have never seen that in any other .odf but apparently this weapon has an extreme range.
« Last Edit: August 10, 2013, 11:51:54 AM by Snake »
=AaTc= Forever

SALLY....

-Retired Modder

Phobos

  • Poodoo
  • Just Registered
  • *
  • Posts: 0
  • Awards Shotgun Tournament 1st Place Award for extensive modding contributions and/or donations to TWD Battlefront Special Award for those that play the original SWBF To recognize Modders that make a most excellent contribution within the Month LeaderBoard 1 organized by GDH92 and ComSharpshot T.1 1v1 Tournament 1st Place organized by SleepKiller Releasing Multiple Mods on SWBFgamers.com Recognizes someone who most generously donated funds to the site or the site Special Award for those that play SWBF2
    • View Profile
    • Awards
Re: The "Strange .odf/.lua Line" Thread
« Reply #1 on: April 26, 2012, 05:27:08 PM »
Extremerange doesn't really even do anything I remember psych0fred saying it was another redundant code somewhere.

Sereja

  • Master Modder
  • This Man Has No Life
  • ***
  • Posts: 1267
  • Waiting for medal.
  • Awards Award for extensive modding contributions and/or donations to TWD Battlefront Recognizes an exceptional artist on this site. Halloween Modding Contest 2012 To recognize Modders that make a most excellent contribution within the Month Releasing Multiple Mods on SWBFgamers.com
    • View Profile
    • Awards
Re: The "Strange .odf/.lua Line" Thread
« Reply #2 on: April 26, 2012, 05:43:51 PM »
The ExtremeRange, is possible just a limit, how the grenade cud fly, after chargeup.
One of the realy strange line, I found, was in com_item_healthrecharge.odf:
[InstanceProperties]
EffectRegion        = ""
I think, it is somehow connected with regions, but how it cud be?
Beauty is, the way to perfection.

Hail to the Ukraine!  :mf:

Snake

  • So little free time, so much to mod..
  • Moderators
  • Internet Addict
  • ****
  • Posts: 2542
  • "Play to win, not to not lose"
  • Awards Special Award for players of the EA's SWBF (2015) Recognizes someone who most generously donated funds to the site or the site Special Award for those that play the original SWBF To recognize Modders that make a most excellent contribution within the Month Intergalactic Clan War 1 Participant Releasing Multiple Mods on SWBFgamers.com
    • View Profile
    • =AaTc=
    • Awards
  • PSN: Octa-king
  • Tunngle ID: aatcsnake
Re: The "Strange .odf/.lua Line" Thread
« Reply #3 on: April 26, 2012, 05:48:48 PM »
Hmm, thats very strange, especially since it just has "" which gives us no example. Try removing the line and see what happens.
=AaTc= Forever

SALLY....

-Retired Modder

SleepKiller

  • Co-Admin
  • Internet Addict
  • ****
  • Posts: 2104
  • Awards To recognize Modders that make a most excellent contribution within the Month Releasing Multiple Mods on SWBFgamers.com
    • View Profile
    • Awards
  • Steam ID:
Re: The "Strange .odf/.lua Line" Thread
« Reply #4 on: April 26, 2012, 05:49:06 PM »
The ExtremeRange, is possible just a limit, how the grenade cud fly, after chargeup.
One of the realy strange line, I found, was in com_item_healthrecharge.odf:
[InstanceProperties]
EffectRegion        = ""
I think, it is somehow connected with regions, but how it cud be?
Well, here is what I think. I've never tested it but. You can either specify a sphere radius around the object for it to heel or manually create a region and define it there of were you want it to heel. This is also a way to create damage regions by setting a negative health value in the object.

Phobos

  • Poodoo
  • Just Registered
  • *
  • Posts: 0
  • Awards Shotgun Tournament 1st Place Award for extensive modding contributions and/or donations to TWD Battlefront Special Award for those that play the original SWBF To recognize Modders that make a most excellent contribution within the Month LeaderBoard 1 organized by GDH92 and ComSharpshot T.1 1v1 Tournament 1st Place organized by SleepKiller Releasing Multiple Mods on SWBFgamers.com Recognizes someone who most generously donated funds to the site or the site Special Award for those that play SWBF2
    • View Profile
    • Awards
Re: The "Strange .odf/.lua Line" Thread
« Reply #5 on: April 26, 2012, 05:58:53 PM »
a few interesting lua codes

SetDefenderSnipeRange(170)
- Not tested, my theory is that it may increase or maximize (in terms of weapon ODF range) AI sniper bot shooting range.

SetAllowBlindJetJumps(1)
- Set to 0 by default, set to 1 makes AI jets randomly jump around as if jet nodes were everywhere on the map.


Something else very odd, I keep seeing random Ankh symbols in various ODF files, removing them seems to have no impact on the game.
« Last Edit: April 26, 2012, 06:01:42 PM by Phobos »

Sereja

  • Master Modder
  • This Man Has No Life
  • ***
  • Posts: 1267
  • Waiting for medal.
  • Awards Award for extensive modding contributions and/or donations to TWD Battlefront Recognizes an exceptional artist on this site. Halloween Modding Contest 2012 To recognize Modders that make a most excellent contribution within the Month Releasing Multiple Mods on SWBFgamers.com
    • View Profile
    • Awards
Re: The "Strange .odf/.lua Line" Thread
« Reply #6 on: April 26, 2012, 06:04:18 PM »
But, for the spherical radius exist next line:
Radius          = 5.0
It is very hard, to making vacuum for my Polys Massa, cube shaped hangars with spherical radius .odf
It cud be realy nice, if it may lead to cube shaped regions...
Beauty is, the way to perfection.

Hail to the Ukraine!  :mf:

SleepKiller

  • Co-Admin
  • Internet Addict
  • ****
  • Posts: 2104
  • Awards To recognize Modders that make a most excellent contribution within the Month Releasing Multiple Mods on SWBFgamers.com
    • View Profile
    • Awards
  • Steam ID:
Re: The "Strange .odf/.lua Line" Thread
« Reply #7 on: April 28, 2012, 02:18:12 AM »
But, for the spherical radius exist next line:
Radius          = 5.0
It is very hard, to making vacuum for my Polys Massa, cube shaped hangars with spherical radius .odf
It cud be realy nice, if it may lead to cube shaped regions...
Yeah, make a region and call it through EffectRegion.

Unit 33

  • Co-Admin
  • Lavish Poster
  • ****
  • Posts: 3235
  • 100% Fresh fruit
  • Awards Award for extensive modding contributions and/or donations to TWD Battlefront Participated in the ICW5 Special Award for those that play the original SWBF ICW4 Participant ICW3 Participant Recognizes an exceptional artist on this site. To recognize Modders that make a most excellent contribution within the Month ICW2 Participant Intergalactic Clan War 1 Participant
    • View Profile
    • Awards
  • GR ID: 287863
  • PSN: Ansifen
  • Steam ID:
Re: The "Strange .odf/.lua Line" Thread
« Reply #8 on: April 28, 2012, 02:25:32 AM »
Something else very odd, I keep seeing random Ankh symbols in various ODF files, removing them seems to have no impact on the game.

Obviously a Logans' Run reference.

Sereja

  • Master Modder
  • This Man Has No Life
  • ***
  • Posts: 1267
  • Waiting for medal.
  • Awards Award for extensive modding contributions and/or donations to TWD Battlefront Recognizes an exceptional artist on this site. Halloween Modding Contest 2012 To recognize Modders that make a most excellent contribution within the Month Releasing Multiple Mods on SWBFgamers.com
    • View Profile
    • Awards
Re: The "Strange .odf/.lua Line" Thread
« Reply #9 on: April 28, 2012, 07:10:48 PM »
As I test it earlyer, this lines in .odf are totaly dead:
[InstanceProperties]
EffectRegion        = ""
Radius          = 5.0
But they works from zeroeditor! Well, at least the radius. I increase it to 99.0, and it's works fine. But with region I have no luck: I create effect region, and add this parameters:
EffectRegion: vacuum
Region ID: vacuum
Propertyes: FoleyFx vacuum
Type: FoleyFx
Gropup I.D. vacuum
I have no result, except, the game is crash after secondary loading. Well, I think it's better then nothing, and this mean, the game is "feel" this line.
The problem is, I probably choose wrong region type, or add some wrong parameters.
It cud be nice, if somebody, more experienced in region making, can test it, and in case of success, post a tutorial for this...
Beauty is, the way to perfection.

Hail to the Ukraine!  :mf:

Snake

  • So little free time, so much to mod..
  • Moderators
  • Internet Addict
  • ****
  • Posts: 2542
  • "Play to win, not to not lose"
  • Awards Special Award for players of the EA's SWBF (2015) Recognizes someone who most generously donated funds to the site or the site Special Award for those that play the original SWBF To recognize Modders that make a most excellent contribution within the Month Intergalactic Clan War 1 Participant Releasing Multiple Mods on SWBFgamers.com
    • View Profile
    • =AaTc=
    • Awards
  • PSN: Octa-king
  • Tunngle ID: aatcsnake
Re: The "Strange .odf/.lua Line" Thread
« Reply #10 on: May 10, 2012, 10:25:50 AM »
I found this in a non-stock model .odf

GeometryScale         = 0.04

I didn't know this was possible to use in an .odf.  :blink:\

I also tested it out and it works. Although for some reason when I made it smaller and placed it in ZE it moved over several feet in game.
=AaTc= Forever

SALLY....

-Retired Modder

Sereja

  • Master Modder
  • This Man Has No Life
  • ***
  • Posts: 1267
  • Waiting for medal.
  • Awards Award for extensive modding contributions and/or donations to TWD Battlefront Recognizes an exceptional artist on this site. Halloween Modding Contest 2012 To recognize Modders that make a most excellent contribution within the Month Releasing Multiple Mods on SWBFgamers.com
    • View Profile
    • Awards
Re: The "Strange .odf/.lua Line" Thread
« Reply #11 on: May 10, 2012, 10:44:25 AM »
The scale parameter in .odf must be similar with scale parameters in .msh.option file: .odf woks for zeroeditor view, .msh.option for game.
Beauty is, the way to perfection.

Hail to the Ukraine!  :mf:

Snake

  • So little free time, so much to mod..
  • Moderators
  • Internet Addict
  • ****
  • Posts: 2542
  • "Play to win, not to not lose"
  • Awards Special Award for players of the EA's SWBF (2015) Recognizes someone who most generously donated funds to the site or the site Special Award for those that play the original SWBF To recognize Modders that make a most excellent contribution within the Month Intergalactic Clan War 1 Participant Releasing Multiple Mods on SWBFgamers.com
    • View Profile
    • =AaTc=
    • Awards
  • PSN: Octa-king
  • Tunngle ID: aatcsnake
Re: The "Strange .odf/.lua Line" Thread
« Reply #12 on: May 10, 2012, 11:10:08 AM »
Ohhh, it all makes sense now, thanks, that helped a lot!
=AaTc= Forever

SALLY....

-Retired Modder

Snake

  • So little free time, so much to mod..
  • Moderators
  • Internet Addict
  • ****
  • Posts: 2542
  • "Play to win, not to not lose"
  • Awards Special Award for players of the EA's SWBF (2015) Recognizes someone who most generously donated funds to the site or the site Special Award for those that play the original SWBF To recognize Modders that make a most excellent contribution within the Month Intergalactic Clan War 1 Participant Releasing Multiple Mods on SWBFgamers.com
    • View Profile
    • =AaTc=
    • Awards
  • PSN: Octa-king
  • Tunngle ID: aatcsnake
Re: The "Strange .odf/.lua Line" Thread
« Reply #13 on: June 08, 2012, 01:44:08 PM »
I found these lines in cis_hover_mtt.odf

NoCombatInterrupt      = "1"

also,

ScanningRange      = "60.0"
TransmitRange      = "60.0"

The explanation line right above those last two lines is:
Quote
// dont know if these are working for vehicles but it would be cool
=AaTc= Forever

SALLY....

-Retired Modder

Phobos

  • Poodoo
  • Just Registered
  • *
  • Posts: 0
  • Awards Shotgun Tournament 1st Place Award for extensive modding contributions and/or donations to TWD Battlefront Special Award for those that play the original SWBF To recognize Modders that make a most excellent contribution within the Month LeaderBoard 1 organized by GDH92 and ComSharpshot T.1 1v1 Tournament 1st Place organized by SleepKiller Releasing Multiple Mods on SWBFgamers.com Recognizes someone who most generously donated funds to the site or the site Special Award for those that play SWBF2
    • View Profile
    • Awards
Re: The "Strange .odf/.lua Line" Thread
« Reply #14 on: June 08, 2012, 02:25:01 PM »
I found these lines in cis_hover_mtt.odf

NoCombatInterrupt      = "1"

also,

ScanningRange      = "60.0"
TransmitRange      = "60.0"

The explanation line right above those last two lines is:

Not sure what nocombatinterrupt is for, but the 2nd set of codes you posted I would suggest deleting due to this forums ethical view towards radar. (Edit: According to Led discussion of Radar is allowed) The larger the value, the further distance you can see enemies (red arrows) on your minimap.

Quote from: Psych0fred
ScanningRange - range within which enemy units show up on the map display
TransmitRange - range within which friendly units receive scan data
(These only affect the map display)

« Last Edit: June 08, 2012, 02:42:10 PM by Phobos »