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

This Month's Specials

Air Assault Task Force- Save $8.00
World Supremacy- Save $10.00

   







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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #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
 

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 08:11 AM.


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