Skip to content

X2LongWarOfTheChosen/LWOTC_WeaponPack

Repository files navigation

X2LongWarOfTheChosen

X2LongWarOfTheChosen is a team dedicated to porting Pavonis Interactive's original LW work.

Weapons Pack

The weapons pack is a port of the laser, coil and smg pack from PI.
The new version is available

What version are we at?

The release version of X2LongWarOfTheChosen/WeaponsPack is v0.1-alpha.
The working version of X2LongWarOfTheChosen/WeaponsPack is v0.2-alpha.

The Job List

  • Complete issues

Setting up the development environment

ModBuddy is the mod development tool used for xcom 2 mods. Follow the tutorial provided here https://www.reddit.com/r/xcom2mods/wiki/firsttime . There are a number of other fantastic resources available here https://www.reddit.com/r/xcom2mods/wiki/index

To start working on the codebase:
+ Fork and clone this repository.
+ This repository has git LFS enabled, make sure that all files were properly. acquired. You can check this by making sure the Content folder has appropriately 800Mb of files.
+ Run git remote add upstream https://github.com/X2LongWarOfTheChosen/LongWarOfTheChosen_WeaponPack.git.
+ Verify that everything is set up properly by typing git remote -v which should produce output the same as the following but with your GitHub username in place:

  origin   https://github.com/YourUsername/LongWarOfTheChosen_WeaponPack.git (fetch)
  origin   https://github.com/YourUsername/LongWarOfTheChosen_WeaponPack.git (push)
  upstream https://github.com/X2LongWarOfTheChosen/LongWarOfTheChosen_WeaponPack.git (fetch)
  upstream https://github.com/X2LongWarOfTheChosen/LongWarOfTheChosen_WeaponPack.git (push)

Contributing

Due to the large number of people working on this project, it is important to ensure consistent coding standards. If you don't want your changes to get stuck in PR hell, please do all of the following

When contributing, please

One change at a time

If you start working on unrelated tickets, there should be a unique PR for each of them. In order to do this it's recommended that you create a unique branch off the head of dev for each ticket you work on. When that is done submit a PR to the X2LongWarOfTheChosen repo, comparing your branch to the master branch.

Follow coding style

  • use the code style that is generally used in the XCOM 2 codebase:
    • Use tabs
    • Use new lines for braces
    • Use appropriate spacing, watch out whitespace changes on unrelated lines
    • Use braces even for one-line if/else bodies

The following code should illustrate all of this:

    static function CompleteStrategyFromTacticalTransfer()
    {
    	local XComOnlineEventMgr EventManager;
    	local array<X2DownloadableContentInfo> DLCInfos;
    	local int i;

    	UpdateSkyranger();
    	CleanupProxyVips();
    	ProcessMissionResults();
    	SquadTacticalToStrategyTransfer();

    	EventManager = `ONLINEEVENTMGR;
    	DLCInfos = EventManager.GetDLCInfos(false);
    	for (i = 0; i < DLCInfos.Length; ++i)
    	{
    		DLCInfos[i].OnPostMission();
    	}
    }

Troubleshooting

For any troubleshooting direct your questions to any of the senior devs on the discord.

thanks to the X2CommunityHighlander for the readme inspiration

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published