Page 1 of 1

Chaostrees 1 model package ?

Posted: Wed Oct 23, 2002 2:41 pm
by Lone Wolf
I download the chaostrees package and I see there are animated versions of them as if they are moving in the wind. great idea :) The read me says that the animation has to be done in the map code, I'm a bit new to maping and I'm not sure what has to be setup in the mapcode to get the animated version to work. I look at the tree properties try some things and no go. Any ideas what i'm doing wrong?


lw

Posted: Thu Oct 24, 2002 9:29 am
by Jan-Pieter
You have to add a line like playanim(x,y,z). Just check some other importfiles of animated objects for examples ;)

Posted: Fri Oct 25, 2002 12:38 pm
by Lone Wolf
Jan-Pieter wrote:You have to add a line like playanim(x,y,z). Just check some other importfiles of animated objects for examples ;)
Thanks for the heads up. I had a feeling it was something that had to be scriped. I will poke round and see if I can fined a object that has what i'm looking for.



lw

Posted: Mon Oct 28, 2002 3:16 pm
by Lone Wolf
Ok what did I do wrong? I made a change in the script and saved the package, but no go. PS I'm new to scripting = I idea what I'm doing but willing to learn :)


lw


//=============================================================================
// c_alocas_anim_b.
//=============================================================================
class c_alocas_anim_b extends Chaostrees;

#exec MESH IMPORT MESH=c_alocas_anim_b ANIVFILE=MODELS\c_alocas_anim_b_a.3d DATAFILE=MODELS\c_alocas_anim_b_d.3d X=0 Y=0 Z=0
#exec MESH ORIGIN MESH=c_alocas_anim_b X=0 Y=0 Z=0

#exec MESH SEQUENCE MESH=c_alocas_anim_b SEQ=All STARTFRAME=0 NUMFRAMES=30
#exec MESH SEQUENCE MESH=c_alocas_anim_b SEQ=ALOCASIA_B_ANIM STARTFRAME=0 NUMFRAMES=30

#exec TEXTURE IMPORT NAME=Jc_alo_catleaf FILE=MODELS\alo_catleaf.PCX GROUP=Skins FLAGS=2 // leaf
#exec TEXTURE IMPORT NAME=Jc_greenpinktrunk FILE=MODELS\greenpinktrunk.PCX GROUP=Skins PALETTE=Jc_alocas_anim_b1 // grpnktrunk

#exec MESHMAP NEW MESHMAP=c_alocas_anim_b MESH=c_alocas_anim_b
#exec MESHMAP SCALE MESHMAP=c_alocas_anim_b X=0.1 Y=0.1 Z=0.2

#exec MESHMAP SETTEXTURE MESHMAP=c_alocas_anim_b NUM=1 TEXTURE=Jc_alo_catleaf
#exec MESHMAP SETTEXTURE MESHMAP=c_alocas_anim_b NUM=2 TEXTURE=Jc_greenpinktrunk

PlayAnim('Alocasia_B_Anim', X=10, Y=20);

Posted: Mon Oct 28, 2002 5:03 pm
by LoQtUS
WHOA!!!! are you talking about adding the trees to a Unreal Tournament map or importing the Models into UT2oo3?

If you are tryn to put them in a map then,
1 put the .U file in your UT/system Dir.
2 load the ChaosTrees.U package in the Actor browser.
3 place one of the trees in your map
4 open the Trees propertys and find the animation propertys.
5 set the Animation to one of the Anim names that are part of the tree.

Note: ya can find the anim names by opening the tree model in the model browser.

Also i havnt checked to see if they will import to UT2003.

IF you are attempting to import them in UT2003 with the .ucc then let me know :)

Posted: Mon Oct 28, 2002 11:50 pm
by Lone Wolf
I'm add them to a UT map. I did what you told me to do but I still can't get it to work. The only place I found any animation setting is under display, in the pine tree properties. I put in the the tree c_pine_anim in my test map and looked under the mesh tab and found the animation for that tree and it was PINE_ANIM I typed in PINE_ANIM in the box Animsequence under display in the tree proerties. I rebuild the map and played it and the tree just sat there :( i have to be missing something


lw


LoQtUS wrote:WHOA!!!! are you talking about adding the trees to a Unreal Tournament map or importing the Models into UT2oo3?

If you are tryn to put them in a map then,
1 put the .U file in your UT/system Dir.
2 load the ChaosTrees.U package in the Actor browser.
3 place one of the trees in your map
4 open the Trees propertys and find the animation propertys.
5 set the Animation to one of the Anim names that are part of the tree.

Note: ya can find the anim names by opening the tree model in the model browser.

Also i havnt checked to see if they will import to UT2003.

IF you are attempting to import them in UT2003 with the .ucc then let me know :)

Posted: Tue Oct 29, 2002 1:41 am
by LoQtUS
ok check it , under the propertys> Display> AnimSequence put in pine_anim the hit the enter key. the text should auto uppercase if ya dont see that happen then somthing is wrong. Then under Propertys> Display>AnimRate set it to 1.0. rebuild and Run. that should do it. Let me know if it doesnt work ;)

Posted: Fri Nov 01, 2002 1:21 pm
by Lone Wolf
Ok somethings wrong here. here is screenshot of my settings. Any ideas why it will not work?


lw


http://sites.micro-link.net/mlink_win44 ... p/tree.htm

Posted: Fri Nov 01, 2002 1:26 pm
by jb
Maybe set the animationframe to 1 (ie non-zero)?

Posted: Fri Nov 01, 2002 2:50 pm
by Jan-Pieter
I think I'll have to add more documentation to next packages :roll:

Posted: Fri Nov 01, 2002 4:35 pm
by Lone Wolf
jb wrote:Maybe set the animationframe to 1 (ie non-zero)?

tryed no go :(

Posted: Fri Nov 01, 2002 4:41 pm
by Lone Wolf
Jan-Pieter wrote:I think I'll have to add more documentation to next packages :roll:


being new to maping, People like myself need all the help we can get :lol: Would be be a big problem to send me a small map (one room) with a anim tree in it so I can look at the setting and see what i have to do to get it to work?


lw

Posted: Sun Nov 03, 2002 1:07 pm
by Lone Wolf
Ok can you tell me if any of your maps on your website have you animed trees in them so i can download it and have a look at the setting on them. i downloaded 2 of them but then did not have any anim trees in them.

lw

Posted: Sun Nov 03, 2002 1:19 pm
by Jan-Pieter
None have animated trees/plants in them. Why did I even add animation to the plants and trees :lol:

Posted: Sun Nov 03, 2002 1:37 pm
by Lone Wolf
Jan-Pieter wrote:None have animated trees/plants in them. Why did I even add animation to the plants and trees :lol:

:) ok then what i'm doing wrong? I don't mined doing some work but I need to know what to do. Or point me in the right way and kick me in the butt :) to get me going. But eather something is being left out of the info I'm getting or I missing something that your think I should know and I don't. More then likely the latter. :lol: If I post my test map on my website, so you can download it and see what i'm doing wrong, and then let me know?



lw