-
Posts
51 -
Joined
-
Last visited
Nexus Mods Profile
About Synthorange
Synthorange's Achievements
-
Using advent Animations for Xcom Soldiers
Synthorange replied to LeaderEnemyBoss's topic in XCOM's XCOM 2
It can work for weapons and items which call on anims directly. My Batmod for example has smaller weapons using the Lancer attack animation, defined in the archetype for the weapon. I had to copy the animation set and rename the animations so they conformed to soldier animations (advent troopers use different conventions for some reason) but it worked in the end. -
When launching the XCOM Editor a popup window comes up halfway through loading warning that it cant connect to a database
-
It is still frustrating though. Guess there's no easy way then. Oh right one more thing. Anyone got rid of the -NoGADWarning popup? I cant find any options to add it as a command line!
-
Ah right, I see where they are now. I was looking for them under xcom2/xcomgame/logs like the sdk does. They're in My Games/Xcom2. :v
-
Hm problem. Only the SDK keeps logs though. I dont see any logs in the regular XCOM 2 file tree. Argh I'm going to have to chase this down myself. It's not a hard crash either, stuff will still keep going on and pushing more events into the log, its your view getting stuck on the avenger belly or on the load screen. Dammit stupid difficult to track bugs.
-
Oh boy fun stuff coming up. Apparently some users are crashing. Just to make sure I'm not messing things up I could use some checking: event OnInit(UIScreen Screen) { Sky = Screen.Movie.Pres.Spawn(class'Skyranger_Customizer'); Sky.RangerSkin(); Sky.Destroy(); } This appears three times in my mod. Once at the start of battle, once at the avenger, and once if the skin select button is pressed. The one for battle and another button also have Sky.PlayMusic(); attached. That basically calls each skyranger and makes them PlaySound(). Is this the best way to do things? If I'm going to be calling it so many times, would it be better just to spawn it once and have it hang around to handle all calls? Additionally are audiocomponents created by PlaySound disposed of automatically or will I have a whole bunch stuck to an actor, or freefloating audiocomponents?
-
It's down to Modbuddy wants to delete the directory, XCOM or the XCOM Editor keep the directory open. I cant find where it's doing that unfortunately. It shouldnt need access to xcomgame/mod/yourmods because Modbuddy will overwrite it anyway.
-
Okay, anyone who's messed with the packages has probably come across this already: Modbuddy just wont build/debug while the XCOM Editor is running. Which means if you're doing a lot of graphic asset editing or messing with archetypes or any map/package operations, you're: Starting Modbuddy, starting XCOMUDK, doing your stuff, shutting down, building, launching XCOM to check, then back to XCOMUDK. Kind of real tedious! The thing that's stopping it is that the editor is keeping fingers in the mod directory preventing it from being deleted for Modbuddy to make a new build. How can I get around this?
-
Thanks to everyone, the mod is now live! http://steamcommunity.com/sharedfiles/filedetails/?id=653926741
-
Yeah modbuddy looks for that one only for files to upload. I really wish the description, tagger, preview image stuff all worked from right inside modbuddy but oh well. :(
-
Oh man that worked! Thank you so much, this gamestate stuff was just killing me. :v local X2_SkyrangerCustomSettings RangerHolder,newRangerHolder; local XComGameState newGameState; local XComGameStateContext_ChangeContainer changeContainer; local XComGameStateHistory History; local XComGameState_HeadquartersXCom XComHQ; History = `XCOMHISTORY; XComHQ = `XCOMHQ; changeContainer = class'XComGameStateContext_ChangeContainer'.static.CreateEmptyChangeContainer("Adding Skyranger Settings"); newGameState = History.CreateNewGameState(true, changeContainer); newRangerHolder=new class'X2_SkyrangerCustomSettings'; newRangerHolder.InitComponent(); XComHQ.AddComponentObject(newRangerHolder); RangerHolder=X2_SkyrangerCustomSettings(XComHQ.FindComponentObject(class'X2_SkyrangerCustomSettings')); newGameState.AddStateObject(XComHQ); `log("Creating Holder" @ newRangerHolder @ RangerHolder); History.AddGameStateToHistory(newGameState); I'd gotten this far before you showed up. So you have to add both the object and the component to the new gamestate? Eeesh.
-
local X2_SkyrangerCustomSettings RangerHolder,newRangerHolder; local XComGameState newGameState; local XComGameStateContext_ChangeContainer changeContainer; local XComGameStateHistory History; local XComGameState_HeadquartersXCom XComHQ; History = `XCOMHISTORY; XComHQ = `XCOMHQ; changeContainer = class'XComGameStateContext_ChangeContainer'.static.CreateEmptyChangeContainer("Adding Skyranger Settings"); newGameState = History.CreateNewGameState(true, changeContainer); newRangerHolder=new class'X2_SkyrangerCustomSettings'; newRangerHolder.InitComponent(); XComHQ.AddComponentObject(newRangerHolder); RangerHolder=X2_SkyrangerCustomSettings(XComHQ.FindComponentObject(class'X2_SkyrangerCustomSettings')); newGameState.AddStateObject(XComHQ); `log("Creating Holder" @ newRangerHolder @ RangerHolder); History.AddGameStateToHistory(newGameState); I'm being stumped here. If I run this I get 'Creating Holder: X2_SkyrangerCustomSettings_0 none' in the logs. Either addcomponentobject isnt working, or findcomponent isnt, or XCOMHQ is a bad thing to attach info to. Ugh. CaveRat to the rescue! http://forums.nexusmods.com/index.php?/topic/3927540-what-am-i-doing-wrong-everything-setmaterial-finding-actors-and-other-woes/?p=36013545
-
Yeah I just copy all my *.xcommod files out to the /mods directory so I can quickly create copies when I'm ready to upload again.
-
Uuuugh [0102.80] ScriptLog: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX[0102.80] ScriptLog: SKINNER INIT CALLED![0102.80] ScriptLog: Creating Holder X2_SkyrangerCustomSettings_0[0102.80] ScriptLog: Got item! None So creating it is fine. Either assigning it or finding it is a problem. function CheckforRangerInfoObject(){ local X2_SkyrangerCustomSettings RangerHolder,newRangerHolder; //local XComGameState NewGameState; RangerHolder=X2_SkyrangerCustomSettings(`XCOMHQ.FindComponentObject(class'X2_SkyrangerCustomSettings')); if (RangerHolder==none){ //newRangerHolder = X2_SkyrangerCustomSettings(NewGameState.CreateStateObject(class'X2_SkyrangerCustomSettings')); newRangerHolder=new class'X2_SkyrangerCustomSettings'; newRangerHolder.InitComponent(); `XCOMHQ.AddComponentObject(newRangerHolder); `log("Creating Holder" @ newRangerHolder); } } Is what it looks like now. Returns Creating Holder properly. function X2_SkyrangerCustomSettings GetHolder(){ local X2_SkyrangerCustomSettings Holder; Holder =X2_SkyrangerCustomSettings(`XCOMHQ.FindComponentObject(class'X2_SkyrangerCustomSettings')); `log("Got item!"@Holder); return Holder; } This though returns none.