Kody do Kamienia Filozoficznego (PC)

EN PL RU +

Gra została ukończona i już nudzi, lub są trudności w przejściu, których nie da się rozwiązać w głównym trybie? Jeśli tak, specjalne kody dostarczone przez twórców silnika gry i samej gry mogą pomóc.

Jak wprowadzić te kody? Potrzeba trochę cierpliwości i uwagi.

Aktywacja trybu debugowania

The first method: entering the code during the game.

During the game, when a level is loaded, start typing the following text harrydebugmodeon, simply by pressing the keys. Enter approximately 2 letters per second. It may not work the first time. The keyboard layout must be English (to switch it, press Ctrl + Shift, or Alt+Shift until it works out). If all is OK, service information (green text) will appear at the top of the screen.

Same thing, but in steps:

  1. If you are using software to switch the keyboard layout automatically, make sure you switch it off. It can interfere with code entry.
  2. Start the game, choose any level (we must have Harry in front of us, otherwise it won’t work)
  3. Let’s start typing harrydebugmodeon until green letters appear at the top. Type at the same pace!!! No pauses — about 2 letters per second!
  4. As soon as the game realises it’s the right code — debug mode is activated and the green text appears.

Method two: editing the configuration file hp.ini

  1. In the «Documents» folder (in Windows 98-XP: «My Documents»), find the «Harry Potter» subfolder and open it.
  2. Make a copy of the hp.ini file (the «ini» extension is often hidden from inexperienced users and only «HP» is visible).
  3. Open the hp.ini file with a text editor (preferably Notepad++).
  4. Find the line (usually at the very end) «bDebugMode=False«
  5. Replace in it False to True.
  6. Save the changes to the file.
  7. Return to the folder with this file, right-click on it.
  8. Select «Properties».
  9. In the window that appears, find the «Read-only» checkbox and select it (click on it until / appears in it).
  10. Press the screen button «ОК».

If this is done correctly, the green text will appear when you start the game and you can skip the screensaver with the spacebar. I.e. the same as after entering the code harrydebugmodeon.

The main disadvantage of this method is that access to Quidditch competitions will be blocked (the relevant keys will not be able to be updated due to the read-only attribute being set).

Added at the request of a visitor DOBBBI

Note: this option is automated and available in the software «HP and Your PC».


The third way: editing the file user.ini

  1. In the «Documents» folder (in Windows 98-XP: «My Documents»), find the «Harry Potter» subfolder and open it.
  2. Make a copy of the user.ini file (the «ini» extension is often hidden from inexperienced users and only «USER» is visible)
  3. Open the user.ini file with a text editor (preferably Notepad++).
  4. Find the line with the name of any key and add the command immediately after the «=» sign «set HPBase.baseConsole bDebugMode true«
  5. Save the changes to the file.
  6. Return to the folder with this file, right-click on it.
  7. Select «Properties».
  8. In the window that appears, find the «Read-only» checkbox and select it (click on it until / appears in it).
  9. Press the screen button «ОК».

If done correctly, when the game is running, just press the key you selected in user.ini to activate debug mode.

Variant indicated by Andrey Odarenko

Aktywacja opcjonalnej konsoli (lot, duch, chodzenie)

To enter more serious codes (commands) there is a special game console — a window at the bottom of which you have to enter commands. The upper part of the window displays commands that have already been executed. So, start calling the console. To do this:

  1. Press the key ~.
  2. Typing: set engine.playerpawn bcheatsenabled true

In this way, additional codes will become available to us.

This command must be repeated periodically — it may be reset when you move to the next level or location.

Domyślne klawisze kodów:

F7 — wyprowadza grę z trybu debugowania.

F8 – przełącza kamerę w grze.

F2F5 – przeskakuje po lokalizacjach poziomów (może zakłócać rozgrywkę).

Spacja – przyspiesza odtwarzanie ekranów powitalnych lub przechodzi do następnego sygnału.

Ogólne polecenia sterujące (restart, wyjście, zapis, tempo)

flush — naprawia problem z przezroczystością tekstur — dzięki UnWorld

savegame 1 – zapisuje grę bez książki zapisów

quicksave — zapisuje grę

quickload — ładuje grę

restartlevel — restartuje poziom

quit – kończy grę

slomo # — prędkość gry

setfriction # — drganie podczas chodzenia

fov # — kąt widzenia kamery

rmode # (1,2,5) — ustawia tryb renderowania

fly – Harry traci dużo wagi, wyłącza się przy użyciu jego różdżki.

ghost – Tryb ducha. Różdżka jest niedostępna, ale można przechodzić przez ściany.

walk – przywraca Harry’ego do normalnego trybu (tryb ducha jest wyłączony). Czasami to sprawia, że Harry jest niewidoczny, ale może się poruszać.

harrygetsfullhealth – dodatkowe zdrowie (błyskawica jest całkowicie napełniona)

Ruch, skoki

harrysuperjump – super skok.

harrynormaljump – duży skok.

setspeed – zmienia prędkość Harry’ego.

setfriction – ustawia wartość siły tarcia. 0 — poślizg, domyślne ustawienie to 10

set harry groundspeed # — prędkość biegu Harry’ego

set harry jumpz # — wysokość skoku

set harry AccelRate # — przyspieszenie Harry’ego

set harry wideness # — szerokość Harry’ego

set harry AirSpeed # — prędkość lotu

Zyskiwanie punktów, fasole, …

givebeans – liczba fasolek

givehousepoints – liczba punktów Gryffindoru

giveseeds – liczba ognistych nasion

giveallcards – zdobądź wszystkie karty oprócz jednej (25-tej)

Konfiguracja Harry’ego

set harry lifePotions # — poziom błyskawicy

set harry MaxLifePotions # — punkty błyskawicy

set harry ambientglow # — jasność Harry’ego

set harry drawscale # — wysokość Harry’ego

set harry fatness # — grubość Harry’ego

set harry opacity -# (tylko liczby ujemne) — przezroczystość Harry’ego

killall harry – Harry znika, a kamera zamraża się w jednej pozycji (1). Możesz podać inną nazwę klasy zamiast harry, np. pig, snail, bronzechest.

set actor evulnerabletospell spell_ectomatic — Harry zna tylko zaklęcie Ectomatis (rzucanie małej ilości śluzu na obiekt, dla którego zaklęcie jest przeznaczone). Przechodzenie gry staje się niemożliwe.

Zmiana otoczenia

set actor bhidden false — Drzwi znikają i pojawiają się «coś z edytora»

set actor bhidden true — Wszystkie obiekty (w tym drzwi) i przedmioty znikają.

set light lighthue # — tonacja światła obiektów

set light lightsaturation # — nasycenie światła obiektów

Odblokowywanie Quidditcha po włączeniu trybu debugowania

Jeśli plik hp.ini nie ma takiej sekcji, dodaj ją:

[HPMenu.FEQuidMatchPage]
unlocked=2

Jeśli włączyłeś tryb debugowania, a plik jest zablokowany (ustawiony atrybut tylko do odczytu), będziesz musiał odblokować ten atrybut przed edytowaniem i przywrócić go po edycji.

Można to zrobić automatycznie za pomocą oprogramowania «HP i Twój komputer»

Zmień ustawienie głębi kolorów dla zgodności z systemami Windows 8 i nowszymi

W pliku hp.ini znajdź wspomniane dwie linie (są w różnych częściach pliku, w dwóch różnych sekcjach — wyszukiwanie pliku pomoże 😉 ) i zmień 16 na 32 (systemy Windows 8 i nowsze nie działają z 16-bitowym kolorem).

WindowedColorBits=16
FullscreenColorBits=16

Jeśli włączyłeś tryb debugowania, a plik jest zablokowany (ustawiony atrybut tylko do odczytu), będziesz musiał usunąć ten atrybut przed edytowaniem i przywrócić go po edytowaniu.

Można to zrobić automatycznie za pomocą oprogramowania «HP i Twój komputer» (z wcześniejszych wersji).

Te kody nie działają:

baseharry numstars – liczba gwiazd znalezionych w teście

killharry – polecenie nie działa (nie jest rozpoznawane przez silnik gry)1


Artykuł przygotowany przez АlехeyMS, specjalne «Dzięki» Setebos.

Artykuł uzupełniony przez: Arachne Spider (1), Igrokа (2), Ivan Chinchenko (3)


Tłumaczenie: Giesche