![]() |
custom coding: force open parachute upon vehicle exit I know it is possible to force open parachute at spawn, like in market garden or radio controlled ju52/c-47. I'd like to know if it possible to do it when you exit a vehicle, say a Stuka. I want the game force you to open parachute immediately after exiting the plane. |
Re: custom coding: force open parachute upon vehicle exit hehe, I already said this in the other thread, but you might as well hear it again: There is somewhere a script that forces the "in air inhibitations" on a soldier who is falling for a certain amount of time or who reaches a certain speed (whichever one doesnt matter to me) -basically that means you loose ability to shoot, walk and so-on, but gain the ability to open chute... look for this code. It may be in the commonSoldierData.inc in your objects/soldiers/common folder. I dont know, even if you do find this script, that you will be able to test your work, since I have found that changing soldier code on custom maps causes bugs ... strange bugs... you would have to edit the code and repack the entire objects folder, which will really mess up your chances at playing online, and could cause other problems if the packing utility crashes (as it always did for me all those years ago, when I first started modding). I dont have any files in front of me at the moment (at work) so until I am home, I probably won't be able to look. |
Re: custom coding: force open parachute upon vehicle exit What does this line mean: ObjectTemplate.setParachuteDrag 24.00Is there a way at least to delay the parachute? I mean I want it to open 2 seconds after you hit 9. |
Re: custom coding: force open parachute upon vehicle exit Check the C-47 in SW, it has a line that forces parachute opening after someone leaves it... It's been a long time since 1942, so i dont remember which was, thought... :p |
Re: custom coding: force open parachute upon vehicle exit ????????You mean the radio controlled c-47 or the piloted c-47? What do you mean with SW?? |
Re: custom coding: force open parachute upon vehicle exit the old dice addon, secret weapons :P And I had no idea that it had something like that! |
Re: custom coding: force open parachute upon vehicle exit Crap, really?? I don't have secret weapons. What can I do then?? |
Re: custom coding: force open parachute upon vehicle exit go buy it... should be cheap :P |
Re: custom coding: force open parachute upon vehicle exit cheap... maby in the USA but not here:cool: Gotta think about something else :p , someone who owns it to do the job for me since I can't download such a large file as objects.rfa |
Re: custom coding: force open parachute upon vehicle exit The C-47 in SW doesn't make you open the parachute on exit, does it? *runs off to play Mimoyecques* |
Re: custom coding: force open parachute upon vehicle exit No it doesn't, unless not in SinglePlayer. |
Re: custom coding: force open parachute upon vehicle exit I've been checking a list of commands and haven't found anything. |
Re: custom coding: force open parachute upon vehicle exit lol here is a suggestion: for a minimod designed just to force the parachutes to open at a specific height. by the way, this suggestion would not work in a real world situation. only in pretend fantasy world that is the place that I live in. and even then, it might not work. but i dont know and may never know. I am thinking that we could code an entirely new collision group that only reacts when it comes in contact with a soldier's collision (skeleton bah, whatever). and we code it so that the effect template for such a collision is a parachute. then... you have to make an object that is invisible with the collision mesh having the material id that you coded (the collision group that you coded above) and finally it would have to be big enough to cover at least the area where your paras are going to be jumping... the problem might be that you would have to make it certain that nobody would fly below this level, so maybe code the c47s to only have control over panning left and right, a-la those kit spawned planes' engines, though you would have players controlling them. hahahahaha! im insane this might work. in theory it might work. but have you ever coded an entire collision group? its not fun. and it might not eve work so coding a new col group for perhaps nothing at all ... really not fun.. I know! IT sucks! |
Re: custom coding: force open parachute upon vehicle exit How about changing the model of C-47 collision to have additional area outisde the door. Giving it material that would allow soldiers to pass and make them open parachutes would work alot better than having to worry if people wouldn't fly below the material level. |
Re: custom coding: force open parachute upon vehicle exit hahaha, god, that would be so much easier! I am laughing so freaking hard at myself! hehahahaea! you are brilliant! "Thought of in times of idiocy" -I knew I wrote that on my avatar for a reason. Yes, Allens way would be alot more logical. :) |
| All times are GMT -7. |
Powered by vBulletin®
Copyright ©2000 - 2016, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.