[Q] (simple) help needed with edit file

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Djabanete
    Knight
    • Apr 2007
    • 576

    [Q] (simple) help needed with edit file

    I'm playing Entroband in Vanilla Town mode. In the r_info.txt, farmer maggot's dogs were originally commented out, so I commented them back in. Also, I tried to move Farmer Maggot and Lion Heart from the town to the dungeon (W:5:3). Now I've played a good 30-40 games with my current incarnation of Entroband and I have yet to see any of these monsters a single time in the dungeon, so I'm thinking I've done something wrong. I'm really confused --- can anyone help?

    (I am editing the correct file, I believe --- if I deliberately introduce an error, the game won't load until I fix it.)

    [farmer maggot's dogs]:
    Code:
    #J0#
    
    N:53:ÇŔÉץޥŽĄĂĄČ€Î»ôž€ˇŘ€Ż€€€Ä€*ˇŮ
    
    E:Grip, Farmer Maggot's dog
    
    G:C:w
    
    I:120:5d5:30:30:0
    
    W:2:2:0:40:0:0
    
    B:BITE:HURT:2d4
    
    F:UNIQUE | CAN_SPEAK |
    
    F:FORCE_MAXHP | RAND_25 | DROP_CORPSE
    
    F:BASH_DOOR | 
    
    F:ANIMAL | NO_CONF | NO_SLEEP | NO_FEAR
    
    D:$A rather vicious dog belonging to Farmer Maggot.  It thinks you are 
    
    D:$stealing mushrooms.
    
    D:ÇŔÉץޥŽĄĂĄČ€¬»ô€Ă€Ć€€€ëźŻˇą¶§Ëś€Ęž€€ŔˇŁ€ś€ě€Ď€˘€Ę€ż€¬Ą*ĄÎĄł€ňĹđ€ó€Ŕ€Č
    
    D:»×€Ă€Ć€€€ëˇŁ
    
    
    
    #JZ#
    
    N:54:ÇŔÉץޥŽĄĂĄČ€Î»ôž€ˇŘ€Ş€Ş€«€ßˇŮ
    
    E:Wolf, Farmer Maggot's dog
    
    G:C:w
    
    I:120:5d5:30:30:0
    
    W:2:2:0:40:0:0
    
    B:BITE:HURT:2d4
    
    F:UNIQUE | CAN_SPEAK |
    
    F:FORCE_MAXHP | RAND_25 | DROP_CORPSE
    
    F:BASH_DOOR | 
    
    F:ANIMAL | NO_CONF | NO_SLEEP | NO_FEAR
    
    D:$A rather vicious dog belonging to Farmer Maggot.  It thinks you are 
    
    D:$stealing mushrooms.
    
    D:ÇŔÉץޥŽĄĂĄČ€¬»ô€Ă€Ć€€€ëźŻˇą¶§Ëś€Ęž€€ŔˇŁ€ś€ě€Ď€˘€Ę€ż€¬Ą*ĄÎĄł€ňĹđ€ó€Ŕ€Č
    
    D:»×€Ă€Ć€€€ëˇŁ
    
    
    
    #J0#
    
    N:55:ÇŔÉץޥŽĄĂĄČ€Î»ôž€ˇŘ€*€ĐˇŮ
    
    E:Fang, Farmer Maggot's dog
    
    G:C:w
    
    I:120:5d5:30:30:0
    
    W:2:2:0:40:0:0
    
    B:BITE:HURT:2d4
    
    F:UNIQUE | CAN_SPEAK |
    
    F:FORCE_MAXHP | RAND_25 | DROP_CORPSE
    
    F:BASH_DOOR | 
    
    F:ANIMAL | NO_CONF | NO_SLEEP | NO_FEAR
    
    D:$A rather vicious dog belonging to Farmer Maggot.  It thinks you are 
    
    D:$stealing mushrooms.
    
    D:ÇŔÉץޥŽĄĂĄČ€¬»ô€Ă€Ć€€€ëźŻˇą¶§Ëś€Ęž€€ŔˇŁ€ś€ě€Ď€˘€Ę€ż€¬Ą*ĄÎĄł€ňĹđ€ó€Ŕ€Č
    
    D:»×€Ă€Ć€€€ëˇŁ
    [Farmer Maggot]
    Code:
    #J0#
    
    #J0#
    
    N:8:ÇŔÉסإޥŽĄĂĄČˇŮ
    
    E:Farmer Maggot
    
    G:h:w
    
    I:110:35d10:40:10:3
    
    W:5:3:0:15:0:0
    
    B:HIT:HURT:1d5
    
    F:UNIQUE | MALE | DROP_CORPSE 
    
    F:FORCE_MAXHP |  
    
    F:ONLY_ITEM | DROP_90 | DROP_GOOD | DROP_GREAT
    
    F:OPEN_DOOR | BASH_DOOR | HAS_LITE_1 |
    
    F:NO_CONF | NO_SLEEP
    
    D:$Before you appears a broad thick-set hobbit with a round red face. 
    
    D:$"What's wrong with old Maggot?" asked Pippin.  "He's a good friend to 
    
    D:$all the Brandybucks.  Of course he's a terror to trespassers, and keeps 
    
    D:$ferocious dogs -- but after all, folk down here are near the border and 
    
    D:$have to be more on their guard." 
    
    D:ŽÝ€€ŔÖ€éŽé€Î€ş€ó€°€ę€·€żĄŰĄÓĄĂĄČ€¬ˇ˘»Ń€ňžś€·€Ţ€·€żˇŁ
    
    D:ˇÖĄŢĄŽĄĂĄČ€ž€€€µ€ó€¬€É€Š€·€ż€Ă€Ć€€€Š€ó€Ç€ąˇ©ˇ×€Čˇ˘ĄÔĄÔĄó€¬€ż€ş€Í€Ţ€·€żˇŁ
    
    D:ˇÖ€˘€Î€Ň€Č€ĎĄÖĄéĄóĄÇĄŁĄĐĄĂĄŻ°ě²€Î€Ŕ€ě€Č€Ç€âĂçÎÉ€Ż€ä€Ă€Ć€Ţ€ą€čˇŁ€ŕ€í€óˇ˘
    
    D:ĚۀÀƀž€€€µ€ó€ÎĹÚĂĎ€ËĆţ€Ă€Ć€Ż€ë€ä€Ä€é€Ë€Ďˇ˘€Ň€É€ŻÉÝ€€Âžşß€Ŕ€·ˇ˘ŕŘĚԀʞ€€â
    
    D:»ô€Ă€Ć€ë€±€É---€Ŕ€±€Éˇ˘€ł€Î€˘€ż€ę€Ëś»€ó€Ç€€€ě€Đ,ź±¶*€Ë€â¶á€€€·ˇ˘€č€ś€č€ę
    
    D:ÍŃżŽ€·€Ć€«€«€é€Ę€*€ă€Ę€é€Ę€€€ď€±€Ç€ą€čˇŁˇ×
    
    D:ˇĘJ.R.R.ĄČˇŚĄëĄ*Ąóˇ˘ŔĄĹÄÄçĆóˇŠĹÄĂćĚŔ»ŇĚő ż·ČÇ»ŘÎŘĘŞžěˇË
    [Lion Heart]
    Code:
    N:19:ˇŘ€é€€€Ş€ó€ĎˇŚ€ČˇŮ
    
    E:Lion Heart
    
    G:f:s
    
    I:111:20d20:50:15:4
    
    W:5:4:0:0:0:0
    
    B:HIT:HURT:1d3
    
    F:UNIQUE | MALE | ANIMAL | 
    
    F:FORCE_MAXHP | DROP_CORPSE |  
    
    F:ONLY_ITEM | DROP_90 | DROP_GOOD | DROP_GREAT | HUMAN |
    
    F:OPEN_DOOR | BASH_DOOR | HAS_LITE_1 |
    
    F:NO_CONF | NO_SLEEP
  • buzzkill
    Prophet
    • May 2008
    • 2939

    #2
    I'm no expert, but if they were commented out in the edit file, they were probably removed from the source code too.
    www.mediafire.com/buzzkill - Get your 32x32 tiles here. UT32 now compatible Ironband and Quickband 9/6/2012.
    My banding life on Buzzkill's ladder.

    Comment

    • Derakon
      Prophet
      • Dec 2009
      • 9022

      #3
      Monsters aren't written into the source code (with the possible exception of Sauron and Morgoth). You should be able to add new monsters just by modifying the edit file. The edit file should also tell you if it encounters a malformed entry, for that matter. You might try making a wizard character, going to their native depth, and chain-summoning monsters to see if you can force them to generate.

      Comment

      • EpicMan
        Swordsman
        • Dec 2009
        • 455

        #4
        Or better yet, summon them by their ID number (I believe Heng/Entro has that wizard option available).
        You may need to go into the cheat options menu to enable access to Wizard mode. If you get the "Wizard Mode is not permitted" messages when you try to access it you will need to do that. I don't remember if it's just a birth option or if you can change it on the fly, though.
        [EDIT] You could also reduce their rarity (second number on the W line) to 1 to make them more likely to spawn (just for verification).

        Comment

        • Mangojuice
          Z+Angband Maintainer
          • Jun 2008
          • 318

          #5
          Try removing the .raw files from the /data directory. The game should be recompiling the raw files when the edit files are changed, but if you remove them it will definitely have to recompile.
          -----------------------------------------
          Z+Angband: A Zangband evolution
          http://tinyurl.com/5pq2bd

          Comment

          Working...
          😀
          😂
          🥰
          😘
          🤢
          😎
          😞
          😡
          👍
          👎