Garry's Mod

Garry's Mod

683 ratings
Star Wars Universe
8
3
5
3
2
3
2
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Entity
Addon Tags: Fun, Roleplay, Realism
File Size
Posted
Updated
53.695 MB
29 Jan, 2022 @ 4:53am
9 Mar @ 10:27am
29 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
  • Sound Effects

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]

Keyboard Interaction
Keyboard interaction is now supported for some interaction. This can be enabled or disabled by the client.

Sub-light speed controller
  • Arrow up - Increases speed
  • Arrow down - Decreases speed

Rotation controller
  • Numpad - Enters numbers
  • Enter - Locks in rotation
  • Numpad +/- - Add/Removes negative setting of rotation
  • Backspace/Delete - Removes last digit

Navigation controller
  • Arrow Left/Right - Switches Page
  • Enter - Opens search menu

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
  • 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 (4)
1
3 Jun @ 11:04pm
Is there any way to not make hyperspace take up like 20 mins?
Austin
4
24 Dec, 2024 @ 11:00am
PINNED: Conflicting Addons
Luiggi33
1
13 Jan @ 7:39pm
rp_victory_destroyer support
Harry
306 Comments
AceColtonCook 15 Jul @ 11:39am 
Also, have you considered configuring this mod to support Bananakin's Venator Notorious?
AceColtonCook 14 Jul @ 6:44pm 
I have a question. Maybe I'm not doing something right, but when you get to a destination, the ship just keeps going, it doesn't stop. When I abort the jump when the map says I'm on top of the planet, there's nothing there, and it defaults to the start empty space.
DolUnity  [author] 18 Jun @ 9:53am 
@Kevster open the context menu (by default on c) click on SWU and there you have settings for it
Kevster 18 Jun @ 12:09am 
@Dolunity how do I change the speed modifier or teleport?
DolUnity  [author] 9 Jun @ 9:43am 
@kevster you can either change the speed modifier or teleport as an admin
Kevster 3 Jun @ 10:55pm 
DolUnity Is there an way to Skip Hyperjumps for VERY long Hyperjumps that takes 20+ mins If not. you REALLY should add it
Papa Rock 29 May @ 5:47pm 
Love this! By far the most impressive mod I've ever seen. What are your favorite locations?
junior jr 6 May @ 1:37pm 
how do i make my own map
i dont get it
Dmitry Damov 27 Apr @ 2:25pm 
Where the death star disappeared to in the search for planets?
Corrin von Drachenor 3 Feb @ 7:38pm 
I've just noticed that arriving at a planet will just cause it to explode for some reason. Am I supposed to leave hyperspace a bit early to prevent that?