Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Why won't this secret appear in my worlds?!  (Read 1133 times)

Spiderking50

  • Bay Watcher
  • Lumberjack of Hearts
    • View Profile
    • Pik-Pik Fortress: A Pikmin Mod
Why won't this secret appear in my worlds?!
« on: April 09, 2013, 10:37:37 pm »

This is one of many almost identical secrets i've worked on (I used this as a template) and none of them appear yet I have no error log. What is my problem?


[INTERACTION:FIRE_MAGICS]
   [I_SOURCE:SECRET]
      [IS_NAME:the knowledge of simple fire magic]
      [IS_SPHERE:WAR]
      [IS_SPHERE:FIRE]
      [IS_SPHERE:VOLCANOS]
      [IS_SPHERE:MURDER]
      [IS_SECRET_GOAL:IMMORTALITY]
      [IS_SECRET:SUPERNATURAL_LEARNING_POSSIBLE]
      [IS_SECRET:MUNDANE_RESEARCH_POSSIBLE]
      [IS_SECRET:MUNDANE_TEACHING_POSSIBLE]
      [IS_SECRET:MUNDANE_RECORDING_POSSIBLE:objects/text/book_instruction.txt:objects/text/secret_fire.txt]
   [I_TARGET:A:CREATURE]
      [IT_LOCATION:CONTEXT_CREATURE]
      [IT_REQUIRES:CAN_LEARN]
      [IT_REQUIRES:CAN_SPEAK]
   [I_EFFECT:ADD_SYNDROME]
      [IE_TARGET:A]
      [IE_IMMEDIATE]
      [IE_ARENA_NAME: Fire Mage]
      [SYNDROME]
         [CE_DISPLAY_NAME:NAME:mage:mages:mage:START:0]
         [CE_ADD_TAG:NO_AGING]
         
         [CE_CAN_DO_INTERACTION:START:0]
            [CDI:ADV_NAME:Cast a Fireball]
            [CDI:INTERACTION:MATERIAL_EMISSION]
            [CDI:USAGE_HINT:ATTACK]
            [CDI:BP_REQUIRED:BY_TYPE:GRASP]
            [CDI:FLOW:FIREBALL]
            [CDI:TARGET:C:LINE_OF_SIGHT]
            [CDI:TARGET_RANGE:C:25]
            [CDI:VERB:gesture with your hand, conjuring a fireball:gestures with their hand, conjuring a fireball:NA]
            [CDI:MAX_TARGET_NUMBER:C:1]
            [CDI:WAIT_PERIOD:50]
         [CE_CAN_DO_INTERACTION:START:0]
            [CDI:ADV_NAME:Cast Firejet]
            [CDI:INTERACTION:MATERIAL_EMISSION]
            [CDI:USAGE_HINT:ATTACK]
            [CDI:BP_REQUIRED:BY_TYPE:GRASP]
            [CDI:FLOW:FIREJET]
            [CDI:TARGET:C:LINE_OF_SIGHT]
            [CDI:TARGET_RANGE:C:7]
            [CDI:VERB:Spray a jet of fire from your palm:Sprays a jet of fire from their palm:NA]
            [CDI:MAX_TARGET_NUMBER:C:1]
            [CDI:WAIT_PERIOD:275]
Logged
Currently on vacation. I have internet, but will update sporadically due to vacation.

Xangi

  • Bay Watcher
  • ɛkzændʒiː
    • View Profile
Re: Why won't this secret appear in my worlds?!
« Reply #1 on: April 09, 2013, 10:47:56 pm »

This is one of many almost identical secrets i've worked on (I used this as a template) and none of them appear yet I have no error log. What is my problem?


[INTERACTION:FIRE_MAGICS]
   [I_SOURCE:SECRET]
      [IS_NAME:the knowledge of simple fire magic]
      [IS_SPHERE:WAR]
      [IS_SPHERE:FIRE]
      [IS_SPHERE:VOLCANOS]
      [IS_SPHERE:MURDER]
      [IS_SECRET_GOAL:IMMORTALITY]
      [IS_SECRET:SUPERNATURAL_LEARNING_POSSIBLE]
      [IS_SECRET:MUNDANE_RESEARCH_POSSIBLE]
      [IS_SECRET:MUNDANE_TEACHING_POSSIBLE]
      [IS_SECRET:MUNDANE_RECORDING_POSSIBLE:objects/text/book_instruction.txt:objects/text/secret_fire.txt]
   [I_TARGET:A:CREATURE]
      [IT_LOCATION:CONTEXT_CREATURE]
      [IT_REQUIRES:CAN_LEARN]
      [IT_REQUIRES:CAN_SPEAK]
   [I_EFFECT:ADD_SYNDROME]
      [IE_TARGET:A]
      [IE_IMMEDIATE]
      [IE_ARENA_NAME: Fire Mage]
      [SYNDROME]
         [CE_DISPLAY_NAME:NAME:mage:mages:mage:START:0]
         [CE_ADD_TAG:NO_AGING]
         
         [CE_CAN_DO_INTERACTION:START:0]
            [CDI:ADV_NAME:Cast a Fireball]
            [CDI:INTERACTION:MATERIAL_EMISSION]
            [CDI:USAGE_HINT:ATTACK]
            [CDI:BP_REQUIRED:BY_TYPE:GRASP]
            [CDI:FLOW:FIREBALL]
            [CDI:TARGET:C:LINE_OF_SIGHT]
            [CDI:TARGET_RANGE:C:25]
            [CDI:VERB:gesture with your hand, conjuring a fireball:gestures with their hand, conjuring a fireball:NA]
            [CDI:MAX_TARGET_NUMBER:C:1]
            [CDI:WAIT_PERIOD:50]
         [CE_CAN_DO_INTERACTION:START:0]
            [CDI:ADV_NAME:Cast Firejet]
            [CDI:INTERACTION:MATERIAL_EMISSION]
            [CDI:USAGE_HINT:ATTACK]
            [CDI:BP_REQUIRED:BY_TYPE:GRASP]
            [CDI:FLOW:FIREJET]
            [CDI:TARGET:C:LINE_OF_SIGHT]
            [CDI:TARGET_RANGE:C:7]
            [CDI:VERB:Spray a jet of fire from your palm:Sprays a jet of fire from their palm:NA]
            [CDI:MAX_TARGET_NUMBER:C:1]
            [CDI:WAIT_PERIOD:275]
Turn secret types to 0 in advanced worldgen.
Logged
A spooky ghost.

Previous mod (34.11):
<<Fear The Night!>>
http://www.bay12forums.com/smf/index.php?topic=103747.0

Spiderking50

  • Bay Watcher
  • Lumberjack of Hearts
    • View Profile
    • Pik-Pik Fortress: A Pikmin Mod
Re: Why won't this secret appear in my worlds?!
« Reply #2 on: April 09, 2013, 11:04:38 pm »

How would having 0 secret types get my secrets to appear?
Logged
Currently on vacation. I have internet, but will update sporadically due to vacation.

Xangi

  • Bay Watcher
  • ɛkzændʒiː
    • View Profile
Re: Why won't this secret appear in my worlds?!
« Reply #3 on: April 09, 2013, 11:06:39 pm »

How would having 0 secret types get my secrets to appear?
No randomly generated secrets to replace it. Take a look at how FTN does it.

Honestly I should write a little guide on how to do this stuff, it'd save people a lot of time.
Logged
A spooky ghost.

Previous mod (34.11):
<<Fear The Night!>>
http://www.bay12forums.com/smf/index.php?topic=103747.0

Spiderking50

  • Bay Watcher
  • Lumberjack of Hearts
    • View Profile
    • Pik-Pik Fortress: A Pikmin Mod
Re: Why won't this secret appear in my worlds?!
« Reply #4 on: April 09, 2013, 11:11:01 pm »

Sorry, I haven't been on the forums in the last few months. Define FTN please.

Yeah I was thinking that after I posted, that the game might be pushing them out. Thanks!!!

You really should! There really isn't one single guide that you could use to do interactions and all of that. It would be indispensable. My vote is go for it.
Logged
Currently on vacation. I have internet, but will update sporadically due to vacation.

Xangi

  • Bay Watcher
  • ɛkzændʒiː
    • View Profile
Re: Why won't this secret appear in my worlds?!
« Reply #5 on: April 09, 2013, 11:14:40 pm »

Sorry, I haven't been on the forums in the last few months. Define FTN please.

Yeah I was thinking that after I posted, that the game might be pushing them out. Thanks!!!

You really should! There really isn't one single guide that you could use to do interactions and all of that. It would be indispensable. My vote is go for it.
FTN is my mod, in my signature. I might just get around to writing a small guide on how to do some basic modding with curses and secrets, though I still have to work out a small kink I found in FTN 1.4 first.
Logged
A spooky ghost.

Previous mod (34.11):
<<Fear The Night!>>
http://www.bay12forums.com/smf/index.php?topic=103747.0

Eric Blank

  • Bay Watcher
  • *Remain calm*
    • View Profile
Re: Why won't this secret appear in my worlds?!
« Reply #6 on: April 09, 2013, 11:41:28 pm »

You don't need to disable the normal secrets for custom secrets to show up; mine work just fine beside normal hardcoded necromancers. That is probably not his problem.

However, I had tried to use multiple spheres previously, and noticed that I couldn't get them to show up. See if cutting it back to only one [IS_SPHERE:x] token gets it working properly.
Logged
I make Spellcrafts!
I have no idea where anything is. I have no idea what anything does. This is not merely a madhouse designed by a madman, but a madhouse designed by many madmen, each with an intense hatred for the previous madman's unique flavour of madness.

Xangi

  • Bay Watcher
  • ɛkzændʒiː
    • View Profile
Re: Why won't this secret appear in my worlds?!
« Reply #7 on: April 09, 2013, 11:58:45 pm »

You don't need to disable the normal secrets for custom secrets to show up; mine work just fine beside normal hardcoded necromancers. That is probably not his problem.

However, I had tried to use multiple spheres previously, and noticed that I couldn't get them to show up. See if cutting it back to only one [IS_SPHERE:x] token gets it working properly.
The thing is, with 20+ naturally genned secrets, the chances of you actually seeing yours is slim unless you've made a lot.
Logged
A spooky ghost.

Previous mod (34.11):
<<Fear The Night!>>
http://www.bay12forums.com/smf/index.php?topic=103747.0

Eric Blank

  • Bay Watcher
  • *Remain calm*
    • View Profile
Re: Why won't this secret appear in my worlds?!
« Reply #8 on: April 10, 2013, 12:19:22 am »

Not a problem as far as I've seen. Yes, there may be several towers with hardcoded necromancers, but as long as there are civilizations providing the necessary spheres for your custom secrets, they seem to build their towers just fine.
Logged
I make Spellcrafts!
I have no idea where anything is. I have no idea what anything does. This is not merely a madhouse designed by a madman, but a madhouse designed by many madmen, each with an intense hatred for the previous madman's unique flavour of madness.

Xangi

  • Bay Watcher
  • ɛkzændʒiː
    • View Profile
Re: Why won't this secret appear in my worlds?!
« Reply #9 on: April 10, 2013, 12:24:45 am »

Not a problem as far as I've seen. Yes, there may be several towers with hardcoded necromancers, but as long as there are civilizations providing the necessary spheres for your custom secrets, they seem to build their towers just fine.
Well, yes except they get diluted by the necromancer towers. Oh, OH GOD DAMNIT I FORGOT.

To OP, they necromancer/secret holders need an animate spell to build towers, or at least mine did. When they didn't have one, they'd get the secret but never actually build any towers, so it was near impossible to find them.
Logged
A spooky ghost.

Previous mod (34.11):
<<Fear The Night!>>
http://www.bay12forums.com/smf/index.php?topic=103747.0

Spiderking50

  • Bay Watcher
  • Lumberjack of Hearts
    • View Profile
    • Pik-Pik Fortress: A Pikmin Mod
Re: Why won't this secret appear in my worlds?!
« Reply #10 on: April 10, 2013, 03:32:09 pm »

Well I'm not concerned about towers, I am more concerned about slabs appearing in the first place. (Books only occur after towers right?)

I'll try removing the extra spheres and if that doesn't work I'l remove the random ones.
Logged
Currently on vacation. I have internet, but will update sporadically due to vacation.

Knight Otu

  • Bay Watcher
  • ☺4[
    • View Profile
Re: Why won't this secret appear in my worlds?!
« Reply #11 on: April 10, 2013, 03:48:51 pm »

Having multiple spheres in a secret makes the secret-giver require all spheres that you define in its raws. Thus, your secret would require a god to have all of WAR,  FIRE, VOLCANOS, and MURDER, which is obviously an unlikely occurrence. Paring it down to two spheres at most, ideally related ones, makes it much more likely to have the secret appears. Then you could create further copies of the secret with a different set of spheres, which also helps. In your case, you could then have the same secret with the spheres of FIRE (alone, so any fire god would know it), VOLCANOS/WAR, and VOLCANOS/MURDER (those two are rare, though; you could go with just VOLCANOS).
Logged
Direforged Original
Random Raw Scripts - Randomly generated Beasts , Vermin, Hags, Vampires, and Civilizations
Castle Otu

Spiderking50

  • Bay Watcher
  • Lumberjack of Hearts
    • View Profile
    • Pik-Pik Fortress: A Pikmin Mod
Re: Why won't this secret appear in my worlds?!
« Reply #12 on: April 10, 2013, 03:53:39 pm »

I tried reducing it to one sphere and decreasing secrets to zero (both together and separately) and neither worked....
Logged
Currently on vacation. I have internet, but will update sporadically due to vacation.

Spiderking50

  • Bay Watcher
  • Lumberjack of Hearts
    • View Profile
    • Pik-Pik Fortress: A Pikmin Mod
Re: Why won't this secret appear in my worlds?!
« Reply #13 on: April 10, 2013, 04:08:25 pm »

Scratch that! Something worked and I got almost all of my secrets to appear in one world at once (With the exception of paladin secrets). I Immediately got a huntress (A buffed caste) necromancer who not only had 7 children and 4 apprentices, but also killed almost 1000 goblins.
Logged
Currently on vacation. I have internet, but will update sporadically due to vacation.

Knight Otu

  • Bay Watcher
  • ☺4[
    • View Profile
Re: Why won't this secret appear in my worlds?!
« Reply #14 on: April 10, 2013, 04:31:29 pm »

The problem could be that the spheres you decided on aren't present in the worlds you've generated. Outside the spheres defined in entity raws, no spheres are guaranteed to show up in the gods. That's another reason to copy the secrets with different sets of spheres.
Logged
Direforged Original
Random Raw Scripts - Randomly generated Beasts , Vermin, Hags, Vampires, and Civilizations
Castle Otu