Sinperium Sinperium

Modder's "Get-an-Answer" Thread

Modder's "Get-an-Answer" Thread

Answers from Modders, for Modders who "Ask a Question"

This is the place to ask and recieve specific modding (mod making) questions and answers. If you have a mod making question, post it here.

If your question involves long snippets of entity files and the like, please don't paste the entire file contents here but put them at the incredibly easy to use http://pastebin.com and then provide the link to your paste in your question posted here.

Please do limit  "just comments" here to brief posts please.  If you don't know the answer or can't point to help--don't post.  Please note that a random, uninformed guess isn't an actual answer.  

You can refer people to another source--IF it actually helps answer their question.  This could be in the form of links, outside sites, specific modding-useful programs, direction towards another post or poster, etc., etc.

Remember--specific questions, specific answers.  Only respond to the ones you can help solve.  Also, feel free to amplify, clarify, suggest alternatives to or correct answers seen here if such actions are merited and help provide a real solution. No flaming, insults or put downs here in the answers or other posts please.

Thanks in advance for your help and cooperation.  The reason for the rigid rules here is those this thread becomes a usable resource in the future to new people looking for answers.

NOTE: If an answer resolves your issue, please share it here.  These answers will help others coming along later too.  Karma is a great way to respond to people providing help without clogging the thread or bombing their forum mailbox here. Thanks!

 

OTHER SINS HELPFUL MODDING LINKS*

*Links are updated when requested.





The Soase Idiot's Guide

Confused?  No idea where to even start?

Determined to work at it?

This is the place!

 


 

 
   

Sins Modding Wiki

ZombieRus's Eclipse Wizardry

 

     


Tutorials

MyFist0's full modding site.

Emphasis on modeling  and

texturing.                            

 

 

 




                    

REBELLION MODDING TOPICS

Rebellion Modding Q & A

Mesh Editing

Changing Diplomacy Files to Rebellion

IT REALLY HURTS MY BRAIN--HOW TO START

An Idiot's Guide To Getting Started

MyFist0's Modding Megasite!

MOD DOWNLOADS

ZombieRus5's Mod Yard

Directory of Planet Mods

STEAM

STEAM Sins Forums

DEVELOPERS

Sins Developer Journals Forum 2007 to Present

REFERENCE FILES

Research Modifier List

MyFist0's Exported Models & Files

Modifier List

Harpo's Converted Sins Reference Files 2011

THIRD PARTY TOOLS

3dS Texturing Toool & Tips

Ship Fleet Calculator

SoaSE Eclipse Plugin Project

Mesh Resizing Tool--courtesy of the Reqiuem team.

Harpo's Sins Utility Package -- Dropbox

The Sins Optimization Project (TSOP)

Artificial Unintelligence (Mod and AI info)

Sins Data Converter by BCXtreme

EXPLANATIONS & DISCUSSIONS

Rebellion Updates by Blair Frazier

How to Add a Fourth Race

User-updatable Ship Reference Chart

Sins Modding Dictionary

Adding phase Effects to other weapon types

Culture, Explanation/Discussion

Weapons, Explanation/Discusion

Shield Mitigation & Armor, Explanation/Discussion-1

Shield Mitigation & Armor, Explanation/Discussion -2

Graphic Chart of Sin's Counters

Annotated Guide to the Developer.exe

In-Game Map Creator

Weapons Banks & DPS

Combat Mechanics

Rebellion Shield Mitigation & Focus Fire testing

PARTICLE FORGE

Particle Forge Help Thread

GALAXY FORGE

Adding Artifacts

Working Template Examples

SemazRalan's Template Guide

Pirates Base Start Template

SOUND RESOURCES

[SFX] Black Sun SFX/Music Resource for Modders

MODELING & TEXTURING--SOFTIMAGE XSI, 3DS MAX

XSI Texturing, Tutorial

3dS Model Exporter

3DS Max Rigging, Texturing & Exporting, Guide

Modding/Modelling/Texturing/Converting, Tutorials

WIKI'S

Sins of a Solar Empire Official Wiki

 

7,604,437 views 2,761 replies
Reply #1451 Top

I am dabbling at modding, and right now I am trying to do one thing: 

transform the Ankylon group shield ability into a passive aura.

In GREEN what I THINK I have done right.

in RED what I don't know how to do.

Currently want it to have the following traits:

Increase shield regen

Increase max shields

Increase max mitigation

Increase shield mitigation when not in combat - I have put a mitigation modifier on the tables, but I don't really know if it actually does what I want.

Right now I have done the following:

AbilityPassiveGroupShield.entity

BuffPassiveGroupShield.entity

BuffPassiveGroupShieldTarget.entity

 

Any help is pretty much appreciated, thanks

Reply #1452 Top

Quoting Brazilian_Joe, reply 1451
BuffPassiveGroupShield.entity

Did you want HasWeapons? This leaves out most structures and carrier frigates.

Quoting Brazilian_Joe, reply 1451
BuffPassiveGroupShieldTarget.entity

The instantAction->ApplyBuffToTarget here isn't needed.

You need two different finish coniditions: OwnerChanged and OutOfRange

Quoting Brazilian_Joe, reply 1451
Increase shield regen

Looks right, might be a bit high on the shield restore value when coupled with the next line.

Quoting Brazilian_Joe, reply 1451
Increase max shields

I don't see a max shield increase. This is an overall damage reduction regardless of shield strength.

Quoting Brazilian_Joe, reply 1451
Increase max mitigation

Increase shield mitigation when not in combat - I have put a mitigation modifier on the tables, but I don't really know if it actually does what I want.

In my experience it's a modifier to whatever the current mitigation is, so it increases (negative decreases) both the base and max mitigation.

 

Reply #1453 Top

Quoting ZombiesRus5, reply 1452
I don't see a max shield increase. This is an overall damage reduction regardless of shield strength.

 

Yeah, I haven't found an EntityModifier for that. 

I see only MaxHullPoints there.

I have found a researchModifier though:

ShieldPointsMaxAdjustment

But that is for research, it's not what i am looking for I believe.

 

Reply #1454 Top

Quoting Brazilian_Joe, reply 1453
Yeah, I haven't found an EntityModifier for that. 

It's a float modifier. Look for MaxShieldPoints here:

http://code.google.com/p/soaseplugin/wiki/RebellionbuffEntityModifierType

This should contain every possible float modifier that can be used in a Buff.

Reply #1455 Top

Updated files:

AbilityPassiveGroupShield.entity

BuffPassiveGroupShield.entity

BuffPassiveGroupShieldTarget.entity

Added a damageSharing, mostly thinking about how the Ragnarov Snipe's ability eats capital ships for breakfast. if it does what I think it does, friendly ships will absorb some of the damage taken by the snipe's target, adding survivability for all of them.

What about the numbers, do they make sense? I am not really sure about which ones work as a percentage, and which ones are absolute values.

One more question:

Can I make ships which die under group shield effect give experience to the owner instead of the enemy?

Reply #1456 Top

Quoting Brazilian_Joe, reply 1456
BuffPassiveGroupShieldTarget.entity

You still have the instantAction in here for BuffGroupShield. This whole segment should be removed with numInstantActions set to 0.

Quoting Brazilian_Joe, reply 1456
Added a damageSharing, mostly thinking about how the Ragnarov Snipe's ability eats capital ships for breakfast. if it does what I think it does, friendly ships will absorb some of the damage taken by the snipe's target, adding survivability for all of them.

This probably doesn't do what you think. DamageSharing is what the Advent Mothership does when it shares 30% of the damage across all affected ships.

Quoting Brazilian_Joe, reply 1456
What about the numbers, do they make sense? I am not really sure about which ones work as a percentage, and which ones are absolute values.

This is a balance call. I feel you numbers are too high for an always on passive ability. I'd probably increase you radius in the first buff then reduce your values... in some cases a lot, but it's your call.

Probably the DamageAsDamageTarget is somewhat ok as it sorta the inverse of the Advent Coronata ability.

The restore shields seems to high with the damage reduction. Adding 40 shield restore to a titan capable of 15 restore/sec at level 10 all upgrades seems over the top.

The shield points is a flat # not a percent. So use whole values here like 250.00000. While somewhat redundant to the durability upgrade a small value here shouldn't be that big of a deal.

The mitigation is too high, you'll create an unkillable Ankylon at higher levels. At level 10 the Ankylon would have 94.9% mitigation (i.e. unkillable). I'd suggest starting at numbers like .01/.02/.03/0.4

 

Reply #1457 Top

Quoting ZombiesRus5, reply 1457
This probably doesn't do what you think. DamageSharing is what the Advent Mothership does when it shares 30% of the damage across all affected ships.

Ok how do I spread a portion of the incoming damage across all ships under group shield then?

Quoting ZombiesRus5, reply 1457
This is a balance call.

I don't want anything OP, I just want a passive skill, I feel that having an always-on, even when AM is at 0, is a better fit for the Ankylon/Tec Loyalist dug-in theme.

What about flipping over the experience to the ship owner? Is it possible?

Your assistance is much welcome!

Updated BuffPassiveGroupShieldTarget.entity.

Still don't know what to put in place of DamageSharing.

Reply #1458 Top

OK, I have a design idea now.

Thinking about the iconus guardian. It takes up some of the damage from someone else in its own shields right?

Now, if I can make the targets of the ability trigger a buff modelled like the shield projection, but with the radius centered on the Titan instead of themselves, we'd have a winner.

I could just copy the shield projection skill for this, but then each ship in the fleet would have a radius centered on themselves. How can I make the radius centered on the original 'caster', the Titan?

Reply #1459 Top

Quoting Brazilian_Joe, reply 1458
Quoting ZombiesRus5, reply 1457
This probably doesn't do what you think. DamageSharing is what the Advent Mothership does when it shares 30% of the damage across all affected ships.
Ok how do I spread a portion of the incoming damage across all ships under group shield then?

Nevermind, that's what I get for speaking off the top of my head. Yes, this is what shield projection does. It would have the Ankylon soak the damage though which may or may not be what you want.

Quoting Brazilian_Joe, reply 1459
What about flipping over the experience to the ship owner? Is it possible?

Not to my knowledge.

They added a way to get experience on converted ships, but I don't believe anything was added to grant experience in general.

 

Reply #1460 Top

Quoting ZombiesRus5, reply 1460
It would have the Ankylon soak the damage though which may or may not be what you want.

What if I make BuffPassiveGroupShieldTarget cast a new buff mimicking shield projection, say BuffPassiveGroupShieldDamageSharing.

That way each ship which is inside the group shield would absorb a bit of the damage from the ships around right?

 

How exactly are the shield projection mechanics?

Let me pick an hypothetical scenario: 

One capital ship is accompained by two iconus, both have shield projection active and the capital is in range.

The capital then takes 1000 points of damage.

What happens? Does each Iconus take 166 points of shield damage, or does one of them take 333 points of damage and the other takes nothing?

I am contemplating making each ship absorb 1-4% of damage of everyone around, and let it stack up to 10 times if feasible.

So many questions...

Reply #1461 Top

You know how malice uses that propogate weapon damage stuff? What happens if you make that negative?

Reply #1462 Top

Quoting Seleuceia, reply 1462
You know how malice uses that propogate weapon damage stuff? What happens if you make that negative?

My understanding is that shield projection does only move damage points around. I haven't digged Malice code, but I always assumed that it creates damage, which is not what I want.

I *THINK* that Malice calculates a percentage of damage and inflicts the same value on targets. I don't even know if it actually reduces incoming damage.

If it instead removes incoming damage and merely spreads it over to several targets, then it's a different story. 

Can you elaborate on Malice?

Reply #1463 Top

Quoting Brazilian_Joe, reply 1461
What if I make BuffPassiveGroupShieldTarget cast a new buff mimicking shield projection, say BuffPassiveGroupShieldDamageSharing.

That way each ship which is inside the group shield would absorb a bit of the damage from the ships around right?

You'd have to play with is all I can say. Right now a ship can only be covered by a single Shield projection. If a second projection is active it will only cover ships not already under a shield projection. I'm not sure how the engine will share the damage if two or more ships have that buff stacked on a target.

Reply #1464 Top

Quoting SpardaSon21, reply 1447
Only the developers can control fleet and ship spacing, sadly.

I did some more testing and completely agree. This basically rules out having larger meshes for certain ships as the spacing as they attack, rotate, form up, etc is hard coded. Just to be clear for anyone reading this has nothing to do with the form fleet mechanic and is just the natural spacing ships attempt to form as the move or attack.

I'm basically resigned to reducing the mesh sizes of several of the models to get them within an agreeable size so as to not annoy me. 

Reply #1465 Top

Quoting ZombiesRus5, reply 1464
If a second projection is active it will only cover ships not already under a shield projection. I'm not sure how the engine will share the damage if two or more ships have that buff stacked on a target.

If two ships have the ability, and the buff will stack, each ship will absorb X percentage of damage. For example, if you have a modified Shield Projection, say on two Titans and the damage sharing buff does not effect Titans, and the ability casts a 40% damage sharing buff, then 80% of the damage dealt to frigate X will be inflicted on Titans A and B, respectfully.

If the buff is increased to 50%, i.e. frigate X does not receive any damage, ships will not fire on frigate X when you target it manually. With auto-attack on, the ships will target Titan A or B. I have not tested beyond 50%, i.e. total damage sharing is over 100%, so I cannot speak for that area.

Reply #1466 Top

Quoting ZombiesRus5, reply 1465
I did some more testing and completely agree. This basically rules out having larger meshes for certain ships as the spacing as they attack, rotate, form up, etc is hard coded. Just to be clear for anyone reading this has nothing to do with the form fleet mechanic and is just the natural spacing ships attempt to form as the move or attack.

So is there no way to just have a completely transparent polygon (if we can do that) extend the "size" of the mesh, giving illusion of space?

Reply #1467 Top

Quoting Brazilian_Joe, reply 1463
Can you elaborate on Malice?

When a ship is hit by malice, the game basically "counts" the damage that ship receives (as well as all other ships affected by that instance of malice) for the duration of the buff...at the end of the buff, it applies a fixed percent to all the "counted" damage, and then applies that damage to all affected ships...

I was just curious if negative values did anything interesting...

On a more serious note though...I do believe you could count the damage done to a single ship, then spread that damage around to multiple ships using the modifiers utilized by malice...you'd have to get creative on how you'd reduce the damage done to the single ship though...that's why I asked if negative values for propogating weapon damage did anything interesting that may be of use...

Reply #1468 Top

Quoting GoaFan77, reply 1467
(if we can do that) extend the "size" of the mesh, giving illusion of space?

I would imagine then you are just asking for blocking issues (ships running into shit and not going where you want them to) unless you allow the entity to move through others (like SC)....

Reply #1469 Top

OK I am trying to do the following:

PassiveGroupShield casts

PassiveGroupShieldTarget on everyone in range; which casts

PassiveGroupShieldShareDamage from every ship under the effect.

The idea is to do a shield projection-like damage sharing with 1-4% damage absorption by each ship, stackable up to 10 times.

I want to restrict it to effect only ships which have the buff PassiveGroupShieldTarget.

I think it would be a constraint in targetFilter, but I haven't found a way to query for a buff on targeting, like:

constraint "hasBuff"

buffTypeToQuery "PassiveGroupShieldTarget"

but I don't think such a thing exists. Anyone?

 

Reply #1470 Top

There is something similiar to "hasBuff" with Rebellion...look at the abilities Boarding Party and Dem Teams (especially Dem Teams)...you essentially can chek to see if a ship has a buff or not, and discriminate further buff applications accordingly..

Reply #1471 Top

Quick question. Where can you alter the number and type of frigates at neutral wells at the start of a game?

Reply #1472 Top

Quoting CoronalFire, reply 1472
Quick question. Where can you alter the number and type of frigates at neutral wells at the start of a game?

It's defined in the GalaxyScenarioDef file.

Reply #1473 Top

Quoting Lavo_2, reply 1473

Quoting CoronalFire, reply 1472Quick question. Where can you alter the number and type of frigates at neutral wells at the start of a game?

It's defined in the GalaxyScenarioDef file.

 

Sweet thanks man. I now have Stars randomly emitting CMEs that cause damage to nearby planets.

Reply #1474 Top

What is the difference between the TITAN and COSMETIC files for the titans?

Reply #1475 Top

Quoting kcirtap42593, reply 1475
What is the difference between the TITAN and COSMETIC files for the titans?

Cosmetics are totally useless save they appear randomly in the main menu.