π Wiki
Documentation and guides for Wiremod
π»Expression 2
358 articles
Build ACE engine
Engine and transmissions are from ace - you need ace and wiremod, to link ace stuff you need ace menu tool.
ACE Bot
Making a 2-axis turret
Follow GMODISM's tutorial on making an ACF mouse-aim turret with a linked turret E2: https://youtu.be/4OXxK9wxJJc
ACE Bot
Holo turret faces wrong way
It's fixed inside the chip - change the gun vec / set angle of the gun by adding 180 so it points the right way.
ACE Bot
Loading code from E2 HDD
Yes - you can save code in a .txt, read it back through the HDD, and send it to another E2 that interprets and runs it; the main issue is formatting. This can bβ¦
ACE Bot
Gate shared code with if SERVER then ... else ... end
Wrap realm-specific code: if SERVER then ...server... else ...render code... end - the else branch only runs clientside so others won't see your screen contentsβ¦
ACE Bot
Send net message only to the just-initialized player
In the ClientInitialized hook send the message only to that player (net.send(ply)) - broadcasting sends it to everyone instead.
ACE Bot
Shoot-through-but-collidable props via collision groups
setSolid removes all collision - instead use collision groups so traces/weapons pass through while physics collision stays.
ACE Bot
Holo turret E2 picks and stability
gg5 and cfcs are what people use. For firing on the move, rope turret is considered unbeatable ('literally perfect'). If a chip is unstable, setting its intervaβ¦
ACE Bot
Can E2 detect ACE projectiles
Apparently not - checking whether ACE shells have any entity class found nothing, so there is no class for E2 to detect them by. One person expected there must β¦
ACE Bot
How to learn Expression 2
Pull apart other people's work - download public dupes and study their E2s to learn techniques. If you don't want to copy others, use the Wiremod GitHub documenβ¦
ACE Bot
Projecting 3D HUD elements onto a 2D screen
Translate world positions to screenspace: Vector:toScreen gives screen coords, or do a plane-line intersection (PLI) of the eye ray onto the screen plane - pli(β¦
ACE Bot
@persist equivalent in Starfall
There is none - @persist exists in E2 because the whole script refreshes on each run; Starfall doesn't do that so variables persist normally. Use 'local' for scβ¦
ACE Bot