Novahq.net Forum

Novahq.net Forum (https://novahq.net/forum/index.php)
-   Delta Force (https://novahq.net/forum/forumdisplay.php?f=101)
-   -   Open a door for vehicle (https://novahq.net/forum/showthread.php?t=44516)

Navigator 11-20-2009 05:47 PM

Open a door for vehicle
 
I am using the fort double door entrance and it will normally open when the Player bumps against it. How do I have the door open for a vehicle ?

I tried, but no luck:

if event(9) and never() then
opendoors(6) // where 6 is the group the door is part of
endif

skinny killer 11-20-2009 06:38 PM

I wish, opening doors on vehicles just don't work. :(

Navigator 11-20-2009 07:22 PM

Thanks but no- I meant when a vehicle comes up to a door, like a Player would, I need the door to open on the fort ?
vwendb = DF1 entrance for both castle walls

Hellfighter 11-20-2009 08:49 PM

you mean front (as in front door) and not fort right? as in fort hood Tx

may be chrispy or other who work on modes know were to start to look

ShadowZ 11-22-2009 08:06 PM

Vehicles:

Can't be done.

You can only Open/Close doors on the Pavelow in .wac for BHD.

JO and later, this capability has been removed.

skinny killer 11-22-2009 09:55 PM

use events,

try open and close doors. I remember the event version worked on the DF1 castle wall doors, they should work for the JO castle doors.

give it try, but be sure to try it with open doors group and if that doesn't work, try close doors group. it might be switched around backwards. let me know what happens.

Navigator 11-23-2009 09:50 AM

yes that works:

opendoors(group #)
closedoors(group #)

skinny killer 11-23-2009 12:14 PM

cool, glad I could help. :)

ShadowZ 11-23-2009 06:30 PM

Ok, well I completely misunderstood your question!

I thought you where talking about the doors on the vehicles.

Sorry... :(

Xx_jet_xX 11-24-2009 03:34 AM

I thought the same thing then reread it and was oh yeah thats right. and late to answer with the wac script.

MERMITE 02-02-2010 12:16 AM

A number of my maps I have a NEED for an automatic door, either as you drive up
or walk into etc etc, one of my favourites is the drive up.
in your med, insert a Cwalk 3di (yellow gate) vertically, with walls each side, place 5 teleport targets 1m apart, once activated by your control box the door teleports to the targets, slides right or left, pauses for 5 secs then teleports back, can't remember the audio but it's very confincing, control box here was cbloc with red light the green light for open, wac controlled, secret is in the audio..
'M'

HellionDarklord 02-05-2010 12:42 AM

That part about vehicle doors opening and closing sounds cool.
 
That part about vehicle doors opening and closing sounds cool if not totally possible...

What would it take to do that? I know you would have do something to a model, but I do not know what. Perhaps making the doors separate objects that are attached to the vehicle object in some permanent way using more than one axis? That would make a realistic enough door/hinge motion for most vehicles if I truly understand things.

Might be pretty awesome to blow the doors off with a nade though come to think of it... LOL!


I'm just learning how to program with C++. Is this a good language to start with for use with modding games like DFX2, JO, & DFBHD?

Thanks for input!

HD

Xx_jet_xX 02-05-2010 11:04 AM

You could get the doors on the vehicles to open by redoing the model itself, as for having the doors blow off when shot with the vehicles as they are no that wont happen. Nova vehicles are not capable of that because the engine does not allow for physical damage on the vehicles like more modern games, or some old racing sims.

MERMITE 02-05-2010 02:38 PM

"I am using the fort double door entrance and it will normally open when the Player bumps against it. How do I have the door open for a vehicle ?".. UNQUOTE is the content of this post, we ain't talking about the doors on the vehicle if you want that you better install your Max 3d Studio, and redo the models, or even better just open your MED insert your vehicle go to 3d mode, if your vehicle has a little purple box at the door then you know it can be operated as a door,(go try the Chinook now)
but in the tradition of Nova "IT WON'T WORK"


All times are GMT -5. The time now is 05:13 AM.

Powered by vBulletin®