• Our friends from AlphaCentauri2.info are in need of technical assistance. If you have experience with the LAMP stack and some hours to spare, please help them out and post here.

Ingame Editor

This is a fantastic tool but I have a request:

Being able to spawn a dead player's (or new player's) units.

I am trying to create a "Dynamic History" so to speak within my game, where I can spawn in civilizations later but after I kill a civilization off, I can't spawn anything of theirs anymore.
 
Hello. :)

It is strictly impossible(1)(2) to add new plays after the game has started. And I think it is also impossible(2) to revive a major civ but I do have a slight doubt.

(1) But if I am wrong about resurrecting dead players a mod could start the game with some players being already dead. This would be out of the scope of IGE though.
(2) It may be possible if you modify the dll (I am only speculating) but not only I do not have the time to invest in that, but also most players would not benefit from it (no dll on Steam, other mods already having their own dll, etc).
 
This might make a victory that requires eliminating all civs impossible.

If you mean the Domination victory condition, that only requires all capitals bar one to be captured, not all player to be wiped out. If you mean a custom VC, it would just need to check that at least one other player had one city or one unit on the board.
 
Hello. :)

It is strictly impossible(1)(2) to add new plays after the game has started. And I think it is also impossible(2) to revive a major civ but I do have a slight doubt.

(1) But if I am wrong about resurrecting dead players a mod could start the game with some players being already dead. This would be out of the scope of IGE though.
(2) It may be possible if you modify the dll (I am only speculating) but not only I do not have the time to invest in that, but also most players would not benefit from it (no dll on Steam, other mods already having their own dll, etc).

you can revive a major AI civ, and for a human you can hide a sleeping special unit until the turn the civ should span. at least you could when I tested that. need to check if it's still working...
 
@Gedemon
Hello. :)
Thank you for the tip. So I could add a resurrect feature... I guess it would be a nice addition. I already imagined the UI for this but I do not remember IGE's code enough to know how long and cumbersome it would be to add it. I will try to delve in the code this week-end and see how it looks like.
 
Don, if I were able to create a new trait for all civilizations that made them not "die" then would IGE never label them "dead"?

Any assistance with actually doing this would be appreciated :P.
 
Anything? lol.

Be patient! He said:
I already imagined the UI for this but I do not remember IGE's code enough to know how long and cumbersome it would be to add it. I will try to delve in the code this week-end and see how it looks like.

Its Friday... Friday is not the weekend so be patient.
 
Be patient! He said:


Its Friday... Friday is not the weekend so be patient.

I wasn't talking about that. I was referring to the post about the creating a trait for all civilizations where they never actually die. Thanks for the input however.
 
That is what hes looking into. So again just remain patient.

No, he is looking into a way of creating a resurrecting feature that has nothing to do with a trait.

I am talking about developing a mod myself that would give all civs that trait, but I need to know if IGE would even recognize them after all of their units/cities were gone.

He said himself that there is no certainty that he can get it to work his way, so it wouldn't hurt for me to try it my way.
 
@Gedemon
Hello. :)
Thank you for the tip. So I could add a resurrect feature... I guess it would be a nice addition. I already imagined the UI for this but I do not remember IGE's code enough to know how long and cumbersome it would be to add it. I will try to delve in the code this week-end and see how it looks like.

well, after a few test to update my code, it seems that things have changed in the way the game handle defeat, I think I'll have to look at your reseed code...

edit: forget that, works fine with special unit with founding ability, even without the "complete kills" option, it was just me having some problem debugging a few things :o

(I was testing with Greece, I was killing even the special waiting unit at start and then set spawn date to 2700 instead of -2700... :shake:)
 
Simply add this code to any trait (here I've used Art of War). I've not tested it with IGE but should take about a minute to do so... kill off the civ by adding a bunch of units beside it's initial city, and see what happens.

Code:
<Traits>             
<Update>
			<Set StaysAliveZeroCities="true" />
			<Where Type="TRAIT_ART_OF_WAR"/>
		</Update>
</Traits>
 
Excuse my ignorance, but wouldn't I have to create a mod for that? Or could I just plug that into the default files?
 
I would create a mod, but you could add a row entry to the original files... not certain an update entry would do it.

It is usually advised not to mess with the original files, though... and I think updates would wipe out your changes.

The mod would be easy to create if you have done any modding previously. I don't have time right now, but could do it up tomorrow if you cannot do it yourself.

Of course, whether it works as expected with IGE needs to be tested... don't have the time today, though.
 
Well, I dabbled around in modbuilder and assuming I did everything right, it doesn't work in IGE. If you have some free time, i'd appreciate it if you would see if you could get it working or at least send me the mod and I will.

Then again, I am not sure how far Don has gotten with actually ressurecting a dead civ, so. We shall see.
 
Mods used:

Really advanced setup
Commnitas gem + civup
Ingame editor

Starting it works fine and editing stuff for only the player. When I change player to edit stuff for the AI though, thats when problems start. After giving all AI some tech and policy I want to change back to my civ and the game crash. Also if I save during this and try to reload it crashes.
 
Back
Top Bottom