View Single Post
  #1  
Old March 7th, 2001, 01:16 AM

Codo Codo is offline
Corporal
 
Join Date: Feb 2001
Location: Fishers, IN 46038
Posts: 67
Thanks: 0
Thanked 0 Times in 0 Posts
Codo is on a distinguished road
Default More mod\'ing help requested! (Pretty please?)

OK, I have a real neat idea I'd like to add to the game. Thing is, I want to restrict how many of this particular component is installed on each size of ship (Fer example... None on an escort, 1 on frigate, 2 on destroyer...etc).

Now, Obviously, I could do this by weight, making sure that it's damn heavy... 'Cept, I don't want this component to have a weight rating! Sooo, I want to restrict them kind of like engines...

What I need help in understanding is the 'Requirement X Type' section of VehicleSizes.txt

My initial try was to number my item with its own custom group number and put a line for Escorts in that said

Requirement Max 111 := 1

Um, that didn't work... So I changed the General Group type of my item and typed

Requirement Max TestGroup := 1

That didn't work either. I thought that odd, since all engines are in general group 'Engines' and the line for Requirement Max Engines seems to work fine (Yes, I even tried like engines and made a Requirement Uses TestGroup := True and that did nothing).

It got odder when I noticed that colony modules are of type Colonizing... NOT ColonyMods like the Requirement in the VehiclesSizes.txt... *Sigh*

The comments for Requirment are a little cryptic to me, so if someone around here would happen to know how to do this, I would REALLY appreciate the learning experience. I'm trying to put together a real interesting Mod (IMHO) but am acheiving nothing but stumbling blocks for some of my ideas (Someone has to know how to make a fighter wormhole compatible...PLEASE??? )

-Codo
Reply With Quote