|
|
|
|
March 25th, 2005, 10:13 AM
|
|
Sergeant
|
|
Join Date: Mar 2005
Location: Indianapolis
Posts: 233
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Need some help on component design.
I'm trying to make a component that is a one time repair item for a vehicle. Only problem is that it either is repairing itself or not being destroyed after use. If anyone has an idea about what I could do to make the component work like I want it too I'd apreciate it.
Also, I'm making it a nano technology, but I can't think of anything else I can make to fit into the same area.
Any suggestions?
__________________
Guess what color my Orange is!
|
March 25th, 2005, 10:25 AM
|
|
Shrapnel Fanatic
|
|
Join Date: Dec 2000
Location: USA
Posts: 15,630
Thanks: 0
Thanked 30 Times in 18 Posts
|
|
Re: Need some help on component design.
Try Adding the Destroyed Upon use ability to it. Look in the ability.txt files for abilities that you can use.
Nano - Tech, don't know what to tell you other than add mounts to reduce size of crap.
__________________
Creator of the Star Trek Mod - AST Mod - 78 Ship Sets - Conquest Mod - Atrocities Star Wars Mod - Galaxy Reborn Mod - and Subterfuge Mod.
|
March 25th, 2005, 10:33 AM
|
|
Sergeant
|
|
Join Date: Mar 2005
Location: Indianapolis
Posts: 233
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Need some help on component design.
I did add the Destroyed upon use ability, but as I said above, either the ability isn't triggering or they are repairing themselves before they repair items higher on the priority list.
I think it is more likely the first thing though.
__________________
Guess what color my Orange is!
|
March 25th, 2005, 11:14 AM
|
|
Sergeant
|
|
Join Date: Mar 2005
Location: Indianapolis
Posts: 233
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Need some help on component design.
If it helps here is the exact ability text I am using.
Number of Abilities := 2
Ability 1 Type := Component Repair
Ability 1 Descr := Can repair 5 components per turn.
Ability 1 Val 1 := 5
Ability 1 Val 2 := 0
Ability 2 Type := Component Destroyed On Use
Ability 2 Descr := Component is destroyed after use.
Ability 2 Val 1 := 0
Ability 2 Val 2 := 0
This should be working correct?
__________________
Guess what color my Orange is!
|
March 25th, 2005, 11:31 AM
|
|
Major General
|
|
Join Date: Nov 2004
Location: Floating in space.
Posts: 2,297
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Need some help on component design.
You could cheat a little, and use drones. Those self-destruct when their supplies are used up. Just launch a few of those drones with repair abilities, and it'll patch you up a little, then go boom.
|
March 25th, 2005, 12:23 PM
|
|
National Security Advisor
|
|
Join Date: Oct 2001
Location: Toronto, Canada
Posts: 5,623
Thanks: 1
Thanked 14 Times in 12 Posts
|
|
Re: Need some help on component design.
Ashton's idea is plausible. Design a specific repair component that takes up a whole drone (with "bridge" ability as well) and have it's supply storage equal to the default per turn usage of drones in setting.txt - this should allow the drone to exist for a single turn only.
Destroyed on use will not work, it only works with components that are activated by menu buttons.
|
March 29th, 2005, 04:43 AM
|
|
Major General
|
|
Join Date: Jan 2005
Location: In your mind.
Posts: 2,241
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Need some help on component design.
Just watch out with drones; if you've got a number of them in a sector repairing a ship and an enemy attacks, the drones will ram the enemy unless specified otherwise. You could lose an extra, say, 10 comps repaired if the drones ram the enemy.
__________________
O'Neill: I have something I want to confess you. The name's not Kirk. It's Skywalker. Luke Skywalker.
-Stargate SG1
|
March 31st, 2005, 03:47 AM
|
|
Corporal
|
|
Join Date: Jan 2005
Location: near Paris, France
Posts: 61
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Need some help on component design.
Right! But, if you tell the drone to be on "don't get hurt" strategy, I think it will avoid conflicts and stay alive.
__________________
I dream of a world where hell is another paradise.
|
Thread Tools |
|
Display Modes |
Hybrid Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
|
|