Wrath_IX Posted July 7, 2013 Share Posted July 7, 2013 Ok so I have been adding some custom ground combat weapons to the game everything is working good except for one issue. it always seems to display you soldiers spectre as unarmed. I have looked through the Various Files to try and find where this information is displayed and the only thing I can find is a file "GC_units.pfp" However when I try to open the file to modify it does not display correctly. there are a bunch of black background NUL marks interspersed throughout the code Anyone know how to correctly view and edit these PFP files? Quote Link to comment Share on other sites More sharing options...
WalrusJones Posted July 7, 2013 Share Posted July 7, 2013 You write a soldier specter XML to fix the ground combat images: A bugged example Soldier specter XML: <?xml version="1.0" encoding="utf-8"?><spectre id="farmer" version="1"><state id="default" name="robot" pivotX="36" pivotY="67" sortPoint="0.49"> <anim src="units/xenonaut/armour.basic/weapon.rifle/run_w" anim="walk_NY"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/run_e" anim="walk_K"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/run_n" anim="walk_E"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/run_s" anim="walk_D"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/run_nw" anim="walk_ENY"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/run_ne" anim="walk_EK"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/run_sw" anim="walk_DNY"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/run_se" anim="walk_DK"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/idle_w" anim="idle_NY"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/idle_e" anim="idle_K"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/idle_n" anim="idle_E"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/idle_s" anim="idle_D"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/idle_nw" anim="idle_ENY"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/idle_ne" anim="idle_EK"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/idle_sw" anim="idle_DNY"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/idle_se" anim="idle_DK"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/death_w" anim="death_NY"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/death_e" anim="death_K"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/death_n" anim="death_E"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/death_s" anim="death_D"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/death_nw" anim="death_ENY"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/death_ne" anim="death_EK"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/death_sw" anim="death_DNY"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/death_se" anim="death_DK"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/crouch_w" anim="crouch_NY"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/crouch_e" anim="crouch_K"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/crouch_n" anim="crouch_E"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/crouch_s" anim="crouch_D"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/crouch_nw" anim="crouch_ENY"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/crouch_ne" anim="crouch_EK"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/crouch_sw" anim="crouch_DNY"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/crouch_se" anim="crouch_DK"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/crouchidle_w" anim="crouchidle_NY"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/crouchidle_e" anim="crouchidle_K"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/crouchidle_n" anim="crouchidle_E"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/crouchidle_s" anim="crouchidle_D"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/crouchidle_nw" anim="crouchidle_ENY"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/crouchidle_ne" anim="crouchidle_EK"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/crouchidle_sw" anim="crouchidle_DNY"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/crouchidle_se" anim="crouchidle_DK"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/uncrouch_w" anim="up_NY"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/uncrouch_e" anim="up_K"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/uncrouch_n" anim="up_E"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/uncrouch_s" anim="up_D"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/uncrouch_nw" anim="up_ENY"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/uncrouch_ne" anim="up_EK"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/uncrouch_sw" anim="up_DNY"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/uncrouch_se" anim="up_DK"/> <anim src="units/xenonaut/armor.basic/grenade_w" anim="grenade_NY"/> <anim src="units/xenonaut/armor.basic/grenade_e" anim="grenade_K"/> <anim src="units/xenonaut/armor.basic/grenade_n" anim="grenade_E"/> <anim src="units/xenonaut/armor.basic/grenade_s" anim="grenade_D"/> <anim src="units/xenonaut/armor.basic/grenade_nw" anim="grenade_ENY"/> <anim src="units/xenonaut/armor.basic/grenade_ne" anim="grenade_EK"/> <anim src="units/xenonaut/armor.basic/grenade_sw" anim="grenade_DNY"/> <anim src="units/xenonaut/armor.basic/grenade_se" anim="grenade_DK"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/lean_w" anim="leanin_NY"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/lean_e" anim="leanin_K"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/lean_n" anim="leanin_E"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/lean_s" anim="leanin_D"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/lean_nw" anim="leanin_ENY"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/lean_ne" anim="leanin_EK"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/lean_sw" anim="leanin_DNY"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/lean_se" anim="leanin_DK"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/unlean_w" anim="leanout_NY"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/unlean_e" anim="leanout_K"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/unlean_n" anim="leanout_E"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/unlean_s" anim="leanout_D"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/unlean_nw" anim="leanout_ENY"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/unlean_ne" anim="leanout_EK"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/unlean_sw" anim="leanout_DNY"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/unlean_se" anim="leanout_DK"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/leanidle_w" anim="leanidle_NY"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/leanidle_e" anim="leanidle_K"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/leanidle_n" anim="leanidle_E"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/leanidle_s" anim="leanidle_D"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/leanidle_nw" anim="leanidle_ENY"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/leanidle_ne" anim="leanidle_EK"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/leanidle_sw" anim="leanidle_DNY"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/leanidle_se" anim="leanidle_DK"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/injury_w" anim="injured_NY"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/injury_e" anim="injured_K"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/injury_n" anim="injured_E"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/injury_s" anim="injured_D"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/injury_nw" anim="injured_ENY"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/injury_ne" anim="injured_EK"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/injury_sw" anim="injured_DNY"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/injury_se" anim="injured_DK"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/singleshoot_w" anim="singleshot_NY"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/singleshoot_e" anim="singleshot_K"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/singleshoot_n" anim="singleshot_E"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/singleshoot_s" anim="singleshot_D"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/singleshoot_nw" anim="singleshot_ENY"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/singleshoot_ne" anim="singleshot_EK"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/singleshoot_sw" anim="singleshot_DNY"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/singleshoot_se" anim="singleshot_DK"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/burstshoot_w" anim="burstshot_NY"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/burstshoot_e" anim="burstshot_K"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/burstshoot_n" anim="burstshot_E"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/burstshoot_s" anim="burstshot_D"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/burstshoot_nw" anim="burstshot_ENY"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/burstshoot_ne" anim="burstshot_EK"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/burstshoot_sw" anim="burstshot_DNY"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/burstshoot_se" anim="burstshot_DK"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/crouchsingleshoot_w" anim="crouchsingleshot_NY"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/crouchsingleshoot_e" anim="crouchsingleshot_K"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/crouchsingleshoot_n" anim="crouchsingleshot_E"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/crouchsingleshoot_s" anim="crouchsingleshot_D"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/crouchsingleshoot_nw" anim="crouchsingleshot_ENY"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/crouchsingleshoot_ne" anim="crouchsingleshot_EK"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/crouchsingleshoot_sw" anim="crouchsingleshot_DNY"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/crouchsingleshoot_se" anim="crouchsingleshot_DK"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/crouchburstshoot_w" anim="crouchburstshot_NY"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/crouchburstshoot_e" anim="crouchburstshot_K"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/crouchburstshoot_n" anim="crouchburstshot_E"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/crouchburstshoot_s" anim="crouchburstshot_D"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/crouchburstshoot_nw" anim="crouchburstshot_ENY"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/crouchburstshoot_ne" anim="crouchburstshot_EK"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/crouchburstshoot_sw" anim="crouchburstshot_DNY"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/crouchburstshoot_se" anim="crouchburstshot_DK"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/vault_w" anim="vault_NY"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/vault_e" anim="vault_K"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/vault_n" anim="vault_E"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/vault_s" anim="vault_D"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/vault_nw" anim="vault_ENY"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/vault_ne" anim="vault_EK"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/vault_sw" anim="vault_DNY"/> <anim src="units/xenonaut/armour.basic/weapon.rifle/vault_se" anim="vault_DK"/></state></spectre> These go in units/xenonaut/armorfile/weaponnameyouaretryingtoanimate Titled "Soldier.spectre.xml" Quote Link to comment Share on other sites More sharing options...
Wrath_IX Posted July 7, 2013 Author Share Posted July 7, 2013 what program do you use to write that? Am i correct in assuming that I can copy the one you posted and just modify the "<anim src="units/xenonaut/armour.basic/weapon.rifle/" part of each line to match the folder i created for each of my weapons? and I have to do one for each armor type too correct? Quote Link to comment Share on other sites More sharing options...
WalrusJones Posted July 7, 2013 Share Posted July 7, 2013 Every armor type, every weapon. I still haven't totally debugged them (Not all of the images work for the weapon you want it to look like, either.... I am still fixing all of mine.) Quote Link to comment Share on other sites More sharing options...
Wrath_IX Posted July 7, 2013 Author Share Posted July 7, 2013 I think its cause we are working around the GC_unit.pfp file because based on the the snippets of code that I can read it looks like it might be the master ground combat animation file because there are strings that look very similar to yours Quote Link to comment Share on other sites More sharing options...
Wrath_IX Posted July 7, 2013 Author Share Posted July 7, 2013 I sent a PM to Chris in hopes that he can shed some light on the issue Quote Link to comment Share on other sites More sharing options...
WalrusJones Posted July 7, 2013 Share Posted July 7, 2013 Well. Look at the working specter files in my mod, and I give you permission to snag those for your own personal gain. Quote Link to comment Share on other sites More sharing options...
Wrath_IX Posted July 7, 2013 Author Share Posted July 7, 2013 Question; why is the spectre ID set to Farmer? are we planning on arming the farmer Civilians with top of the line military weapons? or am I just being silly? Quote Link to comment Share on other sites More sharing options...
WalrusJones Posted July 7, 2013 Share Posted July 7, 2013 Question; why is the spectre ID set to Farmer? are we planning on arming the farmer Civilians with top of the line military weapons? or am I just being silly? That is what humans are called by the games files. Quote Link to comment Share on other sites More sharing options...
Wrath_IX Posted July 7, 2013 Author Share Posted July 7, 2013 LOL yeah I figured that out by looking through the GC_Unit.pfp which does appear to be the master animation file it would be better if it was in a different file format then we could just amend it with the correct information Quote Link to comment Share on other sites More sharing options...
WalrusJones Posted July 7, 2013 Share Posted July 7, 2013 Its the entire reason why I am adding a line of civilian weaponry to my mod: "You ain't probin' my cornhole you alien communist sonnaova bich!" Quote Link to comment Share on other sites More sharing options...
Wrath_IX Posted July 7, 2013 Author Share Posted July 7, 2013 LOL interesting. I would tell you all the stuff I am working on for mine but I know how hungry your mod is and I hate to be eaten Quote Link to comment Share on other sites More sharing options...
Wrath_IX Posted July 7, 2013 Author Share Posted July 7, 2013 Thanks for the help with the animations that will help me quite a bit Quote Link to comment Share on other sites More sharing options...
WalrusJones Posted July 7, 2013 Share Posted July 7, 2013 (edited) LOL interesting. I would tell you all the stuff I am working on for mine but I know how hungry your mod is and I hate to be eaten Your mod is another weapon mod, right? That means you are probably safe from being eaten, as you are the closest thing I have to direct competition, and I have my own plan for weaponry.... You are simply indigestible. Rather, You are someone who must be slain in an honest duel to the death. Mods with art assets that are of use to me IE, More shotguns, the soldier class icons, and polish mods that have been eaten up partially by little mod are more at risk of me consuming them. Edited July 7, 2013 by WalrusJones Quote Link to comment Share on other sites More sharing options...
Wrath_IX Posted July 7, 2013 Author Share Posted July 7, 2013 Your mod is another weapon mod, right?That means you are probably safe from being eaten, as you are the closest thing I have to direct competition, and I have my own plan for weaponry.... You are simply indigestible. Rather, You are someone who must be slain in an honest duel to the death. Mods with art assets that are of use to me IE, More shotguns, the soldier class icons, and polish mods that have been eaten up partially by little mod are more at risk of me consuming them. No my mod contains weapons as a part of it... but that is only a part but I can do a duel. on a side note I tried the Soldier_Spectre.xml file like you suggested and it completely removed the image of the character who was using that weapon. Is that the issue that you were running into? Quote Link to comment Share on other sites More sharing options...
WalrusJones Posted July 7, 2013 Share Posted July 7, 2013 (edited) No my mod contains weapons as a part of it... but that is only a part but I can do a duel.on a side note I tried the Soldier_Spectre.xml file like you suggested and it completely removed the image of the character who was using that weapon. Is that the issue that you were running into? No. Grenade throws, and getting wounded while crouching were abnormally static... I will be fixing it tomorrow, as I discovered the issue. I may not have copy pasted it perfectly for you.......... Should I upload one of the finished Soldier_Spectre.xml's for you tommorow? Edited July 7, 2013 by WalrusJones Quote Link to comment Share on other sites More sharing options...
Wrath_IX Posted July 7, 2013 Author Share Posted July 7, 2013 Ok, On a note for our discussion of our mods competing... would you consider collaboration? pool our resources and create one unified mod? I have a lot of components to work on beyond ground combat weapons. Quote Link to comment Share on other sites More sharing options...
WalrusJones Posted July 7, 2013 Share Posted July 7, 2013 Potentially. I want to get V2 out, and get shut-down in my feature request before I talk about where I am headed next. Quote Link to comment Share on other sites More sharing options...
Wrath_IX Posted July 7, 2013 Author Share Posted July 7, 2013 I have to say though I like your MP5 image better than mine. Mine is just a straight scrub of a live picture while yours looks like it was made specifically for the game. Did you make that one yourself? Quote Link to comment Share on other sites More sharing options...
WalrusJones Posted July 7, 2013 Share Posted July 7, 2013 That is the first one that made me pick up Laggy Wolf, who is the source of it, as an artist temporarily. I now have images that rival it under my own belt (The M93R or "Enhanced materials pistol" of mine rivals it, IMO.) I am to this day trying to reverse engineer their work flow, and am slowly catching up. Quote Link to comment Share on other sites More sharing options...
Wrath_IX Posted July 7, 2013 Author Share Posted July 7, 2013 Oh I see what I did wrong the the Spectre file too lol dunce cap for me! I changed the pathing in the actual code to target my folder cause I had copied all the image files over from the folders that I wanted to use. lol im such a fool Quote Link to comment Share on other sites More sharing options...
WalrusJones Posted July 7, 2013 Share Posted July 7, 2013 It always comes to you like that. Quote Link to comment Share on other sites More sharing options...
Wrath_IX Posted July 7, 2013 Author Share Posted July 7, 2013 Question. If I send you the place holder art assets that I have currently do you think you could do some artistic wizardry on them to make them look better? Quote Link to comment Share on other sites More sharing options...
WalrusJones Posted July 7, 2013 Share Posted July 7, 2013 I can try it. I would perfer having the weapons named to me instead, as this would allow me to pick and choose the most effective sprite for my methodology. Quote Link to comment Share on other sites More sharing options...
Wrath_IX Posted July 7, 2013 Author Share Posted July 7, 2013 Ok I do not have anywhere to host the files out of so I can try to e-mail them to you or something Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.