Page 1 of 1
Hex editing weapons onto a model?/animating vehicles
Posted: Sat Jan 09, 2010 9:55 pm
by ThePanda
I'm no professional at hex editing, but to the more experienced, is this possible?
It's only for aesthetical reasons, I'm trying to have an animated unit prop hold a weapon, but using addons with props isn't possible, so this is probably the only other hope besides having to actually model the weapon onto a model.
EDIT: Also, after doing research into how the campaign is able to animate flyer-class objects, I've come to the conclusion that it actually animates the vehicle spawn that the vehicle spawned from, and then uses the LUA function(?) 'EntityFlyerTakeOff', so the vehicle can fire its weapons, as well as prevent it from playing its takeoff animation. Can someone verify this?
Also, can somebody tell me what 'EntityFlyerInitAsLanded' does?
Re: Hex editing weapons onto a model?
Posted: Sat Jan 09, 2010 10:01 pm
by Maveritchell
You can hexedit a model chunk onto any bone in a model.
Re: Hex editing weapons onto a model?
Posted: Sat Jan 09, 2010 10:45 pm
by Deviss
i hex edited left pistol to bone_l_hand into magnaguard XD also left westar on jango i same bone XD
Re: Hex editing weapons onto a model?/animating vehicles
Posted: Sat Jan 09, 2010 11:29 pm
by ThePanda
Easy for some people

, I'm intimidated by hex-editing at the moment, so I'll analyse it when I have some time. Also, could someone verify my edit in the first post? I think I'm going somewhere with it.
Re: Hex editing weapons onto a model?/animating vehicles
Posted: Sun Jan 10, 2010 1:30 am
by Deviss
ThePanda wrote:Easy for some people

, I'm intimidated by hex-editing at the moment, so I'll analyse it when I have some time. Also, could someone verify my edit in the first post? I think I'm going somewhere with it.
trust me follow repsharpshooter tutorial and then hex edit will be easy for you, if not i can help you with that
Re: Hex editing weapons onto a model?/animating vehicles
Posted: Sun Jan 10, 2010 8:44 am
by ThePanda
I followed RepSharpShooters' tutorial a couple of times, but each time I tried to view the new caped model in the MSH Viewer it was invisible, so there's no doubt I've done something wrong. Also, I read that because some MODL chunks don't include texture names, you have to do extra editing to get them working, in which case I'll pass.
Re: Hex editing weapons onto a model?/animating vehicles
Posted: Sun Jan 10, 2010 11:23 am
by Deviss
ThePanda wrote:I followed RepSharpShooters' tutorial a couple of times, but each time I tried to view the new caped model in the MSH Viewer it was invisible, so there's no doubt I've done something wrong. Also, I read that because some MODL chunks don't include texture names, you have to do extra editing to get them working, in which case I'll pass.
yeah probably you selected wrong or whatever please allow me help you to hex edit

Re: Hex editing weapons onto a model?/animating vehicles
Posted: Sun Jan 10, 2010 1:03 pm
by ThePanda
If you're willing to help that's awesome

, send me a PM.
Also, I've managed to animate a gunship like the campaign without editing classlabels or anything. It's most likely been done before, but I'll write up a short tutorial for anyone who'd like to know how soon.
Re: Hex editing weapons onto a model?/animating vehicles
Posted: Sun Jan 10, 2010 1:27 pm
by Deviss
ThePanda wrote:If you're willing to help that's awesome

, send me a PM.
Also, I've managed to animate a gunship like the campaign without editing classlabels or anything. It's most likely been done before, but I'll write up a short tutorial for anyone who'd like to know how soon.
sending PM

Re: Hex editing weapons onto a model?/animating vehicles
Posted: Sun Jan 10, 2010 2:07 pm
by ThePanda
Replied

.
Like in the first post, I'm stumped as to what these do:
EntityFlyerInitAsLanded
EntityFlyerInitAsFlying
EntityFlyerLand
EntityFlyerTakeOff
Any idea/help?
EDIT: And yet another question

, for some reason my gunships explode upon spawning on the first time, but when they respawn they're fine. I have no idea what's causing this whatsoever. Anybody know the problem?
Thanks.
Re: Hex editing weapons onto a model?/animating vehicles
Posted: Mon Jan 11, 2010 1:16 am
by RogueKnight
Just a quick FYI, capes only show up in XSI or ingame, not in the viewer, the viewer doesnt show cloth.