Browse Source

Planeten cont.

bolt_update
laurids 4 years ago
parent
commit
dfa18409b7
14 changed files with 39485 additions and 14787 deletions
  1. +1
    -1
      Assets/GWConquest/Prefabs/DistrictConnectionLine.prefab
  2. +90
    -89
      Assets/GWConquest/Resources/Database/Planets.csv
  3. +39188
    -14635
      Assets/GWConquest/Scenes/GalaxyMap.unity
  4. +10
    -0
      Assets/GWConquest/Scripts/District.cs
  5. +67
    -61
      Assets/GWConquest/Scripts/Planet.cs
  6. +1
    -1
      Assets/GWConquest/Scripts/PlanetRegistry.cs
  7. +0
    -0
      Assets/GWConquest/Textures/Icons/DistrictCivil.PNG
  8. +0
    -0
      Assets/GWConquest/Textures/Icons/DistrictCivil.PNG.meta
  9. +0
    -0
      Assets/GWConquest/Textures/Icons/DistrictFactory.png
  10. +0
    -0
      Assets/GWConquest/Textures/Icons/DistrictFactory.png.meta
  11. +0
    -0
      Assets/GWConquest/Textures/Icons/DistrictFood.png
  12. +0
    -0
      Assets/GWConquest/Textures/Icons/DistrictFood.png.meta
  13. BIN
      Assets/GWConquest/Textures/Icons/DistrictSpecial.png
  14. +128
    -0
      Assets/GWConquest/Textures/Icons/DistrictSpecial.png.meta

+ 1
- 1
Assets/GWConquest/Prefabs/DistrictConnectionLine.prefab View File

@ -59,7 +59,7 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 0.78039217}
m_Color: {r: 1, g: 1, b: 1, a: 0.25490198}
m_RaycastTarget: 1
m_Maskable: 1
m_OnCullStateChanged:


+ 90
- 89
Assets/GWConquest/Resources/Database/Planets.csv View File

@ -1,89 +1,90 @@
Name Size Population Structure Types Factory Rating Factory Type Food Rating Civil Rating Quality Rating Alignment Start Faction Terrain Conditions Space Station Shipyard Station Power Sun Colour Special Text Info
Aeculus 1 3 1 Civil, 1 Factory 1x3 Ammo 1x3 Neutral Mild Storms With its planet's surface raveged by murderous Lightning Storms the populace of Aeculus have long since retreated into an old keep inside a hollow mountain, established in a bygone age by a mining company.
Arca 2 10 2 Civil, 2 Factory 2x2 1xAmmo, 1xWeapons 1x9, 1x2 1 Arca Neutral Mountainous none 3 2 1 With the largest population of sentient live, Arca the capitol of the Arcan Merchant Collective is covered in a city jungle with contrasting living standards. The Arcans, a humanoid species with rat-like features of industrius and highly competitous traders have turned the mountainous wastes into a chaotic mess of slums and factories.
Arnough 2 0 (1) Civil , (1) Factory 1x2 - 1x2 None Neutral Mild none Once a republic operation-base, Arnough is an abbandoned backwater world with its already little infrastruture laying in ruins.
Caine's World 2 0 (1) Civil , (1) Food 1x3 1x2 None Republic Mild none Formerly known as Ety-Hammon, a small and unimportant backwater world was the sight of....... In the wake of this decicive victory the planet is now referred to as Caines World after the Republic Remnants Commander Castor Caine.
Daton 3 0 3 Factory 3x3 2xArmour, 1xAmmo Neutral Wythler Khanate Toxic Scrap-Storms, Acid Rain 2 2 1 Once a planet whose surface was covered in dense forests, it's strategic location and ever changing military circumstances have turned this once properous world into a waste covered littered with forges and plagued by azid rain and scrap-storms.
Datonie 2 4 2 Civil, 2 Factory 2x2 Armour, Ammo 1x2 2x2 Yar'kassy Republic Desert Sandstorms, Hot Belonging to the Fiefdom of Yar'Kassy the hot and sandstorm-ridden Desert of Datonie is the functional backbone of the Fiefdoms Industry.
Eden 1 0 (1) Food 1x2 Neutral Neutral Jungle none Far off from civilized Space the untoutched jungles of Edens are a mysterious and hidden place untoutched by the spoils of war.
Elysia 2 4 2 Civil, 1 Factory 1x2 2x2 5 Elysia Elysia Jungle none 4 3 4 The Planet Elysia, a jungle world, inhabited by a culture of warriors and peace-keepers has been grudgingly classified as a big contributor to order and justice since the pre republic era. The eliteist society living in technologically advanced City Domes upon the live threatening tropical paradise world has long since expanded into space and big population centers in space now orbit the planet itself.
Exan 2 8 2 Civil, 1 Factory, 1 Food 1x1 1xWeapons 1x3 1x2 Neutral Neutral Jungle none Deep Jungles bursting and blooming with live of all sorts cover the surface of Exan. Its sentient population of Repiloid Humanoids is engulfed in an ever lasting brood war for survival although some efforts have been taken to pacify the planet only a few Exans traverse the voids beyond their homeworld.
Fankether 1 0 (1) Civil , (1) Food 1x2 1x2 Neutral Neutral Forest none A long way from civilized space, Fankether an untouched beauty awaits the coming settlers ever since space travel allowed for its discovery. Why the planet has never been touched by any form of pioneering isnt known.
Fethaphor 3 9 4 Civil 1x5, 1x2, 2x1 Republic Republic Mild none 4 2 3 The republics Capitol Fethaphor is a beacon of peace and prosperity. Its political leadership is located on the planet. Orbitting the planet is a spaceport of tremendous proportions which supplies the Republic Star Fleet with War its Ships.
Garesen 2 3 3 Civil, 1 Food 1x2 1x3 Neutral Neutral Forest Tunnel Network A tribal people dwell in the lush forests of Garesen. Over the generations, they have undermined their settlements with tunnel networks that can span kilometers.
Gargamont 4 10 3 Civil, 1 Factory 1x4 Weapons 1x8, 2x1 Wythler Khanate Wythler Khanate Desert Hot Red On it's wide desert Planes, slums litter the surface of Gargamont, the largest planet in the system. The large and heterogenous population of Abhumans is spread around through enourmus citiy-slums that cover the planet. The hot Climate and unpleasant living standards mark this world as a stained hellhole.
Gargamont Kees 3 6 2 Civil, 1 Food 1x3 1x4, 1x2 Wythler Khanate Wythler Khanate Mild none Red The first moon of the Garamont System, Kees, is the only body in the system truly suited to sustaining life. Consequently, it has been turned into an agri-world providing the enormous populace of Gargamont with food.
Gargamont Rest 3 5 1 Civil, 2 Food 2x2 1x5 Wythler Khanate Wythler Khanate Mild none Red The second moon of the Garamont System, Rest, contains arid shrubland and supports only hardened plant life. Nonetheless, some farmers have settled down here to fuel the all-consuming hunger of the Gargamont slums.
Gargamont Tri 2 5 1 Civil, 1 Factory 1x3 Ammo 1x5 Wythler Khanate Wythler Khanate Desert Sandstorms Red The third moon of the Garamont System, Tri, consists of deserts similar to the planet it orbits. Due to a collection of valuable resources, mining and industry operations have settled down here, fueled by cheap labour from the rest of the system.
Gargamont For 2 4 1 Civil, 1 Factory 1x2 Fuel 1x4 Wythler Khanate Wythler Khanate Desert Sandstorms, Hot Red The fourth moon of the Garamont System, For, is hot and unsuited to intelligent life. Large refineries transform resources hidden deep in the moon's crust into fuel for spaceships while polluting the already thin atmosphere with toxic emissions.
Gargamont Fiftan 2 3 1 Civil 1x3 Wythler Khanate Wythler Khanate Mild Low Air Red The fifth moon of the Garamont System, Fiftan, sports a mild climate but only a very thin atmosphere that makes breathing hard. Here, hardened strugglers live, who wanted to escape the main planet's slums at any cost.
Gargamont Six 2 2 1 Civil 1x2 Wythler Khanate Wythler Khanate Mountainous none Red The sixth moon of the Garamont System, Six, consists of ragged, cold mountains that are hard to traverse on foot. The people who live here nonetheless favour this harsh environment over the dusty plains and crowded slums of Gargamont.
Gargamont Septa 1 1 1 Factory 1x1 0 Wythler Khanate Wythler Khanate Ice World none Red The seventh moon of the Garamont System, Septa, is an uninhabitable ice-world devoid of natural life. A small mining operation seeks to extract fuel sealed under kilometers of ice; the workers here are considered insane even by the inhabitants of the rest of the system
Honigiah 1 1 1 Civil, 1 Food 1x3 1x1 Neutral Republic Mild none Beeing a primarily agrarian outpost the small Republic world of Honigiah is in located in the ___ Ring and only sparsly populated.
Hothesear 5 0 1 Factory 1x3 Fuel Republic Republic Gas Giant none 3 3 2 As a Gas Giant the population of Hothesear is living in an asortment of geostationary Cloud Stations. The confined life hardened its populace to a tough and industrious kind.
Hotheseer Kees 2 4 2 Civil, 1 Factory 1x3 Weapons 1x3, 1x1 Republic Republic Mild none The arid shrubland of Hotheseer Kees, the first and only moon of Hotheseer, is home to a rather new Republican colony.
Kies 1 4 1 Civil, 1 Factory, 1 Food 1x2 Ammo 1x2 1x4 Voteine Voteine Mild none 3 3 1 In its civilisational success only rivaled by its twin, the planet Kies is a vibrant progressive and temperate place inhabited by an Abhuman populace.
Kronos 1 0 1 Special Stone Excavation Site In Mysteries clad
Khalorg System 3 0
Krustus 1 0 Barren Low Air Mysteries rank around the planet of Krustus.
Krygena 3 5 1 Civil, 3 Factory 1x3, 1x2, 1x1 Weapons, Armour, Ammo 1x5 Republic Republic Mild none As the military strongpoint of the republics Core Worlds, Krygena is a fortified world covered in parade squares, factories and miliatry infrastruture.
Lavarasis 2 0 1 Factory 1x3 Fuel Wythler Khanate Wythler Khanate Lava and Stone Hot Rivers of molten Stone squirm the hardened surface of this unlively world. Lavarasis' Lava Seas emit hot pulses only rivaled by the pyroclastic clouds emitting from its big refineries.
Leb 3 6 1 Civil, 2 Food, 1 Special 2x3 1x6 Neutral Neutral Jungle Production Bonus Slave Trade - Increased Production on nearby worlds A remote world covered by a dense and humid jungle inhabited by a seemingly eusocial race of insectioids. Place, Alignment, Merkmale, Species, Gesellschaft
Menaxurie 3 5 2 Food 2x2 Neutral Neutral Toxic Tunnel Network, Ants eat all da food, Toxic A strange and distant world covered in toxic swamps and peculiar vegetation, inhabited by a species of anthropomorphic Insectoids.
Methaphor 3 7 3 Civil 1x4,1x2,1x1 Republic Neutral Mountainous Core World - when completely under control - buff to sourrounding systems Second only to the capitol, the planet Methaphor, is a republic Core World and its cultural center. The world is littered with cities that cling to mountain ranges and inhabited by large human populace.
Montana 2 3 1 Civil, 2 Factory 2x2 Fuel, Armour 1x3 Neutral Neutral Ice World Snow-Storms, Cold Montana's cold wastelands are a barren and outlandish place only disturbed by a small human settlement alongside two factory complexes. The planets native population of monkey-like cave-dwellers keep a distance from the settlers and protect themselves from the merciless snow-storms by mostly staying undergrounds.
Nemawith 2 1 1 Civil, 1 Factory 1x1 Ammo 1x1 Republic Neutral Desert Sandstorms, Hot While beeing hot sandstorm ridden and far off, the republic inhabitants of Nemawith have found a way to live comfortable live inside huge oasisis.
Nasween 2 0 3 Factory 1x2, 1x3, 1x1 Armour, Ammo, Weapons 5 Wythler Khanate Wythler Khanate Lava and Stone Hot 4 3 3 Vulcanic to its core with gigantic factory complexes the Khanates Industrial Center is a hostile place to all life. Its rough and hot surface flooded with Lava and covered in smokeclouds of artifical and natural origin alike, the planets heart is hammer and anvil alike, feeding the Khanates War Efforts with its brutal and ironclad creations. The Warmachines are sent to distant world from an orbital station that also functions as an enourmos shipyard, beeing the Khanates fleets home harbour.
Noser 7 1 Civil, 2 Food, 1 Factory 1x3 Weapons 2x4 1x7 4 Noser Noser Waterworld Storms, Tides Having relocated their entire civilisation under water, the Amfibious Anhumans of Noser inhabit a stormy waterworld. The Oceans are only seldomly disrupted by stony islands emerging from the tidey waters.
PDG 2 0 1 Special Neutral Neutral Desert Sandstorms, Hot CommSat Station - Better Vision A hot red desert world untoutched but for a single republic listening post is riddled by sandstorms and bears no industrial but strategical worth.
Caer-Bannoq 2 3 2 Civil 1x2, 1x1 Republic Republic Forests none Ruled over by a class of noble lords houses the Free World of Caer-Bennoq is home to men and beast alike. From their Strongholds the feudal knights defend the population from the threat of total annihilation by raveging beasts that dwell in the planet covering forests and prey on the planets human inhabitors.
Rokurant 3 9 4 Civil 1x6, 3x1 3 Rokurant Rokurant Mild none Ruthless Efficiency, Exploation of natural ressources and huge Hive Cities are the defining characteristics of Rokurant. Ruled over by a High-Council of Technocrats the world is home to a big populace.
Ergos 1 0 4 Factory 3x4, 1x3 Armour, Ammo, Weapons, Fuel 3 Rokurant Rokurant Moon Landscape Low Air, Low Gravity 4 4 2 Yellow Rokurants Moon Ergos' low air athmosphere is pierced by gigantic factory cities that are the source of their civilisations wealth. The goods and products are transported between mega lifts into geostationary stations and orbitting shipping docks, home not only to a trading empire but a shipyard of unparralled size.
Sarfotohonia 2 0 Neutral Neutral Moon Landscape
Sartorius Rax 3 6 2 Civil 2x3 Republic Sartorian Syndicate Mild Bad Loyality Sartorius Rax, the Red Jewel is a temperate Planet ruled over by an aristocratic class of bojars and statesmen with an iron fist. It is a well known secret that the corrupt, ruling elite is aided by a large demographic of serfs. The Raxian influence extends to a number of nearby worlds. Their loyality to the Republic is shaky.
Sashuageen 2 0 3 Factory 1x3, 2x1 Weapons, 2xAmmo Republic Neutral Stone none As one of the republics main production centres, Sassuagen is home to a mining operation and an industrial complex that sits upon the planets rocky surface.
Seys Forty 2 0 (1) Food 1x2 Neutral Neutral Swamp Corrosive While this humid world of marshes and quagmires bristles with strange life, it is generally hostile to outsiders. Plans to turn it into an agri-world where scrapped due to the corrosive properties of the atmosphere.
Siggi 3 5 2 Civil, 2 Factory 2x3 Fuel, Armour 4 Republic Republic Mild none Inhabtation by generations of stonemasons have shaped the ressource rich world of Siggi into an industrial powerhouse. Drawing from Veins of delicate Crystalstructures, the worth of Siggis mining operations shows itself not only in times of peace but as source of valuable military equipment for planetary defence forces on its neighbouring worlds.
Spice 2 4 4 Civil 4x1 Republic Republic Mountainous, Ravine Cities Production Bonus With its Mountainous Planetscape disrupted only by canyons that dig deep into the planets crust the planet Spice is inhabited by the Cazoons. These cat-like Abhumans dwell in small city states deep inside the planet's ravines and mostly remote from the rest of the galaxy. Although formally part of the Republic, the Cazoon Society is keeping a distance.
Stunteen 2 5 2 Civil, 1 Food 1x2 1x3,1x2 Wythler Khanate Wythler Khanate Stone none WIth its flora reduced to bushes and small trees, the stony surface of this nearly barren planete is home to nomadic abhuman breed, living on the planet and fighting large winged creatures as hunter and prey alike.
Sumpa 4 0 1 Factory, 1 Special 1x4 Fuel Neutral Wythler Khanate Jungle Hot 1 Strategic Ressource: movement bonus A planet-spanning jungle covers the huge planetary surface of Sumpa. Beeing located on a strategic galactic junction and harboring vast quanities of
Teledan 1 0 1 Special Neutral Neutral Swamp Hostile Enviroment Covered in swamps that are inhabited by hostile flora and fauna, Teledan offers little to no planetary value.
Skaeld 2 2 1 Civil, 1 Factory 1x3 Ammo 1x2 Neutral Neutral Ice World Snow-Storms, Cold As a cold and icy world, Skaeld is the most abseit republic planet with an operational base on it. Beeing a harsh enviroment for any human settlement, would it not be for the big factory complex to keeps the inhabitants warm at night this nearly uninhabitable place would be empty.
Skaeld II 1 0 1 Factory 1x2 Armour Neural Neutral Ice World Snow-Storms, Cold The only moon of Skaeld is similarly cold and uninhabitable as Skaeld itself, but also contains some minor factory complexes that make living here worthwile.
Troikn 2 3 2 Civil, 1 Factory 1x2 Weapons 1x2, 1x1 2 Republic Yar'Kassy Steppe Hot Troikn is part the Fiefdom of Yar'Kassy, ruled over by a planetary govenor by the grace of the grand mogul. Its hot steppes are only sparsly populated.and its economic output extends only to military equiment for the armys of the grand vesirs of Yar'Kassy.
Ulfsun 3 1 1 Civil, 2 Food 2x3 3 Neutral Neutral Mild none Ulfsun, a peaceful and fertile grass-world in the ____arm is an exporter of food for the republics densly populated systems near the Core Worlds.
Voteine 3 6 2 Civil, 2 Factory 2x3 Armour, Weapons 2x3 4 Voteine Voteine Mild none In terms of Civilisational Harmony and population-spanning wealth and communal spirit, the Home World of the Voteine People, an Abhuman breed, is unmatched in any neighboring systems and far beyond. The planets self sufficient structures are governed by a democratic and enlightend leadership.
Wyth 2 5 3 Civil, 1 Food 1x3 1x3,2x1 4 Wythler Khanate Wythler Khanate Steppe Event = Population decrease The Steppes of Wyth, Home World to the Wythlers and the Khanates Seat of Power is the cradle of all Wythler Civilisation. The Golden Palace as well as the City of Khanar-Khargan dominates this world as much as Wyth itself domintes all neighboring worlds.Its is the source of supreme authority.
Xonorasis 1 1 1 Civil, 2 Factory 1x1,1x2 Ammo, Fuel 1x1 1 Arca Arca Stone Low Air Exploited to the core by its Arcan Inhabiors, the planet of Xonorasis is made nigh uninhabtale by greedy industrial endevours.
Yeesveer 5 0 - Republic Republic Gas Giant none Three moons orbit this far-off gas giant that is otherwise of little interest to the galaxy at large.
Yeesveer Kees 1 0 (1) Factory 1x2 Weapons 2 Republic Republic Moon Landscape Low Air, Low Gravity The first moon of Yeesveer has only little atmosphere, but sports some valuable minerals deep in its crust. So far, due to its far-off location, nobody has bothered to extract them, but this may change in the future.
Yeesveer Rest 2 2 1 Civil, (1) Civil 1x1, 1x3 Republic Republic Mountainous none The second moon of Yeesveer is rocky and rather cold, but nonetheless inhabitable. A tribal colony of tall and stocky abhumans called the Zelthas live here and let their flocks of livestock graze on the rough terrain.
Yeesveer Tri 1 0 Republic Republic No Atmosphere The third moon of Yeesveeer is a barren rock unable to support any life, and does not contain anything of value.
Zami 2 4 2 Civil, 1 Food 1x3 2x2 4 Zami Technocracy Zami Technocracy Mild none While its toxic surface is populated by slaves and automatas the ruling elite of Zami concile in spires of unrivaled grace and technical sophistication. The Zami Technocracy keeps its distance from largerm organisational bodys like the republic or the Khanate, for its menacing and strange makinations are steeped in mystery and viewed with contempt throuout known space.
Zami II 2 3 2 Civil, 1 Factory, 1 Special 1x3 Weapons 1x2,1x1 4 Zami Technocracy Zami Technocracy Mild Unlocks Special (hidden) after alignment is set Cloning Tombs Mirroring the structures found on Zami, its twin planet is striving to step into its foot steps.
Yar'kassy 3 6 3 Civil 1x4,2x1 3 Republic Yar'Kassy Steppe Hot Yar'Kassy, voice of the wind, golden gem of the Fiefdom and home to the Maroon Alcázar
Yarva Primus 2 5 2 Civil Neutral Neutral Mild none While the first Yar'Kassian Pioneers settled Yarva and its moon as a military outpost, it has long since developed into a full flegded Society under the supreme governance of the Yar'Kassy Palace.
Yarva Minoris 1 3 1 Civil, 1 Factory Neutral Neutral Mild none Beeing the moon of Primus, the settlement on minoris is now also the birthplace of many Yar'Kassian Planetary Armourments.
Vestripee
Taurellia
Flynn's World 2 3 2 Civil, 1 Food 1x2 1x2, 1x1 Republic Republic Mild none
Vaiar
Marland
Ahr
Rimspace Station 1 1 1 Special A mysterius religious cult inhabits a Void Station on the edge of known space. It orbits a strange space anomaly and the cult seems to be connected to it in very unsetteling way.
Vesparus 1 Civil, 3 Food 3x3 Republic Republic As the defacto Breadbasket of the Republic, the Planet Vesparus is of vital importance. Its mild planes and gigantic fields are home to generous and friendly kind of settlers whose main Concern is the well beeing of its neighbouring systems. So they think.
Kyralos
Cervis Ice World Cold, Snowstorms
Inobria In midnight clad, the surface of Inobria is so seldomly touched by sunlight that the people living on it are pale-skinned and unaccustomed to brightness .
Chirago
Rythion
Binnisar
Waylen
Gysir Swamp none
Garsomyr
Ehrlen
Varr Steppe none
Karth
Sikhara
Ingrim 1 Civil, 2 Factory
Bail Harmonn
Name,Size,Population,Structure Types,Factory Rating,Factory Type,Food Rating,Civil Rating,Quality Rating,Alignment,Start Faction,Terrain,Conditions,Space Station,Shipyard,Station Power ,Sun Colour,Special,Text Info,
Aeculus,1,3,"1 Civil, 1 Factory",1x3,Ammo,,1x3,,,Neutral,Mild,Storms,,,,,,"With its planet's surface raveged by murderous Lightning Storms the populace of Aeculus have long since retreated into an old keep inside a hollow mountain, established in a bygone age by a mining company.",
Arca,2,10,"2 Civil, 2 Factory",2x2,"1xAmmo, 1xWeapons",,"1x9, 1x2",1,Arca,Neutral,Mountainous,none,3,2,1,,,"With the largest population of sentient live, Arca the capitol of the Arcan Merchant Collective is covered in a city jungle with contrasting living standards. The Arcans, a humanoid species with rat-like features of industrius and highly competitous traders have turned the mountainous wastes into a chaotic mess of slums and factories.",
Arnough,2,0,"(1) Civil, (1) Factory",1x2,-,,1x2,,None,Neutral,Mild,none,,,,,,"Once a republic operation-base, Arnough is an abbandoned backwater world with its already little infrastruture laying in ruins.",
Caine's World,2,0,"(1) Civil, (1) Food",,,1x3,1x2,,None,Republic,Mild,none,,,,,,"Formerly known as Ety-Hammon, a small and unimportant backwater world was the sight of....... In the wake of this decicive victory the planet is now referred to as Caines World after the Republic Remnants Commander Castor Caine.",
Daton,3,0,3 Factory,3x3,"2xArmour, 1xAmmo",,,,Neutral,Wythler Khanate,Toxic,"Scrap-Storms, Acid Rain",2,2,1,,,"Once a planet whose surface was covered in dense forests, it's strategic location and ever changing military circumstances have turned this once properous world into a waste covered littered with forges and plagued by azid rain and scrap-storms.",
Datonie,2,4,"2 Civil, 2 Factory",2x2,"Armour, Ammo",1x2,2x2,,Yar'kassy,Republic,Desert,"Sandstorms, Hot",,,,,,Belonging to the Fiefdom of Yar'Kassy the hot and sandstorm-ridden Desert of Datonie is the functional backbone of the Fiefdoms Industry.,
Eden,1,0,(1) Food,1x2,,,,,Neutral,Neutral,Jungle,none,,,,,,Far off from civilized Space the untoutched jungles of Edens are a mysterious and hidden place untoutched by the spoils of war.,
Elysia,2,4,"2 Civil, 1 Factory",1x2,,,2x2,5,Elysia,Elysia,Jungle,none,4,3,4,,,"The Planet Elysia, a jungle world, inhabited by a culture of warriors and peace-keepers has been grudgingly classified as a big contributor to order and justice since the pre republic era. The eliteist society living in technologically advanced City Domes upon the live threatening tropical paradise world has long since expanded into space and big population centers in space now orbit the planet itself.",
Exan,2,8,"2 Civil, 1 Factory, 1 Food",1x1,1xWeapons,1x3,1x2,,Neutral,Neutral,Jungle,none,,,,,,Deep Jungles bursting and blooming with live of all sorts cover the surface of Exan. Its sentient population of Repiloid Humanoids is engulfed in an ever lasting brood war for survival although some efforts have been taken to pacify the planet only a few Exans traverse the voids beyond their homeworld.,
Fankether,1,0,"(1) Civil, (1) Food",,,1x2,1x2,,Neutral,Neutral,Forest,none,,,,,,"A long way from civilized space, Fankether an untouched beauty awaits the coming settlers ever since space travel allowed for its discovery. Why the planet has never been touched by any form of pioneering isnt known.",
Fethaphor,3,9,4 Civil,,,,"1x5, 1x2, 2x1",,Republic,Republic,Mild,none,4,2,3,,,The republics Capitol Fethaphor is a beacon of peace and prosperity. Its political leadership is located on the planet. Orbitting the planet is a spaceport of tremendous proportions which supplies the Republic Star Fleet with War its Ships.,
Garesen,2,3,"3 Civil, 1 Food",,,1x2,1x3,,Neutral,Neutral,Forest,Tunnel Network,,,,,,"A tribal people dwell in the lush forests of Garesen. Over the generations, they have undermined their settlements with tunnel networks that can span kilometers.",
Gargamont,4,10,"3 Civil, 1 Factory",1x4,Weapons,,"1x8, 2x1",,Wythler Khanate,Wythler Khanate,Desert,Hot,,,,Red,,"On it's wide desert Planes, slums litter the surface of Gargamont, the largest planet in the system. The large and heterogenous population of Abhumans is spread around through enourmus citiy-slums that cover the planet. The hot Climate and unpleasant living standards mark this world as a stained hellhole.",
Gargamont Kees,3,6,"2 Civil, 1 Food",,,1x3,"1x4, 1x2",,Wythler Khanate,Wythler Khanate,Mild,none,,,,Red,,"The first moon of the Garamont System, Kees, is the only body in the system truly suited to sustaining life. Consequently, it has been turned into an agri-world providing the enormous populace of Gargamont with food.",
Gargamont Rest,3,5,"1 Civil, 2 Food",,,2x2,1x5,,Wythler Khanate,Wythler Khanate,Mild,none,,,,Red,,"The second moon of the Garamont System, Rest, contains arid shrubland and supports only hardened plant life. Nonetheless, some farmers have settled down here to fuel the all-consuming hunger of the Gargamont slums.",
Gargamont Tri,2,5,"1 Civil, 1 Factory",1x3,Ammo,,1x5,,Wythler Khanate,Wythler Khanate,Desert,Sandstorms,,,,Red,,"The third moon of the Garamont System, Tri, consists of deserts similar to the planet it orbits. Due to a collection of valuable resources, mining and industry operations have settled down here, fueled by cheap labour from the rest of the system.",
Gargamont For,2,4,"1 Civil, 1 Factory",1x2,Fuel,,1x4,,Wythler Khanate,Wythler Khanate,Desert,"Sandstorms, Hot",,,,Red,,"The fourth moon of the Garamont System, For, is hot and unsuited to intelligent life. Large refineries transform resources hidden deep in the moon's crust into fuel for spaceships while polluting the already thin atmosphere with toxic emissions.",
Gargamont Fiftan,2,3,1 Civil,,,,1x3,,Wythler Khanate,Wythler Khanate,Mild,Low Air,,,,Red,,"The fifth moon of the Garamont System, Fiftan, sports a mild climate but only a very thin atmosphere that makes breathing hard. Here, hardened strugglers live, who wanted to escape the main planet's slums at any cost.",
Gargamont Six,2,2,1 Civil,,,,1x2,,Wythler Khanate,Wythler Khanate,Mountainous,none,,,,Red,,"The sixth moon of the Garamont System, Six, consists of ragged, cold mountains that are hard to traverse on foot. The people who live here nonetheless favour this harsh environment over the dusty plains and crowded slums of Gargamont.",
Gargamont Septa,1,1,1 Factory,1x1,,,0,,Wythler Khanate,Wythler Khanate,Ice World,none,,,,Red,,"The seventh moon of the Garamont System, Septa, is an uninhabitable ice-world devoid of natural life. A small mining operation seeks to extract fuel sealed under kilometers of ice; the workers here are considered insane even by the inhabitants of the rest of the system",
Honigiah,1,1,"1 Civil, 1 Food",,,1x3,1x1,,Neutral,Republic,Mild,none,,,,,,Beeing a primarily agrarian outpost the small Republic world of Honigiah is in located in the ___ Ring and only sparsly populated.,
Hotheseer,5,0,1 Factory,1x3,Fuel,,,,Republic,Republic,Gas Giant,none,3,3,2,,,As a Gas Giant the population of Hothesear is living in an asortment of geostationary Cloud Stations. The confined life hardened its populace to a tough and industrious kind. ,
Hotheseer Kees,2,4,"2 Civil, 1 Factory",1x3,Weapons,,"1x3, 1x1",,Republic,Republic,Mild,none,,,,,,"The arid shrubland of Hotheseer Kees, the first and only moon of Hotheseer, is home to a rather new Republican colony.",
Kies,1,4,"1 Civil, 1 Factory, 1 Food",1x2,Ammo,1x2,1x4,,Voteine,Voteine,Mild,none,3,3,1,,,"In its civilisational success only rivaled by its twin, the planet Kies is a vibrant progressive and temperate place inhabited by an Abhuman populace.",
Kronos,1,0,1 Special,,,,,,,,Stone,,,,,,Excavation Site,Clad in Mystery the Moon of Kronos,
Khalorg System,3,0,,,,,,,,,,,,,,,,,
Krustus,1,0,,,,,,,,,Barren,Low Air,,,,,,Mysteries rank around the planet of Krustus.,
Krigena,3,5,"1 Civil, 3 Factory","1x3, 1x2, 1x1","Weapons, Armour, Ammo",,1x5,,Republic,Republic,Mild,none,,,,,,"As the military strongpoint of the republics Core Worlds, Krygena is a fortified world covered in parade squares, factories and miliatry infrastruture.",
Lavarasis,2,0,1 Factory,1x3,Fuel,,,,Wythler Khanate,Wythler Khanate,Lava and Stone,Hot,,,,,,Rivers of molten Stone squirm the hardened surface of this unlively world. Lavarasis' Lava Seas emit hot pulses only rivaled by the pyroclastic clouds emitting from its big refineries.,
Leb,3,6,"1 Civil, 2 Food, 1 Special",,,2x3,1x6,,Neutral,Neutral,Jungle,Production Bonus,,,,,Slave Trade - Increased Production on nearby worlds,A remote world covered by a dense and humid jungle inhabited by a seemingly eusocial race of insectioids.,"Place, Alignment, Merkmale, Species, Gesellschaft"
Menaxurie,3,5,2 Food,,,2x2,,,Neutral,Neutral,Toxic,"Tunnel Network, Ants eat all da food, Toxic",,,,,,"A strange and distant world covered in toxic swamps and peculiar vegetation, inhabited by a species of anthropomorphic Insectoids.",
Methaphor,3,7,3 Civil,,,,"1x4,1x2,1x1",,Republic,Neutral,Mountainous,Core World - when completely under control - buff to sourrounding systems,,,,,,"Second only to the capitol, the planet Methaphor, is a republic Core World and its cultural center. The world is littered with cities that cling to mountain ranges and inhabited by large human populace.",
Montana,2,3,"1 Civil, 2 Factory",2x2,"Fuel, Armour",,1x3,,Neutral,Neutral,Ice World,"Snow-Storms, Cold",,,,,,Montana's cold wastelands are a barren and outlandish place only disturbed by a small human settlement alongside two factory complexes. The planets native population of monkey-like cave-dwellers keep a distance from the settlers and protect themselves from the merciless snow-storms by mostly staying undergrounds.,
Nemawith,2,1,"1 Civil, 1 Factory",1x1,Ammo,,1x1,,Republic,Neutral,Desert,"Sandstorms, Hot",,,,,,"While beeing hot sandstorm ridden and far off, the republic inhabitants of Nemawith have found a way to live comfortable live inside huge oasisis.",
Nasween,2,0,3 Factory,"1x2, 1x3, 1x1","Armour, Ammo, Weapons",,,5,Wythler Khanate,Wythler Khanate,Lava and Stone,Hot,4,3,3,,,"Vulcanic to its core with gigantic factory complexes the Khanates Industrial Center is a hostile place to all life. Its rough and hot surface flooded with Lava and covered in smokeclouds of artifical and natural origin alike, the planets heart is hammer and anvil alike, feeding the Khanates War Efforts with its brutal and ironclad creations. The Warmachines are sent to distant world from an orbital station that also functions as an enourmos shipyard, beeing the Khanates fleets home harbour.",
Noser,,7,"1 Civil, 2 Food, 1 Factory",1x3,Weapons,2x4,1x7,4,Noser,Noser,Waterworld,"Storms, Tides",,,,,,"Having relocated their entire civilisation under water, the Amfibious Anhumans of Noser inhabit a stormy waterworld. The Oceans are only seldomly disrupted by stony islands emerging from the tidey waters.",
PDG ,2,0,1 Special,,,,,,Neutral,Neutral,Desert,"Sandstorms, Hot",,,,,CommSat Station - Better Vision,A hot red desert world untoutched but for a single republic listening post is riddled by sandstorms and bears no industrial but strategical worth.,
Caer-Bannoq,2,3,2 Civil,,,,"1x2, 1x1",,Republic,Republic,Forests,none,,,,,,Ruled over by a class of noble lords houses the Free World of Caer-Bennoq is home to men and beast alike. From their Strongholds the feudal knights defend the population from the threat of total annihilation by raveging beasts that dwell in the planet covering forests and prey on the planets human inhabitors.,
Rokurant ,3,9,4 Civil,,,,"1x6, 3x1",3,Rokurant,Rokurant,Mild,none,,,,,,"Ruthless Efficiency, Exploation of natural ressources and huge Hive Cities are the defining characteristics of Rokurant. Ruled over by a High-Council of Technocrats the world is home to a big populace.",
Ergos,1,0,4 Factory,"3x4, 1x3","Armour, Ammo, Weapons, Fuel",,,3,Rokurant,Rokurant,Moon Landscape,"Low Air, Low Gravity",4,4,2,Yellow,,"Rokurants Moon Ergos' low air athmosphere is pierced by gigantic factory cities that are the source of their civilisations wealth. The goods and products are transported between mega lifts into geostationary stations and orbitting shipping docks, home not only to a trading empire but a shipyard of unparralled size.",
Sarfotohonia,2,0,,,,,,,Neutral,Neutral,Moon Landscape,,,,,,,,
Sartorius Rax,3,6,2 Civil,,,,2x3,,Republic,Sartorian Syndicate,Mild,Bad Loyality,,,,,,"Sartorius Rax, the Red Jewel is a temperate Planet ruled over by an aristocratic class of bojars and statesmen with an iron fist. It is a well known secret that the corrupt, ruling elite is aided by a large demographic of serfs. The Raxian influence extends to a number of nearby worlds. Their loyality to the Republic is shaky. ",
Sashuageen,2,0,3 Factory,"1x3, 2x1","Weapons, 2xAmmo",,,,Republic,Neutral,Stone,none,,,,,,"As one of the republics main production centres, Sassuagen is home to a mining operation and an industrial complex that sits upon the planets rocky surface.",
Seys Forty,2,0,(1) Food,,,1x2,,,Neutral,Neutral,Swamp,Corrosive,,,,,,"While this humid world of marshes and quagmires bristles with strange life, it is generally hostile to outsiders. Plans to turn it into an agri-world where scrapped due to the corrosive properties of the atmosphere.",
Siggi,3,5,"2 Civil, 2 Factory",2x3,"Fuel, Armour",,,4,Republic,Republic,Mild,none,,,,,,"Inhabtation by generations of stonemasons have shaped the ressource rich world of Siggi into an industrial powerhouse. Drawing from Veins of delicate Crystalstructures, the worth of Siggis mining operations shows itself not only in times of peace but as source of valuable military equipment for planetary defence forces on its neighbouring worlds.",
Spice,2,4,4 Civil,,,,4x1,,Republic,Republic,"Mountainous, Ravine Cities",Production Bonus,,,,,,"With its Mountainous Planetscape disrupted only by canyons that dig deep into the planets crust the planet Spice is inhabited by the Cazoons. These cat-like Abhumans dwell in small city states deep inside the planet's ravines and mostly remote from the rest of the galaxy. Although formally part of the Republic, the Cazoon Society is keeping a distance.",
Stunteen,2,5,"2 Civil, 1 Food",,,1x2,"1x3,1x2",,Wythler Khanate,Wythler Khanate,Stone,none,,,,,,"WIth its flora reduced to bushes and small trees, the stony surface of this nearly barren planete is home to nomadic abhuman breed, living on the planet and fighting large winged creatures as hunter and prey alike.",
Sumpa,4,0,"1 Factory, 1 Special",1x4,Fuel,,,,Neutral,Wythler Khanate,Jungle,Hot,1,,,,Strategic Ressource: movement bonus,A planet-spanning jungle covers the huge planetary surface of Sumpa. Beeing located on a strategic galactic junction and harboring vast quanities of ,
Teledan,1,0,1 Special,,,,,,Neutral,Neutral,Swamp,Hostile Enviroment,,,,,,"Covered in swamps that are inhabited by hostile flora and fauna, Teledan offers little to no planetary value.",
Skaeld,2,2,"1 Civil, 1 Factory",1x3,Ammo,,1x2,,Neutral,Neutral,Ice World,"Snow-Storms, Cold",,,,,,"As a cold and icy world, Skaeld is the most abseit republic planet with an operational base on it. Beeing a harsh enviroment for any human settlement, would it not be for the big factory complex to keeps the inhabitants warm at night this nearly uninhabitable place would be empty.",
Skaeld II,1,0,1 Factory,1x2,Armour,,,,Neural,Neutral,Ice World,"Snow-Storms, Cold",,,,,,"The only moon of Skaeld is similarly cold and uninhabitable as Skaeld itself, but also contains some minor factory complexes that make living here worthwile.",
Troikn,2,3,"2 Civil, 1 Factory",1x2,Weapons,,"1x2, 1x1",2,Republic,Yar'Kassy,Steppe,Hot,,,,,,"Troikn is part the Fiefdom of Yar'Kassy, ruled over by a planetary govenor by the grace of the grand mogul. Its hot steppes are only sparsly populated.and its economic output extends only to military equiment for the armys of the grand vesirs of Yar'Kassy.",
Ulfsun,3,1,"1 Civil, 2 Food",,,2x3,,3,Neutral,Neutral,Mild,none,,,,,,"Ulfsun, a peaceful and fertile grass-world in the ____arm is an exporter of food for the republics densly populated systems near the Core Worlds.",
Voteine,3,6,"2 Civil, 2 Factory",2x3,"Armour, Weapons",,2x3,4,Voteine,Voteine,Mild,none,,,,,,"In terms of Civilisational Harmony and population-spanning wealth and communal spirit, the Home World of the Voteine People, an Abhuman breed, is unmatched in any neighboring systems and far beyond. The planets self sufficient structures are governed by a democratic and enlightend leadership.",
Vrotan,2,1,"1 Civil, 1 Food",,,1x3,1x1,,Neutral,Neutral,Steppe,none,,,,,,,
Wyth,2,5,"3 Civil, 1 Food",,,1x3,"1x3,2x1",4,Wythler Khanate,Wythler Khanate,Steppe,Event = Population decrease,,,,,,"The Steppes of Wyth, Home World to the Wythlers and the Khanates Seat of Power is the cradle of all Wythler Civilisation. The Golden Palace as well as the City of Khanar-Khargan dominates this world as much as Wyth itself domintes all neighboring worlds.Its is the source of supreme authority.",
Xonorasis,1,1,"1 Civil, 2 Factory","1x1,1x2","Ammo, Fuel",,1x1,1,Arca,Arca,Stone,Low Air,,,,,,"Exploited to the core by its Arcan Inhabiors, the planet of Xonorasis is made nigh uninhabtale by greedy industrial endevours.",
Yeesveer,5,0,-,,,,,,Republic,Republic,Gas Giant,none,,,,,,Three moons orbit this far-off gas giant that is otherwise of little interest to the galaxy at large.,
Yeesveer Kees,1,0,(1) Factory,1x2,Weapons,,,2,Republic,Republic,Moon Landscape,"Low Air, Low Gravity",,,,,,"The first moon of Yeesveer has only little atmosphere, but sports some valuable minerals deep in its crust. So far, due to its far-off location, nobody has bothered to extract them, but this may change in the future.",
Yeesveer Rest,2,2,"1 Civil, (1) Civil",,,,"1x1, 1x3",,Republic,Republic,Mountainous,none,,,,,,"The second moon of Yeesveer is rocky and rather cold, but nonetheless inhabitable. A tribal colony of tall and stocky abhumans called the Zelthas live here and let their flocks of livestock graze on the rough terrain.",
Yeesveer Tri,1,0,,,,,,,Republic,Republic,No Atmosphere,,,,,,,"The third moon of Yeesveeer is a barren rock unable to support any life, and does not contain anything of value.",
Zami,2,4,"2 Civil, 1 Food",,,1x3,2x2,4,Zami Technocracy,Zami Technocracy,Mild,none,,,,,,"While its toxic surface is populated by slaves and automatas the ruling elite of Zami concile in spires of unrivaled grace and technical sophistication. The Zami Technocracy keeps its distance from largerm organisational bodys like the republic or the Khanate, for its menacing and strange makinations are steeped in mystery and viewed with contempt throuout known space.",
Zami II,2,3,"2 Civil, 1 Factory, 1 Special",1x3,Weapons,,"1x2,1x1",4,Zami Technocracy,Zami Technocracy,Mild,Unlocks Special (hidden) after alignment is set,,,,,Cloning Tombs,"Mirroring the structures found on Zami, its twin planet is striving to step into its foot steps.",
Yar'kassy,3,6,3 Civil,,,,"1x4,2x1",3,Republic,Yar'Kassy,Steppe,Hot,,,,,Ghar Haclem Outposts,"Yar'Kassy, voice of the wind, golden gem of the Fiefdom and home to the Maroon Alcázar",
Yarva Primus,2,5,2 Civil,,,,"1x3,1x2",,Neutral,Neutral,Mild,none,,,,,,"While the first Yar'Kassian Pioneers settled Yarva and its moon as a military outpost, it has long since developed into a full flegded Society under the supreme governance of the Yar'Kassy Palace.",
Yarva Minoris,1,3,"1 Civil, 1 Factory",,,,1x3,,Neutral,Neutral,Mild,none,,,,,,"Beeing the moon of Primus, the settlement on minoris is now also the birthplace of many Yar'Kassian Planetary Armourments.",
Vestripee,,,,,,,,,,,,,,,,,,,
Taurellia,,,,,,,,,,,,,,,,,,,
Flynn's World,2,3,"2 Civil, 1 Food",,,1x2,"1x2, 1x1",,Republic,Republic,Mild,none,,,,,,,
Vaiar,,,,,,,,,,,,,,,,,,,
Marland,,,,,,,,,,,,,,,,,,,
Ahr,,,,,,,,,,,,,,,,,,,
Rimspace Station,1,1,1 Special,,,,,,,,,,,,,,,A mysterius religious cult inhabits a Void Station on the edge of known space. It orbits a strange space anomaly and the cult seems to be connected to it in very unsetteling way.,
Vesparus,,,"1 Civil, 3 Food",,,3x3,,,Republic,Republic,,,,,,,,"As the defacto Breadbasket of the Republic, the Planet Vesparus is of vital importance. Its mild planes and gigantic fields are home to generous and friendly kind of settlers whose main Concern is the well beeing of its neighbouring systems. So they think.",
Kyralos,,,,,,,,,,,,,,,,,,,
Cervis,,,,,,,,,,,Ice World,"Cold, Snowstorms",,,,,,,
Inobria,,,,,,,,,,,,,,,,,,"In midnight clad, the surface of Inobria is so seldomly touched by sunlight that the people living on it are pale-skinned and unaccustomed to brightness .",
Hammon,,,,,,,,,,,,,,,,,,,
Rythion,,,,,,,,,,,,,,,,,,,
Binnisar,,,,,,,,,,,,,,,,,,,
Waylen,,,,,,,,,,,,,,,,,,,
Gysir,,,,,,,,,,,Swamp,none,,,,,,,
Garsomyr,,,,,,,,,,,,,,,,,,,
Ehrlen,,,,,,,,,,,,,,,,,,,
Varr,,,,,,,,,,,Steppe,none,,,,,,,
Karth,,,,,,,,,,,,,,,,,,,
Sikhara,,,,,,,,,,,,,,,,,,,
Ingrim,,,"1 Civil, 2 Factory",,,,,,,,,,,,,,,,
Harkon,,,,,,,,,,,,,,,,,,,

+ 39188
- 14635
Assets/GWConquest/Scenes/GalaxyMap.unity
File diff suppressed because it is too large
View File


+ 10
- 0
Assets/GWConquest/Scripts/District.cs View File

@ -47,6 +47,14 @@ namespace GWConquest
}
#if UNITY_EDITOR
public void SetDefaultSprite()
{
string spritePath = "Assets/GWConquest/Textures/Icons/District" + System.Enum.GetName(typeof(DistrictType), DistrictType) + ".png";
DefaultSprite = UnityEditor.AssetDatabase.LoadAssetAtPath<Sprite>(spritePath);
}
#endif
}
public enum DistrictType
@ -56,4 +64,6 @@ namespace GWConquest
Food,
Special
}
}

+ 67
- 61
Assets/GWConquest/Scripts/Planet.cs View File

@ -1,7 +1,7 @@
using UnityEngine;
using System;
using System;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
namespace GWConquest
{
@ -13,7 +13,7 @@ namespace GWConquest
{
get
{
if(_allPlanets == null)
if (_allPlanets == null)
{
_allPlanets = FindObjectsOfType<Planet>();
}
@ -40,7 +40,7 @@ namespace GWConquest
public Zone[] GetZones(ZoneType type)
{
switch(type)
switch (type)
{
case ZoneType.Ground:
return groundZones;
@ -103,14 +103,14 @@ namespace GWConquest
indicatorUI.SetPlanet(this);
}
}
}
public IEnumerable<Formation> GetAllFormations(ZoneType zoneType)
{
List<Formation> list = new List<Formation>();
foreach(Zone zone in GetZones(zoneType))
foreach (Zone zone in GetZones(zoneType))
{
list.AddRange(zone.Formations);
}
@ -147,7 +147,7 @@ namespace GWConquest
public void SetupZones()
{
UnityEditor.Undo.RecordObject(this, "Setting up zones");
if(GetMainZone(ZoneType.Space) == null)
if (GetMainZone(ZoneType.Space) == null)
{
Zone zone = CreateZone("SpaceMain");
zone.mainZone = true;
@ -183,73 +183,79 @@ namespace GWConquest
var data = PlanetData;
foreach(Zone z in groundZones)
foreach (Zone z in groundZones)
{
if(!z.attackZone)
if (!z.attackZone)
{
DestroyImmediate(z.gameObject);
UnityEditor.ArrayUtility.Remove(ref groundZones, z);
}
}
foreach(DistrictConnection conn in GetComponentsInChildren<DistrictConnection>())
foreach (DistrictConnection conn in GetComponentsInChildren<DistrictConnection>())
{
DestroyImmediate(conn.gameObject);
}
District lastDistrict = null;
for(int i = 0; i < data.DistrictData.Length; i++)
if (data != null && data.DistrictData != null)
{
var districtData = data.DistrictData[i];
Zone zone;
if (districtData.DistrictType == DistrictType.Civil || districtData.DistrictType == DistrictType.Factory)
{
var go = UnityEditor.PrefabUtility.InstantiatePrefab(facotryPrefab) as GameObject;
zone = go.GetComponent<Zone>();
go.name = districtData.Name;
go.transform.SetParent(transform);
go.transform.localPosition = Vector3.zero;
go.transform.localRotation = Quaternion.identity;
go.transform.localScale = Vector3.one;
}
else
{
zone = CreateZone(districtData.Name);
zone.gameObject.AddComponent<District>();
}
var coll = GetComponentInChildren<SphereCollider>();
float radius = coll.radius * coll.transform.lossyScale.x;
Vector3 basePoint = (planetCameraTransform.position - transform.position).normalized;
Vector3 randomPoint = UnityEngine.Random.onUnitSphere;
Vector3 dPoint = Vector3.RotateTowards(basePoint, randomPoint, UnityEngine.Random.Range(0f, Mathf.PI / 8f), 0f);
zone.transform.position = transform.position + radius * dPoint;
District d = zone.GetComponent<District>();
d.DistrictType = districtData.DistrictType;
d.DistrictName = districtData.Name;
if (districtData.DistrictType == DistrictType.Civil || districtData.DistrictType == DistrictType.Factory)
for (int i = 0; i < data.DistrictData.Length; i++)
{
var factory = zone.GetComponent<DistrictFactory>();
factory.FactoryType = districtData.DistrictType == DistrictType.Factory ? FactoryType.Infantry : FactoryType.City;
}
if(i >= 1)
{
GameObject connGO = gameObject.CreateEmpty("Connection");
var conn = connGO.AddComponent<DistrictConnection>();
conn.district1 = lastDistrict;
conn.district2 = d;
var districtData = data.DistrictData[i];
Zone zone;
if (districtData.DistrictType == DistrictType.Civil || districtData.DistrictType == DistrictType.Factory)
{
var go = UnityEditor.PrefabUtility.InstantiatePrefab(facotryPrefab) as GameObject;
zone = go.GetComponent<Zone>();
go.name = districtData.Name;
go.transform.SetParent(transform);
go.transform.localPosition = Vector3.zero;
go.transform.localRotation = Quaternion.identity;
go.transform.localScale = Vector3.one;
}
else
{
zone = CreateZone(districtData.Name);
zone.gameObject.AddComponent<District>();
}
var coll = GetComponentInChildren<SphereCollider>();
float radius = coll.radius * coll.transform.lossyScale.x;
Vector3 basePoint = (planetCameraTransform.position - transform.position).normalized;
Vector3 randomPoint = UnityEngine.Random.onUnitSphere;
Vector3 dPoint = Vector3.RotateTowards(basePoint, randomPoint, UnityEngine.Random.Range(0f, Mathf.PI / 8f), 0f);
zone.transform.position = transform.position + radius * dPoint;
District d = zone.GetComponent<District>();
d.DistrictType = districtData.DistrictType;
d.DistrictName = districtData.Name;
d.SetDefaultSprite();
if (districtData.DistrictType == DistrictType.Civil || districtData.DistrictType == DistrictType.Factory)
{
var factory = zone.GetComponent<DistrictFactory>();
factory.FactoryType = districtData.DistrictType == DistrictType.Factory ? FactoryType.Infantry : FactoryType.City;
}
if (i >= 1)
{
GameObject connGO = gameObject.CreateEmpty("Connection");
var conn = connGO.AddComponent<DistrictConnection>();
conn.district1 = lastDistrict;
conn.district2 = d;
}
lastDistrict = d;
Util.ArrayAppend(ref groundZones, zone);
}
lastDistrict = d;
Util.ArrayAppend(ref groundZones, zone);
}
}
UnityEditor.PrefabUtility.RecordPrefabInstancePropertyModifications(this);
}
@ -257,14 +263,14 @@ namespace GWConquest
[ContextMenu("Setup Zones From Database - All")]
public void SetupAllZones()
{
foreach(Planet p in AllPlanets)
foreach (Planet p in AllPlanets)
{
Debug.LogFormat("Setting up zones on {0}", p.gameObject.name);
try
{
p.SetupZonesFromDatabase();
}
catch(Exception ex)
catch (Exception ex)
{
Debug.LogException(ex);
}


+ 1
- 1
Assets/GWConquest/Scripts/PlanetRegistry.cs View File

@ -52,7 +52,7 @@ namespace GWConquest
BoltLog.Info("Loading Planet Map...");
TextAsset database = Resources.Load<TextAsset>("Database/Planets");
CSVFile csv = CSVFile.ParseCSV(database.text, delimiter: '\t');
CSVFile csv = CSVFile.ParseCSV(database.text);
for(int i = 0; i < csv.Length; i++)
{
var data = csv.GetEntry(i);


Assets/GWConquest/Textures/Icons/ICON_Build_2.PNG → Assets/GWConquest/Textures/Icons/DistrictCivil.PNG View File


Assets/GWConquest/Textures/Icons/ICON_Build_2.PNG.meta → Assets/GWConquest/Textures/Icons/DistrictCivil.PNG.meta View File


Assets/GWConquest/Textures/Icons/Factory 3.png → Assets/GWConquest/Textures/Icons/DistrictFactory.png View File


Assets/GWConquest/Textures/Icons/Factory 3.png.meta → Assets/GWConquest/Textures/Icons/DistrictFactory.png.meta View File


Assets/GWConquest/Textures/Icons/ICON Food.png → Assets/GWConquest/Textures/Icons/DistrictFood.png View File


Assets/GWConquest/Textures/Icons/ICON Food.png.meta → Assets/GWConquest/Textures/Icons/DistrictFood.png.meta View File


BIN
Assets/GWConquest/Textures/Icons/DistrictSpecial.png View File

Before After
Width: 180  |  Height: 180  |  Size: 2.2 KiB

+ 128
- 0
Assets/GWConquest/Textures/Icons/DistrictSpecial.png.meta View File

@ -0,0 +1,128 @@
fileFormatVersion: 2
guid: 84ab639475a53d14fb7cc01f622b3b22
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 2
aniso: 2
mipBias: -100
wrapU: 1
wrapV: 1
wrapW: -1
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 2
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 8
textureShape: 1
singleChannelComponent: 0
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
applyGammaDecoding: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 8192
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Standalone
maxTextureSize: 8192
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: iPhone
maxTextureSize: 8192
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Android
maxTextureSize: 8192
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:

Loading…
Cancel
Save