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,602,146 views 2,761 replies
Reply #2576 Top

Dont worry psychoak, I figured it out!

The solution is actually partly texture based.

The game knows not to render black/near-black textures. Black shows up as clear/transparent in the game. This is the key to Advent's instant beams. I'll explain:

Beams in the game are made up of 2 parts: Core and Glow. Supposedly one is meant to be the middle of the beam, and the other the...well... glow of the beam. However, glows can simply be applied to the textures themselves, so it seems a bit redundant to have glow right?

Thats what I thought at first. Until I looked closer at all the beams. Advent have their ACTUAL beams named "PsiCapitalBeam_Glow.dds". Their regular CORE texture (PsiCapitalBeam_Core.dds)? Its black/grayish. It doesnt render in the game.

-Okay, so Advent beams appear instantly because their TEXTURE is named to the glow category? Not quite.

The real defining factor for beams fading in or appearing instantly is in the .entity files for the ship, under their weapon effects for beams.

Under a beam's stats you're allowed to set their effects. There are 2 parts here, beamGlowTextureName, and beamCoreTextureName, the same way as stated above. Under these conditions are the key to instant beams: Any texture called to from beamGlowTextureName will appear INSTANTLY in game. Textures called to from beamCoreTextureName will fade in.

Simply:

beamGlowTextureName=Instant Beam Texture

beamCoreTextureName=Fading Beam Texture

You can see this displayed with TEC Starbase/Titan Beams as well as Vasari Planet bombing beams. Their .entity files have their main beam textures set to CORE, meaning they fade. Further, their textures are named "TechStarbaseBeam_Core" and "PhaseCapitalBombingBeam_Core", with their respective glow textures being nearly black.

-Okay, so how do I make TEC/Vasari Beams instant like Advent's?

There are 2 ways to do this.

1. The simpliest solution is simply to swap the names of the glow and core textures themselves. This way, any ship that uses fading beams will have the main beam texture appear instantly.

2. If you want specific ships to use fading beams and others instant beams without modifying the beams for the whole faction, you can go into each ships' .entity file and swap the textures that are called to under beamGlowTextureName and beamCoreTextureName in the ships beam weapon sections.

 

TL:DR

Advent beams appear instantly because the .entity files have their beams appear under beamGlowTextureName.

To get instant beams, use the texture you want under beamGlowTextureName in a ship's .entity file.

+1 Loading…
Reply #2577 Top

Perhaps a stupid question, but... does anyone have the reference files for Rebellion 1.85 with the files for all the DLCs available?

 

I can't figure out how to get the convert data thing in the gameinfo folder to work, and after scouring the forums for the past hour or so the latest I can find is Rebellion 1.83, which isn't what I'm looking for.  :(

Reply #2578 Top

You just need a batch file.

 

For GameInfo, it goes like so:

 

for %%a in (*.entity) do ConvertData_Rebellion entity %%a %%a txt

 

Make a new text file, copy this line into it, change the file type to .bat, and double click in a folder that contains ConvertData_Rebellion.exe and the offending entity files.

 

If you're really lazy, you can just get the SOA2 mod, which comes with conversion folders in each applicable directory that have the files set up for it.

Reply #2579 Top

Just a quickie: poked around a bit, is the ability to only train a single titan hard-coded? If not, the location where I can find the restriction would be useful, thanks.

Reply #2580 Top

Yes.  There are work-arounds though via ability spawned titans.

Reply #2581 Top

Does anyone know where I can change the unit limit for Titans?

Reply #2582 Top

Dude, that is literally the last question that was asked and answered...

Reply #2583 Top

It wasn't posted on the first page of replies...  So...  You know...

 

 

 

What's a search box?  Why would anyone ever use that?

Reply #2584 Top

Quoting psychoak, reply 2582

Dude, that is literally the last question that was asked and answered...

Sorry new to the forums, that giant pinned post in this thread was annoying so I literally just scrolled all the way down to the respond button without actually reading through the thread, so my bad.

Is there any way to make the mines so that they are not invulnerable?

Reply #2585 Top

Remove their ability to phase out, or increase the scout's range for mine detection to something that covers entire gravity wells so you continue to use the intended game mechanic of making scouts a lot more useful. Either should work.

Reply #2586 Top

Okay thanks.

 

Is there any way I can prevent the AI from building carriers, or at least tell them to build less of them. Their carrier spam is causing my game to lag to the point where the game is unplayable since I am only getting 8 FPS late game.

Reply #2587 Top

Ok guys -a dumb question and if it's been asked before, then pelase excuse my ignoranceas I haven't been able to find it.

Now, perhaps it's hardcoded, but is there a way to change the surrender conditions of AI players? Often times I feel they give up too quickly. I'd like to make a very subtle mod thats something to the effect of "Go Down Fighting"-mod. It seems with the new DLC the AIs are at least more dynamic post-surrender (they will move ships around, defend planets) but I think there's more to do.

Thanks for any input!!!

Reply #2588 Top

Don't believe there is one, but if there is it's in gameplay.constants.

Reply #2589 Top

So after doing some searching I discovered that the AI chooses what to build based on the StatCountType value in the ship files.

Can anyone provide me with a complete list of the StatCountType (s), and which one it gives the lowest priority to or it chooses not to build at all?

Cause I heard that there are certain StatCountType (s) that are essential for the AI to work such as Scout, Colony, and Siege frigates... but what are the non-essential ones?

Also what does the Mass value do in the entity files? Does it affect stats like movement speed or anything? Or does it simply dictates how large the ship appears in game? Cause want to make fighters and bombers appear larger in game, is there anyway I can scale them up without having to mod their mesh files?

Reply #2590 Top

Quoting WA-Numenor, reply 2589
is there anyway I can scale them up without having to mod their mesh files?

No, you have to scale up the mesh files. There are tools to do this easily however.

Reply #2591 Top

Quoting Lavo_2, reply 2590

There are tools to do this easily however.
What would you recommend? 

Reply #2593 Top

Quoting WA-Numenor, reply 2586

Is there any way I can prevent the AI from building carriers, or at least tell them to build less of them. Their carrier spam is causing my game to lag to the point where the game is unplayable since I am only getting 8 FPS late game.

 

So I read the best way to prevent them from building carriers is just to create a duplicate faction for the AI, and remove their ability to build carriers all together.

So I made a copy of the player entity files for faction and removed the ability to build and research carriers for the AI factions... now what do I need to edit or do to make these special races show up in game so I set the AI as them without overriding the ordinary factions?

Reply #2594 Top

Quoting WA-Numenor, reply 2593

So I read the best way to prevent them from building carriers is just to create a duplicate faction for the AI, and remove their ability to build carriers all together.

I would not agree with that advice. I'd just edit the carrier research entity files and change the priority line on them to 0.00000.

Reply #2595 Top

Currently GoaFan77, all priority lines for research (for frigate access) in the base files ARE at 0.00000, I've been looking through them to see if that would work... So annoying this is

Reply #2596 Top

Quoting WA-Numenor, reply 2593


Quoting WA-Numenor,

Is there any way I can prevent the AI from building carriers, or at least tell them to build less of them. Their carrier spam is causing my game to lag to the point where the game is unplayable since I am only getting 8 FPS late game.



 

So I read the best way to prevent them from building carriers is just to create a duplicate faction for the AI, and remove their ability to build carriers all together.

So I made a copy of the player entity files for faction and removed the ability to build and research carriers for the AI factions... now what do I need to edit or do to make these special races show up in game so I set the AI as them without overriding the ordinary factions?

 

I'd like to know where you read this, do you remember (or have access to) the link?

Reply #2597 Top

Quoting vrishnak92, reply 2595

Currently GoaFan77, all priority lines for research (for frigate access) in the base files ARE at 0.00000, I've been looking through them to see if that would work... So annoying this is

unit unlocks ignore priority

Quoting vrishnak92, reply 2596

I'd like to know where you read this, do you remember (or have access to) the link?

Adding a new player entity file is a little more complicated than you would think. You would need to extend or turn off the player selection popup that shows the Loyalist and Rebel race. After that you need to add it to the entity manifest then probably add a new stringinfo for a different AI player race name. Your biggest challenge is the player selection popup.

Reply #2598 Top

I figured out a solution, gonna make a high priority no tier research where the ai declares itself to an ai only faction that ends up removing the carrier as a research and build option.

 

kudo's to Lavo for helping me with the details.

Reply #2599 Top

You know, your actual problem, that whole performance thing, would be solved by reducing fighter counts and increasing their stats to preserve overall power.

Reply #2600 Top

Quoting ZombiesRus5, reply 2597

unit unlocks ignore priority

That hasn't been my experience actually. Of course I'm only doing this for special strikecraft research, so it may be different for required roletype frigates.