Sins of a Solar Empire : Real-Time Strategy. Unrivalled Scale.
© 2003-2016 Ironclad Games Corporation Vancouver, BC. All rights reserved.
© 2006-2016 Stardock Entertainment

Modder's "Get-an-Answer" Thread

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

By on April 13, 2011 12:05:46 PM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

Sinperium

Join Date 02/2010
+213

 

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 regularly.





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

 

2619 Replies
Search this post
Subscription Options


Reason for Karma (Optional)
Successfully updated karma reason!
September 18, 2013 12:23:06 PM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

Quoting ZombiesRus5,
This buff type has special logic associated with it to validate colonization research is completed if needed. Using it in a sub buff file doesn't seem to add any value over changing player index. 

What are you trying to accomplish? There is probably another way to do the same thing. 

I need to apply a buff to the colonizer ship when it colonizes something. I'm thinking of putting a post colonize buff on the planet then having that apply the buff I want to the first spawner.

Reason for Karma (Optional)
Successfully updated karma reason!
September 18, 2013 12:33:55 PM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

Quoting GoaFan77,


Quoting ZombiesRus5, reply 1950This buff type has special logic associated with it to validate colonization research is completed if needed. Using it in a sub buff file doesn't seem to add any value over changing player index. 

What are you trying to accomplish? There is probably another way to do the same thing. 

I need to apply a buff to the colonizer ship when it colonizes something. I'm thinking of putting a post colonize buff on the planet then having that apply the buff I want to the first spawner.

I do something similar to spawn turrets in the BSG mod. 

Reason for Karma (Optional)
Successfully updated karma reason!
September 18, 2013 12:49:49 PM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

Quoting myfist0,

Quoting GoaFan77, reply 1935The default is you get one of those for every 20 population the planet has. If it can be changed I think it would be in the gameplay.constants file.

SOA2 dumped them all together, we have better uses for those resources 

Still haven't found it, do you know where the line is that corresponds to the Planet Elevators spawning, I remember I stumbled upon it quite easily in Trinity, but in Rebellion I can't seem to find it at all ...

Someone said for every 20 population, a Planet Elevator Spawns, I would prefer for every 100 in my mod.

Reason for Karma (Optional)
Successfully updated karma reason!
September 18, 2013 1:12:11 PM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

Quoting Ben_Maxwell,
Still haven't found it, do you know where the line is that corresponds to the Planet Elevators spawning, I remember I stumbled upon it quite easily in Trinity, but in Rebellion I can't seem to find it at all ...

Someone said for every 20 population, a Planet Elevator Spawns, I would prefer for every 100 in my mod.

If you check the previous page someone said it was in each race.entity file.

Reason for Karma (Optional)
Successfully updated karma reason!
September 18, 2013 2:30:36 PM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

Looked, but it isn't as far as I can see, they list the specific buildings which need to spawn, but no mention of how much population needed to spawn one

Reason for Karma (Optional)
Successfully updated karma reason!
September 18, 2013 2:44:34 PM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

Quoting Ben_Maxwell,

Looked, but it isn't as far as I can see, they list the specific buildings which need to spawn, but no mention of how much population needed to spawn one

The ONLY moddable data regarding planet elevators I'm aware of was provided by Lavo. I have never seen anything that indicates you can mod how much pop is needed to spawn a elevator.

 

Reason for Karma (Optional)
Successfully updated karma reason!
September 18, 2013 4:15:02 PM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

It was in trinity, I wonder if it is now hard coded or if the line has been moved to some obscure file somewhere? I am tempted to re-load trinity to see if I can find it there and then compare, do you think this would be a good idea?

Reason for Karma (Optional)
Successfully updated karma reason!
September 18, 2013 4:29:48 PM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

Quoting Ben_Maxwell,

It was in trinity, I wonder if it is now hard coded or if the line has been moved to some obscure file somewhere? I am tempted to re-load trinity to see if I can find it there and then compare, do you think this would be a good idea?

You don't need to reload trinity. Just download the latest reference files for trinity and compare from there.

Did you mod it in Trinity? or you just know it was moddable because someone else said so?

Reason for Karma (Optional)
Successfully updated karma reason!
September 18, 2013 5:58:13 PM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

the only section that I can find in BOTH dip & rebel playerRACE.entity files that relate to the elevators at a planet are the mesh definitions and have searched the entire sets of refs and the only other files that get hits for 'Elevator' are the convertdata's, so might be a hardcode(drat)

harpo

 

Reason for Karma (Optional)
Successfully updated karma reason!
September 18, 2013 6:41:35 PM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

Quoting Dark_Ansem,
I'm trying to add a sfx whenever a ship/frigate/titan/fighter moves, similar to what happens in the Star Wars movies.

matter is, while I have checked the entity folder, I don't know where to start. any advice, please?

1st, you will never get that exact sound you posted in that green screen flyby, Sins does not support the "Doppler Effect". The sound will be a constant used in a loop.

Look for the fighter entity you want to edit

FighterTechCombat.entity

meshName "SupportShip_TechFighter"

will be the model attached stored in your mods Mesh folder

engineSoundID "ENGINE_TECHSUPPORTSHIP"

will be the engine loop connected to GameInfo\SoundEffects.sounddata 

effect
name "ENGINE_TECHSUPPORTSHIP"
fileName "Engine_TechSupportShip.ogg" < -- Stored in sound folder
type "Effect"
is3D TRUE
priority 1
threshold 2000.000000
minAttenuationDist 60.000000
maxNumPlayingSimultaneously 4
isLooping TRUE
isResident TRUE
minRespawnTime 0.1
fadeInTime 0.4
fadeOutTime 0.4
alternateGroup ""

Reason for Karma (Optional)
Successfully updated karma reason!
September 19, 2013 2:31:07 AM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

oh thanks! it's better than nothing at all I guess!

can I add a few alternates/variations for that?

Reason for Karma (Optional)
Successfully updated karma reason!
September 24, 2013 2:57:45 AM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

Hi there I had a few questions, a few things I just cannot seem to get worked through.

 Edit: This is working on Rebellion newest patch.

 

1)

Text FileArchive missing Label.

File: C:\Users\User\Documents\My Games\Ironclad Games\Sins of a Solar Empire Rebellion\Mods-Rebellion v1.52 Dev\40,000 Sins\String\English.str
Label: StringInfo
Line Number:22820
Line Contents:

However, I have cross checked this with the reference files and are similar in structure and contents.  That is the very last entry in the string file.

 

If I hold the esc key down it eventually passes through the errors and continues on.

 

2)  I get this message about 3 times

 

Failed to convert '' to an enum value.

 

I figured it would be a loose " somewhere in the code but I cannot seem to find it and it doesn't specify what file...

 

3)

Lastly, I get this error. 

Assert @ C:\Projects\P4\SinsRebellion\Release\CodeSource\GS/Entity/Interfaces/IAbility.cpp(398)

m_aiUseTime == AIUseTime::Invalid

 

How am I to access this? I cannot seem to find the .cpp file.

 

Thanks in advance!  

Reason for Karma (Optional)
Successfully updated karma reason!
September 24, 2013 3:11:14 AM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

1. Check your string file count

2. " is not actually a double quote, it's 2 single quotes '' showing a bad entry, but the bad entry is blank. I get this when I try to delete a brush entry or a string entry link in the entity file. To fix I use an empty link.

String file entry

StringInfo
ID "IDS_EMPTY"
Value ""

anything you do not want a string for, use that link

 

Brush file entry

brush
name "HUDICON_NONE"
content "Simple"
fileName "UI_SHARED-HudIcons"
pixelBox [ 0 , 0 , 0 , 0 ]

 

3. You cant access that. It is a code built into the engine. Your ability file is borked, you must track it manually. Test every ability thoroughly when you edit so you know which file you borked.

Reason for Karma (Optional)
Successfully updated karma reason!
September 24, 2013 8:17:47 AM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

More info on 3.

 

All passive abilities must use aiUseTime "Invalid", you have something else in one.  This is the nature of the error message, it's saying the entry in a file is supposed to be Invalid.

 

Assert @ C:\Projects\P4\SinsRebellion\main\CodeSource\GS/Entity/Interfaces/IAbility.cpp(393)


m_aiUseTime != AIUseTime::Invalid

 

You would get that message if you did the opposite, putting Invalid in an active.

Reason for Karma (Optional)
Successfully updated karma reason!
September 24, 2013 9:43:40 AM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

how high can we go with ship stats? for health, hull, shield, weapon damage etc.

Reason for Karma (Optional)
Successfully updated karma reason!
September 24, 2013 11:46:41 AM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

Quoting Dark_Ansem,
how high can we go with ship stats? for health, hull, shield, weapon damage etc.

Assume you can go as high as you want until the DEV.exe tells you otherwise.

Reason for Karma (Optional)
Successfully updated karma reason!
September 24, 2013 11:57:48 AM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

Quoting ZombiesRus5,


Quoting Dark_Ansem, reply 1965how high can we go with ship stats? for health, hull, shield, weapon damage etc.


Assume you can go as high as you want until the DEV.exe tells you otherwise.

what's the highest you have done?

Reason for Karma (Optional)
Successfully updated karma reason!
September 24, 2013 12:26:39 PM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

Quoting Dark_Ansem,



Quoting ZombiesRus5,
reply 1966


Quoting Dark_Ansem, reply 1965how high can we go with ship stats? for health, hull, shield, weapon damage etc.


Assume you can go as high as you want until the DEV.exe tells you otherwise.


what's the highest you have done?

What's the highest you have tried in the dev.exe?

Reason for Karma (Optional)
Successfully updated karma reason!
September 24, 2013 12:38:19 PM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

8000 for shields, not tried anything else yet.

 

just put a ridiculous number for hull health: 2000000, and a more ridiculous one for shields. 100000

apparently it works, even with the normal exe, as the DEV exe wouldn't allow me to use mods.

Reason for Karma (Optional)
Successfully updated karma reason!
September 24, 2013 10:06:17 PM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

Quoting Dark_Ansem,
apparently it works, even with the normal exe, as the DEV exe wouldn't allow me to use mods.

Mods in development go in the DEV folder

C:\Users\myfist0\Documents\My Games\Ironclad Games\Sins of a Solar Empire Rebellion\Mods-Rebellion v1.52 Dev

Reason for Karma (Optional)
Successfully updated karma reason!
September 25, 2013 2:07:42 AM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

testing that now then

no isse apparently. selected ship, moved it, had it damaged by pirates (they are way too strong to be just a nuisance).

no dev error message, CONCERNING THAT.

Reason for Karma (Optional)
Successfully updated karma reason!
September 25, 2013 5:49:51 AM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

can I tell the game, in order to play certain sounds, to use parameters like

<Min_Pitch>X</Min_Pitch>

<Max_Pitch>X</Max_Pitch>

<Max_Instances>X</Max_Instances>
         <Volume_Saturation_Distance>X</Volume_Saturation_Distance>

          <Min_Volume>X</Min_Volume>
          <Max_Volume>X</Max_Volume>

Loop_Fade_In_Seconds> X </Loop_Fade_In_Seconds>
      <Loop_Fade_Out_Seconds> X </Loop_Fade_Out_Seconds>

<Play_Count> -1 </Play_Count>

Reason for Karma (Optional)
Successfully updated karma reason!
Reason for Karma (Optional)
Successfully updated karma reason!
September 25, 2013 6:33:29 AM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

agh, no pitch shift, nor volume controls %... nor is allowed randomization (I think) or sequence play

max_instances = maxnumplayingsimultaneously

Volume_Saturation_Distance = minAttenuationDist

?

 

what is treshold?

Reason for Karma (Optional)
Successfully updated karma reason!
September 25, 2013 5:36:03 PM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

You never want a game doing your pitch for you, anyways.

Reason for Karma (Optional)
Successfully updated karma reason!
Stardock Forums v1.0.0.0    #108433  walnut3   Server Load Time: 00:00:00.0000891   Page Render Time: