Author Topic: "carry no damage flag" not working?  (Read 2852 times)

0 Members and 1 Guest are viewing this topic.

Offline Spoon

  • 212
  • ヾ(´︶`♡)ノ
"carry no damage flag" not working?
So I have this model with a big shield subsystem submodel. I gave that submodel the "carry no damage" flag.
According to the wiki it's suppose to:
"# "carry no damage"
    * Damage caused to the subsystem will not carry over to the parent ship "
Alas when I shoot at the shield both the ship and the shield get damaged.

Code: [Select]
$Subsystem: Armshield, 15.5, 1.0
$Flags: ("carry no damage")

Any as to clue why?

Urutorahappī!!

[02:42] <@Axem> spoon somethings wrong
[02:42] <@Axem> critically wrong
[02:42] <@Axem> im happy with these missions now
[02:44] <@Axem> well
[02:44] <@Axem> with 2 of them

 

Offline Spoon

  • 212
  • ヾ(´︶`♡)ノ
Re: "carry no damage flag" not working?
an other oddity

For some reason every subsystem is listed as weapons
Urutorahappī!!

[02:42] <@Axem> spoon somethings wrong
[02:42] <@Axem> critically wrong
[02:42] <@Axem> im happy with these missions now
[02:44] <@Axem> well
[02:44] <@Axem> with 2 of them

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
Re: "carry no damage flag" not working?
What build are you using? Have you run a debug build?
Do not meddle in the affairs of coders for they are soggy and hard to light

 

Offline Spoon

  • 212
  • ヾ(´︶`♡)ノ
Re: "carry no damage flag" not working?
5495
Debug gives a few none important messages about docking points, runs the test mission and freespace then crashes back to desktop with no debug error after 10 seconds
Urutorahappī!!

[02:42] <@Axem> spoon somethings wrong
[02:42] <@Axem> critically wrong
[02:42] <@Axem> im happy with these missions now
[02:44] <@Axem> well
[02:44] <@Axem> with 2 of them

 

Offline Dragon

  • Citation needed
  • 212
  • The sky is the limit.
Re: "carry no damage flag" not working?
Fix the docking points if you can, 3.6.11 debugs sometimes crash because of warnings, I don't know why.
I always fix everything that I can before posting a log, this makes it a lot clearer and ensures that crash isn't caused by issue highlighted previously by warning.

 

Offline Spoon

  • 212
  • ヾ(´︶`♡)ノ
Re: "carry no damage flag" not working?
Fix the docking points if you can, 3.6.11 debugs sometimes crash because of warnings, I don't know why.
I always fix everything that I can before posting a log, this makes it a lot clearer and ensures that crash isn't caused by issue highlighted previously by warning.
Pretty sure it's not caused by the docking points though. It merely complains that I do not have any or enough docking points assigned to my ships. The weird subsystem glitch only happens with 1 ship, the others are fine. So I guess I have to look whats causing it.

The 'carry no damage' flag remains a mystery for me though
Urutorahappī!!

[02:42] <@Axem> spoon somethings wrong
[02:42] <@Axem> critically wrong
[02:42] <@Axem> im happy with these missions now
[02:44] <@Axem> well
[02:44] <@Axem> with 2 of them

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
Re: "carry no damage flag" not working?
Humm... mmh... seems like subsystem damage 'leftovers' are not scaled back using subsystem factor which causes only the subsystem damage from being exempted from the hull damage... Which probably should count as a bug - could be intentional though.

EDIT: That is this seems to happen ATM... The amout of damage caused is multiplied by the subsystem damage factor of the weapon. In return if the 'carry no damage' flag is set the subsystem damage (or the remaining hitpoints of the subsystem - which ever was smaller) are deducted from the damage. And the damage value is used to determine damage caused to the hull.

Now in ideal case subsystem factor is 1 and nothing is passed through the 'carry no damage' block. However most often subsystem factor is < 1 which leads to this case.

Or so it seems.
« Last Edit: August 01, 2009, 05:04:24 am by Wanderer »
Do not meddle in the affairs of coders for they are soggy and hard to light

 

Offline Spoon

  • 212
  • ヾ(´︶`♡)ノ
Re: "carry no damage flag" not working?
So a workaround would be to give all weapons a subsystem damage multiplier of 1.0?
Urutorahappī!!

[02:42] <@Axem> spoon somethings wrong
[02:42] <@Axem> critically wrong
[02:42] <@Axem> im happy with these missions now
[02:44] <@Axem> well
[02:44] <@Axem> with 2 of them

 

Offline Aardwolf

  • 211
  • Posts: 16,384
Re: "carry no damage flag" not working?
Ahhh, I get it...

Weapons (in general) do X damage to the hull, and if there's a subsystem in the way, Y damage to that (in addition to the hull damage). The carry no damage flag is currently set up so that, if used, it will do X-Y damage to the hull, and Y damage to the subsystem...

I can see why it was written the way it was, but it's stupid, and I reckon it should be changed.

Spoon: I think you will want to make the subs. damage equal to the hull damage unless/until this gets changed. That or 1.0...

 

Offline Spoon

  • 212
  • ヾ(´︶`♡)ノ
Re: "carry no damage flag" not working?
I see, Thanks for the explanations guys. So it's not a bug, it's just that the flag works differently from what is written in the wiki.
I guess armed with this info, I might be able to find a way to work around it...
Urutorahappī!!

[02:42] <@Axem> spoon somethings wrong
[02:42] <@Axem> critically wrong
[02:42] <@Axem> im happy with these missions now
[02:44] <@Axem> well
[02:44] <@Axem> with 2 of them

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
Re: "carry no damage flag" not working?
I considered it to being a bug. Should be fixed in next nightly build.
Do not meddle in the affairs of coders for they are soggy and hard to light

 

Offline Spoon

  • 212
  • ヾ(´︶`♡)ノ
Re: "carry no damage flag" not working?
I considered it to being a bug. Should be fixed in next nightly build.
:yes:
Thanks Wanderer!
Urutorahappī!!

[02:42] <@Axem> spoon somethings wrong
[02:42] <@Axem> critically wrong
[02:42] <@Axem> im happy with these missions now
[02:44] <@Axem> well
[02:44] <@Axem> with 2 of them

  

Offline Mav

  • 28
  • location: Shivan fleet - closing in on GTVA space
Re: "carry no damage flag" not working?
Hm... maybe make it three options? Like:

* no flag:   Y, then X   (FS standard behaviour)
* "carry-no-damage"-flag:   Y, then none
* some new flag:   Y, then X-Y

That's just a suggestion, but I'd think some people might like the X-Y "blocking" behaviour for their mods, as it's a somewhat "natural" way of how you'd expect damage to work...   (Though personally, I don't really need it.)
-__ o_O___O_o
I______O_O_______dragons
________o

-----------------------------------
capship shields DO WORK !!!
my models, now with pics
test mission for commanding capships
-----------------------------------
suffering from a late stage of BoE-infection - DON'T call a doctor, it's too late for that anyway ;o)