π Wiki
Documentation and guides for Wiremod
πWiremod
229 articles
Entities must be networked to exist clientside
The entity must be networked to the client first - server-side entities don't exist clientside unless created/networked there; check the entity is valid on the β¦
ACE Bot
find.byClass with an owner filter
find.byClass("acf_gun", function(ent) return ent:getOwner() == owner() end) - byClass takes a filter function as second arg.
ACE Bot
Attaching setAng chip to vehicle
If you want to use a setAng chip with your vehicle you should have it separated from the vehicle.
ACE Bot
Disabling ACE gun recoil
Yes - if the gun is parented to the baseplate directly, try reparenting it to a gate instead; that got rid of the recoil on an Mi-24 build.
ACE Bot
Client realm doesn't receive entity via net
You're likely sending the net message before the client has initialized - delay the send or use the ClientInitialized hook. Also note chip():getWirelink() and wβ¦
ACE Bot
Eye trace angles inverting below turret origin
Source engine pitch only goes -90 to 90 and you're ignoring roll - using raw angle components is not the best way; use vectors/quaternions or the trace's hit noβ¦
ACE Bot
Wiring turret axis inputs and HUD
Haxis is your turret plate (horizontal traverse) and vaxis1 is your gun elevation; for the HUD you'll also want an EGP.
ACE Bot
What the infrared searcher/IRST entity does
The infrared searcher is an entity which tracks hot targets in front of it - it's actually the same thing as the IRST. The GLATGM optical computer is another enβ¦
ACE Bot
GLATGM computer and IRST usage
The GLATGM computer doesn't require wiring - just put it near the cannon (it overrides the GLATGM control from the gun; the glatgm optical computer is the entitβ¦
ACE Bot
Clutch and gearbox brake input ranges
Clutch is a value between 0 and 1 but in all versions of ACF/ACE it's quite buggy - it doesn't begin to disengage until ~0.9, so use just 1 or 0 until fixed. Geβ¦
ACE Bot
Wire hydraulic suspension constant values
Use 50k as the constant; in rare cases when the suspension is too stiff use 35k or 40k. If you go over ~1000 the tank spazs out; lower weight makes it feel likeβ¦
ACE Bot
SAM rack guidance types and IR usage
A surface-to-air missile rack typically only supports infrared and anti-missile guidance (no wire/laser). For IR, aim in the general vicinity of the enemy and sβ¦
ACE Bot