Garry's Mod

Garry's Mod

501 ratings
Star Wars Vehicles: Extras
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Effects
Tags: misc
File Size
Posted
Updated
2.176 MB
30 Nov, 2017 @ 2:12am
3 Dec, 2017 @ 11:45am
3 Change Notes ( view )

Subscribe to download
Star Wars Vehicles: Extras

Description
Star Wars Vehicles: Extras:
Unofficial extra content pack for implementation in other vehicle addons. This pack contains extra code, materials, and sounds shared across various other workshop addons. Not really useful on its own (unless you like sounds).

THIS ADDON IS NOT USEFUL ON IT'S OWN. IT'S MEANT TO BE USED AS A REQUIREMENT AND FOR PEOPLE WHO MAKE SHIPS!

For Developers:

Using this Addon in Your Vehicle:

If you'd like to use any content found in this addon inside your on vehicle, please do! That's what this is for. Below I will detail the usage of the different types of resources found in this pack.

Sounds:

Sounds are the most likely thing you will use, luckily you don't have to worry about where each sound is located because I've already added all the sounds to the sound cache using sound.Add()

Normally, when you want to use a sounds you'd have to do:
-- Note the Sound() portion self:FireTorpedo(pos, e, 1500, 200, Color(255, 50, 100, 255), 15, true, Sound("weapons/proton_torpedo.wav"))

However, since I've added the sounds to be automatically loaded, simply use the name of the sound from the cache. Please see the sound table below for reference of all sounds added.

-- Note the Sound() portion is now gone and replaced with the name from the table self:FireTorpedo(pos, e, 1500, 200, Color(255, 50, 100, 255), 15, true, "proton_torpedo")

Sound Table

Name
Description
String
Y-Wing Fire
Republic/Rebels ship fire.
"ywing_fire"
Proton Torpedo
Standard proton torpedo.
"proton_torpedo"
Astromech Chatter 1
Some random astromech noises.
"r2_chatter_01"
Astromech Chatter 2
Some random astromech noises.
"r2_chatter_02"
Astromech Chatter 3
Some random astromech noises.
"r2_chatter_03"
Astromech Chatter 3
Some random astromech noises.
"r2_chatter_04"
Machinery
Machinery and metal noise.
"repair_effect"
Y-Wing Engine
Y-Wing engine loop, close to accurate.
"ywing_engine_loop"
Generic Engine
A more standard, generic sounding engine.
"ship_engine_loop"

Notice, sounds that are variations on others are numerically ordered (such as r2_chatter_01 - r2_chatter_04). This behavior allows you to easily select a random sound in your code if desired.

An example of this is:
self:EmitSound("r2_chatter_0" .. math.random(4))

Entities:

The entities are useful for things like weapons.

Entity Table:


Name
Description
String
Proton Torpedo
Proton torpedo with large splash damage.
"proton_torpedo"


Credits:

Base by Liam0102
Ported and Coded by Doctor Jew

You need Episode 1 in order to use this. You can get Episode 1 here.

Requests:
Want to make a request for a ship? Do so on my Trello here.[trello.com] I cannot guarantee a model for your ship will be found.

Donate!
If you like Star Wars ships and want to donate so I can get even more conversion software, please do!

[www.paypal.com]
39 Comments
Waltuh 9 Jul, 2022 @ 2:28pm 
AC130Gunship I think it's just cosmetic
Jonathan 21 Dec, 2021 @ 3:58pm 
Is this basically here so that you can create your own Star Wars vehicles? Just curious.
AC130Gunship 4 Sep, 2021 @ 8:50am 
how to use hyperspace ring ( I know how to get the fighter into it)
Googabs 7 Jun, 2021 @ 5:38pm 
nuggetsisahobo you have to press space bar to shot if you still don't know
Orion 12 Apr, 2021 @ 7:39am 
no pix no clix
spy gaming 7 Feb, 2021 @ 9:41pm 
i cant spawn the big stuff like star destroyer and republic cruiser, please help
Volkswagen 5 Jan, 2021 @ 8:25am 
I can't shoot out of the xwing :{
Daniel1336 19 Oct, 2020 @ 3:33pm 
hola como puede denunciar que estan ocupando tus addons ilegalmente un servidor
Spamp Tong 8 Mar, 2020 @ 11:01am 
i cant shoot out of xwing
wheat 10 Jan, 2020 @ 3:01pm 
idk there errors for me as well