Mod question
Posted: Sun Mar 27, 2016 11:23 pm
I tried to create a new component "Point Zero Reactor".
hereinafter the code I used, but without success, the game does not start.
I also tried changing the number of decks for a spaceship, but the editor does not show
the relative layer button (I created another layer image and added in shipbody.all file).
I think I put everything in the right place, but I may have made mistakes.
if you can give me some suggestions, I'd be grateful.
Two additional questions ...
Is there a way to set the resources and their amount on a Homeworld?
We can change the number of structures that can be built on a planet?
Thank You
************************************************************************************
"HIDDEN_HUM_GENERATOR" Lang "Point Zero Reactor"
"HIDDEN_HUM_GENERATOR_DESCR" A Zero Point Generator, often abbreviated ZPG, is an incredibly long-lived power source of great magnitude.
Utilizing Zero point energy, it is the cleanest energy source in the known universe. Given its vast power generation capabilities and small size."
this.TechnologyPath add next "HIDDEN_HUM_GENERATOR"
[TECHNOLOGY] "HIDDEN_HUM_GENERATOR"
Hidden
Info "HIDDEN_HUM_GENERATOR"
FullDescription "HIDDEN_HUM_GENERATOR_DESCR"
Image "Images/Sciences/powers.png"
Parents
"CHEMISTRY" 0
"MATHEMATICS" 0
"PHYSICS" 0
[GENERATOR] "Point Zero generator"
POWER_CONS 3000
WEIGHT 1400
FOR_CLASS SmallShip
MOVIE "Items/SCGNYD.idx" BIG
PICTURE "Items/SCGNYD_top.png" BIG
TECH "HIDDEN_HUM_GENERATOR"
CELLS_TYPE Standard
RES_REQ Metals 0.1 Organics 0.05 Radioactives 0.15 Prod 0.1 END_REQ
[GENERATOR] "Point Zero generator"
POWER_CONS 60000
WEIGHT 35000
FOR_CLASS BigShip
MOVIE "Items/SCGNYD.idx" BIG
PICTURE "Items/SCGNYD_top_cl2.png" BIG
TECH "HIDDEN_HUM_GENERATOR"
CELLS_TYPE Standard
RES_REQ Metals 0.5 Organics 0.25 Radioactives 0.75 Prod 1 END_REQ
[GENERATOR] "Point Zero generator"
POWER_CONS 90000
WEIGHT 40000
FOR_CLASS GiantShip
MOVIE "Items/SCGNYD.idx" BIG
PICTURE "Items/SCGNYD_top_cl2.png" BIG
TECH "HIDDEN_HUM_GENERATOR"
CELLS_TYPE Standard
RES_REQ Metals 2.0 Organics 1.0 Radioactives 3.0 Prod 2 END_REQ
[GENERATOR] "Point Zero generator" COPY_FROM_CLASS GiantShip
FOR_CLASS OrbitalStation
PICTURE "Items/SCGNYD_top_cl2.png" BIG
[GENERATOR] "Point Zero generator" COPY_FROM_CLASS BigShip
FOR_CLASS Freighter
************************************************************************************
hereinafter the code I used, but without success, the game does not start.
I also tried changing the number of decks for a spaceship, but the editor does not show
the relative layer button (I created another layer image and added in shipbody.all file).
I think I put everything in the right place, but I may have made mistakes.
if you can give me some suggestions, I'd be grateful.
Two additional questions ...
Is there a way to set the resources and their amount on a Homeworld?
We can change the number of structures that can be built on a planet?
Thank You
************************************************************************************
"HIDDEN_HUM_GENERATOR" Lang "Point Zero Reactor"
"HIDDEN_HUM_GENERATOR_DESCR" A Zero Point Generator, often abbreviated ZPG, is an incredibly long-lived power source of great magnitude.
Utilizing Zero point energy, it is the cleanest energy source in the known universe. Given its vast power generation capabilities and small size."
this.TechnologyPath add next "HIDDEN_HUM_GENERATOR"
[TECHNOLOGY] "HIDDEN_HUM_GENERATOR"
Hidden
Info "HIDDEN_HUM_GENERATOR"
FullDescription "HIDDEN_HUM_GENERATOR_DESCR"
Image "Images/Sciences/powers.png"
Parents
"CHEMISTRY" 0
"MATHEMATICS" 0
"PHYSICS" 0
[GENERATOR] "Point Zero generator"
POWER_CONS 3000
WEIGHT 1400
FOR_CLASS SmallShip
MOVIE "Items/SCGNYD.idx" BIG
PICTURE "Items/SCGNYD_top.png" BIG
TECH "HIDDEN_HUM_GENERATOR"
CELLS_TYPE Standard
RES_REQ Metals 0.1 Organics 0.05 Radioactives 0.15 Prod 0.1 END_REQ
[GENERATOR] "Point Zero generator"
POWER_CONS 60000
WEIGHT 35000
FOR_CLASS BigShip
MOVIE "Items/SCGNYD.idx" BIG
PICTURE "Items/SCGNYD_top_cl2.png" BIG
TECH "HIDDEN_HUM_GENERATOR"
CELLS_TYPE Standard
RES_REQ Metals 0.5 Organics 0.25 Radioactives 0.75 Prod 1 END_REQ
[GENERATOR] "Point Zero generator"
POWER_CONS 90000
WEIGHT 40000
FOR_CLASS GiantShip
MOVIE "Items/SCGNYD.idx" BIG
PICTURE "Items/SCGNYD_top_cl2.png" BIG
TECH "HIDDEN_HUM_GENERATOR"
CELLS_TYPE Standard
RES_REQ Metals 2.0 Organics 1.0 Radioactives 3.0 Prod 2 END_REQ
[GENERATOR] "Point Zero generator" COPY_FROM_CLASS GiantShip
FOR_CLASS OrbitalStation
PICTURE "Items/SCGNYD_top_cl2.png" BIG
[GENERATOR] "Point Zero generator" COPY_FROM_CLASS BigShip
FOR_CLASS Freighter
************************************************************************************