Page 2 of 2
Re: Reinforcements are arriving, sir...
Posted: Sat Nov 22, 2014 1:57 pm
by General BlackDragon
Try using that StartAudio3d, one of those plays the audio attached to a handle. That one should make it localized to the dropship so its only heard nearby.
try: StartAudio3D("filename.wav", dropshiphandle, AUDIO_CAT_ENGINE);
Re: Reinforcements are arriving, sir...
Posted: Sat Nov 22, 2014 5:22 pm
by Red Spot
Commando wrote:My original idea for this involved multile phases.
1. You see the dropship fly in at a altitude of x, basically using APC class, so it can fly over hills
2. The dropship lands
3. The dropship gets replaced by a building, that has the deploy animation
a. My original idea for this was making 30+ odf and XSIs that the dll loops through. The only difference between the XSIs is the position of the doors and the collision. Basically simulating animated collision boxes for the opening doors.
4. While the doors are still opening, the payload is spawned along with MITs mines to hold them in place. Just like the first ISDF mission.
5. Once the doors fully open, the units drive out of the dropship
6. After a few seconds, to ensure all units are out, the doors close back up
7. The dropship gets replaced, and the "APC" dropship undeploys
8. It flies away leaving the map
I doubt this can be done seemlessly. Would be nice if we had an odf flag that says, OnlyDeployOnFlatTerrain = 0/1. Basically only allowing the unit to deploy on flat terrain. Also using a flag DeployInCenterOfGrid = 0/1. Basically meaning the unit will deploy as if placed in the editor with the alignment option enabled. I guess this can be worked around by giving the building OwnsTerrain=0, or ReplacesTerrain=0, whatever the jammer uses.
I have a somewhat similar approach, though I use a few stagepoints where the dll selects the one closest to the commander.
Honestly said, I never got it working though and moved on to things that soaked up less time.
Still really love the idea of having true apc's in game.
Re: Reinforcements are arriving, sir...
Posted: Sat Nov 22, 2014 5:38 pm
by Red Devil
per commando's wishlist, the next item will be an apc that flies in and drops off reinforcements on your head so that you can see your doom coming; the current one just drops off a rec and escorts. currently working on item 2.
Re: Reinforcements are arriving, sir...
Posted: Sat Nov 22, 2014 5:50 pm
by Commando
I think the APC would be better suited for attacking remote pools. Kind of like brooders did in FleshStorm.
Re: Reinforcements are arriving, sir...
Posted: Sat Nov 22, 2014 6:33 pm
by Red Devil
i know, just kidding ;-p
Re: Reinforcements are arriving, sir...
Posted: Fri Jan 16, 2015 10:14 am
by TheJamsh
Love this, always wanted to do more with the dropships. Always remember that iconic first mission
Is this for stock or G66 or something else?
Re: Reinforcements are arriving, sir...
Posted: Fri Jan 16, 2015 8:55 pm
by Red Devil
something else, but will probably add it to fe, g66, and other mods as a shell option.
Re: Reinforcements are arriving, sir...
Posted: Thu Jan 29, 2015 11:34 am
by AI_Unit
Another reason I need to study C++! I want to do stuff like that. Problem I need help with is, how do you get the units to spawn in the dropship and not on it? I'm having that trouble.
Re: Reinforcements are arriving, sir...
Posted: Thu Jan 29, 2015 3:52 pm
by General BlackDragon
Vector or matrix positions?
Re: Reinforcements are arriving, sir...
Posted: Thu Jan 29, 2015 8:19 pm
by Red Devil
the landed dropships are replaced with dropships that are buildings after they land and "timing is everything" applies.
Re: Reinforcements are arriving, sir...
Posted: Fri Feb 13, 2015 4:52 pm
by TheJamsh
I always struggled to line up the anims/audio with the old school BZ2 DLL Scriptor, to be fair, I don't think the sounds ever lined up in stock campaign either :p
Re: Reinforcements are arriving, sir...
Posted: Fri Apr 24, 2015 6:53 pm
by Red Devil
got distracted by stock SP and FE SP fixes, so i'm working on this again.
i'll post a zip when i'm finished.
Re: Reinforcements are arriving, sir...
Posted: Mon May 18, 2015 3:11 am
by Nielk1
My 1.5 year old LUA Mission Script DLL is being worked on again and is functioning. It has a lot of issues though. I'd love it if someone could find some LUA or C coders who don't mind helping out.
I can port stuff like this thing here into LUA to test the bindings and see what changes are needed.
Re: Reinforcements are arriving, sir...
Posted: Wed May 20, 2015 4:54 am
by Red Devil
sounds good; just got back from trip, so need a little time first.