1. Post #1441
    Gold Member
    noobcake's Avatar
    November 2006
    3,623 Posts
    another idea for an event, player model

    it is defined in the player group itself however, to avoid tedium of various sorts with existing configurations

    also, you'll want to create a bone under the part, attach it to the head, and edit the scale of the bone (set it to 0)

    and thanks caps, your fix worked

    it works until you create a configuration

    as long as you don't have an outfit loaded, external edits to color and material work fine

    here's an idea: only set the color and material once, when the config is loaded

    leave them alone after that
    Reply With Quote Edit / Delete Windows XP United States Show Events

  2. Post #1442
    NovaProspekt's Avatar
    August 2010
    28 Posts
    So i should spawn then part first, then the bone for the head, shrink the bone, then merge?
    Reply With Quote Edit / Delete Windows 7 United States Show Events

  3. Post #1443
    Gold Member
    noobcake's Avatar
    November 2006
    3,623 Posts
    yeah
    Reply With Quote Edit / Delete Windows XP United States Show Events

  4. Post #1444
    NovaProspekt's Avatar
    August 2010
    28 Posts
    Huh...still getting it headless. Should the model I'm not shrinking be linked to a different bone?

    Or, would it be possible for you to tell me how you did it?
    Reply With Quote Edit / Delete Windows 7 United States Show Events

  5. Post #1445
    CapsAdmin's Avatar
    August 2005
    3,893 Posts
    events:
    removed primary_ammo_empty
    removed secondary_ammo_empty

    added primary_ammo_equals
    added secondary_ammo_equals
    added primary_ammo_above
    added secondary_ammo_above

    added in_vehicle
    added model_equals
    added model_find

    -

    i can't add health because health it isn't networked
    Reply With Quote Edit / Delete Windows 7 Norway Show Events

  6. Post #1446
    Gold Member
    noobcake's Avatar
    November 2006
    3,623 Posts
    what about my suggestion for the color/material override

    Edited:

    how do model_find and model_equals work
    Reply With Quote Edit / Delete Windows XP United States Show Events

  7. Post #1447
    CapsAdmin's Avatar
    August 2005
    3,893 Posts
    what about my suggestion for the color/material override

    Edited:

    how do model_find and model_equals work
    model_find can partially match the model you want to match (like weapon class), equal needs to be completely accurate

    This is confusing though and I will probably remove equal or find a better way. I was in a hurry and implemented this on my way out.

    Edited:

    added brightness
    color is now 0-255
    fixed color panel not updating properties
    fixed color alpha and material for both gmod 12 and 13, but scale does still not work in gmod 13
    Reply With Quote Edit / Delete Windows 7 Norway Show Events Friendly Friendly x 1 (list)

  8. Post #1448
    Gold Member
    noobcake's Avatar
    November 2006
    3,623 Posts
    this happens when you apply an old any configuration in the new update
    Reply With Quote Edit / Delete Windows XP United States Show Events

  9. Post #1449
    CapsAdmin's Avatar
    August 2005
    3,893 Posts
    this happens when you apply an old any configuration in the new update
    I can't replicate this. According to code it should only happen to the player part. I've committed an attempted fix.
    Reply With Quote Edit / Delete Windows 7 Norway Show Events

  10. Post #1450
    Gold Member
    noobcake's Avatar
    November 2006
    3,623 Posts
    as a test i saved a completely blank player part then loaded it, and i got that bug

    going to test the fix now

    Edited:

    now, parts don't draw at all

    bones do but not models

    but the material bug is fixed

    and the color/material override bug is still present

    i'm having issues combining events

    i'm trying to make it so if my velocity while on the ground exceeds 500 then show the part

    the arguments for the velocity event are 500, and inverted, while the ground event appears to completely override the velocity event
    Reply With Quote Edit / Delete Windows XP United States Show Events

  11. Post #1451
    CapsAdmin's Avatar
    August 2005
    3,893 Posts
    fixed player part being overridden by other player parts
    you should now be able to see existing outfits when you join
    set owner updates on server

    Edited:

    i'm having issues combining events

    i'm trying to make it so if my velocity while on the ground exceeds 500 then show the part

    the arguments for the velocity event are 500, and inverted, while the ground event appears to completely override the velocity event
    made it so events themselves can be triggered by events so you can chain them

    -

    Have on_ground on a part and create a velocity event parented to on_ground. Make both of them inverted.
    Reply With Quote Edit / Delete Windows 7 Norway Show Events Informative Informative x 1 (list)

  12. Post #1452
    Gold Member
    noobcake's Avatar
    November 2006
    3,623 Posts
    hide weapon class is broken now

    Edited:

    idea for an event: has_weapon
    Reply With Quote Edit / Delete Windows XP United States Show Events

  13. Post #1453
    CapsAdmin's Avatar
    August 2005
    3,893 Posts
    fixed weapon class not hiding
    Reply With Quote Edit / Delete Windows 7 Norway Show Events Winner Winner x 1 (list)

  14. Post #1454
    Gold Member
    noobcake's Avatar
    November 2006
    3,623 Posts
    great

    i also found a fix for my color override bug

    instead of using a player part, i used a group part, and loaded my old configs onto it

    worked like a charm

    so you can stop losing sleep over that if you were to begin with, if not then carry on as you were

    Edited:

    that is, so long as i'm not wielding a weapon with attached parts

    Edited:

    when any kind of model is being drawn, it starts overriding colors and materials again

    Edited:

    events applied to a group part affect all models beneath it, but not bones
    Reply With Quote Edit / Delete Windows XP United States Show Events

  15. Post #1455
    lNloruzenchi's Avatar
    May 2009
    399 Posts
    are lights flickering on and off for anyone else?
    Reply With Quote Edit / Delete Windows 7 United States Show Events

  16. Post #1456
    CapsAdmin's Avatar
    August 2005
    3,893 Posts
    fixed bones not hiding from events
    fixed lights flickering
    Reply With Quote Edit / Delete Windows 7 Norway Show Events

  17. Post #1457

    June 2012
    1 Posts
    Can you make a tutorial on how to install it? That would be really helpful.
    Reply With Quote Edit / Delete Windows 7 United States Show Events

  18. Post #1458
    Gold Member
    noobcake's Avatar
    November 2006
    3,623 Posts
    it would appear you've broken events entirely
    Reply With Quote Edit / Delete Windows XP United States Show Events

  19. Post #1459
    CapsAdmin's Avatar
    August 2005
    3,893 Posts
    I can't reproduce your issues. It's like you have some files that are outdated and some files that aren't. I didn't touch events in the last commit, and parts seem to be drawing fine with no material or color override issues.
    Reply With Quote Edit / Delete Windows 7 Norway Show Events

  20. Post #1460
    Gold Member
    noobcake's Avatar
    November 2006
    3,623 Posts
    material/color override being on the player, as set by a custom lua script created by me, is what is being overridden

    i'll try re-updating later, i don't know what happened
    Reply With Quote Edit / Delete Windows XP United States Show Events

  21. Post #1461
    CapsAdmin's Avatar
    August 2005
    3,893 Posts
    this will most likely break stuff that used weapon class and events before this update!

    added command part (works on the localplayer only) / experimental
    added sound part

    moved weapon class to events
    changed how events work
    argument editor for events (very wip)
    operators added for events

    renamed and removed some events to suit the way it works now

    events added:
    has weapon
    timer
    sequence name
    animation event
    Reply With Quote Edit / Delete Windows 7 Norway Show Events

  22. Post #1462
    Gold Member
    noobcake's Avatar
    November 2006
    3,623 Posts
    what does the command part do
    Reply With Quote Edit / Delete Windows XP United States Show Events

  23. Post #1463
    CapsAdmin's Avatar
    August 2005
    3,893 Posts
    what does the command part do
    Runs a command on the owner when the part is shown. It will only work for yourself. You can't execute commands on others with your outfit.

    It was mostly intended for use with weapon class to control your weapon if needed. It's experimental, along with the sound part (which plays sound when the part is shown). I might remove them in the future.
    Reply With Quote Edit / Delete Windows 7 Norway Show Events

  24. Post #1464
    CapsAdmin's Avatar
    August 2005
    3,893 Posts
    nearly doubled FPS
    if no parts are in the editor, it will create a group called "my outfit"
    if no parts are selected when opening the editor, it will select the first part found
    view is reset when the editor is opened

    added shortcuts:
    ctrl s to save current outfit (saves root part of whatever part with its name)
    ctrl d to wear current outfit (wears root part of whatever part)

    improved part highlighting
    fixed part name not updating in tree on load
    the editor will auto select last part created

    removed player part
    added entity part to replace player (works on non players too)
    added icons for sound and command
    Reply With Quote Edit / Delete Windows 7 Norway Show Events Lua King Lua King x 1 (list)

  25. Post #1465
    Legal User's Avatar
    May 2012
    16 Posts
    I am really dumb...

    Where's the download?
    Reply With Quote Edit / Delete Windows 7 United States Show Events

  26. Post #1466
    Reply With Quote Edit / Delete Windows 7 Norway Show Events Friendly Friendly x 1 (list)

  27. Post #1467
    Rainbowmaker's Avatar
    April 2011
    1,244 Posts
    all the features i've wanted for pac2 are in pac3,so i downloaded it,i knew how to use pac2,i mastered it but....
    I have no clue how to use pac3
    Reply With Quote Edit / Delete Windows Vista France Show Events

  28. Post #1468
    death_blade_420's Avatar
    September 2010
    54 Posts
    i love how things are coming along with PAC 3, unfortunately i find it a bit complicated, even though i am a somewhat pro PAC2 user.
    Reply With Quote Edit / Delete Windows 7 United States Show Events

  29. Post #1469
    CapsAdmin's Avatar
    August 2005
    3,893 Posts
    added aimpart (part behaves like eye angles on another part)
    fixed effects

    Edited:

    i love how things are coming along with PAC 3, unfortunately i find it a bit complicated, even though i am a somewhat pro PAC2 user.
    It should be very easy once you know how it works. And from what I've seen it doesn't take that long to find out.

    When was the last time you tried it? Can you be more specific about how it's hard to use?
    Reply With Quote Edit / Delete Windows 7 Norway Show Events Disagree Disagree x 1 (list)

  30. Post #1470
    death_blade_420's Avatar
    September 2010
    54 Posts
    well maybe i am just over thinking it, is there a defined hierarchy? i just find my self overwhelmed by the amount of options there are available and i am not sure of exactly what does what. also im not sure about how the events work either.
    Reply With Quote Edit / Delete Windows 7 United States Show Events

  31. Post #1471
    Gold Member
    noobcake's Avatar
    November 2006
    3,623 Posts
    events are pretty simple

    you select parameters, select the operator (more often than not, it will be 'equals'), and define the arguments

    so for example, weapon class event

    your arguments would be "weapon_physcannon" and your operator would be "equals"

    the speed event would have you wanting to use 'equals or above' for your operator and so on and so forth
    Reply With Quote Edit / Delete Windows XP United States Show Events

  32. Post #1472
    death_blade_420's Avatar
    September 2010
    54 Posts
    but grouping parts or the order or group in which they are in does not effect appearance? also, could you give me some examples like per say a custom reload animation? or maybe something with the crowbar's swing?
    [Edit]
    i think putting together a tutorial thread would be good if anyone has the time. if not i guess i could just work on my own.
    Reply With Quote Edit / Delete Windows 7 United States Show Events

  33. Post #1473
    CapsAdmin's Avatar
    August 2005
    3,893 Posts
    fixed editor shortcuts being active outside the editor

    -

    I think a single image tutorial would be fine.

    Edited:

    but grouping parts or the order or group in which they are in does not effect appearance? also, could you give me some examples like per say a custom reload animation? or maybe something with the crowbar's swing?
    [Edit]
    i think putting together a tutorial thread would be good if anyone has the time. if not i guess i could just work on my own.
    Grouping parts don't necessarily affect appearance but it affects behavior of the part when editing it. The order does not affect anything though.



    because all the parts are added to the body part, when I move and rotate the body all the parts will follow. It's the same with the sub parts.

    PAC2 has parenting as well. It's just a pain to use because the editor doesn't visualize it very well. In PAC3 parenting has an essential role. The best example is that more than one clip plane can be added to a model.
    Reply With Quote Edit / Delete Windows 7 Norway Show Events

  34. Post #1474
    CapsAdmin's Avatar
    August 2005
    3,893 Posts
    did a bunch of bug fixes

    added owner name to group
    added part selection for parent and aimpart
    fixed aimpart not wearing properly

    Owner names atm work only for entites you own, and when I say own I mean sourceengine own (like bolts and ar2 balls) I will try and implement prop protection support later.

    It will try and find the entity when an entity spawns. Here I'm using the name bolt, which is a partial name of the entity I want to match. You can also add an event to the group to hide it when the owner is not the bolt.

    Reply With Quote Edit / Delete Windows 7 Norway Show Events

  35. Post #1475
    Gold Member
    noobcake's Avatar
    November 2006
    3,623 Posts
    so does this mean i could effectively superimpose models onto my projectiles

    after waiting for the video to load, it would appear that is the case

    bravo
    Reply With Quote Edit / Delete Windows XP United States Show Events

  36. Post #1476
    CapsAdmin's Avatar
    August 2005
    3,893 Posts
    so does this mean i could effectively superimpose models onto my projectiles

    after waiting for the video to load, it would appear that is the case

    bravo
    Yeah pretty much.

    At the moment it will only skin the first entity found (one bolt at the time in the video) but I think I can work around this. However it would just be instancing of the outfit, meaning it would be identical on all entities of that class.

    I also did some changes to "aim part" which makes it possible to aim at other parts that aren't even in your outfit.

    example:

    Reply With Quote Edit / Delete Windows 7 Norway Show Events Funny Funny x 3 (list)

  37. Post #1477
    Gold Member
    noobcake's Avatar
    November 2006
    3,623 Posts
    oh man that's creepy
    Reply With Quote Edit / Delete Windows XP United States Show Events Agree Agree x 3 (list)

  38. Post #1478
    death_blade_420's Avatar
    September 2010
    54 Posts
    now i can assault players with phallic objects
    [edit]
    what the guy below me said, also how does the weapon class system work in PAC3? i have tried it with both bones and just props, getting no results
    Reply With Quote Edit / Delete Windows 7 United States Show Events

  39. Post #1479

    December 2011
    27 Posts
    how do i do that?
    i tryied typing in "combineball" or "w_crossbow_bolt"
    and setting the owner to those stuff seems pretty hard ><
    Reply With Quote Edit / Delete Windows 7 Israel Show Events

  40. Post #1480
    CapsAdmin's Avatar
    August 2005
    3,893 Posts
    how do i do that?
    i tryied typing in "combineball" or "w_crossbow_bolt"
    and setting the owner to those stuff seems pretty hard ><
    both are wrong class names

    try bolt or combine_ball (partial matches work)

    Edited:

    I want to make this simpler, but I'm not sure how to make it simpler without losing functionality

    Edited:

    attempting to fix cloning issues
    fixed not being able to move none relative angles in bones
    fixed not being able to use eye angles and aimpart in bones
    added parent name to group
    added parent name to entity
    fixed entity null errors
    added in pac3 editor above head when in the editor
    Reply With Quote Edit / Delete Windows 7 Norway Show Events