Garry's Mod

Garry's Mod

Not enough ratings
[E2] Projectile Core
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Build, Fun
File Size
Posted
Updated
42.894 KB
28 Nov, 2023 @ 10:02am
6 May, 2024 @ 3:02pm
19 Change Notes ( view )

Subscribe to download
[E2] Projectile Core

In 1 collection by clock
Mars server addons - Required
104 items
Description
This addon allows Expression 2 to fire bullets, and most projectiles. Support for more projectiles will come with updates.
https://github.com/ClockEFFX/ProjectileCore

Most function return the projectile entity, so you can modify the projectile, like giving it trails or parenting holograms to it.

There are CVARs for almost everything, so you can individually disable certain projectiles, or change their maximum damage, explosion radius, ect. - Most CVARs count "-1" as "no limit"

The default CVAR values are "balanced", so no super firerate tracerless 1 million damage bullets, or hyper velocity AR2 balls, for example.

You can find the list of functions in the ingame E2helper.



Here is a list of CVARs:

projcore_bullet_enabled
projcore_bullet_maxdmg
projcore_bullet_maxforce
projcore_bullet_tracerless
projcore_bullet_delay

projcore_bolt_enabled
projcore_bolt_maxdmg
projcore_bolt_maxvel
projcore_bolt_delay

projcore_comball_enabled
projcore_comball_maxvel
projcore_comball_delay

projcore_grenade_enabled
projcore_grenade_maxdmg
projcore_grenade_maxradius
projcore_grenade_maxtimer
projcore_grenade_mintimer
projcore_grenade_maxvel
projcore_grenade_delay

projcore_helibomb_enabled
projcore_helibomb_maxdmg
projcore_helibomb_maxradius
projcore_helibomb_maxtimer
projcore_helibomb_mintimer
projcore_helibomb_maxvel
projcore_helibomb_delay

projcore_commine_enabled
projcore_commine_maxvel
projcore_commine_delay

projcore_rpg_enabled
projcore_rpg_maxdmg
projcore_rpg_maxradius
projcore_rpg_maxvel
projcore_rpg_delay

projcore_smggrenade_enabled
projcore_smggrenade_maxdmg
projcore_smggrenade_maxradius
projcore_smggrenade_maxvel
projcore_smggrenade_delay

projcore_flechette_enabled
projcore_flechette_maxvel
projcore_flechette_delay



If you have any complaints, criticisms, or issues, please leave a comment.
18 Comments
Sanders 28 May @ 1:15pm 
hm ok cause i wanted to use them in a turret but they spaz it out when fired lol
clock  [author] 28 May @ 1:03pm 
currently there is no easy way, the way combine balls are spawned is different - and i couldnt think of a fix at the time
Sanders 28 May @ 12:37pm 
ok so seems to work now so far there a way to find the combine ball from this and filter it in e2 from further finds?
Sanders 14 May @ 9:54am 
ill check again ill let you know
clock  [author] 12 May @ 4:07pm 
does reloading E2 extensions fix it?
Sanders 11 May @ 10:00am 
yea nothing changes no idea why
clock  [author] 11 May @ 3:20am 
nothing happens to the balls spawned afterwards? im pretty sure there is a callback but i will check
Sanders 10 May @ 10:29pm 
yea used all 3 on the projcore_comball_enabled
projcore_comball_maxvel
projcore_comball_delay in the server's command line but while it takes them nothing happens why?
Sanders 11 Jan @ 1:57pm 
ok so after talking to the server host they messed up lol figured id leave this so you know
Sanders 11 Jan @ 11:48am 
thank you