Problem with weapon !!

Discussion in 'Starcraft 2 (SC2) Editor Help' started by MissKerrigan, Oct 9, 2012.

  1. MissKerrigan

    MissKerrigan Active Member

    Ratings:
    +23 / 0 / -0
    Hello,

    I got the next PROBLEM:

    I gave the sensor tower the disruption beam and set the 'arc' of the weapon to 360
    For SOME REASON the computer automatically sets it back to 0 everytime !!

    Does someone knows what's going on here?
    It really drives me crazy

    MissKerrigan
     
  2. Siretu

    Siretu Starcraft 2 Editor Moderator Staff Member

    Ratings:
    +295 / 0 / -0
    I think it got bugged in the latest patch. Try entering something like "358" instead.
     
  3. Dave312

    Dave312 Censored for your safe viewing

    Ratings:
    +269 / 0 / -0
    I agree with Siretu that it was bugged in the latest patch. However you can still set it to 360 by turning on the view mode Raw Data and then setting it to 360, then turning Raw Data off.
     
  4. MissKerrigan

    MissKerrigan Active Member

    Ratings:
    +23 / 0 / -0
    what's raw data? and how I get there?
     
  5. X-maul

    X-maul AKA: Demtrod

    Ratings:
    +200 / 0 / -0
    Click this button:
    [​IMG]
    Then you will be able to modify the raw data. This will also mean that if you modify it to something wrong, it wont be able to change the data.
    (when you are unexpirienced I'd suggest you to save your map before editing anything in XML View).
    When you are done, you just change back to your prefered view version.
     
    • Like Like x 1
  6. Dave312

    Dave312 Censored for your safe viewing

    Ratings:
    +269 / 0 / -0
    I actually meant Raw Data, not XML but XML should work anyway. To change the view to raw data, go View -> Raw Data
     
    • Like Like x 1
  7. X-maul

    X-maul AKA: Demtrod

    Ratings:
    +200 / 0 / -0
    oh, yeah - that seems to be a bit more comfortable.
     
  8. MissKerrigan

    MissKerrigan Active Member

    Ratings:
    +23 / 0 / -0
    it this like a 'script'?
     
  9. X-maul

    X-maul AKA: Demtrod

    Ratings:
    +200 / 0 / -0
    Uhm, well the XML View is how it actually looks, When you view it as you usually does, with the different fields, it's actually the editor that displays it for you in a easier way for you to read and modify.
    The RAW data is also a version that is closer to how it actually looks, but it is still sorted in fields. Which makes it easier to modify.
     
  10. MissKerrigan

    MissKerrigan Active Member

    Ratings:
    +23 / 0 / -0
    But if I modify the 'raw data', doesn't the computer moves it back also then to 0?
     
  11. Dave312

    Dave312 Censored for your safe viewing

    Ratings:
    +269 / 0 / -0
    Nope. Raw Data also turns off the data validation so you can type in values that you normally wouldn't be able to.
     
  12. MissKerrigan

    MissKerrigan Active Member

    Ratings:
    +23 / 0 / -0
    Ok there is nothing in the raw data exept the weapons 'range' 'period' and 'legecy'....
     
  13. Dave312

    Dave312 Censored for your safe viewing

    Ratings:
    +269 / 0 / -0
    The Raw Data name for the Arc property is Stats: CWeapon_Arc
     
  14. MissKerrigan

    MissKerrigan Active Member

    Ratings:
    +23 / 0 / -0
    <CWeaponLegacy id="DisruptionBeam">
    <EditorCategories value="Race:protoss"/>
    <Icon value="Assets\Textures\btn-upgrade-protoss-groundweaponslevel0.dds"/>
    <DisplayEffect value="DisruptionBeamDamage"/>
    <TargetFilters value="Visible;Missile,Stasis,Dead,Hidden,Invulnerable"/>
    <Period value="1"/>
    <LegacyOptions index="CanRetargetWhileChanneling" value="1"/>
    </CWeaponLegacy>


    nothing about 'arc' I can change
     
  15. Dave312

    Dave312 Censored for your safe viewing

    Ratings:
    +269 / 0 / -0
    Use the Raw Data view (Ctrl + D) rather than XML because XML will nly show you values that you have edited.

    So all you need to do is select your weapon in the object list, press Ctrl + D (to turn on the Raw Data View), then find the Stats: CWeapon_Arc and set it to 360. Then press Ctrl + D again to turn off Raw Data View.
     
  16. MissKerrigan

    MissKerrigan Active Member

    Ratings:
    +23 / 0 / -0
    thanks
     

Share This Page