Portable Expression 2 Concept #2976
Replies: 5 comments
-
i should probably also mention that the pe2SendAnimation functions would be used to play animations that use the buttons etc, to make it look more alive |
Beta Was this translation helpful? Give feedback.
-
This seems too specific to add, and the names are pretty confusing, do you just want toolgun functionality with E2? I made an extension in my VExtensions addon for that if you want it. It could probably be ported to wire with little issues |
Beta Was this translation helpful? Give feedback.
-
ok i get everything else but how are the names confusing? pe2 is just
portable expression 2 but shortened...
ke 10. tammik. 2024 klo 0.01 Vurv ***@***.***) kirjoitti:
… This seems too specific to add, and the names are pretty confusing, do you
just want toolgun functionality with E2? I made an extension in my
VExtensions addon for that if you want it. It could probably be ported to
wire with little issues
—
Reply to this email directly, view it on GitHub
<#2976 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BBBJAMBUXW4G6U6Q5UDKMT3YNW42RAVCNFSM6AAAAABBTAV4Q6VHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DANZSGE3DO>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
after checking vextensions, i think you misinterpreted the entire idea of
what i was going for
ke 10. tammik. 2024 klo 6.13 Lauri Jokimäki ***@***.***)
kirjoitti:
… ok i get everything else but how are the names confusing? pe2 is just
portable expression 2 but shortened...
ke 10. tammik. 2024 klo 0.01 Vurv ***@***.***) kirjoitti:
> This seems too specific to add, and the names are pretty confusing, do
> you just want toolgun functionality with E2? I made an extension in my
> VExtensions addon for that if you want it. It could probably be ported to
> wire with little issues
>
> —
> Reply to this email directly, view it on GitHub
> <#2976 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/BBBJAMBUXW4G6U6Q5UDKMT3YNW42RAVCNFSM6AAAAABBTAV4Q6VHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DANZSGE3DO>
> .
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>
|
Beta Was this translation helpful? Give feedback.
-
Anyway my point still stands about this being way too specific. This is an addons job to do. You could do it entirely as a separate addon. I believe you could get this behavior with the wire laser pointer, or just using a hands swep and manually handling keypresses and eye traces. You could also get the behavior with my vextensions toolgun which is why I brought it up. Or if people really like the idea, at the very least, there shouldn't be "god functions" like |
Beta Was this translation helpful? Give feedback.
-
Portable Expression 2 is a swep counter part to the real life flipper zero
It's basicly a viewmodel that has multiple buttons, an egp screen for graphics and a cable for connecting to sockets (if that works)
The buttons would only function if you are holding the swep, same thing with the cable, should you switch to another swep it would detach the cable
E2 functions:
-pe2OpenMenu() - opens the editor
-pe2SendAnimation(Animation_name string) - plays a specified viewmodel animation using string
-pe2SendAnimation(Animation_id number) - plays a specified viewmodel animation using number
-pe2PlugToSocket() - if owner is looking at a socket and is in a reasonable distance, create a wire cable that connects from the swep entity to the socket entity
-pe2UnPlug() - if the cable is plugged, this can be called to unplug the cable
for the egp part one could just use entity():wirelink():egp...in case you don't have plans on adding entirely new functions for it, it would also make this much faster to code
Console commands:
-pe2OpenMenu - opens the editor in case you remove the function from the e2
Example code
Beta Was this translation helpful? Give feedback.
All reactions