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

This Month's Specials

BCT Commander- Save $6.00
World Supremacy- Save $10.00

   







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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #11  
Old November 28th, 2006, 11:54 AM
President_Elect_Shang's Avatar

President_Elect_Shang President_Elect_Shang is offline
Brigadier General
 
Join Date: Nov 2001
Location: WA
Posts: 1,894
Thanks: 5
Thanked 3 Times in 3 Posts
President_Elect_Shang is on a distinguished road
Default Re: Component.txt Knowledge Base

The problem is that weapons fire automatically, meaning you may target them but they fire by themselves. The ability “Component - Destroyed On Use” is a player used ability. It’s like apples and oranges (automatic and player activated) unless you can talk Aaron into re-writing the code this component won’t work the way you want it to. For my Mod I have an XO weapon too; are you copying me? Anyway there are two ways to work around your problem.

1. Set the “Weapon Reload Rate MS Formula to a very high number so the weapon will only fire once every combat action. I did this for a type of satellite that was intended to be a one shot deal. Since I couldn’t blow the thing up (like you are trying to do here) I just set the reload time to something absurdly huge.

2. Split your weapon into components (what I did for my XO weapons). First make an XO Rack that launches only “XO Weapons”. Then make a new vehicle called an “XO Weapon. Give the vehicle a limited number of slots and then break the type of missiles you want into components as warheads or weapons. Just remember that your drone/XO Weapon will try to ram regardless of what you put inside. The work around to that is to set the tonnage low (what I did) so when it hits it won’t do much in the way of extra damage. Or there may be a way to create a new strategy for your XO Weapon to use that keeps it from ramming. I haven’t tried this out so that may be a long shot.
__________________
President Elect Shang; Tal-Re Republic of Free Worlds
Welcome to Super Vegeta’s Big Bang Attack… Welcome to OBLIVION!
“Don Panoz made an awesome car and… an incinerator” Bill Auberlen
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 02:50 AM.


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