Hex editing weapons onto a model?/animating vehicles
Moderator: Moderators
- ThePanda
- Private Second Class
- Posts: 74
- Joined: Sat Dec 20, 2008 4:22 pm
Hex editing weapons onto a model?/animating vehicles
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?
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?
Last edited by ThePanda on Sat Jan 09, 2010 11:26 pm, edited 2 times in total.
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: Hex editing weapons onto a model?
You can hexedit a model chunk onto any bone in a model.
-
Deviss
- Master of the Force

- Posts: 3772
- Joined: Tue Aug 12, 2008 7:59 pm
- Projects :: Clone Wars Extended
Re: Hex editing weapons onto a model?
i hex edited left pistol to bone_l_hand into magnaguard XD also left westar on jango i same bone XD
- ThePanda
- Private Second Class
- Posts: 74
- Joined: Sat Dec 20, 2008 4:22 pm
Re: Hex editing weapons onto a model?/animating vehicles
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.
-
Deviss
- Master of the Force

- Posts: 3772
- Joined: Tue Aug 12, 2008 7:59 pm
- Projects :: Clone Wars Extended
Re: Hex editing weapons onto a model?/animating vehicles
trust me follow repsharpshooter tutorial and then hex edit will be easy for you, if not i can help you with thatThePanda 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.
- ThePanda
- Private Second Class
- Posts: 74
- Joined: Sat Dec 20, 2008 4:22 pm
Re: Hex editing weapons onto a model?/animating vehicles
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.
-
Deviss
- Master of the Force

- Posts: 3772
- Joined: Tue Aug 12, 2008 7:59 pm
- Projects :: Clone Wars Extended
Re: Hex editing weapons onto a model?/animating vehicles
yeah probably you selected wrong or whatever please allow me help you to hex editThePanda 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.
- ThePanda
- Private Second Class
- Posts: 74
- Joined: Sat Dec 20, 2008 4:22 pm
Re: Hex editing weapons onto a model?/animating vehicles
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.
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.
-
Deviss
- Master of the Force

- Posts: 3772
- Joined: Tue Aug 12, 2008 7:59 pm
- Projects :: Clone Wars Extended
Re: Hex editing weapons onto a model?/animating vehicles
sending PMThePanda 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.
- ThePanda
- Private Second Class
- Posts: 74
- Joined: Sat Dec 20, 2008 4:22 pm
Re: Hex editing weapons onto a model?/animating vehicles
Replied
.
Like in the first post, I'm stumped as to what these do:
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.
Like in the first post, I'm stumped as to what these do:
Any idea/help?EntityFlyerInitAsLanded
EntityFlyerInitAsFlying
EntityFlyerLand
EntityFlyerTakeOff
EDIT: And yet another question
Thanks.
-
RogueKnight
- Space Ranger
- Posts: 2512
- Joined: Sat Nov 22, 2008 1:50 pm
- Projects :: Life. Work.
- xbox live or psn: No gamertag set
- Location: Washington, US
Re: Hex editing weapons onto a model?/animating vehicles
Just a quick FYI, capes only show up in XSI or ingame, not in the viewer, the viewer doesnt show cloth.
