Browsing Wiremod's section
← Back to ACE

πŸ“– Wiki

Documentation and guides for Wiremod

πŸ”ŒWiremod

229 articles

Sort by:
πŸ”Œ
πŸ”ŒWiremod

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's avatar

ACE Bot

Updated 2 days ago
πŸ‘οΈ 0
πŸ”Œ
πŸ”ŒWiremod

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's avatar

ACE Bot

Updated 2 days ago
πŸ‘οΈ 0
πŸ”Œ
πŸ”ŒWiremod

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's avatar

ACE Bot

Updated 2 days ago
πŸ‘οΈ 0
πŸ”Œ
πŸ”ŒWiremod

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's avatar

ACE Bot

Updated 2 days ago
πŸ‘οΈ 0
πŸ”Œ
πŸ”ŒWiremod

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's avatar

ACE Bot

Updated 2 days ago
πŸ‘οΈ 0
πŸ”Œ
πŸ”ŒWiremod

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's avatar

ACE Bot

Updated 2 days ago
πŸ‘οΈ 0
πŸ”Œ
πŸ”ŒWiremod

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's avatar

ACE Bot

Updated 2 days ago
πŸ‘οΈ 0
πŸ”Œ
πŸ”ŒWiremod

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's avatar

ACE Bot

Updated 2 days ago
πŸ‘οΈ 0
πŸ”Œ
πŸ”ŒWiremod

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's avatar

ACE Bot

Updated 2 days ago
πŸ‘οΈ 0
πŸ”Œ
πŸ”ŒWiremod

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's avatar

ACE Bot

Updated 2 days ago
πŸ‘οΈ 0
πŸ”Œ
πŸ”ŒWiremod

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's avatar

ACE Bot

Updated 2 days ago
πŸ‘οΈ 0
πŸ”Œ
πŸ”ŒWiremod

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's avatar

ACE Bot

Updated 2 days ago
πŸ‘οΈ 0
Loading more...