Garry's Mod

Garry's Mod

54 betyg
Expression2 Turret Exstension (E2:shootTo()) [Wiremod needed]
   
Utmärkelse
Favorit
Favoritmarkerad
Avfavoritmarkerad
Content Type: Addon
Addon Type: Effects
Addon Tags: Build, Fun
Filstorlek
Lades upp
785.000 B
11 aug, 2013 @ 18:11
1 ändringsnotis ( visa )

Abonnera för att ladda ner
Expression2 Turret Exstension (E2:shootTo()) [Wiremod needed]

Beskrivning
Turrets shall no longer be needed!!!

This exstention will allow you to shoot bullets from any entity using only Expression2 code! No more need to attach turrets to your contraption, just use E2!

Using this couldn't be simpler just do it all from one line:

entity(can be anything you want):shootTo(Direction, Spread, Force, Damage, Bullets per shot, Tracer index)

Tracerlist:
1: 9mm Tracer
2: AR2Tracer
3: HeliTracer
4: AirboatTracer
5: LaserTracer
6: ToolgunTracer

Bullets per shot is limited to 1-10

Have fun!

26 kommentarer
Minos Prime 19 jan, 2022 @ 15:19 
how to make it so other players can use the function?
Sanders 19 sep, 2018 @ 19:00 
hey could you possible make an extention to shoot are alfire shots?
ritardo milos 1 mar, 2018 @ 10:39 
Nice stuff, but spread is static.
Sanders 20 dec, 2017 @ 1:05 
could you make an e2 function that allows us to make lasers? or to shoot the ar2 al fire from an e2?
Sanders 27 jun, 2017 @ 16:42 
you should add one thing: add a muzzle flash so we can make it look far better (needs to be parentable aswell as being rotated
Sanders 23 jun, 2017 @ 10:17 
NVM got it done XD
Sanders 23 jun, 2017 @ 9:48 
yea i tried doing this as you said it was straight forward also keep in mind i have had no sleep for the last 2 days so here is my attempt: entity(E):shootTo(up, 0.05, 500, 99, 60, Tracer) does nothing
Mr Mage 20 jun, 2016 @ 21:49 
you get a big fat 11/10, although it took me a bit to find out how to bind the keys, I can finally make an OP armed HOLO helicopter, now I just need to find out how to save it, but that's not your problem the next thing we need for this mod is missiles and rockets!!! :steamhappy:
Dandry 24 aug, 2015 @ 4:28 
can you gives a example of a code you made with e2 because i have no Fu*king idea how to do this