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

This Month's Specials

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

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V > SEV Modders Knowledge Base

Reply
 
Thread Tools Display Modes
  #1  
Old December 10th, 2006, 12:28 AM
Noble713's Avatar

Noble713 Noble713 is offline
Sergeant
 
Join Date: Aug 2000
Location: Garden-Variety State
Posts: 356
Thanks: 5
Thanked 0 Times in 0 Posts
Noble713 is on a distinguished road
Default Re: Component-dependant engines

Quote:
Phoenix-D said:
Oh, they work. The problem is that some functions don't work in components.txt, including the ones you'd need for this trick.
But you can also add abilities directly to ships in vehiclesizes.txt. When I've added movement-generation abilities using formulas to ship hulls, they never work.

For example, Combat Movement with the formulas Get Specific Component Count or Get Design Ability Total do nothing. So problems with the movement formula extend beyond just components.txt.
__________________
Hail Caesar!

L+ GdY $? Fr! C- SdS T!+ Sf+ Tcp A% M++ MpM R!- Pw+ Fq-- Nd-- RP+ G++
Reply With Quote
  #2  
Old December 10th, 2006, 12:49 AM

Phoenix-D Phoenix-D is offline
National Security Advisor
 
Join Date: Nov 2000
Posts: 5,085
Thanks: 0
Thanked 0 Times in 0 Posts
Phoenix-D is on a distinguished road
Default Re: Component-dependant engines

It might be those functions only work in requirements, then.
__________________
Phoenix-D

I am not senile. I just talk to myself because the rest of you don't provide adequate conversation.
-Digger
Reply With Quote
  #3  
Old April 13th, 2009, 06:48 PM

gloryhound gloryhound is offline
Private
 
Join Date: Apr 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
gloryhound is on a distinguished road
Default Re: Component-dependant engines

I have added just this function to my custom blend of the game, however I used a Reactor piece, didn't make it mandatory. What I did do was removed all but a basic amount of "supply" from ship engines. Changed the ships all over to a fuel based system. Instead of Ion Engines for lvl 1 you get Solar Sails which have 10 supply takes no supply to use and 0.5 movement, and because it's classified as a "engine" the AI will use it. I also redefined supply storage as fuel tanks which are fragile and only hold a small amount, only in late game can you forgo a reactor and have any range. The principle is that the reactor uses your fuel to improve efficiency of the fuel, much like a real ship would use fuel to generate thrust and energy. so just modify AI ship building priorities to include a minimum of supply storage and viola.
I liked this especially because it made my very first ship feel very low tech, with solar sails that were fragile, large and slow, but free to use.
Reply With Quote
  #4  
Old January 3rd, 2012, 08:27 PM

Patupi Patupi is offline
Private
 
Join Date: Dec 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Patupi is on a distinguished road
Default Re: Component-dependant engines

I'd just like to thanks all the posts here. I had been struggling trying to get mutually exclusive devices (only one type of engine on a ship etc) and couldn't get anywhere. The AI Tag # thing worked perfectly! Thanks. Prior to that no amount of boolean logic seemed to exclude things other than to say '1 of this type allowed'.

A query on a similar vein. I'd like for engines to use fuel based on the number of engines has anyone tried dividing the fuel use by the vessel move to get supply useage? In every mod I've played two ships with the same number of engines but different ship masses will have different fuel useages as the supply listed is used for every move point! Really weird way of doing that.

(Edit: OK re-read some of this thread. I guess something similar HAS been tried and failed. Is the formula for reading space based move of a ship one that won't work with components.txt?)

Thanks again for the help so far

Last edited by Patupi; January 3rd, 2012 at 08:35 PM..
Reply With Quote
  #5  
Old January 14th, 2012, 11:11 PM
Skyburn's Avatar

Skyburn Skyburn is offline
Private
 
Join Date: Mar 2010
Posts: 18
Thanks: 1
Thanked 2 Times in 1 Post
Skyburn is on a distinguished road
Default Re: Component-dependant engines

Quote:
Originally Posted by Patupi View Post
Is the formula for reading space based move of a ship one that won't work with components.txt?
I don't think there is such a formula. All the formula functions are listed in the modding pdf.
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 12:54 PM.


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