Skip to content
This repository has been archived by the owner on Apr 17, 2022. It is now read-only.

when starting new Gamma campaign, in Gamma 1 transporter drops 7/10 units are selected randomly #4833

Closed
wzdev-ci opened this issue Oct 4, 2018 · 17 comments

Comments

@wzdev-ci
Copy link
Contributor

wzdev-ci commented Oct 4, 2018

resolution_fixed type_bug | by Forgon


Campaign mission Gamma 1 can be launched as part of a new Gamma campaign (either via 'Single Player->New Campaign->Gamma Campaign' in the main menu or with the commandline option '--game=CAM_3A') rather than by continuing the Beta campaign. In the former case, players will receive specific reinforcements, dropped by the transporter in batches of 10.

These units are described in the function 'sendPlayerTransporter()' at './data/base/script/campaign/cam3-a.js:99'. They differ only in their turrets, which must be one of the following types:

  • Assault Gun
  • Hyper Velocity Cannon
  • Cyclone AA Turret
  • Truck

How many units of each type are to be produced for each transporter drop has varied since

`
commit 08248b814dfcb40033e890d0250b4815b4d10bfd
Author: KJeff01 kjeff1997@gmail.com
Date: Wed May 31 00:24:41 2017 -0500

Convert cam3-a{.vlo,.slo} to cam3-a.js

Updates to campaign library and templates included.
Update POTFILES.in

'

The only requirement was that at least one truck had to be present.
This however changed, so that at least one unit of each type is required since

`
commit cb19c7672fe915b95795e3af33c63c9d567faccc
Author: KJeff01 kjeff1997@gmail.com
Date: Thu Jun 1 20:58:40 2017 -0500

Finish cam3-A and add dynamic difficulty

Finishes campaign 3-A script.
Updates research to get everything correctly in Gamma.
Fix enemy VTOL units being stuck in campaign.
The enemy players actually are given research benefits instead of nothing.
Add insane difficulty option for campaign.
Make campaign more dynamic with difficulty.
Certain values such as timers, power, and transport times now change with campaign difficulty.

Fix enemy base elimination sounds

Apply the changes made to the old campaign research files in b1cb129247bca05fb35e50b15e8bedee2d6f4a8a to the new file.

Fix enemy research in campaign.
The same research item could be continuously researched over and over again and could possibly be used for unfair advantages.

'

That means that for each of the 4 turret types, between 1 and 7 units can be dropped. Since Gamma 1 is a challenging mission, the composition of the initial drop can be decisive for its success or failure, especially when most of its units are trucks.

I therefore propose to instead always drop the following units:

* 4 Assault Guns
* 2 Hyper Velocity Cannons
* 2 Cyclone AA Turrets
* 2 Trucks

Thus, every drop will look as in the attached picture [raw-attachment:gamma1_transporter_drop.png].


Issue migrated from trac:4833 at 2022-04-16 13:09:05 -0700

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented Oct 4, 2018

Forgon uploaded file gamma_1_transporter_drops.patch (1.2 KiB)

patch file created with git format-patch

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented Oct 4, 2018

Forgon uploaded file gamma_1.zip (63.5 KiB)

savegame for Gamma 1 which starts immediately after the first transporter drop

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented Oct 4, 2018

Forgon uploaded file gamma1_transporter_drop.png (449.4 KiB)

first drop of units by transporter in Gamma 1 after applying this patch
gamma1_transporter_drop.png

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented Oct 4, 2018

Forgon edited the issue description

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented Oct 5, 2018

Berserk Cyborg commented


Mostly cyclone units would be an interesting situation too, lol. Your group composition would do fine.

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented Oct 5, 2018

alfred007 changed _comment0 which not transferred by tractive

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented Oct 5, 2018

alfred007 commented


I don't understand why you want to add Cyclone units at all. The queue for the first VTOL attack from Nexus is 8 minutes. And even with insane difficulty you have more than
6 minutes to build AA sites. So I suggest replacing the cyclone units by one more Assault Gun and one more HVC. Makes more sense in my eyes. I never used AA units in Gamma 01 when I played the campaign.
Edit: You have more than 5 minutes with insane difficulty (not 6 as written above) to build AA sites. And this is also more than enough.

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented Oct 6, 2018

Forgon changed _comment0 which not transferred by tractive

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented Oct 6, 2018

Forgon commented


Replying to Warzone2100/old-trac-import#4833 (comment:3):

I don't understand why you want to add Cyclone units at all. The queue for the first VTOL attack from Nexus is 8 minutes. And even with insane difficulty you have more than
6 minutes to build AA sites. So I suggest replacing the cyclone units by one more Assault Gun and one more HVC. Makes more sense in my eyes. I never used AA units in Gamma 01 when I played the campaign.
Edit: You have more than 5 minutes with insane difficulty (not 6 as written above) to build AA sites. And this is also more than enough.
If no Cyclones were included in transporter drops, enemy VTOLs could come as a surprise when playing Gamma 1 for the first time.

And what if the player wants to play that mission differently?
There are viable strategies without AA sites. For example, one can quickly conquer the enemy position north of the landing zone and then use all trucks to build VTOL factories and pads to prepare an areal bombardment.

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented Oct 6, 2018

alfred007 commented


Replying to Warzone2100/old-trac-import#4833 (comment:4):

Replying to Warzone2100/old-trac-import#4833 (comment:3):

I don't understand why you want to add Cyclone units at all. The queue for the first VTOL attack from Nexus is 8 minutes. And even with insane difficulty you have more than
6 minutes to build AA sites. So I suggest replacing the cyclone units by one more Assault Gun and one more HVC. Makes more sense in my eyes. I never used AA units in Gamma 01 when I played the campaign.
Edit: You have more than 5 minutes with insane difficulty (not 6 as written above) to build AA sites. And this is also more than enough.
If no Cyclones were included in transporter drops, enemy VTOLs could come as a surprise when playing Gamma 1 for the first time.

And what if the player wants to play that mission differently?
There are viable strategies without AA sites. For example, one can quickly conquer the enemy position north of the landing zone and then use all trucks to build VTOL factories and pads to prepare an areal bombardment.

I understand what you mean even that I don't think so that any player who has never played gamma mission before will start gamma mission directly from the menu.

I think the best solution would be if the player could choose his own units. You could force him to choose a minimum of two trucks and the rest by his own choice. I have no programming knowledge so I can't imagine if this is possible and how difficult it would be.

If you want to implement your suggestion I'm fine with that though I still stand to mine.

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented Oct 6, 2018

Forgon commented


Replying to Warzone2100/old-trac-import#4833 (comment:5):

[...] I understand what you mean even that I don't think so that any player who has never played gamma mission before will start gamma mission directly from the menu.

I think the best solution would be if the player could choose his own units. You could force him to choose a minimum of two trucks and the rest by his own choice. I have no programming knowledge so I can't imagine if this is possible and how difficult it would be. [...]
Implementing this would be a time-consuming excess that will hardly benefit anyone.
Players who want to chose their units at the start of Gamma 1 have two options:

  • play the Beta campaign first, the only option (except for cheating) before

    `
    commit b041fa119fffb77b00c5a975780c474bae2f7bfb
    Author: Per Inge Mathisen per@wz2100.net
    Date: Sun Dec 16 21:52:42 2012 +0100

    Add basic infrastructure for selecting a campaign mod from inside the game.
    Now you can start each of the alpha, beta and gamma campaigns separately.
    

    '

  • modify the function 'sendPlayerTransporter()' in the file './data/base/script/campaign/cam3-a.js'. For example, to replace the 2 Cyclone turrets with 1 HPV and 1 MG you could write:

_Extra transport units are only awarded to those who start Gamma campaign
_from the main menu.
function sendPlayerTransporter()
{
	const transportLimit = 4; //Max of four transport loads if starting from menu.
	if (!camDef(index))
	{
		index = 0;
	}

	if (index === transportLimit)
	{
		return;
	}

	var droids = [];
	var list = [cTempl.prhasgnt, cTempl.prhhpvt, cTempl.prtruck];

	// send 5 Assault Guns, 3 Hyper Velocity Cannons and 2 Trucks

	for (var i = 0; i < 5; ++i)
	{
		droids.push(list[0]);
	}

	for (var i = 0; i < 3; ++i)
	{
		droids.push(list[1]);
	}

	for (var i = 0; i < 2; ++i)
	{
		droids.push(list[2]);
	}

	camSendReinforcement(CAM_HUMAN_PLAYER, camMakePos("landingZone"), droids,
		CAM_REINFORCE_TRANSPORT, {
			entry: { x: 63, y: 118 },
			exit: { x: 63, y: 118 }
		}
	);

	index = index + 1;
	queue("sendPlayerTransporter", 300000); //5 min
}

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented Oct 6, 2018

alfred007 commented


Replying to Warzone2100/old-trac-import#4833 (comment:6):

Replying to Warzone2100/old-trac-import#4833 (comment:5):

[...] I understand what you mean even that I don't think so that any player who has never played gamma mission before will start gamma mission directly from the menu.

I think the best solution would be if the player could choose his own units. You could force him to choose a minimum of two trucks and the rest by his own choice. I have no programming knowledge so I can't imagine if this is possible and how difficult it would be. [...]
Implementing this would be a time-consuming excess that will hardly benefit anyone. [...]
In that case: forget it. As I wrote before: I'm fine with every decision you make.

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented Oct 8, 2018

Forgon2100 <forgon2100@...> changed status from new to closed

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented Oct 8, 2018

Forgon2100 <forgon2100@...> changed owner from `` to Forgon2100 <forgon2100@protonmail.com>

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented Oct 8, 2018

Forgon2100 <forgon2100@...> changed resolution from `` to fixed

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented Oct 8, 2018

Forgon2100 <forgon2100@...> committed [88]


In Warzone2100/warzone2100@88f6d39:

#CommitTicketReference repository="" revision="88f6d3960e8342885331e64c616828b9fc153e2b"
fixes #4833: when starting a new Gamma campaign, Gamma 1 transporter drops no longer contain 7 randomly selected units, but consist of precisely

- 4 Assault Guns
- 2 Hyper Velocity Cannons
- 2 Cyclone AA Turrets
- 2 Trucks

@wzdev-ci wzdev-ci closed this as completed Oct 8, 2018
@wzdev-ci
Copy link
Contributor Author

Forgon edited the issue description

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant