Home LittleBigPlanet 2 - 3 - Vita - Karting LittleBigPlanet 2 [LBP2] Tutorials
#1
Accurate counter based logic
Archive: 1 post
This tutorial will show you how to make accurate health logic, that can receive multiple variants of damage accurately Before I begin you should know the bad part to using this, which is that tick speed is not ultimately fast, so you will have to wait for big hits to render so, first you will have to make the hit registry points which to do you will have to 1) take out a separate microchip 2) put a counter with the damage you want it to deal on the original microchip, invert the output, and fill it up 3) take out a sub microchip and put it on the original microchip 4) put a not gate on that microchip that is connected to its own input (repeater) and connect the output to an or gate 5) repeat step 1-4 to make more damage inputs 6) to make health regain, simply do the same thing, but connect it to a different or gate Now to make the total health counting system 1) take out 1 microchip, 2 counters, 1 direction splitter and 2 direction combiners and place all of those things on the other microchip 2) connect the direction splitter in reverse output to input order into one of the combiners (- to + and + to -) 3) now connect that combiner's output to one of the counters (which we will call counter #1) and change counter #1 to be inverted, full (10/10, 5/5, etc.) and make sure the limit is the total health you want your entity to have 4) make sure that the other counter has the same specifications as the other counter, but not inverted or full (just the limit) 5) connect the empty combiner into the empty counter and the input of the splitter 6) take the input from your damage dealing or gate, and put it in the positive combiner input slot, and health regain slots into the negative combiner slot last but not least, to trigger it, simply put the damage, or health regain activators to counter reset in the repeater microchip, and your health logic is done Be sure to give me feedback, and problems you found with this, and I'll be sure to correct my mistakes | 2013-08-13 16:45:00 Author: amiel445566 Posts: 664 |
LBPCentral Archive Statistics
Posts: 1077139
Threads: 69970
Members: 9661
Archive-Date: 2019-01-19
Datenschutz
Aus dem Archiv wurden alle persönlichen Daten wie Name, Anschrift, Email etc. - aber auch sämtliche Inhalte wie z.B. persönliche Nachrichten - entfernt.
Die Nutzung dieser Webseite erfolgt ohne Speicherung personenbezogener Daten. Es werden keinerlei Cookies, Logs, 3rd-Party-Plugins etc. verwendet.
Die Nutzung dieser Webseite erfolgt ohne Speicherung personenbezogener Daten. Es werden keinerlei Cookies, Logs, 3rd-Party-Plugins etc. verwendet.