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

Gold Man

  • Comic Team Moderator and Alpha Clan Retiree
  • This Man Has No Life
  • *****
  • Posts: 1876
  • Just chillin'.
  • Awards Special Award for those that play the original SWBF ICW4 Participant ICW3 Participant Intergalactic Clan War 1 Participant
    • View Profile
    • Awards
  • PSN: Bronzium
  • Steam ID:
  • Tunngle ID: goldman27
Re: The "Strange things" Thread
« Reply #105 on: November 21, 2014, 09:13:50 PM »
I could see some kind of emp grenade using that..
DO WANT!

It would make my dream of a TCW mod/mod map come true! :D

Shoot me a membergroup request if you want to join our Comic Team! :D

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 things" Thread
« Reply #106 on: December 17, 2014, 03:54:07 PM »
Fun fact: Did you know that command centers (Like the clone one at geonosis) was supposed to be used like a non-moving vehicle to order orbital strikes?

Spoiler (click to show/hide)
=AaTc= Forever

SALLY....

-Retired Modder

Gistech

  • Imperial Shock Trooper
  • Moderators
  • This Man Has No Life
  • ****
  • Posts: 1800
  • Awards Releasing Multiple Mods on SWBFgamers.com
    • View Profile
    • Awards
  • PSN: ggctuk
  • Steam ID:
Re: The "Strange things" Thread
« Reply #107 on: December 17, 2014, 04:01:04 PM »
Neat! Does that actually still work, though?
Works in Progress:
--Star Wars: Battlefront Legacy (Phase 1 released - Phase 2 in development, base game due 2017)

Davenport

  • The Resident Bird
  • {Alpha}
  • This Man Has No Life
  • *****
  • Posts: 1369
  • Captain of The Alpha Clan [TAC]
  • Awards Recognizes someone who most generously donated funds to the site or the site Special Award for those that play SWBF2 Special Award for those that play the original SWBF
    • View Profile
    • The Alpha Clan
    • Awards
  • PSN: Only_Whisper
  • Steam ID:
Re: The "Strange things" Thread
« Reply #108 on: December 17, 2014, 04:24:10 PM »
Actually, I heard something like that in 2008, when I started playing. Now, Snake can prove the theory! Awesome find, man!

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 things" Thread
« Reply #109 on: December 17, 2014, 05:23:28 PM »
The scratched imperial command center is the one with the coding like that. I tested it out and I see why they left it out of the game. You have to aim the orbital strike from a poorly situated camera angle and fire the orb thing that signals the orbital strike. It would be cool if you could do have an above angle of the map, as if one was controlling the gun of a ship in orbit.

=AaTc= Forever

SALLY....

-Retired Modder

Ginev

  • Master Modder
  • Advanced Member
  • ***
  • Posts: 691
  • Nub Nub
  • Awards Award for extensive modding contributions and/or donations to TWD Battlefront Releasing Multiple Mods on SWBFgamers.com
    • View Profile
    • Awards
  • Steam ID:
Re: The "Strange things" Thread
« Reply #110 on: May 06, 2015, 04:54:28 PM »
Sorry guys i am little late in this topic here but i am sure i can solve some misterys.
I will answer to few questions.Some of them are from page one.

---------------------------------
1.Sereja:
[InstanceProperties]
EffectRegion        = ""
I think, it is somehow connected with regions, but how it cud be?


I remember i tryed this.
Let say you make a custom healthrecharge odf and you use it on your map.
In the EffectRegion section you add the name of your region (also placed ingame)
Dont forget to add the region in your lua aswell.The result?
Well ingame when you go to that region the healtrecharge droid will heal you for example.
----------------------------------

2.Phobos:
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.



I test this lines aswell.The first one works with in combination with defence hint node.
You can place the hint node in zeroeditor.When a sniper class soldier go to that hint node
he will ahve increased range of fire.

About the SetAllowBlindJetJumps this prevent all units with jets to jump when its set to (1)
You can add jump hint nodes in zeroeditor and when the jetroopers find the node then they will jump.
This line is used in BF2 Kashyyyk map.You know on the beach there is alot of barricades.Sometimes all
unit classes simply jump over them.
----------------------------------

3.Snake:
ChunkPhysics            = "FULL"



I test this on a ball shaped object.I made it destroyable and when i destroy it the ball
simply start to rolling on the ground.However the ball dont have collision.
I found also that there is other
ChunkPhysics types.If i remember correctly they was "SIMPLE" which is the same like
"FULL" but they have collision and my ball dont roll but more like sliding downhill.
I think this was used for the Endor woods trap with the rolling woods which destroys the passing AT-ST.
The other was "COCKPIT".The problem is i dont remember what this actually do.It was not interesting
otherwise ill probably remember it.The next one was "LEAF".This is used for example destroyable trees
where when you destroy them you can make the leafs msh models fall just like real leafs on the ground.
There was one more type that i dont remember...sorry about that.
---------------------------------

4.Phobos:
Code: [Select]

SetAIVehicleNotifyRadius(64)


This is taken from platforms LUA and can be seen in various other stock maps with flyer vehicles.



This is used for AIs.I think 64 is default.AIs in 64 range away from any vehicle will return and
will try to enter the vehicle.If the Ai is too far away for example (65) he will not come back for
the vehicle.Its not good to set this value too high because bots will return from far away just to
enter a vehicle.
----------------------------------

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 things" Thread
« Reply #111 on: May 07, 2015, 08:21:02 PM »
Sorry guys i am little late in this topic here but i am sure i can solve some misterys.
I will answer to few questions.Some of them are from page one.
----------------------------------
2.Phobos:
SetDefenderSnipeRange(170)
- Not tested, my theory is that it may increase or maximize (in terms of weapon ODF range) AI sniper bot shooting range.

I test this lines aswell.The first one works with in combination with defence hint node.
You can place the hint node in zeroeditor.When a sniper class soldier go to that hint node
he will ahve increased range of fire.

Nice discovery. So the SetDefenderSnipeRange code allows sniper AI (UnitType=Scout) to shoot players from further distance than default limit for other units? I'm wondering if you made a giant sniper hintnode that covered the entire map, and set the LUA line to 9999, if AI could snipe players from across the map. The default cutoff range for stock sniper is 2000 velocity * 0.15 lifespan so would want to increase that for testing. If this trick worked you could in theory add unlimited shot range to all AI units :o

Ginev

  • Master Modder
  • Advanced Member
  • ***
  • Posts: 691
  • Nub Nub
  • Awards Award for extensive modding contributions and/or donations to TWD Battlefront Releasing Multiple Mods on SWBFgamers.com
    • View Profile
    • Awards
  • Steam ID:
Re: The "Strange things" Thread
« Reply #112 on: May 21, 2015, 04:10:19 AM »
The only mistery that i didn't solve is how to increase the number of shots that are produced at once ingame.Before some time i made a cool winter map and all my classes were using machine guns (they shoot really fast).When i test the map i found out that when alot of Ais are shooting when i try to shoot i lose ammo but laser dont come out of my weapon and i cant kill no one.This mean that the game have limit for laser shots.I was thinking that if i increase the number of this line in the lua: SetMemoryPoolSize("Aimer", 200) it will work but sadly no.(I dont know what this line mean anyway :D )

RepComm

  • Internet Addict
  • *****
  • Posts: 2500
  • Yeah, I painted that!
  • Awards Award for extensive modding contributions and/or donations to TWD Battlefront ICW2 Participant
    • View Profile
    • Awards
Re: The "Strange things" Thread
« Reply #113 on: May 21, 2015, 08:06:31 AM »
Sereja once had some clever explanation of the Aimer memory pool, but I can only remember it being something about how AIs were programmed.
--
That would be effect over load. The guns still fire with an internal (not visible) shot, but the effects will be ignored if there are too many on the map at once. (Increase the life of the sniper laser for example. You can shoot a few hundred of them off and have a bunch of long beams on your map, but then the gun just won't fire until they start disappearing).

edit- If you try to fire any weapon that uses a visual effect (all of them) near a large number of particles/effects, one or the other may start disappearing (I think battlefront is optimized to always choose the leave dynamically spawned particle systems (such as weapon fire and explosions) out in the event of particle overload).
« Last Edit: May 21, 2015, 08:29:30 AM by -RepubliqueCmdr- »

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 #114 on: May 01, 2017, 01:01:49 PM »
Based on recent mod testing this appears to be what certain vehicle properties do:

Code: [Select]
AvailableForAnyTeam = "1" // 1 allows AI from other teams to take the vehicle if unoccupied
IsPilotExposed = "1" // 0 prevents pilot death unless the vehicle is destroyed, 1 exposes pilot to being shot and killed while in the vehicle
MovingTurnOnly = "1" // 0 enables vehicular strafing like the AAT, 1 prevents strafing like the hailfire droid
NoCombatInterrupt = "1" // 1 makes AI use vehicle only for transport other AI directly to cps while avoiding combat

Gistech

  • Imperial Shock Trooper
  • Moderators
  • This Man Has No Life
  • ****
  • Posts: 1800
  • Awards Releasing Multiple Mods on SWBFgamers.com
    • View Profile
    • Awards
  • PSN: ggctuk
  • Steam ID:
Re: The "Strange things" Thread
« Reply #115 on: May 11, 2017, 04:09:08 AM »
Though not listed under the ODF list for "soldier" in the documentation, any "Soldier" class unit can use the command "ForceMode" to stop people from going into FPS mode with their unit. I just discovered this while testing my Jyn Erso models and A180 ODFs. It comes in handy if you're making Jedi playable units.
« Last Edit: May 11, 2017, 04:11:16 AM by Gistech »
Works in Progress:
--Star Wars: Battlefront Legacy (Phase 1 released - Phase 2 in development, base game due 2017)