I made a mistak Hrotor3 : Hrotor1
i am going to re send the file back i did some on cargo thing too .
I made a mistak Hrotor3 : Hrotor1
i am going to re send the file back i did some on cargo thing too .
A chopper cup of Coffee in a chopper coffee pot
TOH Now with added Coffee
http://www.helpivanmartin.org/
K, I believe I fixed the errors in the script that you posted, but when I went to go test it, the animations still didn't work. I'm going to go test what you've done thus far and see if it works. Thanks for all the help you've gave me thus far.
Last edited by JSF 82nd Reaper; Jul 19 2012 at 21:33.
No Worries ,
The file i sent works so , probably some copy paste error is all.
not done much really , you have a long way to go i think. pls ask questions anytime about it so you may learn.
Cool it works and thanks alot, I just need to get the exterior fans to work, but I should be able to do that with what you have in the scripts already. For the hovercraft what would cause me to die when I enter it? I have the roadway lod and I can walk on it, but as soon as I go inside or down the stairs I start taking damage and die.
I sent you another with working outside fans, ( i replaced them High poly ones of yours , so i can show you how).I just need to get the exterior fans to work
Hmmm Hovercaft death , is it moving when you walk or maybe he weight of the craft is very high and your hitting some geometry , weird thing about Mass this engine it can really hurt you even walking into it lol.
seriously it could be many things unfortunatley Arma is now done for me till next week or something, have fun and try learn from the file![]()
@Thromp I'm having trouble with the ramp animating, I get the action, but the animation doesn't happen. Also for some reason I'm able to walk through the fans and I don't know why. What would cause this and how would I be able to fix it? I created a fire geometry for each fan but it's not working, I'm having the same problem with the hovercraft and for some reason when I try to go down the stairs to the hanger of the hovercraft I die.
Here's a pic of one of the air ships and the hovercraft:
http://i1138.photobucket.com/albums/...3-15-22-31.jpg (546 kB)
Last edited by JSF 82nd Reaper; Jul 20 2012 at 08:24.
Hi
I assure you on vanilla without any add on , ramp work but I say again it needs better angles setting and better cpp value in user action to suit changes.
For geometry to work it must be component convex and have a mass value , fire geo same but no mass value .
You must not simply add those other 4 ships , you need to study the working example i gave you ,
the useractions statements and conditions in the config.cpp will need altering because you will need to set the ramp in Bulldozer
angle 0 will be = to 0 because its correct on init
Angle 1 will need to be of a value when you scroll the mouse wheel and it looks good . then you look at value top left of bulldozer . and animate it so in cpp.
Last edited by Thromp; Jul 20 2012 at 14:09.
@Thromp Im still having problems with getting the geometry to work and the ramp to animate when in game. It only animates in bulldozer, I also still can't figure out why my unit dies once I go into the hovercraft. Was it Saturday that you were going to teach me how to create a wreck for a model?
Hi ,
Firstly as i have said , it will be next week before i open Arma , my time allocated to it is very deminished.
The Best advice i can give you is to Run before walk and read my posts and answer methodically if you did this you will alreayd save yourself so many wasted words.
Animate ramp
it was severely over animated in Mode,cfg angle 0 = 45 ( this caused ramp to move from its position in o2 to 45 degree past on inti)
Angle 1= "rad 90", this cause when useraction = close ramp animate ......... 1 , this cause many revolutions of ramp.
so first it needs changing in model.cfg
minValue=0;
maxValue=1;
angle0=0;
angle1="-10";
};
then becuase we change here then your condition in cpp need change also
this line from
condition = "this animationPhase ""UserRamp"" == 1";
to
condition = "this animationPhase ""UserRamp"" == .1;
ok first fix this , i wont comment on Hovercraft because i feel its too much for you to understand 5 space ship and 1 hovercraft and you will simply have it done for you and not learn .
If this sound harsh , its not , its a matter of learning curve vs time.
Ok, so basically whatever you have in the model.cfg for the min/max Values and angle 0/1 the config.cpp file needs to equal that? So I fixed the model.cfg for the ramp and it animates perfectly.
So would I change the UserActions to this in the config.cpp:PHP Code:class UserRamp
{
type="rotation";
source="UserRamp";
selection="hatch";
axis="hatch_axis";
memory="1";
sourceAddress="clamp";
minValue="rad -45";
maxValue=0;
angle0="rad -45";
angle1=0;
};
PHP Code:class UserActions
{
class OpenRamp
{
displayName = "Open Hatch";
position = "action_hatch";
onlyforplayer = false;
radius = 8;
condition = "this animationPhase ""UserRamp"" == -.45";
statement = "this animate [""UserRamp"", 0]";
};
class CloseRamp
{
displayName = "Close Hatch";
position = "action_hatch";
onlyforplayer = false;
radius = 8;
condition = "this animationPhase ""UserRamp"" == 0";
statement = "this animate [""UserRamp"", -.45]";
};
};
Last edited by JSF 82nd Reaper; Jul 21 2012 at 18:32.