Home Risen Risen2 Risen3 Forum English Russian

Registrieren Hilfe Kalender Heutige Beiträge
Ergebnis 1 bis 2 von 2
  1. #1 Zitieren
    Ritter
    Registriert seit
    May 2005
    Beiträge
    1.238
    The NPCs' daily routines are controlled via WRS-GuIDs. (WRS= Working/Relaxing/Sleeping; GuID= 20 Bytes Hash, last 4 bytes always zero?)

    Let's have a look at Sara:

    Her Start-routine consists of dummy-GuIDs - that means she stays at here gamestart-spawnpoint at the beginning.

    Her second routine, SarasHut, makes here sitting on a bench all day long and
    at night she will be sleeping (alone) in bed as brave girls should always do...

    If you don't want her to be a brave girl you could exchange the W- and S -GuIDs of the SarasHut-routine using a hexeditor.

    Code:
    Sara, Game_Start_NPC_01.lrent
    -----------------------------
    
        a177 Routines
        a179 bTObjArray<struct gCNavigation_PS::gSRoutine>
          01 04 00 00 00 (4 Tagesabläufe für Sara)
    
    	01 00 1B 00 Start
    	 01 00 01 
    	6D 62 C6 1F E6 9D 0F 4D A4 B7 D1 F8 C9 29 0A 7B 00 00 00 00 
    	 01 00 01 
    	EF 0E BC 55 19 B5 56 4F 91 68 63 D1 C2 F6 52 DB 00 00 00 00 
    	 01 00 01 
    	AE F5 15 F1 71 DE C6 4C 82 C1 E5 FE 41 72 95 69 00 00 00 00 
    
    	01 00 7E 01 SarasHut
    	 01 00 01 
    (W)	46 A9 E0 F8 A0 F5 A1 47 88 B0 F4 D6 14 AE 06 33 00 00 00 00 
    	 01 00 01 
    (R)	46 A9 E0 F8 A0 F5 A1 47 88 B0 F4 D6 14 AE 06 33 00 00 00 00
    	 01 00 01 
    (S)	1E 1B B3 64 74 74 05 47 9E F9 81 00 00 17 96 B7 00 00 00 00 
    
    	01 00 7F 01 MonCamp
    	 01 00 01 
    	BC 3E 70 DD 48 82 EF 42 AB F9 68 26 CD 40 6E 98 00 00 00 00 
    	 01 00 01 
    	BC 3E 70 DD 48 82 EF 42 AB F9 68 26 CD 40 6E 98 00 00 00 00 
    	 01 00 01 
    	BC 3E 70 DD 48 82 EF 42 AB F9 68 26 CD 40 6E 98 00 00 00 00 
    
    	01 00 80 01 DonCamp
    	 01 00 01 
    (W)	7B 87 F0 AA D2 EB 77 4F A7 CB 5B 6E 1F EA 02 7F 00 00 00 00 
    	 01 00 01 
    (R)	7B 87 F0 AA D2 EB 77 4F A7 CB 5B 6E 1F EA 02 7F 00 00 00 00 
    	 01 00 01 
    (S)	54 3F 55 95 57 06 8C 47 8B AF BF 14 31 2A A2 F8 00 00 00 00 
    
    
    <Game_Start_Dyn.lrent>
    
    (W/R)  190d22 Object_Interact_Bench_Outdoor    46a9e0f8a0f5a14788b0f4d614ae0633
    (S)    1183c4 Object_Interact_Bed    	       1e1bb364747405479ef98100001796b7
    
    
    <Swamp_Outdoor_Dyn>
    
    (W/R)   e6081 FP_Clean_Floor    	       7b87f0aad2eb774fa7cb5b6e1fea027f
    (S)	00afe Object_Interact_Bed_Peasant      543f559557068c478bafbf14312aa2f8
    Shak-otay ist offline Geändert von Shak-otay (06.01.2010 um 13:35 Uhr)

  2. #2 Zitieren
    research Avatar von NicoDE
    Registriert seit
    Dec 2004
    Beiträge
    7.410
    Zitat Zitat von Shak-otay Beitrag anzeigen
    ([...] GuID= 20 Bytes Hash, last 4 bytes always zero?)
    Sound like (pseudo code):
    Code:
    class bCPropertyID
    {
    public:
        struct bSCore
        {
            bCGuid m_Guid;
        };
    private:
        bSCore        m_Core;
        unsigned long m_Count;
    };
    "Unter diesen schwierigen Umständen bin ich mir sicher, daß diese guten Menschen meinen augenblicklichen Bedarf an deren Gold verstehen werden." -- Connor
    NicoDE ist offline

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •