Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re: Add Directional APC's sprites, reduces lines of code by adding and using Updatepaths.txt file. #6686

Merged
merged 24 commits into from
Aug 7, 2024

Conversation

Venuska1117
Copy link
Contributor

@Venuska1117 Venuska1117 commented Jul 11, 2024

About the pull request

This PR add directional APC's and Updatepath.txt

standardize APC's by creating 2 separate types, normal and upgraded variant, replace APC's with cell types: high/super/hyper with upgraded variant with own HIGH cell type. (10000 capacity)

Edit: Add directional APC sptires made by Blundir.

Fixes: #6792
Fixes: #6312

Explain why it's good for the game

Reduces lines of codes in mapping, i know there is already code in apc.dm to make them have pixel_y or pixel_x offset.

Mainly issue is: in map editor they have var edited offsets, with mean it not only override code that already exist, but also occupy more space, with new code it should do same in exchange for less lines of code. (i didnt remove directional code for other stuff like broken APC's etc.)

Edit: Add directional APC's sprites for better visuals

Testing Photographs and Procedure

New directional APC's sprites by @Blundir.
image

Image from Blundir:
image

Changelog

🆑 Venuska1117, Blundir
imageadd: add directional APC's Sprites.
balance: Now there are only 3 APC's types, APC's with call_type high/super/hyper are replaced with upgraded APC variant containing high capacity cell, weak variant got replaced with normal APC variant.
fix: Fixes APC's with wrong offsets (strata and Prison)
/:cl:

@github-actions github-actions bot added Mapping did you remember to save in tgm format? Missing Changelog Maintainers always document their changes. labels Jul 11, 2024
@Venuska1117 Venuska1117 changed the title Re: Made APC's Directional to reduce lines of code, Use and Adds Updatepaths.txt file. Re: Made APC's Directional to reduce lines of code, Adds and Use Updatepaths.txt file. Jul 11, 2024
@Venuska1117 Venuska1117 changed the title Re: Made APC's Directional to reduce lines of code, Adds and Use Updatepaths.txt file. Re: Made APC's Directional to reduce lines of code, Add and Use Updatepaths.txt file. Jul 11, 2024
@github-actions github-actions bot added Sprites Remove the soul from the game. and removed Missing Changelog Maintainers always document their changes. labels Jul 11, 2024
@Venuska1117 Venuska1117 marked this pull request as draft July 11, 2024 11:18
@blackcrystall
Copy link
Contributor

Mapping assets premade in code? Meh, good idea?

@blackdragonTOW

This comment was marked as resolved.

- Revert changes to Updatepath file.
- Change name of Updatepath file to match PR number.
- Fixed direction of New APC's sprites.
- Modify changes made to apc.dm to match sprites direction.
@Venuska1117 Venuska1117 marked this pull request as ready for review July 15, 2024 16:20
@Venuska1117 Venuska1117 changed the title Re: Made APC's Directional to reduce lines of code, Add and Use Updatepaths.txt file. Re: Add Directional APC's sprites, reduces lines of code by adding and using Updatepaths.txt file. Jul 17, 2024
Copy link
Member

@Nanu308 Nanu308 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From looking at the map diff bot, you seem to have removed some APC's entirely. Were these apc's doubled in an area?

@Nanu308 Nanu308 marked this pull request as draft July 18, 2024 00:57
@Venuska1117
Copy link
Contributor Author

Venuska1117 commented Jul 19, 2024

From looking at the map diff bot, you seem to have removed some APC's entirely. Were these apc's doubled in an area?

yeah, the new checking system did not allow me to commit, beacause there were duplicated APC's, nanomeds etc.

i will double check to be sure.

@Venuska1117 Venuska1117 marked this pull request as ready for review July 19, 2024 15:21
@Venuska1117 Venuska1117 marked this pull request as draft July 29, 2024 15:42
@Venuska1117 Venuska1117 marked this pull request as ready for review July 29, 2024 20:10
@Drulikar Drulikar marked this pull request as draft August 1, 2024 08:31
@Drulikar Drulikar added the Testmerge Candidate we'll test this while you're asleep and the server has 10 players label Aug 1, 2024
@Venuska1117 Venuska1117 marked this pull request as ready for review August 6, 2024 21:14
@Venuska1117 Venuska1117 marked this pull request as draft August 6, 2024 21:43
@Venuska1117 Venuska1117 marked this pull request as ready for review August 6, 2024 22:07
Copy link
Contributor

@Drulikar Drulikar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Otherwise everything else looks fine

@Drulikar Drulikar added the Balance Approved This PR has had its balance and gameplay-affecting aspects approved. Cry to the Head-maint about it. label Aug 6, 2024
@Drulikar Drulikar marked this pull request as draft August 6, 2024 23:55
@github-actions github-actions bot added the Fix Fix one bug, make ten more label Aug 7, 2024
@Venuska1117 Venuska1117 marked this pull request as ready for review August 7, 2024 19:12
@Drulikar Drulikar dismissed Nanu308’s stale review August 7, 2024 19:43

All diffs where the APC moves off the diff is just an issue with map diff bot; all appear fine in strongdmm and in game

@Drulikar Drulikar added the Mapping Approved adds 500 new dict keys label Aug 7, 2024
@Drulikar Drulikar added this pull request to the merge queue Aug 7, 2024
Merged via the queue into cmss13-devs:master with commit 275837d Aug 7, 2024
27 checks passed
cm13-github added a commit that referenced this pull request Aug 7, 2024
@Venuska1117 Venuska1117 deleted the apc-updatepath branch August 23, 2024 10:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Balance Approved This PR has had its balance and gameplay-affecting aspects approved. Cry to the Head-maint about it. Balance You need to be a professional veteran game maintainer to comprehend what is being done here. Fix Fix one bug, make ten more Mapping Approved adds 500 new dict keys Mapping did you remember to save in tgm format? Sprites Approved confirmed no stray pixels Sprites Remove the soul from the game. Testmerge Candidate we'll test this while you're asleep and the server has 10 players
Projects
None yet
Development

Successfully merging this pull request may close these issues.

APCs not properly on the wall they should be. a apc that cant be fixed
7 participants