Garry's Mod

Garry's Mod

622 ratings
Star Wars Universe
7
3
4
3
3
2
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Entity
Addon Tags: Fun, Roleplay, Realism
File Size
Posted
Updated
53.159 MB
29 Jan, 2022 @ 4:53am
18 May @ 11:42am
27 Change Notes ( view )

Subscribe to download
Star Wars Universe

Description
Star Wars Universe

IMPORTANT
If you get any error make sure you have downloaded all required content and play on a supported map.
Check if you have any conflicting addons installed, you can find them in the discussion thread.

Newest Update
[ulist]
  • A new required addon you need to install
  • Support for the ISD update
  • Space stations (With a teleporter on the ISD Map)
  • Shipyards
  • Asteroid Fields
  • Destroyed ISD (ISD map only)
  • Minor bug fixes[/ulist]

Information
Star Wars Universe is a Hyperspace System for Garry's Mod that enables you to fly through a realistic depiction of the Star Wars Universe with your static map ship. It contains all canon planets. For a full map goto the Star Wars Galaxy Map[www.swgalaxymap.com]

How to use
Fly in sub-light speed
  1. Goto the rotation controller and enter the target angle
  2. Goto the speed controller and move the lever up to your prefered speed
  3. Look out of the windows or on the star map

Make a hyperspace jump
  1. Bring the ship to a halt
  2. Go to the navigtion computer and select your target planet
  3. Wait till the navigation computer has finished his calculations
  4. Align the ship with the navigation computers given angle
  5. Push the "Jump" lever upwards
  6. Wait till you arive at your target destination

Currently Supported Maps

Add your own map configuration
To enable SWU on any map you like, you need to add the map configuration to the addon by using the `SWU_LoadCustomMapConfig` hook and add your configuration as shown in the example below for more details/advanced options join our discord
hook.Add("SWU_LoadCustomMapConfig", "MySuperCoolMap", function (mapName, configuration) configuration["my_maps_path"] = { skyboxReference = Vector(0, 0, 0), -- Some random point in the skybox controllerPos = Vector(0, 0, 0), -- Position of where the ship is in the skybox disableFog = true, -- Disables distance fog, recommended to be kept on true disableSun = true, -- Disables the sun, recommended to be kept on true shipOffsetRotation = Angle(0,0,0), -- Optionaly used to correct the direction in which the ship should fly scale = 500, -- Scales the distance in the skybox, currently a bit buggy recommended to be kept on 500 for now collisionRange = 115, -- Distance of when the ship crashes into a planet hyperspace = { tunnel = "models/kingpommes/venator/hypertunnel.mdl", -- Model of the hyperspace tunnel, recommended to be kept as is stars = "models/kingpommes/venator/lightspeed_stars.mdl" -- Model of the hyperspace transition model, recommended to be kept as is }, skyboxBoundaries = { -- Boundaries of the skybox will normaly be calculated automatically, if you have props in your skybox it might be necessary to do manually min = Vector(), max = Vector(), center = Vector() }, controls = { { -- Position and angle of the navigation computer ent = "swu_navigation_computer", pos = Vector(-8612, -391, 720), ang = Angle(0, -90, 0) }, { -- Position and angle of the rotation controller ent = "swu_rotation_controller", pos = Vector(-8106, 187, 640), ang = Angle(0, -90, 0) }, { -- Position and angle of the speed controller ent = "swu_speed_controller", pos = Vector(-8106, -187, 640), ang = Angle(0, 90, 0) }, { -- Position and angle of the star map ent = "swu_map", pos = Vector(-9057.2, -374, 808), ang = Angle(90, 0, 0), scale = 0.8 } }, -- Positions where map native hyperdrive stuff should be removed blockPos = { Vector(-8751, -386, 737), Vector(-8739, -356, 782) } } end)

Planned Features
  • Sounds
  • Legends Planets
  • AI Ships

Credits
Lua Code - DolUnity & Luiggi33
Models - Mig

Thanks to:
Rufiinix & Letha for helping out with the planet textures
senfauge for UI design
Shiny Man for the coruscant texture and the city overlays

Used Libraries
IMGUI[github.com]
Netdata[github.com]

[discord.gg]

Copyright 2022 DolUnity & Luiggi. This item is not authorized for posting on Steam, except under the Steam accounts named DolUnity & Luiggi33

Popular Discussions View All (3)
3
4 Jun, 2023 @ 10:41am
PINNED: Conflicting Addons
Luiggi33
0
15 Mar @ 3:03pm
rp_victory_destroyer support
Harolld
0
15 Aug, 2023 @ 6:29pm
RP_Interdictor issues with addon support.
NooK
283 Comments
eternalbruh 13 Jul @ 5:10am 
so what mods are needed to be able to explore the plantes and the ship as its just 0 plnates and no ship
:steamthumbsup:
Hanna <3 24 Jun @ 2:27am 
Can you go to the planets that are present on rp_stardestroyer map?
Soundwave 25 May @ 9:24am 
Star Wars Universe
lua/star-wars-universe/shared/sh_swu_initializer.lua:367: attempt to index a boolean value
1. LoadMap -lua/star-wars-universe/shared/sh_swu_initializer.lua:367
2. func - .1ua:445
3. unknown - lua/includes/modules/hook.lua:247
Kapereros 24 May @ 10:26am 
Anyone gonna explain why Neimoidia turned into a star?
DolUnity  [author] 6 Apr @ 9:16am 
On the left bridge
Lovee 31 Mar @ 12:57pm 
wehre are the consolse on Venator Extensive by KingPommes?
24kWarLord 26 Mar @ 10:25pm 
@lol0plays1 ill take care of that when i fix my gmod addons
Lol0plays1 19 Mar @ 7:37am 
Hey! Question can you add support for the Sw_deathstar map It would be cool going to say, red nebula and blowing it up.
Amixity 14 Mar @ 6:48pm 
oh i forgot the align with given angle step i will try it with that step now
DolUnity  [author] 14 Mar @ 11:46am 
@Amixity make sure you follow the instructions provided in the description