.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

Reply
 
Thread Tools Display Modes
  #11  
Old October 9th, 2006, 12:06 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: SE-5 : Batteries & weapons

Damage types can be created. Abilities can't.
__________________
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
  #12  
Old October 9th, 2006, 12:13 AM
Kana's Avatar

Kana Kana is offline
Captain
 
Join Date: Apr 2004
Location: Texas
Posts: 962
Thanks: 0
Thanked 3 Times in 3 Posts
Kana is on a distinguished road
Default Re: SE-5 : Batteries & weapons

Quote:
Phoenix-D said:
Damage types can be created. Abilities can't.
I guess if you consider a damage type as being something relating to

Does_Component_Have_Ability("Pre-Defined Game Element")

Or

Is_Component_Weapon

Which are abilities, or component/weapons with said ability. Yet if we cant make new abilities, then I would say NO, we cant really make new damage types. We more properly can only redefine damage types, that may not be currently part of stock...
Reply With Quote
  #13  
Old October 9th, 2006, 12:31 AM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default Re: SE-5 : Batteries & weapons

Neither of those have anything to do with the concept of damage type, though. Damage type is only what is on this line:

Weapon Damage Type Formula := "Normal"

Abilities are not damage types, so the "does have ability" is not relevant.

Is_Component_Weapon() relates to this information:

Weapon Type := Direct Fire

It returns false only when the component has that value set to None (well, bad values of weapon type might also return false, who knows). It is not related to damage types or abilities in any way.

=0=

For reference, AI Tags do absolutely nothing. They do not inherently tell the AI anything. You can use them to force different AI behavior by calling that ability instead of the real ability of the item, but you can do that with any non-functional ability too (like facility resource generation abilities in SE4 components file). The AI Tag abilities are merely there for easier legibility.
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
Reply With Quote
  #14  
Old October 9th, 2006, 12:43 AM
Captain Kwok's Avatar

Captain Kwok Captain Kwok is offline
National Security Advisor
 
Join Date: Oct 2001
Location: Toronto, Canada
Posts: 5,624
Thanks: 1
Thanked 14 Times in 12 Posts
Captain Kwok is on a distinguished road
Default Re: SE-5 : Batteries & weapons

Quote:
Kana said:...Does_Component_Have_Ability("Pre-Defined Game Element")...
Does_Component_Have_Name("Any Thing You Frickin' Want") would seem to disagree.
__________________
Space Empires Depot | SE:V Balance Mod
Reply With Quote
  #15  
Old October 9th, 2006, 12:51 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: SE-5 : Batteries & weapons

Quote:
Captain Kwok said:
Quote:
Kana said:...Does_Component_Have_Ability("Pre-Defined Game Element")...
Does_Component_Have_Name("Any Thing You Frickin' Want") would seem to disagree.
Listen to the friendly green man, not me- I can't test it yet. (EB didn't even SHIP my order yet..grumble..).

Buy as Fyron said, damage types aren't abilities. They aren't related at all.
__________________
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
  #16  
Old October 9th, 2006, 12:59 AM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default Re: SE-5 : Batteries & weapons

Kana said:
NO, we cant really make new damage types.


I forgot to add: DamageTypes.txt would very strongly disagree with you, my friend.
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
Reply With Quote
  #17  
Old October 9th, 2006, 02:28 AM

Elsemeravin Elsemeravin is offline
Corporal
 
Join Date: Nov 2001
Posts: 148
Thanks: 0
Thanked 0 Times in 0 Posts
Elsemeravin is on a distinguished road
Default Re: SE-5 : Batteries & weapons

Quote:
Suicide Junkie said:

The main problem will be in when SE5 recalculates that function (it isn't very often)
Most of the formulas include %range%, but you noticed that the damage is not recalculated often ? does that mean it calculates the damage per range once and then uses this calculation for a long time ?

Do you have an idea how often it recalculate the damage grid ?
Reply With Quote
  #18  
Old October 9th, 2006, 02:54 AM

Jarena Jarena is offline
Private
 
Join Date: Aug 2006
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Jarena is on a distinguished road
Default Re: SE-5 : Batteries & weapons

It looks like it will work in relation to ship hulls, but can a component "see" other components in the ship/fleet/system?
From what I see I'm guessing it will be possible to add damage modifiers based on number of components to a ship (with interesting additions like diminishing returns, what have you) but, can I really define a damage type that says, basically:
for every [component a], deal +10 damage?

I suppose come tomorrow I'll have some idea (provided Gamestop 's shipment arrives)
Reply With Quote
  #19  
Old October 9th, 2006, 03:14 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: SE-5 : Batteries & weapons

You don't want to use damage types for that, you want the fake abilities.

Give your component an ability. Then call that ability in the damage line that says something like

(normal weapon formla) + 10*(Get_Design_Ability_Component_Count("Component")

To clarify things a bit:
Damage Types are found in DamageTypes.txt, and refered to via the "Weapon Damage Type" line in components.txt.

Abilities are found..all over the place..and listed in a file that isn't included in the demo. They're refered to using stuff like the Get_Design_Ability option and Ability 1 Type line in components.txt.

What you're refering to in your last post is the damage *formula*. That's set via Weapon Space Min Damage Modifier Formula and the like, and then modified by the Damage Type.
__________________
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
  #20  
Old October 9th, 2006, 03:17 AM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default Re: SE-5 : Batteries & weapons

There is no abilities file attached to this post. Move along, nothing to see here.
Attached Files
File Type: zip 454462-Description_Abilities.zip (3.7 KB, 111 views)
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
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 07:30 AM.


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