Jump to content

[V18 Stable Steam] Issue with GC and modding weapons


Wrath_IX

Recommended Posts

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?

Link to comment
Share on other sites

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"

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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 by WalrusJones
Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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 by WalrusJones
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...