Page 1 of 1
importing model?
Posted: 20 Jun 2007, 04:30
by ghobot21
does anyone know how to move a model from a mod to another?
as an example, i want to move the core commander model from xta to another mod.how can i do this?
Posted: 20 Jun 2007, 07:31
by KDR_11k
Um, just replace the file?
Posted: 20 Jun 2007, 08:57
by ghobot21
i tried that.only the arm commander get changed.i moved xta arm commander .3do and succeded.however the core commander have .3do and s3o.i moved both and still i got the old model.so, do i have to change any setting?
Posted: 20 Jun 2007, 09:53
by Saktoth
Open the core commander .fbi file and add .s3o to the end of the 'objectname' variable.
.s3o's neeed to have the extension, while 3do's are the default and thus you dont need to put the extension on.
Posted: 20 Jun 2007, 10:44
by ghobot21
ok.it work.the only problem now is
when the core commander shoot, the laser/dgun come out of its chest and his arm is targeting the air

Posted: 20 Jun 2007, 13:08
by yuritch
That means the unit's script doesn't correspond to its model. Try to copy the CORCOM.COB file (it's in the scripts directory) and see if that fixes your problem.
Posted: 20 Jun 2007, 13:33
by ghobot21
ok.it work.the laser will come out from its hand.but when i use dgun and build command, the game will crash
Posted: 20 Jun 2007, 14:18
by Neddie
You need a dgun sprite for the weapon, and a buildtree for building units.
Posted: 20 Jun 2007, 16:01
by ghobot21
here is the log before i copied xta commander script to a mod(well,i didnt want to copy the script because it cause the game to crash)
coberror: invalid piecenumber for show(flare) (in scripts/CORCOM.cob:fireprimary at 757
Posted: 20 Jun 2007, 16:38
by rattle
It doesn't work like that.
Posted: 20 Jun 2007, 17:26
by ghobot21
ok.i give up.no more editing.will play just the way it was meant to be, unless someone give me a good solution on how to edit it
