.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V > SEIV

Reply
 
Thread Tools Display Modes
  #11  
Old October 19th, 2006, 08:44 PM
Black_Knyght's Avatar

Black_Knyght Black_Knyght is offline
Captain
 
Join Date: Sep 2005
Location: Woodland,CA
Posts: 918
Thanks: 14
Thanked 2 Times in 2 Posts
Black_Knyght is on a distinguished road
Default Re: Trying to figure this out...

I'm having a bear of a time trying to create a "Shipyard Expansion" componant/facility. Can anyone walk me trhough this? I've never done one before, and it's more complicated than it looked initially.

Also, I've tried adding a specific image and sound effect to a given weapon, but for some reson I can't get the sound effect to take. I just get a little "beep" instead. Is there some specific requirement for the sounds, beyond having to be a .WAV?
__________________
Run if you like, you'll only die tired....

Reply With Quote
  #12  
Old October 19th, 2006, 08:59 PM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default Re: Trying to figure this out...

Space Yard Expansions are very simple to implement. There are several methods,
depending on preference.

The easiest, which I strongly discourage you from using, is to add a facility
with no abilities and the same family number as an existing Space Yard facility.
It must be "less advanced," meaning that it should have a lower roman numeral
(such as 0). After building this facility, you can then upgrade it to a Space
Yard. Keep in mind that the cost of an upgrade (with stock upgrade cost
settings) is one half that of building a facility directly, so this method could
very easily allow you to build space yards far more quickly than normal,
depending on how much the base facility costs.

A better method is to have normal Space Yards and a new type of facility, the
Space Yard Expansion. A Space Yard Expansion should provide a small, incremental
amount of construction, such as one tenth of that of a normal space yard. Exact
values are up to the modder's discretion, of course. To implement this, you need
to add two new facilities, with a new, unused family number. Do not make these
have the same family number as normal space yards. The components can be called
"Space Yard Expansion Project" and "Space Yard Expansion." The Space Yard
Expansion Project will have no abilities. It is meant as the facility you build,
then upgrade to the Space Yard Expansion facility. Give the Space Yard Expansion
Project a roman numeral value of 0. The Space Yard Expansion facilities should
have roman numerals of 1 or greater. Make sure to place the Space Yard Expansion
Project after the Space Yard Expansion facilities in Facilities.txt. This will
cause SEIV to display them as the only facility in the family when obsolete
facilities are hidden. You never want to build the Space Yard Expansion
directly, so this makes it much easier to use the system (no need to show
obsolete facilities to build the Project facility first). In this sort of
system, you would first build a normal space yard, then start with the
expansions.

Another method is similar to the second, except that you have 3 different
families of Space Yard Expansions, one for each resource. It is set up in much
the same way. Make sure to _never_ set a space yard ability value to 0. If the
space yard rate of a planet is 0 (and it is not rioting), an unlimited number of
resources will be put into construction projects, allowing 1 turn builds of
anything (assuming all resource rates are 0).

A final method would be to have no normal space yards. All space yards have
small, incremental build values, much like Space Yard Expansion outlined above.
You would build them in the same manner as a Space Yard Expansion, though it
might be better to call them "Industrial Facilities" or something of that
nature, since they are not really expansions anymore. This method changes
construction rate to be more gradual. You might wish to lower the base
construction rate without any facilities if you choose to implement this method.
Otherwise, you could quite easily see construction rates drop from 2000 to 200
after building the first facility (assuming 200 is the value you chose).
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
Reply With Quote
  #13  
Old October 19th, 2006, 11:40 PM
Black_Knyght's Avatar

Black_Knyght Black_Knyght is offline
Captain
 
Join Date: Sep 2005
Location: Woodland,CA
Posts: 918
Thanks: 14
Thanked 2 Times in 2 Posts
Black_Knyght is on a distinguished road
Default Re: Trying to figure this out...

I saw that - straight out of the "Read Me".

It's very informative as "What-I-need-to-do" to make this happen. Now I need to learn the "How-to-do-it" part. I've never tried modding before, and creating this Facility/Componant/whatever else I need is something I haven't done yet.

I have David G's modder. Would this be useful to do this, and how would I begin?
__________________
Run if you like, you'll only die tired....

Reply With Quote
  #14  
Old October 20th, 2006, 11:52 PM
Suicide Junkie's Avatar
Suicide Junkie Suicide Junkie is offline
Shrapnel Fanatic
 
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
Suicide Junkie is on a distinguished road
Default Re: Trying to figure this out...

Open facilities.txt in notepad.
Search for "Space Yard"
Copy the whole entry, and paste it twice to make three copies of the spaceyard facility.
Change the names, family numbers and roman numerals to the values mentioned in Fyron's post. Delete the abilities from the SY expansion project facility, and set the Number of Abilities field to zero to match.

Double check to ensure that there are no double blank lines between before or after your new facilities.
Save, and play.
Reply With Quote
  #15  
Old October 21st, 2006, 04:51 AM
Black_Knyght's Avatar

Black_Knyght Black_Knyght is offline
Captain
 
Join Date: Sep 2005
Location: Woodland,CA
Posts: 918
Thanks: 14
Thanked 2 Times in 2 Posts
Black_Knyght is on a distinguished road
Default Re: Trying to figure this out...

Okay, that was extremely helpful. Between that and Fyron's advice, this is what I've got:


Name := Space Yard Expansion I
Description := An expanded construction facility which allows for increased construction of ships.
Facility Group := Space Yard
Facility Family := 6341
Roman Numeral := 1
Restrictions := None
Pic Num := 932
Cost Minerals := 8000
Cost Organics := 0
Cost Radioactives := 0
Number of Tech Req := 1
Tech Area Req 1 := Space Yards
Tech Level Req 1 := 1
Number of Abilities := 4
Ability 1 Type := Space Yard
Ability 1 Descr := Can construct with 1000 minerals per turn.
Ability 1 Val 1 := 1
Ability 1 Val 2 := 1000
Ability 2 Type := Space Yard
Ability 2 Descr := Can construct with 1000 organics per turn.
Ability 2 Val 1 := 2
Ability 2 Val 2 := 1000
Ability 3 Type := Space Yard
Ability 3 Descr := Can construct with 1000 radioactives per turn.
Ability 3 Val 1 := 3
Ability 3 Val 2 := 1000
Ability 4 Type := Component Repair
Ability 4 Descr := Can repair 2 components per turn.
Ability 4 Val 1 := 2
Ability 4 Val 2 := 0

Name := Space Yard Expansion Project
Description := Large Space Yard expansion project which will allow increased construction of ships.
Facility Group := Space Yard
Facility Family := 6341
Roman Numeral := 0
Restrictions := None
Pic Num := 772
Cost Minerals := 10000
Cost Organics := 0
Cost Radioactives := 0
Number of Tech Req := 1
Tech Area Req 1 := Space Yards
Tech Level Req 1 := 1
Number of Abilities := 0
Ability 1 Type :=
Ability 1 Descr :=
Ability 1 Val 1 :=
Ability 1 Val 2 :=
Ability 2 Type :=
Ability 2 Descr :=
Ability 2 Val 1 :=
Ability 2 Val 2 :=
Ability 3 Type :=
Ability 3 Descr :=
Ability 3 Val 1 :=
Ability 3 Val 2 :=
Ability 4 Type :=
Ability 4 Descr :=
Ability 4 Val 1 :=
Ability 4 Val 2 :=



Does this look about the way it should?
__________________
Run if you like, you'll only die tired....

Reply With Quote
  #16  
Old October 21st, 2006, 08:39 PM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default Re: Trying to figure this out...

You didn't delete the abilities on the Space Yard Expansion Project, just the values. Delete the whole lines.
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
Reply With Quote
  #17  
Old October 22nd, 2006, 03:25 AM
Black_Knyght's Avatar

Black_Knyght Black_Knyght is offline
Captain
 
Join Date: Sep 2005
Location: Woodland,CA
Posts: 918
Thanks: 14
Thanked 2 Times in 2 Posts
Black_Knyght is on a distinguished road
Default Re: Trying to figure this out...

Name := Space Yard Expansion I
Description := An expanded construction facility which allows for increased construction of ships.
Facility Group := Space Yard
Facility Family := 6341
Roman Numeral := 1
Restrictions := None
Pic Num := 932
Cost Minerals := 8000
Cost Organics := 0
Cost Radioactives := 0
Number of Tech Req := 1
Tech Area Req 1 := Space Yards
Tech Level Req 1 := 1
Number of Abilities := 4
Ability 1 Type := Space Yard
Ability 1 Descr := Can construct with 1000 minerals per turn.
Ability 1 Val 1 := 1
Ability 1 Val 2 := 1000
Ability 2 Type := Space Yard
Ability 2 Descr := Can construct with 1000 organics per turn.
Ability 2 Val 1 := 2
Ability 2 Val 2 := 1000
Ability 3 Type := Space Yard
Ability 3 Descr := Can construct with 1000 radioactives per turn.
Ability 3 Val 1 := 3
Ability 3 Val 2 := 1000
Ability 4 Type := Component Repair
Ability 4 Descr := Can repair 2 components per turn.
Ability 4 Val 1 := 2
Ability 4 Val 2 := 0

Name := Space Yard Expansion Project
Description := Large Space Yard expansion project which will allow increased construction of ships.
Facility Group := Space Yard
Facility Family := 6341
Roman Numeral := 0
Restrictions := None
Pic Num := 772
Cost Minerals := 10000
Cost Organics := 0
Cost Radioactives := 0
Number of Tech Req := 1
Tech Area Req 1 := Space Yards
Tech Level Req 1 := 1
Number of Abilities := 0


Thanx Fyron. I take it that it should look like this?


Another question popped up.

I included this and playtested it. BOTH facilities became available at the same time. I have them listed in the Facility.txt in the same order they are here.

Should they be reversed, or is there some requirement that I need to add?
__________________
Run if you like, you'll only die tired....

Reply With Quote
  #18  
Old October 22nd, 2006, 02:01 PM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default Re: Trying to figure this out...

Did you hide obsolete facilities? That is the correct order to get only the Project showing up in the construction list, when obsolete facilities are hidden. Compare your facilities to the examples in the concept mod.
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
Reply With Quote
  #19  
Old October 22nd, 2006, 03:45 PM
Black_Knyght's Avatar

Black_Knyght Black_Knyght is offline
Captain
 
Join Date: Sep 2005
Location: Woodland,CA
Posts: 918
Thanks: 14
Thanked 2 Times in 2 Posts
Black_Knyght is on a distinguished road
Default Re: Trying to figure this out...

I'm assuming there's no specific command I need to add, just personally hide any obsolete facilities while playing?
__________________
Run if you like, you'll only die tired....

Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 09:32 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.