Garry's Mod

Garry's Mod

[E2] AntCore
70 opmerkingen
>:) 12 jul om 7:46 
what? Bug? with chair? serius?
Sanders 29 mrt om 12:46 
ok @Tenndex care to explain? cause i can show you how im doing it
Sawnik85 15 feb om 1:45 
anyone else having trouble with propSpawnASync(enable) not functioning?
Tenndex 18 jan om 1:51 
Works for me just fine.
Sanders 17 jan om 21:14 
ok sooo with this core its neat but the shootbolt has a MAJOR flaw. despite the holo it shoots from its not spawning from that holo! and i have to make sure the turret isnt near any walls or the bolt shoots backwards for some reason
Darmagon 28 okt 2024 om 23:54 
On a server am having problems with n=propCanCreate() not detecting the e=propSpawn(svan) rate limit since this was added, believe the check may be getting overridden thinking propSpawnASync(n) is enabled.
Sanders 13 okt 2024 om 20:09 
hey with the E:turretShoot() can you add a delay option? so we can make some tun turrets? like if you wanna have them fire slower then you could or faster?
Mardröm 21 mrt 2022 om 10:56 
my E2 is crashing whenever i use findClosestCentered(), the error says this:
entities/gmod_wire_expression2/core/custom/antcore.lua:746: attempt to perform arithmetic on field 'x' (a nil value)
as far as i can tell it's doing this only if it finds an entity, regardless of what i tell it to do with said entity or what i put in the pos/direction fields
Sanders 16 mrt 2022 om 21:33 
could you guys perhaps add onto this the option to fire things like missiles and ar2 alt fire stuff? would be nice for a defense system im working on'


if you can anyways thank you.
Sanders 7 mrt 2022 om 7:12 
thank you i forgot about that XD
Antonym  [auteur] 7 mrt 2022 om 0:32 
@SANDERS
You could try holoEntity(400):toWorld(vec(-20,0,0)) instead of holoEntity(400):pos()
Antonym  [auteur] 7 mrt 2022 om 0:31 
@idiosyncratic big fridge united
I either added setVelocity before propSetVelocity existed, or it wasn't in the e2 propcore version I was using at the time and yeah reverse compatibility and laziness
Antonym  [auteur] 7 mrt 2022 om 0:15 
@Ellie yeah the gun's client side hit scan ignores changes to the hitbox, so that can't really be fixed in the extension sorry, the extension just calls glua's inbuilt resizing functions
OUIIJM GUIITPS 6 mrt 2022 om 9:00 
Lol
Sanders 5 mrt 2022 om 17:13 
so question im doing this: if(clk("fire")&ClearSight){Bolt=shootBolt(holoEntity(400):pos()+vec(-0,0,0),holoEntity(400):up()*Dist,5000) soundPlay(10,0.2,"@weapons/alyx_gun/alyx_gun_fire5.wav") and it works but i wanna know if there is a way i can change the spawn location of the bolt to be closer to the holo its controlled by?
prototype money stock broker 25 feb 2022 om 5:05 
is there a reason setVelocity exists when propSetVelocity is a thing or is it there for backwards compatibility?
Ellie 27 sep 2021 om 3:37 
Oh yeah that works but for example if i get a stove and resize it visually an physically its hitbox wont work. If you shoot it there will be no "clink" sound effect of bullets hitting it and bullets will pass through it. I know the hitbox is there because players cant walk through it and projectiles hit it. Its just the bullets, I also found that even tho the bullets pass through if an enemy is inside a resized sphere for example blood will come out due to the bullets hitting him but no damage will be dealt
Antonym  [auteur] 26 sep 2021 om 19:58 
try E:setModelScale for visual scaling
Ellie 21 sep 2021 om 13:45 
SetPhysScale(N) doesn't work correctly(I think). It resizes the props boundary box but the prop stays the same(unlike prop resizer where you can also see the prop resizing, despite not touching model scale). Furthermore the props collision is also messed up, you cant walk through the invisible barrier the props sets up but you can shoot through it, except projectiles. Would be amazing if you could make it perform the same as prop resizer(altering the phys scale alters the prop and its collision)
Sanders 5 aug 2021 om 15:42 
doing Dist = 3500*(Find:pos()-holoEntity(1):pos()):normalized():length() works thank you
Pongo 5 aug 2021 om 3:33 
lies fake false made up fabrication untrue nonsense i would never the only one here who made a -rep on their rep score is antonymus who made up these lies!
Antonym  [auteur] 5 aug 2021 om 3:07 
pongo has been arrested by the namibian government under 67 charges relating to international terrorism and war crimes and AntCore does not condone getting caught for that
Tenndex 5 aug 2021 om 2:59 
Hello, the createMech() function seems to be broken???? Also this "Pongo" person seems very smart and handsome you should add this user to the owner list.
Pongo 5 aug 2021 om 2:11 
dont do that code posted below it will delete your pc
Antonym  [auteur] 5 aug 2021 om 1:58 
more like formerly poop's
Antonym  [auteur] 5 aug 2021 om 1:57 
do Vel = 3500*(Find:pos()-holoEntity(1):pos()):normalized()
Pongo 4 aug 2021 om 22:59 
-rep -rep dont trust addon stole my name tag
Tenndex 4 aug 2021 om 22:03 
keyed and luapilled
Sanders 4 aug 2021 om 21:29 
but when they are fired they dont fly the same dist that the weapon itself work
Antonym  [auteur] 4 aug 2021 om 17:38 
the bolts speed limit 3500 is per component (x,y,z) so if you set its total velocity to a value that's too high, then one or more of the components will be limited to 3500 will change the direction
tldr: not possible to make it faster without it changing direction, oof bruh moment
Sanders 3 aug 2021 om 23:42 
ok so question when using the bolt function and doing it like this

Dist = (Find:pos()-holoEntity(1):pos()):length()*2 works well but putting the number above say 4 causes the bolts to fly out sideways how can i up the speed without this issue?
Antonym  [auteur] 28 mei 2021 om 6:12 
when the pongo core sus
Pongo 27 mei 2021 om 9:09 
thumbs up +rep good working condition on purchase will +rep when home
{E.Z.I.C}Xx_?êll måS?ê?_xX 25 nov 2020 om 17:27 
i got the addon on git up and it gives me a error everytime i tried to spawn in a prop so i looked for what was causing it and i got down to propSpawnASync it breaks prop spawn for some reason heres the error
sv: Expression 2 (generic): entities/gmod_wire_expression2/core/custom/prop.lua:36: bad argument #1 to 'IsValidProp' (string expected, got nil)
OUIIJM GUIITPS 1 nov 2020 om 17:01 
Is there any chance that player:setClip2 could be added?
Pongo 22 jun 2020 om 1:06 
WIOW A RARE UPDATE GOD SPEED GOOD SIR !!
Antonym  [auteur] 22 jun 2020 om 1:05 
fix
Fasteroid 21 jun 2020 om 3:34 
Yo antony, there’s a crash bug involving killing npcs with inf() damage crossbow bolts rn that you might wanna patch. It takes a sec but will reliably crash every client on the server when it happens.
Code 2 reproduce:

@name funny bolt
shootBolt( entity():pos() + entity():forward()*100, entity():forward()*500, inf() )
# point chip at nearest npc
# make sure bolt hits npc
# wait like 5 sec
# BAM
Antonym  [auteur] 18 jun 2020 om 7:33 
if (entRemoveClk()) { }
Knight 'Pink from the Outset' 16 jun 2020 om 8:36 
Hi! Is there a way to check if the current execution of the chip was caused by "runOnEntRemove"?
Fasteroid 30 jan 2020 om 20:41 
processors don't like the github version of wiremod
Auralius 10 jun 2019 om 10:05 
nevermind.
Auralius 10 jun 2019 om 10:02 
antcore is disabled, how do I enable it?
Antonym  [auteur] 6 jun 2019 om 4:46 
Check server console for e2 errors
Auralius 4 jun 2019 om 9:25 
wait none of the functions are showing up!
Auralius 4 jun 2019 om 9:24 
No such function: shootBolt(vector, angle, number). hmm this was working on a server but it does not work on mine. also it doesn't show ip in the E2Helper menu. where did you go shootBolt. :(
Perchance 20 mrt 2019 om 4:54 
Ah, thank you
Perchance 19 mrt 2019 om 6:04 
Small question: Where's PropCore? I can't find it anywhere, it said in a few posts it comes with wires unofficial extras but it isn't in there
||Undercover|| 29 jun 2018 om 15:21 
I wanted to do propSpawn in the E2 but it has a error