CultziBolzi Posted May 10, 2010 Report Share Posted May 10, 2010 Hi, how can i make back attachable firetruck and when i attach the hose, back door would stay opened, and when i detach the doors would be closed, just like in Essex mod. Quote Link to comment Share on other sites More sharing options...
Kookas Posted May 10, 2010 Report Share Posted May 10, 2010 Well, you must first create an animation of the doors opening. How, I'm not sure, but if you have Microsoft Office, you can use Hoppah's tool, otherwise you have to do it manually somehow. Then, you use scripts in the AttachHose (or whatever) command script with the "SetAnimation" function and make it play the animation of the doors opening. Quote Link to comment Share on other sites More sharing options...
Tian318 Posted May 10, 2010 Report Share Posted May 10, 2010 Hi, how can i make back attachable firetruck and when i attach the hose, back door would stay opened, and when i detach the doors would be closed, just like in Essex mod.Very simple you need 2 things:DoorsScriptApply the script to the doors(in the editor(make sure you have the right axis and angle of the doors), and test.Well, you must first create an animation of the doors opening. How, I'm not sure, but if you have Microsoft Office, you can use Hoppah's tool, otherwise you have to do it manually somehow. Then, you use scripts in the AttachHose (or whatever) command script with the "SetAnimation" function and make it play the animation of the doors opening.Animations are not needed for the opening of the doors.The script will open the doors with a specific name(or ID what ever you prefer).The script is a bit harder to write, but basically it should contain things like:when hose gets attached = open doorswhen hose is attached = doors stay openwhen hose is (being) detached = close doors.Door id names.Commands for the editor. Quote Link to comment Share on other sites More sharing options...
CultziBolzi Posted May 11, 2010 Author Report Share Posted May 11, 2010 Well, im not scripter. Then its pretty hard to make work...But how can i make that the units can only attach the hose in back of the truck? Quote Link to comment Share on other sites More sharing options...
Stan Posted May 11, 2010 Report Share Posted May 11, 2010 Animations are not needed for the opening of the doors.That's not true This fully depends on your type of door. All doors beside the normal passenger doors in my mod have animationsBut how can i make that the units can only attach the hose in back of the truck?Did you even check the normal trucks before? You have to place the connections so well...place them on the back, nothing more Quote Link to comment Share on other sites More sharing options...
Tian318 Posted May 11, 2010 Report Share Posted May 11, 2010 That's not true This fully depends on your type of door. All doors beside the normal passenger doors in my mod have animationshmm that is a choice you made then,Cause you can add 4 types of doors, with different settings on a car.- Personal doors- Equipment doors- Special doors- "NONE" doors.The script in essex mod makes use of those ID'sfor instance;....If hose gets connected to hose connection =Open door: Special at Z axis 140.0Open door: NONE at Z axis -140.0else doors stay closedIf you set your doors to PERSONAL doors with axis and sliding settings, the doors will open when personal gets in and out of your car.If you set a door/multiple doors, to EQUIPMENT, with axis and sliding setting, the door(s) will open when Equipment is taken out or placed back in the truck.Don't know for sure why or what the SPECIAL and none doors do by default.But in essex mod, we use a script to open the doors with those ID'S Quote Link to comment Share on other sites More sharing options...
CultziBolzi Posted May 16, 2010 Author Report Share Posted May 16, 2010 Did you even check the normal trucks before? You have to place the connections so well...place them on the back, nothing moreWell, i putted the GTF Super tube children, and i still cant attach the hose to vehicle. Quote Link to comment Share on other sites More sharing options...
Tian318 Posted May 16, 2010 Report Share Posted May 16, 2010 give the connectors a namedunno for sure but that might be the problem.Connector0Connector1Connector2Connector3 Quote Link to comment Share on other sites More sharing options...
CultziBolzi Posted May 16, 2010 Author Report Share Posted May 16, 2010 Wow Thanks for fast reply , But how do i rename them, do i rename them in editor? Quote Link to comment Share on other sites More sharing options...
Tian318 Posted May 16, 2010 Report Share Posted May 16, 2010 you add the connectors as childs.on the right side under the image of your child.you have a small input field.believe it is called: "NAME"there you enter(for the first one)add a new connectorcall it connector0 (press enter) no change is noticeable.add a new connectorcall it connector1 (press enter)and so on. Quote Link to comment Share on other sites More sharing options...
CultziBolzi Posted May 16, 2010 Author Report Share Posted May 16, 2010 Oh thanks, testing right now.Thanks its working now Quote Link to comment Share on other sites More sharing options...