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

This Month's Specials

The Star & the Crescent- Save $9.00
winSPWW2- Save $6.00

   







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

Reply
 
Thread Tools Display Modes
  #1  
Old March 25th, 2005, 10:13 AM
RCCCL's Avatar

RCCCL RCCCL is offline
Sergeant
 
Join Date: Mar 2005
Location: Indianapolis
Posts: 233
Thanks: 0
Thanked 0 Times in 0 Posts
RCCCL is on a distinguished road
Default 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!
Reply With Quote
  #2  
Old March 25th, 2005, 10:25 AM
Atrocities's Avatar

Atrocities Atrocities is offline
Shrapnel Fanatic
 
Join Date: Dec 2000
Location: USA
Posts: 15,630
Thanks: 0
Thanked 30 Times in 18 Posts
Atrocities is on a distinguished road
Default 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.
Reply With Quote
  #3  
Old March 25th, 2005, 10:33 AM
RCCCL's Avatar

RCCCL RCCCL is offline
Sergeant
 
Join Date: Mar 2005
Location: Indianapolis
Posts: 233
Thanks: 0
Thanked 0 Times in 0 Posts
RCCCL is on a distinguished road
Default 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!
Reply With Quote
  #4  
Old March 25th, 2005, 11:14 AM
RCCCL's Avatar

RCCCL RCCCL is offline
Sergeant
 
Join Date: Mar 2005
Location: Indianapolis
Posts: 233
Thanks: 0
Thanked 0 Times in 0 Posts
RCCCL is on a distinguished road
Default 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!
Reply With Quote
  #5  
Old March 25th, 2005, 11:31 AM
NullAshton's Avatar

NullAshton NullAshton is offline
Major General
 
Join Date: Nov 2004
Location: Floating in space.
Posts: 2,297
Thanks: 0
Thanked 0 Times in 0 Posts
NullAshton is on a distinguished road
Default 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.
__________________
Hey! I found squirrels!

Vala - "The last time I was this bored, I took hostages!"
Reply With Quote
  #6  
Old March 25th, 2005, 12:23 PM
Captain Kwok's Avatar

Captain Kwok Captain Kwok is offline
National Security Advisor
 
Join Date: Oct 2001
Location: Toronto, Canada
Posts: 5,623
Thanks: 1
Thanked 14 Times in 12 Posts
Captain Kwok is on a distinguished road
Default 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.
__________________
Space Empires Depot | SE:V Balance Mod
Reply With Quote
  #7  
Old March 25th, 2005, 01:09 PM
Suicide Junkie's Avatar
Suicide Junkie Suicide Junkie is offline
Shrapnel Fanatic
 
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
Suicide Junkie is on a distinguished road
Default Re: Need some help on component design.

Giving the drones a set of one-turn-worth supply storage components and a set of smaller, one repair-per-turn repair bays is a nice alternative too.

The player then has to decide whether they want to design a drone that can repair 2 per turn for just two turns, or a drone that can repair 1 component per turn for 6 turns.
Reply With Quote
  #8  
Old March 29th, 2005, 04:43 AM
Strategia_In_Ultima's Avatar

Strategia_In_Ultima Strategia_In_Ultima is offline
Major General
 
Join Date: Jan 2005
Location: In your mind.
Posts: 2,241
Thanks: 0
Thanked 0 Times in 0 Posts
Strategia_In_Ultima is on a distinguished road
Default 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
Reply With Quote
  #9  
Old March 31st, 2005, 03:47 AM
wake_of_angels's Avatar

wake_of_angels wake_of_angels is offline
Corporal
 
Join Date: Jan 2005
Location: near Paris, France
Posts: 61
Thanks: 0
Thanked 0 Times in 0 Posts
wake_of_angels is on a distinguished road
Default 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.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 05:35 AM.


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