Hex-editing problem

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
User avatar
Silas
Captain
Captain
Posts: 481
Joined: Thu Oct 11, 2007 5:30 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Hex-editing problem

Post by Silas »

im trying to get the sniper cape on the regular ep3 trooper. i followed the tut i think exactly, but after i munge it says:

Message Severity: 3
.\Source\EntityGeometry.cpp(619)
Entity "rep_inf_ep3_rifleman" missing geometry "rep_inf_ep3trooper"

i checked my files, and everything is spelled right. anyone know why it might be missing?
User avatar
Thunder
Lieutenant Colonel
Lieutenant Colonel
Posts: 543
Joined: Sun Jul 15, 2007 6:57 pm
Location: Michigan

Re: Hex-editing problem

Post by Thunder »

did you try it ingame?
User avatar
Silas
Captain
Captain
Posts: 481
Joined: Thu Oct 11, 2007 5:30 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Re: Hex-editing problem

Post by Silas »

yeah. it crashed and gave me the log error above
User avatar
guru
Jawa Admin
Jawa Admin
Posts: 2390
Joined: Thu Oct 14, 2004 8:45 pm
Projects :: swbf 1 vanilla
Games I'm Playing :: any mobile rpg

Re: Hex-editing problem

Post by guru »

rep_inf_ep3trooper is rep_inf_ep3_trooper
User avatar
Silas
Captain
Captain
Posts: 481
Joined: Thu Oct 11, 2007 5:30 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Re: Hex-editing problem

Post by Silas »

i tried it, and my map loaded a lot longer before it crashed, so i think its working. with that problem done, i have another. i now get this message:

Message Severity: 3
.\Source\HintManager.cpp(210)
Hint references nonexistant command post "cp3"

im confused, because i looked in Zeroeditor and its there. I think everything is spelled right since i did nothing but move it, so i have much confusion. here's the cp part of the .lua if it helps, but i dont think there's a problem there
Hidden/Spoiler:
function ScriptPostLoad()


--This defines the CPs. These need to happen first
cp1 = CommandPost:New{name = "cp1"}
cp2 = CommandPost:New{name = "cp2"}
cp3 = CommandPost:New{name = "cp3"}
cp4 = CommandPost:New{name = "cp4"}
cp5 = CommandPost:New{name = "cp5"}


--This sets up the actual objective. This needs to happen after cp's are defined
conquest = ObjectiveConquest:New{teamATT = ATT, teamDEF = DEF,
textATT = "game.modes.con",
textDEF = "game.modes.con2",
multiplayerRules = true}

--This adds the CPs to the objective. This needs to happen after the objective is set up
conquest:AddCommandPost(cp1)
conquest:AddCommandPost(cp2)
conquest:AddCommandPost(cp3)
conquest:AddCommandPost(cp4)
conquest:AddCommandPost(cp5)

conquest:Start()

SetUberMode(1);

EnableSPHeroRules()

end
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Re: Hex-editing problem

Post by Teancum »

It was probably a bad hex job. I'm pretty sure someone released a model with the sniper cape on it. You might try using that.
Aman/Pinguin
Jedi
Jedi
Posts: 1104
Joined: Tue Jan 30, 2007 6:04 am
Projects :: Inactive
Location: Germany

Re: Hex-editing problem

Post by Aman/Pinguin »

Aman/Pinguin
Jedi
Jedi
Posts: 1104
Joined: Tue Jan 30, 2007 6:04 am
Projects :: Inactive
Location: Germany

Re: Hex-editing problem

Post by Aman/Pinguin »

Thats one of the things I was confused about, too.
Crazy_Ewok
2008 Best Amateur Avatar
Posts: 256
Joined: Wed Jan 23, 2008 6:49 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Somewhere in the Midwest

Re: Hex-editing problem

Post by Crazy_Ewok »

If you want the cape and pauldron, you can't do it with hex-editting. You can take the cape, but you should use wazmol's addon pauldron if you want a pauldron.
RepSharpshooter
Gametoast Staff
Gametoast Staff
Posts: 1351
Joined: Tue Jul 10, 2007 4:10 pm

Re: Hex-editing problem

Post by RepSharpshooter »

Crazy_Ewok wrote:I think you can just ignore that.
NO. If you ignore a single step you will fail.

MODL[4 byte long integer that tells how big the modl is]

4 bytes = 4 boxes after the cloth's MODL. Put the cursor ON the 4th box. THEN do the address relative down thing, typing in the number you should have read in the previous step.

@pauldron, no, it's enveloped into the bones. Although, maybe the bones are the same in each, so it wouldn't matter. You could try putting that modl chunk in, it's called OVERRIDE_TEXTURE2
Post Reply