Resolve the Pip Distortion Bug

Registered by AlexB

Pip= and OccupyPip= values shift if not defined in game mode or maps, because the previous pip index is used as an index into a list that doesn't start with 0 and doesn't have a 6. Off by one and off by two errors for each of these roundtrips.

More info: http://modenc.renegadeprojects.com/Pip_Distortion_Bug

Blueprint information

Status:
Complete
Approver:
AlexB
Priority:
Low
Drafter:
AlexB
Direction:
Approved
Assignee:
AlexB
Definition:
Approved
Series goal:
Accepted for 0.4
Implementation:
Implemented
Milestone target:
milestone icon 0.4
Started by
AlexB
Completed by
AlexB

Related branches

Sprints

Whiteboard

Pip= and OccupyPip= should not exhibit the off-by-one errors any more.
If the value is not a known pip name, but it can be parsed as integer, the value will be used as frame index in pips.shp or pips2.shp. Customizable pips. -AlexB

___________________________________________________________________________
Report by FS-21 about this blueprint (with Ares version v04.13.224.270):
· I repeated the steps from http://modenc.renegadeprojects.com/MP_Modes#Pip.3D_.26_OccupyPip.3D with the stable 0.3 release to verify the problem (I didn't notice such problem) and I got the "building green strength" pip instead of a "blue person" pip.
· If I use the same steps with the last binary the bug was fixed, I see the blue person pip when the [E1] infantry is garrisoned.

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.