Attachment Points

Discussion in 'Starcraft 2 (SC2) Editor Help' started by BlowingKush, Apr 26, 2010.

  1. BlowingKush

    BlowingKush I hit the blunt but the blunt hit me.

    Ratings:
    +183 / 0 / -0
    Anyone had any luck using attachment points?

    I am trying to create a unit (bullet) on the weapon attachment point of a Marine gun. (the end of the barrell)
    There is a trigger that returns an attachment point, dunno how to use it.
    And what reference the attachment points, Bone = 24? tried all 3 names


    how would you go about triggering this?
    [​IMG]
     
  2. kioSk

    kioSk New Member

    Ratings:
    +1 / 0 / -0
    Looks like Bone 24 of the rigging "inside" is at the nozzle of the gun. Which Trigger are you talking about?
     
  3. BlowingKush

    BlowingKush I hit the blunt but the blunt hit me.

    Ratings:
    +183 / 0 / -0
    UnitGetAttachmentPoint

    It is under Unit.

    All I want to do is create a unit at the end of the barrell

    what in the fuck do you pass this function?

    I see in the data editor where you can add attachprops id and key but I cant make sense of how you use these values with
    UnitGetAttachmentPoint ()


    [​IMG]
    [​IMG]
    This should create a Baneling at the end of gMovementUnit (my marine) gun barrell, but it erros out in the game.

    2 days and ive made 0 progress
     
  4. 13lade619

    13lade619 is now a game developer :)

    Ratings:
    +399 / 0 / -0
    tried the "e_attachWeapon" string or any of its derivatives?
     
  5. BlowingKush

    BlowingKush I hit the blunt but the blunt hit me.

    Ratings:
    +183 / 0 / -0
    ya e_attachWeapon didnt do anything either
     
  6. Ancanus

    Ancanus [ancanus@TheHelper.net]# _

    Ratings:
    +54 / 0 / -0
    Have you tried just Weapon?

    That's how I attach longer energy beams to my dark templars using the Attach Actor to Unit trigger.
     
  7. BlowingKush

    BlowingKush I hit the blunt but the blunt hit me.

    Ratings:
    +183 / 0 / -0
    After testing overload119 Stalker demo, using a projectile system, i may just switch to that instead of using a unit as a bullet.

    Not sure if a marines gunfire is an actual projectile or an effect though.
     
  8. Sensang

    Sensang TH.net Regular

    Ratings:
    +7 / 0 / -0
    It's an effect. There is no projectile.
     
  9. Ancanus

    Ancanus [ancanus@TheHelper.net]# _

    Ratings:
    +54 / 0 / -0
    And I believe that overload199's stalker demo still uses an unit as a bullet. (;
     
  10. 13lade619

    13lade619 is now a game developer :)

    Ratings:
    +399 / 0 / -0
    every projectile is a unit.
     
  11. Sevion

    Sevion The DIY Ninja

    Ratings:
    +423 / 0 / -0
    Wrong. Every projectile is an Actor.
     
  12. Ancanus

    Ancanus [ancanus@TheHelper.net]# _

    Ratings:
    +54 / 0 / -0
    This actually depends if you define the projectile as the visual entity that is projected from the model's weapon, of the set of miscellaneous characteristics that define it.
    Although, you can have projectiles without actors.
     
  13. BlowingKush

    BlowingKush I hit the blunt but the blunt hit me.

    Ratings:
    +183 / 0 / -0

    if it was a unit he would need to create it, but he doesn't. He simply orders his unit to attack

    [​IMG]
     
  14. Sensang

    Sensang TH.net Regular

    Ratings:
    +7 / 0 / -0
    lol. Wrong it's a square not a rectangle! :nuts:

    the weapon creates the projectile unit -.-
    just look at the data editor. He is attacking a point with the weapon of his stalker. The conversation in the thread was about the projectile which is a unit in the data editor. He explained to us how to make projectiles collide upon units. Since i recaptured what he did I'm 100% sure he uses projectiles/units.
     
  15. 13lade619

    13lade619 is now a game developer :)

    Ratings:
    +399 / 0 / -0
    really?... i thought EVERYTHING needs an actor to actually appear in-game.
     
  16. BlowingKush

    BlowingKush I hit the blunt but the blunt hit me.

    Ratings:
    +183 / 0 / -0
    This means that the cat is both dead and alive until the box is opened right?
     
  17. Ancanus

    Ancanus [ancanus@TheHelper.net]# _

    Ratings:
    +54 / 0 / -0
    Indeed, but you don't always need projectiles to appear in-game. (;
     
  18. BlowingKush

    BlowingKush I hit the blunt but the blunt hit me.

    Ratings:
    +183 / 0 / -0
    Seems to me like projectiles without Actors is kind of like masterbation
    its fun and all, but in the end, you would rather be having sex.
     
  19. Sensang

    Sensang TH.net Regular

    Ratings:
    +7 / 0 / -0
    this. :D
     

Share This Page