ProjectLighthouse icon indicating copy to clipboard operation
ProjectLighthouse copied to clipboard

LittleBigPlanet PS Vita Custom Skill Rewards

Open Arcadius2006 opened this issue 4 years ago • 10 comments

Custom Skill Rewards don't show up in the level page or on the level badge

they do work in the levels themselves, giving out prizes, but they don't show the correct requirements

Arcadius2006 avatar Nov 14 '21 14:11 Arcadius2006

What are custom skill rewards?

jvyden avatar Nov 14 '21 21:11 jvyden

Custom Skills Rewards are a feature in Vita that allow you to create custom prizes for doing things such as completing a level with a certain score, in a certain timeframe, or without dying a set amount of times

you can also activate these prizes using logic

idk im not good at explaining you'd have to look at the thing yourself to understand it fully

Arcadius2006 avatar Nov 15 '21 10:11 Arcadius2006

@hydronePVP45 can you pull the names of the endpoints for this?

jvyden avatar Nov 15 '21 17:11 jvyden

Custom Skills Rewards is basically a star system that is exclusive to LBP Vita, and the problem that Arek is reporting is that these do not show up on community level badges. image

Here is a post request of a level with custom skill rewards being published.

<slot type="user"> <name>Star Test example lmao xddddddd</name> <description>Shit</description> <icon>1c636160e366fb6c3aa7cc66eb05db3db17fe197</icon> <rootLevel>b2a8a4a3ebc8a5b8f3d6d79dbbb54387a6619712</rootLevel> <resource>0f51202219d623d7587866ae5ecdac655d1e823d</resource> <resource>2d1ea0ec56800bedc2d48c200b09686345d3c1a4</resource> <resource>39597804f24d64ec01a52c203a675ca93a2922a8</resource> <resource>3a1935843e82876b4998c3815bbddb1c2d83389a</resource> <resource>9daf4036787173b4326a6a827fe075c0daa887c4</resource> <resource>9e9aa2c5110918d3c79d86d82176a64f5bea4688</resource> <resource>9f1e280a5f639fb0330497fa1c53c1e9dec7d1e4</resource> <resource>b2a8a4a3ebc8a5b8f3d6d79dbbb54387a6619712</resource> <resource>c65d03de9e3453820d9b78c8a086e46048ec3cee</resource> <resource>f1f810786e378d1d371ab1e7708e79631446a838</resource> <location> <x>46549</x> <y>6778</y> </location> <initiallyLocked>false</initiallyLocked> <isSubLevel>false</isSubLevel> <isLBP1Only>false</isLBP1Only> <shareable>0</shareable> <background>107262</background> <links> </links> <internalLinks> </internalLinks> <leveltype></leveltype> <minPlayers>1</minPlayers> <maxPlayers>4</maxPlayers> <moveRequired>false</moveRequired> <sizeOfResources>698697</sizeOfResources> <acingEnabled>true</acingEnabled> <containsCollectabubbles>true</containsCollectabubbles> <enforceMinMaxPlayers>false</enforceMinMaxPlayers> <sameScreenGame>true</sameScreenGame> <customRewards> <customReward id="0"> <enabled>true</enabled> <description>Skidbapumbidbada 3 stars</description> <condition>score</condition> <amountNeeded>150.000000</amountNeeded> </customReward> <customReward id="1"> <enabled>true</enabled> <description>Holy duckong sichir oyiu got two stars</description> <condition>score</condition> <amountNeeded>100.000000</amountNeeded> </customReward> <customReward id="2"> <enabled>true</enabled> <description>You got one sar</description> <condition>score</condition> <amountNeeded>50.000000</amountNeeded> </customReward> </customRewards> </slot>

(notice some other things like sizeOfResources and sameScreenGame which haven't been implemented either.)

turecross321 avatar Nov 16 '21 21:11 turecross321

Are customReward ids per-level?

jvyden avatar Nov 16 '21 22:11 jvyden

Not sure, but if I'd have to guess, no. image image image

I think it's just referring to the id in the scoreboard (so 0-2)

turecross321 avatar Nov 16 '21 22:11 turecross321

Gotcha. Shouldn't be too hard to implement.

jvyden avatar Nov 16 '21 22:11 jvyden

What other conditions are there other than score? Please provide examples of the XML.

jvyden avatar Jan 21 '22 02:01 jvyden

<name>Custom Rewards Test</name>
<description></description>
<icon>g10682</icon>
<rootLevel>9b876b8b0e29c7c310352cf16d3b761d196f0dbf</rootLevel>
<resource>9b876b8b0e29c7c310352cf16d3b761d196f0dbf</resource>
<location>
<x>15438</x>
<y>19002</y>
</location>
<initiallyLocked>false</initiallyLocked>
<isSubLevel>false</isSubLevel>
<isLBP1Only>false</isLBP1Only>
<shareable>0</shareable>
<background>107262</background>
<links>
</links>
<internalLinks>
</internalLinks>
<leveltype></leveltype>
<minPlayers>1</minPlayers>
<maxPlayers>4</maxPlayers>
<moveRequired>false</moveRequired>
<sizeOfResources>3805</sizeOfResources>
<acingEnabled>true</acingEnabled>
<containsCollectabubbles>false</containsCollectabubbles>
<enforceMinMaxPlayers>false</enforceMinMaxPlayers>
<sameScreenGame>false</sameScreenGame>
<customRewards>
<customReward id="0">
<enabled>true</enabled>
<description>50 score</description>
<condition>score</condition>
<amountNeeded>5.000000</amountNeeded>
</customReward>
<customReward id="1">
<enabled>true</enabled>
<description>5 lives lost</description>
<condition>lives</condition>
<amountNeeded>5.000000</amountNeeded>
</customReward>
<customReward id="2">
<enabled>true</enabled>
<description>30 second timer</description>
<condition>time</condition>
<amountNeeded>899.999939</amountNeeded>
</customReward>
</customRewards>
</slot>

turecross321 avatar Jan 22 '22 14:01 turecross321

the three conditions are: score, lives and time.

turecross321 avatar Jan 22 '22 15:01 turecross321