AJL Posted January 21, 2003 Share Posted January 21, 2003 There were some mod with model scaling... but is there free to use/copy code for it... ?? Or could someone tell me where exactly that model scale is in the code ?? >> How complex stuff is this ???? (just load some file and take some number from it and scale the model with it... or do i then also have to change lots of other stuff when models size changes... ??) Link to comment Share on other sites More sharing options...
Code Posted January 21, 2003 Share Posted January 21, 2003 yep this code was released thanks to DEST, Remark666 and Tchoucky get it here happy coding Link to comment Share on other sites More sharing options...
Tchouky Posted January 21, 2003 Share Posted January 21, 2003 ok, i wrote the model scaling code and it's quite easy actually... look for ////tck in the jedimod 1.2 source code. you can use it freely as long as you provide credit to me and Dest (for fixing a few bugs in my code . good luck. if you have any question about this code then ask me Link to comment Share on other sites More sharing options...
Tchouky Posted January 21, 2003 Share Posted January 21, 2003 and to answer your question, there is not much to do... you have to set the right bounding boxes, you have to change the display size of the model and a few other small things... like passing the scale to the client ...etc... and a file parsing function that parses the tckmodel.cfg so the game know the scale of the models ... quite easy Link to comment Share on other sites More sharing options...
AJL Posted January 21, 2003 Author Share Posted January 21, 2003 Question... When some character is made to be biger or smaller... : 1. Its running anims will become faster/slower too... Or 2. Small characters run slower and big ones faster... Or 3. No affect on running speeds or anim speeds... ?? Link to comment Share on other sites More sharing options...
Tchouky Posted January 21, 2003 Share Posted January 21, 2003 answer 3 : no effects on anims Link to comment Share on other sites More sharing options...
AJL Posted January 22, 2003 Author Share Posted January 22, 2003 I just tested how that model scaling actually works in JediMod and noticed "little" bug in there... I played as Dooku and tried to kill that damn fast mini yoda and everything were fine... but then i slashed his head off and... that head were... HUGE And i played bit more and succeeded to slash his arm off and again that separated limb were huge... And then i played as Yoda against Yoda and succeeded to cut his head off but... this time that head didn't become hude... So it seems that characters limbs which have been cut off are scaled with same number as the model what i am currently using instead of their own... So... is this know bug ?? Is there existing fix ?? Link to comment Share on other sites More sharing options...
Tchouky Posted January 22, 2003 Share Posted January 22, 2003 this bug was fixed in my code but when Dest rewrote it in jedimod's source he forgot a line or 2... here is a way to fix it... (i didn't try but it should work) in : CG_General() instead of the line : scale = tck.ps[cent->currentState.clientNum].scale[0]; put if(cent->currentState.eType == ET_BODY) scale = cent->currentState.speed; else scale = tck.ps[cent->currentState.clientNum].scale[0]; if you wonder why set the scale to the speed, then check : CopyToBodyQue in g_client.c Link to comment Share on other sites More sharing options...
Orbitäl Posted January 26, 2003 Share Posted January 26, 2003 I'm curious, has there been any mods released that ONLY scale models/sabers? Link to comment Share on other sites More sharing options...
Tchouky Posted January 26, 2003 Share Posted January 26, 2003 i released the model scaling mod with my rgb saber mod.... and i also released the code ... then the model scaling code was fixed by dest (file parsing error) and reused in jedimod... then all the mods with model scaling had other features... Link to comment Share on other sites More sharing options...
Orbitäl Posted January 27, 2003 Share Posted January 27, 2003 Alright, my only question now would be, where can I find your original TCK/Model Scale mod? Link to comment Share on other sites More sharing options...
Orbitäl Posted January 28, 2003 Share Posted January 28, 2003 Tchouky, the link in ur sig is broken also:\ Link to comment Share on other sites More sharing options...
Orbitäl Posted February 1, 2003 Share Posted February 1, 2003 *bump* Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.