Guns on base parts that behave oddly

There are 9 replies in this Thread. The last Post () by SWAT_OP-R8R.

  • I bolted on a few extras to Newgate prison and did a special loadout for the addon base part identical to the main base section, but with different lights. I'm taking about the prison station model. Here's a piccie to show you what i mean



    So the issue i'm having is this. The three prison models behave oddly when under attack. If i attack the base by myself, ONLY the main section fires at me, the middle dockable section. If the pirates attack the station via a patrol path i put in there, then all three sections fire at whoever is attacking. Why not with me? Am i not worthy or is this some FL bug i've not noticed until now?

  • do these additional parts have a faction type assigned?
    + scanner
    + pilot



    if the answer is yes then id like to point out a small difference between you and the npcs


    npcs are by by definition either hostile or friendly... so when they come in range all stations fire on them
    but when you are near the station you are probably neutral or friendly to them and then you shoot one of them
    in that case only the station that you shoot at might turn hostile if the above mentioned stuff is not done (IIRC)

    signew.jpg


    cfmoddblogo.png5904.png5904.png
    http://www.moddb.com/scripts/topsite.php?ts=4766


    Only dead fish swim with the stream.
    Don't discuss with idiots. They only drag you down to their level and then beat you with experience there.


    This is ten percent luck,
    Twenty percent skill,
    Fifteen percent concentrated power of will,
    Five percent pleasure,
    Fifty percent pain,
    And a hundred percent reason to remember the name!

  • Hi OP,


    Here's the code,



    [Object]
    nickname = Br02_01
    ids_name = 196666
    pos = 3623, 0, 30785
    rotate = 0, -135, 0
    archetype = prison
    ids_info = 65689
    base = Br02_01_Base
    dock_with = Br02_01_Base
    reputation = br_p_grp
    behavior = NOTHING
    voice = atc_leg_f01
    space_costume = pl_female2_head, br_female_guard_body
    difficulty_level = 6
    loadout = prison_br_01
    pilot = pilot_solar_hardest


    [Object]
    nickname = Br02_01_prison_nodock_01
    rotate = 0, -135, 0
    pos = 3623, 309, 30785
    archetype = prison_nodock
    parent = Br02_01
    reputation = br_p_grp
    behavior = NOTHING
    pilot = pilot_solar_hardest
    difficulty_level = 6
    loadout = prison_br_01_nodock


    [Object]
    nickname = Br02_01_prison_nodock_02
    rotate = 0, 225, 0
    pos = 3623, -309, 30785
    archetype = prison_nodock
    parent = Br02_01
    reputation = br_p_grp
    behavior = NOTHING
    pilot = pilot_solar_hardest
    difficulty_level = 6
    loadout = prison_br_01_nodock


    I agree that i'm neutral when i attack but it doesn't seem to matter which part of the base i attack, only the main dockable section shoots back at me. As you can see the parent section is fine and slaved to the base so in theory, all three sections should open up on me, but they don't. Very strange. Yet for NPC's, all hell breaks loose.

  • can you outcomment the parent and try again?

    signew.jpg


    cfmoddblogo.png5904.png5904.png
    http://www.moddb.com/scripts/topsite.php?ts=4766


    Only dead fish swim with the stream.
    Don't discuss with idiots. They only drag you down to their level and then beat you with experience there.


    This is ten percent luck,
    Twenty percent skill,
    Fifteen percent concentrated power of will,
    Five percent pleasure,
    Fifty percent pain,
    And a hundred percent reason to remember the name!

  • Tried that, still behaves the same. Don't get me wrong, i can live with how it is, i'm just trying to understand why only the dockable part attacks players but the whole thing attacks npc's. I suspect this is hardcoded somewhere, although why it should be like this, i don't know. It's really stupid behaviour

  • what type are the other parts of the station?
    nontargetable?
    mission sat?

    signew.jpg


    cfmoddblogo.png5904.png5904.png
    http://www.moddb.com/scripts/topsite.php?ts=4766


    Only dead fish swim with the stream.
    Don't discuss with idiots. They only drag you down to their level and then beat you with experience there.


    This is ten percent luck,
    Twenty percent skill,
    Fifteen percent concentrated power of will,
    Five percent pleasure,
    Fifty percent pain,
    And a hundred percent reason to remember the name!

  • The only other items attached are,



    [Object]
    nickname = Br02_01_freeport7_space_dome
    rotate = 0, -45, 0
    pos = 3300, -4, 30461
    archetype = freeport7_space_dome
    parent = Br02_01
    reputation = br_p_grp


    [Object]
    nickname = Br02_01_space_tankl4x4_01
    rotate = 0, 45, 0
    pos = 3827, 0, 30989
    archetype = space_tankl4x4
    parent = Br02_01
    reputation = br_p_grp


    The item i call the prison_nodock is the standard prison model defined as NON_TARGETABLE


    The Freeport 7 space dome is set to SATELLITE and the space_tankl4x4 is set to NON_TARGETABLE



  • replace the NON_TARGETABLE with Mission satellite or satellite

    signew.jpg


    cfmoddblogo.png5904.png5904.png
    http://www.moddb.com/scripts/topsite.php?ts=4766


    Only dead fish swim with the stream.
    Don't discuss with idiots. They only drag you down to their level and then beat you with experience there.


    This is ten percent luck,
    Twenty percent skill,
    Fifteen percent concentrated power of will,
    Five percent pleasure,
    Fifty percent pain,
    And a hundred percent reason to remember the name!

  • but that does not make sense

    signew.jpg


    cfmoddblogo.png5904.png5904.png
    http://www.moddb.com/scripts/topsite.php?ts=4766


    Only dead fish swim with the stream.
    Don't discuss with idiots. They only drag you down to their level and then beat you with experience there.


    This is ten percent luck,
    Twenty percent skill,
    Fifteen percent concentrated power of will,
    Five percent pleasure,
    Fifty percent pain,
    And a hundred percent reason to remember the name!