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,621,558 views 2,761 replies
Reply #576 Top

Quoting Lavo_2, reply 575
though that doesn't address the issue I believe.
End of Lavo_2's quote

You believe wrong then.  I can make this ability do whatever you want.  This is one of the easy ones.

Quoting Lavo_2, reply 575
Bah, if only there was a constraint of "IsSelf" then this would work perfectly.
End of Lavo_2's quote

Take the first ability you gave us (the cap ship shield restore), make the constraint say capital ship, and make the range 30 (or 20 or 15, something meaningful, but not 0 since zero means 0 range, not no range, and it cannot target anything at that point, not even itself), and then use the only in combat use time.  Trust me, it'll work.  When the cap enters battle and loses 400+ shields while at the first ability level, if it has enough antimatter, it'll use the ability automatically every single time.  I've run it dozens of times over in the past day and it hasn't failed to fire off even once.  According to the AI, the constraints in place pretty much say IsSelf without actually saying it.  That's as good as you're going to get with this game right now.

For the frigates to heal caps, leave everything except the range and the levels exactly the same.  As soon as a cap ship loses 400+ shields, then they'll rush on over and use the ability.

For the frigates to heal themselves, leave everything the way it is except change the constraint to frigates, and remove the intrinsic levels and change it to fixed level 0 or based on research upgrades to get more levels out of it, and the frigates with the ability, again, as long as they have the antimatter, they will use it on themselves...  Or themselves and other frigates if the range is large enough to cover more real estate then itself.

 

 

 

Quoting Lavo_2, reply 575
It's an ability that is used by both frigates and capital ships (capitals have a version that's stronger)
End of Lavo_2's quote

Quoting Lavo_2, reply 575
I had attempted to set the aiUseTime to OnlyWhenManyTargetsHaveShieldDamage earlier, to no avail unfortunately. Bah, if only there was a constraint of "IsSelf" then this would work perfectly.
End of Lavo_2's quote

I guess the most confusing part of all of this to me is you're giving us a capital ship ability and constraining it to frigates with a self affecting buff and wondering why it's not working with an AI controlled Cap Ship.  Or then using a trigger based on ships around it to get it to work on itself because there is no IsSelf constraint...  You can't do that and expect it to work right.  Honestly, this is a lot simpler then what you're describing it as.

 

One last thing, I don't know what ships you're working with, but in the stock game, there's only a few frigates that have more then 400 shields.  In the case of a frigate having 200 shields and the ability looking for 400 before it triggers, it will not work because that ship cannot lose more then 200 shields.  Through the entirety of a battle it can lose thousands of shield points, but the game only looks at what its max value is and what is remaining to calculate what has been lost to trigger abilities, not how much its lost overall in the fight.

 

 

+1 Loading…
Reply #577 Top

Quoting Stant123, reply 576

Take the first ability you gave us (the cap ship shield restore), make the constraint say capital ship, and make the range 30 (or 20 or 15, something meaningful, but not 0 since zero means 0 range, not no range, and it cannot target anything at that point, not even itself), and then use the only in combat use time.
End of Stant123's quote

At a range of 0 the buff can be used on the caster, and only on the caster. OnlyInCombat seems to reduce the severity of the issue a lot, and nearly gets rid of it.


Quoting Stant123, reply 576
One last thing, I don't know what ships you're working with, but in the stock game, there's only a few frigates that have more then 400 shields. 
End of Stant123's quote

Working with SoGE; the basic and most common shielding level is 1000.

Reply #578 Top

Quoting Lavo_2, reply 577
At a range of 0 the buff can be used on the caster, and only on the caster.
End of Lavo_2's quote

Back in the early days, 0 meant the game couldn't target anything, not no range.  If things have changed, then great, because that means 0 for the range is basically an IsSelf constraint.  :thumbsup:

+1 Loading…
Reply #579 Top

Quoting Stant123, reply 578
Back in the early days, 0 meant the game couldn't target anything, not no range.  If things have changed, then great, because that means 0 for the range is basically an IsSelf constraint. 
End of Stant123's quote

It is, up until a ship goes halfway across a grav well to try and use the buff on a friendly frigate. :P

+1 Loading…
Reply #580 Top

Quoting Lavo_2, reply 579

It is, up until a ship goes halfway across a grav well to try and use the buff on a friendly frigate.
End of Lavo_2's quote

Lol--that's actually good to know as I have a 0 range in what I am working on.

Question
End of quote

Exposing my ignorance...I've never added meshes or particles or sounds to the game before (just swapped existing ones).  Do these have to be listed anywhere aside from actually adding the files?

I'd hate to add all, the stuff and have to start over.

Also
End of quote

You don't have to answer Lavo but what are you working on?  You sound like you are doing a lot.  What are you doing with it?

Reply #581 Top

Quoting Sinperium, reply 580
Exposing my ignorance...I've never added meshes or particles or sounds to the game before (just swapped existing ones).  Do these have to be listed anywhere aside from actually adding the files?

I'd hate to add all, the stuff and have to start over.
End of Sinperium's quote

meshes - no, simply reference the file name in the *.entity file

particles - no, simply reference the file name in the *.entity file

sounds - yes

Sounds need to be referenced in a *.sounddata file located in GameInfo. The Sound ID given in the sounddata file is what is referenced in the *.entity file.

 

+1 Loading…
Reply #582 Top

Thanks corpse man.  Extra gum for you this week.

Reply #583 Top

Does anyone know if there is a difference between the entity modifiers "UnderConstructionRate" (AKA Module build rate, used by worthy cause) and "PlanetModuleBuildTime" (AKA structure build time, used by communal labor, embargo etc.)?

Reply #584 Top

PlanetModuleBuildTime is a percentage, ex. 300%, UnderConstructionRate is probably a fixed amount, i.e. X seconds, but I can't confirm the latter.

 

Reply #585 Top

Quoting Lavo_2, reply 584
PlanetModuleBuildTime is a percentage, ex. 300%, UnderConstructionRate is probably a fixed amount, i.e. X seconds, but I can't confirm the latter.
End of Lavo_2's quote

They both show up in the infocard as percentages.

Reply #586 Top

Quoting GoaFan77, reply 585
They both show up in the infocard as percentages.
End of GoaFan77's quote

I have no idea then. Maybe it has something to do with races and/or how the buff applies the modifier?

Reply #587 Top

I started yesterday working on mods again after about 6 months of real life

I just got my head shoved into XSI and have nailed down pretty much everything I need mesh wise like cleaning them up from importing(I find sketchup easier to model with).  I like modeling and enjoy it plenty but now Im stuck in UV hell.

I understand basically whats going on but manipulating the UVs and getting them to unwrap to something I can live with is another story and tutorials haven't been much help.  Planar everything winds up horrible.  Polymesh spits out incomprehensible things and the roadkill plugin isnt much better.

http://img213.imageshack.us/img213/3504/captureyoz.png

I feel like Im going about this all wrong but Ive been working on textures since yesterday.  I know somehow you guys get weird geometry textured perfectly.  Can I somehow select regions to unwrap and the paste them into the texture editor?  Is there another program that doesn't cost tons of money I an use? 

Any advice would be appreciated.

Reply #588 Top

Quoting ransomthetoaster, reply 587
I feel like Im going about this all wrong but Ive been working on textures since yesterday. I know somehow you guys get weird geometry textured perfectly. Can I somehow select regions to unwrap and the paste them into the texture editor? Is there another program that doesn't cost tons of money I an use?
End of ransomthetoaster's quote

Yeah its all in the texture editor. I've only had to do UVs from scratch once but if you've got something like a ship where no projection will even get close, I do polymesh to start. You can then use the rectangle select (space), scale, rotate and translate tools to get individual pieces where they need to go. Most of the time work in island select mode and tearing mode and its manageable. I'm sure a real pro can give many other cool tips.

Reply #589 Top

Quoting ransomthetoaster, reply 587
Can I somehow select regions to unwrap and the paste them into the texture editor?  Is there another program that doesn't cost tons of money I an use?
End of ransomthetoaster's quote

If you are a student you can gain access to Autodesk's host of programs, such as Maya and 3DS Max, assuming you do not use them for commercial purposes.

On a related note, I was wondering if it is possible in Softimage's UV editor to select and delete/remove portions of a UV mesh?

Reply #590 Top

Sorry for the double post, but I was wondering if getting "FAILED VERTEX CHECKSUM" with ConvertXSI means anything? I've gotten it before with some models, though they look fine ingame.

+1 Loading…
Reply #591 Top

According to IskatuMesk:

"The source of my ire these days is less XSI itself and more their converter, which seems to be dealing with vertexes in a shady and confusing manner. Ignoring the fact that the converter sees exponentially large amounts of vertexes in comparison to what your model actually possesses, it deals with them in a sloppy and rigid fashion. Everything from tripping over its own 50k vertex limit because it magically conjures 80k more vertexes than what your model actually has, to punching holes in your model, to FAILED VERTEX CHECKSUM LOL

Normally when you get the FAILED VERTEX CHECKSUM LOL error it means you've fucked up somewhere. Overlapping vertexes, forgot to re-apply the tangent to itself in XSI even though it's already pointing to itself for fuck's sake (yes, you need to tell it to do what it's already doing to prevent it from breaking), to faces being bent in a manner the converter does not quite agree with. Other times, it seems just like the converter doesn't want to have anything to do with your vomit. When some entry-level programmer can haphazardly slap together a mostly reliable plugin for Starcraft 2 that supports most versions of a modern 3d package, in this case 3ds max, and you can't even manage a functional, verbose tool for your own game on a mundane piece of software like XSI across 3 major versions and years of work, when do you realize you're doing it wrong?"

Source: http://www.campaigncreations.org/blog/blog.php?u=1687&b=196

+2 Loading…
Reply #592 Top

Ok--here's a question to see if anyone will bite.

Want to to randomize a planet ability so it isn't always on--or always off.  Any ideas?  This will help me get started on a couple of specific things I am trying to figure out.

Thanks in advance.

Reply #593 Top

Quoting Sinperium, reply 592
Want to to randomize a planet ability so it isn't always on--or always off. Any ideas? This will help me get started on a couple of specific things I am trying to figure out.
End of Sinperium's quote

AddOrRemoveBuff with an on chance periodic action should work quite nicely.

+1 Loading…
Reply #594 Top

Quoting GoaFan77, reply 593

Quoting Sinperium, reply 592Want to to randomize a planet ability so it isn't always on--or always off. Any ideas? This will help me get started on a couple of specific things I am trying to figure out.

AddOrRemoveBuff with an on chance periodic action should work quite nicely.
End of GoaFan77's quote

I think that will do it sir--thank you.  I haven't actually done many planet abilities from scratch yet.

Reply #595 Top

Ok, Ive searched and searched but I cant find the answer so I figured Id just ask.  What does the tangent map actually do for models in game?  I imported a model without one and no texture appeared but I haven't messed with it since so I have no idea.  Been focusing on making actually good models, not weird cube things to see if they'll work in the first place.

Reply #596 Top

Quoting ransomthetoaster, reply 595
Ok, Ive searched and searched but I cant find the answer so I figured Id just ask.  What does the tangent map actually do for models in game?  I imported a model without one and no texture appeared but I haven't messed with it since so I have no idea.  Been focusing on making actually good models, not weird cube things to see if they'll work in the first place.
End of ransomthetoaster's quote

Lighting. I'm not an expert but I've noticed things if you don't have your tangent map set up correctly you'll get a whole bunch of minor graphical issues like a random polygon on what should be the "dark side" of the model will be lit up, etc. I suspect it will be even more important with Rebellion due to the new lighting system.

Quoting Yarlen, reply 1
I can only tell you that we didn't use a tangent map on our first Rebellion model and that turned out very, very, very badly.
End of Yarlen's quote

This isn't the picture I was looking for but I think it was caused by a tangent map (and other complicated modeling stuff).

Reply #597 Top

That model has a few issues causing that.

1st the object was not welded which made it like 2 separate models joined there and 2nd it uses 2 different texture sheets. I welded the model to 1 object and did the tangent map after again but the texture from 2 sheets is definitely still visible at that seem.

EDIT: This is what a typical bad tangent area would look like though.

Tangents are the angle of reflection of a light source. Once you create a second copy of the UV you need to turn or flip sections of the UV to get a nice transition of the basic colours when viewed in "Constant" mode.

Before and after welding the points

 

Tangent map in Constant view Before and after

+1 Loading…
Reply #598 Top

Update: Added direct link to Zombie's Eclipse Wiki, definitions section.

Reply #599 Top

Quick question...I was trying to modify the Pirate's "Steal Resources" (Plunder) ability to only loot a resource and not credits (currently it loots credits).

Hee's the portion I attempted to change:

instantAction
    buffInstantActionType "StealResources"
    instantActionTriggerType "OnBuffFinish"
    resourceToSteal "Credits"
    resourceAmount
        Level:0 100.000000
        Level:1 0.000000
        Level:2 0.000000
        Level:3 0.000000

I changed "Credits" to "Crystal" and then "Metal"--but I still just get credits.  "RefineryResources" doesn't work either. What am I missing here?

Thanks.

Reply #600 Top

Well, should only be credits metal or crystal, also you have four levels there and you should only have three...  Maybe the game is reverting back to the original because your version isn't formatted properly?

+1 Loading…