Garry's Mod

Garry's Mod

53 Bewertungen
Expression2 Turret Exstension (E2:shootTo()) [Wiremod needed]
   
Preis verleihen
Favorisieren
Favorisiert
Entfernen
Content Type: Addon
Addon Type: Effects
Addon Tags: Build, Fun
Dateigröße
Veröffentlicht
785.000 B
11. Aug. 2013 um 18:11
1 Änderungshinweis (anzeigen)

Abonnieren zum Herunterladen
Expression2 Turret Exstension (E2:shootTo()) [Wiremod needed]

Beschreibung
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 Kommentare
Senator Steven Armstrong 19. Jan. 2022 um 15:19 
how to make it so other players can use the function?
Sanders 19. Sep. 2018 um 19:00 
hey could you possible make an extention to shoot are alfire shots?
ritardo milos 1. März 2018 um 10:39 
Nice stuff, but spread is static.
Sanders 20. Dez. 2017 um 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. Juni 2017 um 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. Juni 2017 um 10:17 
NVM got it done XD
Sanders 23. Juni 2017 um 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. Juni 2016 um 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 um 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