![]() |
Re: Modding SEV Thread Questions
No it’s my fault, allow me to explain where it started and it will become clear.
SE4 may have used CX; however I made the StarFire mod and started playing it exclusively. In StarFire the CX becomes the CV and the Light Cruiser the CL. When I read the title I figured the LC was a simple type-o; a letter reversal either not noticed by you or noticed and discarded as being to minor to warrant correction. A simple mistake compounded by me working on a StarFire Mod for SE5; which happens (as Kana pointed out already) to be the current source of all my annoying questions. |
Case statements
About the case statement of the form:
case my_var 1: 2: call Task_One 3: call Task_Two endcase 1). if my_var = 1, does it call Task_One? ----- Invalid (empty) case statement; won't compile 2). if my_var = 2, does it also call Task_Two? ----- No. 3). if my_var = 0, does it skip both tasks? ----- Yes. |
Plague extension
I was thinking it would be nice to extend the current plague system, maybe as follow:
1] Be able to use a formula for the amount of damage each turn, depending on the turn number (could make damage go down, like plague becoming less active, or up exponentially to force a quick resolve and simulate pandemia). 2] To be able to use amount2 as a "plague type". In that case a plague prevention component/factory could only cure the corresponding "plague type" (or several if several such abilities modded in the facility). This way we could create plague used as virus, destroying only master computers, or facilities and so on. |
Re: Plague extension
Well if the plague entry has a formula line then you can make some kind of formula. Any line in the data files, that has the word 'formula' in it, can have a formula.
|
Re: Plague extension
But do you know the variable (like %range%) corresponding to the number of turns ?
|
Re: Plague extension
This line comes from the components text but where is “Beam 10”? In the effects folder I see Beams_01 to 07 and there appears to be 4 beams per bit map. What if I want to change a weapon to another display beam type? I hope the modding gets easier as the game is developed more, or at least a really good guide is created!
Anti-Proton Beam Weapon Space Display Effect Name = Beam 10 |
Re: Plague extension
That's specified in BitmapEffects_SpaceCombat.txt.
|
Re: Plague extension
You see now I was thinking that, hence the reference to 4 per bit map. I just didn’t want to say it and sound nuts. http://forum.shrapnelgames.com/images/smilies/frown.gif
|
Re: Plague extension
Just think of it as a wealth of modding possiblities...
|
Re: Plague extension
Would someone know about the functions that can be used in facility requirement ?
I would like to create requirement such like : Planet already has one facility with ability X Sum of amount1 of ability Y on Planet <= Y Would you know such functions (like I know already for component) ? (My SEV boxed copy arriving beginning of next week http://forum.shrapnelgames.com/images/smilies/happy.gif) |
All times are GMT -4. The time now is 09:14 AM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.