Reinforcements are arriving, sir...

Moderators: GSH, VSMIT, Red Devil, Commando

User avatar
General BlackDragon
Flying Mauler
Posts: 2408
Joined: Sat Feb 19, 2011 6:37 am
Contact:

Re: Reinforcements are arriving, sir...

Post 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);
Battlezone Classic Public Forums
*****General BlackDragon*****
User avatar
Red Spot
Attila
Posts: 1629
Joined: Mon Feb 21, 2011 6:14 pm
Location: The Netherlands

Re: Reinforcements are arriving, sir...

Post 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.
User avatar
Red Devil
Recycler
Posts: 4398
Joined: Fri Feb 18, 2011 5:10 pm
Location: High in the Rocky Mountains

Re: Reinforcements are arriving, sir...

Post 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.
If given the truth, the people can be depended upon to meet any national crisis. The great point is to bring them the real facts - and beer.
Abraham Lincoln

Battlestrat, FE, G66, In The Shadows, Starfleet, Uler, & ZTV

Lifetime member of JBS and NRA
Commando
Flying Mauler
Posts: 2176
Joined: Fri Feb 18, 2011 6:41 pm

Re: Reinforcements are arriving, sir...

Post by Commando »

I think the APC would be better suited for attacking remote pools. Kind of like brooders did in FleshStorm.
User avatar
Red Devil
Recycler
Posts: 4398
Joined: Fri Feb 18, 2011 5:10 pm
Location: High in the Rocky Mountains

Re: Reinforcements are arriving, sir...

Post by Red Devil »

i know, just kidding ;-p
If given the truth, the people can be depended upon to meet any national crisis. The great point is to bring them the real facts - and beer.
Abraham Lincoln

Battlestrat, FE, G66, In The Shadows, Starfleet, Uler, & ZTV

Lifetime member of JBS and NRA
User avatar
TheJamsh
Bull Dog
Posts: 689
Joined: Sat Feb 19, 2011 5:49 pm

Re: Reinforcements are arriving, sir...

Post by TheJamsh »

Love this, always wanted to do more with the dropships. Always remember that iconic first mission :P

Is this for stock or G66 or something else?
Developer @ Stormtide
viewtopic.php?f=4&t=2350#p40547 << My UE4 Battlezone Project

ModDB - Battlezone II Unofficial Expansion Pack
User avatar
Red Devil
Recycler
Posts: 4398
Joined: Fri Feb 18, 2011 5:10 pm
Location: High in the Rocky Mountains

Re: Reinforcements are arriving, sir...

Post by Red Devil »

something else, but will probably add it to fe, g66, and other mods as a shell option.
If given the truth, the people can be depended upon to meet any national crisis. The great point is to bring them the real facts - and beer.
Abraham Lincoln

Battlestrat, FE, G66, In The Shadows, Starfleet, Uler, & ZTV

Lifetime member of JBS and NRA
User avatar
AI_Unit
Thunderbolt
Posts: 186
Joined: Fri Mar 30, 2012 11:53 pm
Location: Mire, negotiating with Scions.
Contact:

Re: Reinforcements are arriving, sir...

Post 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.
Current Mod: AI's Expansion Pack

AI_Unit was here.
User avatar
General BlackDragon
Flying Mauler
Posts: 2408
Joined: Sat Feb 19, 2011 6:37 am
Contact:

Re: Reinforcements are arriving, sir...

Post by General BlackDragon »

Vector or matrix positions?
Battlezone Classic Public Forums
*****General BlackDragon*****
User avatar
Red Devil
Recycler
Posts: 4398
Joined: Fri Feb 18, 2011 5:10 pm
Location: High in the Rocky Mountains

Re: Reinforcements are arriving, sir...

Post by Red Devil »

the landed dropships are replaced with dropships that are buildings after they land and "timing is everything" applies.
If given the truth, the people can be depended upon to meet any national crisis. The great point is to bring them the real facts - and beer.
Abraham Lincoln

Battlestrat, FE, G66, In The Shadows, Starfleet, Uler, & ZTV

Lifetime member of JBS and NRA
User avatar
TheJamsh
Bull Dog
Posts: 689
Joined: Sat Feb 19, 2011 5:49 pm

Re: Reinforcements are arriving, sir...

Post 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
Developer @ Stormtide
viewtopic.php?f=4&t=2350#p40547 << My UE4 Battlezone Project

ModDB - Battlezone II Unofficial Expansion Pack
User avatar
Red Devil
Recycler
Posts: 4398
Joined: Fri Feb 18, 2011 5:10 pm
Location: High in the Rocky Mountains

Re: Reinforcements are arriving, sir...

Post 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.
If given the truth, the people can be depended upon to meet any national crisis. The great point is to bring them the real facts - and beer.
Abraham Lincoln

Battlestrat, FE, G66, In The Shadows, Starfleet, Uler, & ZTV

Lifetime member of JBS and NRA
User avatar
Nielk1
Flying Mauler
Posts: 2991
Joined: Fri Feb 18, 2011 10:35 pm
Contact:

Re: Reinforcements are arriving, sir...

Post 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.
User avatar
Red Devil
Recycler
Posts: 4398
Joined: Fri Feb 18, 2011 5:10 pm
Location: High in the Rocky Mountains

Re: Reinforcements are arriving, sir...

Post by Red Devil »

sounds good; just got back from trip, so need a little time first.
If given the truth, the people can be depended upon to meet any national crisis. The great point is to bring them the real facts - and beer.
Abraham Lincoln

Battlestrat, FE, G66, In The Shadows, Starfleet, Uler, & ZTV

Lifetime member of JBS and NRA
Post Reply