twt_thunder Posted January 14, 2015 Share Posted January 14, 2015 Just wonder if the player attach to tag_mg or tag_player on the tanks? or both?Need to know this for my modelling http://forums.warchest.com/images/smilies/biggrin.gif Quote Link to comment Share on other sites More sharing options...
Management TheSilencerPL Posted January 14, 2015 Management Share Posted January 14, 2015 Is this what you mean (the comments)? if( entity->client && entity->s.eFlags & EF_MOUNTEDTANK ) { // zinx - moved tank hack to here // bani - fix tank bb // zinx - figured out real values, only tag_player is applied, // so there are two left: // mg42upper attaches to tag_mg42nest[mg42base] at: // 0.03125, -1.171875, 27.984375 // player attaches to tag_playerpo[mg42upper] at: // 3.265625, -1.359375, 2.96875 // this is a hack, by the way. entity->r.currentOrigin[0] += 0.03125 + 3.265625; entity->r.currentOrigin[1] += -1.171875 + -1.359375; entity->r.currentOrigin[2] += 27.984375 + 2.96875; } twt_thunder 1 Quote Link to comment Share on other sites More sharing options...
twt_thunder Posted January 14, 2015 Author Share Posted January 14, 2015 Is this what you mean (the comments)? if( entity->client && entity->s.eFlags & EF_MOUNTEDTANK ) { // zinx - moved tank hack to here // bani - fix tank bb // zinx - figured out real values, only tag_player is applied, // so there are two left: // mg42upper attaches to tag_mg42nest[mg42base] at: // 0.03125, -1.171875, 27.984375 // player attaches to tag_playerpo[mg42upper] at: // 3.265625, -1.359375, 2.96875 // this is a hack, by the way. entity->r.currentOrigin[0] += 0.03125 + 3.265625; entity->r.currentOrigin[1] += -1.171875 + -1.359375; entity->r.currentOrigin[2] += 27.984375 + 2.96875; }So there is actually 3 tags then... Hmm have to look a bit more on the tanks.I am creating a "security" blitz with an mg hole in the roof and I want this to work Also planning a redo of my huey with guns on both sides if its possible, we'll see thanx a lot! owe you a favor Quote Link to comment Share on other sites More sharing options...
Management TheSilencerPL Posted January 14, 2015 Management Share Posted January 14, 2015 Good luck Quote Link to comment Share on other sites More sharing options...
twt_thunder Posted January 14, 2015 Author Share Posted January 14, 2015 well still have a bit todo, but its gonna be something like this: hellreturn 1 Quote Link to comment Share on other sites More sharing options...
Management TheSilencerPL Posted January 15, 2015 Management Share Posted January 15, 2015 hehe, nice Quote Link to comment Share on other sites More sharing options...
twt_thunder Posted January 18, 2015 Author Share Posted January 18, 2015 (edited) released now with the other blitz http://forums.warchest.com/showthread.php/39196-TWT-model-release?p=519489#post519489 Edited January 18, 2015 by twt_thunder Quote Link to comment Share on other sites More sharing options...
twt_thunder Posted January 18, 2015 Author Share Posted January 18, 2015 forget it, there is some error on the angles.. it runs sideways Quote Link to comment Share on other sites More sharing options...
twt_thunder Posted January 22, 2015 Author Share Posted January 22, 2015 Fixed now! http://forums.warchest.com/showthread.php/39196-TWT-model-release?p=519823&viewfull=1#post519823 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.