Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 108 109 [110] 111 112 ... 137

Author Topic: [MODDING] 0.43.x QUESTIONS THREAD  (Read 201474 times)

tranquilham

  • Bay Watcher
  • [TRANSLATION:OWO]
    • View Profile
Re: [MODDING] 0.43.x QUESTIONS THREAD
« Reply #1635 on: March 15, 2017, 03:33:47 pm »

I've been trying to create a race for a while now, testing them in the Object Testing Arena.
Placing the males works perfectly fine, but placing females crashes the game for some reason.
Here are their raws: http://pastebin.com/FACsirJd

Can anyone provide some help?
Logged

scamtank

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.43.x QUESTIONS THREAD
« Reply #1636 on: March 15, 2017, 05:07:45 pm »

I've been trying to create a race for a while now, testing them in the Object Testing Arena.
Placing the males works perfectly fine, but placing females crashes the game for some reason.
Here are their raws: http://pastebin.com/FACsirJd

Can anyone provide some help?

Compare your critters to some other egg-laying thing. What are the eggs made of? Are you sure that defining a clutch size before declaring the fact that they lay eggs at all isn't screwing things up? What're the errorlog's thoughts about all this?
Logged

Roses

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.43.x QUESTIONS THREAD
« Reply #1637 on: March 15, 2017, 05:23:12 pm »

If I declare a BODY_APPEARANCE_MODIFIER token at the creature level, and then after add the same BODY_APPEARANCE_MODIFIER but with different numbers to a caste, will the effects add, or will the second simply replace the first? I assume it will replace as most things do, but the BODY tokens add so I wasn't sure.
Logged

tranquilham

  • Bay Watcher
  • [TRANSLATION:OWO]
    • View Profile
Re: [MODDING] 0.43.x QUESTIONS THREAD
« Reply #1638 on: March 15, 2017, 05:38:27 pm »

I've been trying to create a race for a while now, testing them in the Object Testing Arena.
Placing the males works perfectly fine, but placing females crashes the game for some reason.
Here are their raws: http://pastebin.com/FACsirJd

Can anyone provide some help?

Compare your critters to some other egg-laying thing. What are the eggs made of? Are you sure that defining a clutch size before declaring the fact that they lay eggs at all isn't screwing things up? What're the errorlog's thoughts about all this?

I fixed the problem by adding tokens that define eggs and egg materials.
Thanks for the suggestion, it really helped!

and Roses: I'd guess that it would probably add to it.

EDIT 1: I was gonna make a language specific to this entity, but I'm not sure how to do it easily. Also, can sapients be milked?
« Last Edit: March 15, 2017, 05:50:40 pm by tranquilham »
Logged

Hiul

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.43.x QUESTIONS THREAD
« Reply #1639 on: March 15, 2017, 11:15:48 pm »

what usage hint to make creature only resurrect friend or nonenemy? i try with CLEAN_FRIEND and GREETING but it make them never use the interaction, the interaction target is corpse by the way.

also which one in armor or weapon determine the size to be considered large or small enough for certain creature to wear?

also is this syndrome right for my egg laying civ? to make them dont eat,sleep,and drink? most ppl suggest egg laying civ with this syndrome so they can lay egg without trouble, but theres no example for it thats why i ask.

Code: [Select]

            [INTERACTION:DRAGON_EGG_LAYING]
             [I_TARGET:A:CREATURE]
       [IT_LOCATION:CONTEXT_CREATURE]
               [IT_FORBIDDEN:CRAZED]
               [IT_FORBIDDEN:OPPOSED_TO_LIFE]
               [IT_FORBIDDEN:BLOODSUCKER]
               [IT_FORBIDDEN:SUPERNATURAL]
                       [IT_FORBIDDEN:NOT_LIVING]
       [IT_CANNOT_TARGET_IF_ALREADY_AFFECTED]
               [IT_CANNOT_HAVE_SYNDROME_CLASS:WERECURSE]
                     [IT_CANNOT_HAVE_SYNDROME_CLASS:VAMPCURSE]
               [IT_CANNOT_HAVE_SYNDROME_CLASS:DISTURBANCE_CURSE]
                       [IT_AFFECTED_CREATURE:DRAGON:FEMALE]
             [I_EFFECT:ADD_SYNDROME]
       [IE_TARGET:A]
       [IE_IMMEDIATE]
[SYNDROME]
                [SYN_NAME:Egg Incubation]
                [SYN_CLASS:FEMALE]
                [SYN_NO_HOSPITAL]
                [SYN_AFFECTED_CREATURE:DRAGON:FEMALE]
                [SYN_CONTACT]
                [CE_ADD_TAG:NO_EAT:NO_DRINK:NO_SLEEP:START:0:END:302400]
[CE:COUNTER_TRIGGER:EGG_SPENT:0:302400:NONE:REQUIRED]
Logged

Max™

  • Bay Watcher
  • [CULL:SQUARE]
    • View Profile
Re: [MODDING] 0.43.x QUESTIONS THREAD
« Reply #1640 on: March 16, 2017, 05:19:04 pm »

Hmmm, it feels like there should be a way to have a single interaction raise a creature and change it into a different creature/caste depending on which caste it was before like:

Code: [Select]
[I_TARGET:A:CORPSE]
[IT_LOCATION:CONTEXT_ITEM]
[IT_AFFECTED_CREATURE:DWARF:FEMALE]
[IT_AFFECTED_CREATURE:MARTIAL_DWARF:FEMALE]
[IT_IMMUNE_CREATURE:DWARF:MALE]
[IT_IMMUNE_CREATURE:MARTIAL_DWARF:MALE]
[IT_REQUIRES:FIT_FOR_RESURRECTION]
[IT_MANUAL_INPUT:dead dwarf]
[I_TARGET:B:CORPSE]
[IT_LOCATION:CONTEXT_ITEM]
[IT_AFFECTED_CREATURE:DWARF:MALE]
[IT_AFFECTED_CREATURE:MARTIAL_DWARF:MALE]
[IT_IMMUNE_CREATURE:DWARF:FEMALE]
[IT_IMMUNE_CREATURE:MARTIAL_DWARF:FEMALE]
[IT_REQUIRES:FIT_FOR_RESURRECTION]
[I_EFFECT:RESURRECT]
[IE_TARGET:A]
[IE_IMMEDIATE]
[SYNDROME]
[CE_BODY_TRANSFORMATION:START:0]
[CE:CREATURE:MARTIAL_DWARF:FEMALE]
[I_EFFECT:RESURRECT]
[IE_TARGET:B]
[IE_IMMEDIATE]
[SYNDROME]
[CE_BODY_TRANSFORMATION:START:0]
[CE:CREATURE:MARTIAL_DWARF:MALE]
So I'd only need one interaction where:
I_TARGET:A takes a dead dwarf female and I_EFFECT:A only works on them and gives a resurrected dwarf+1 female
I_TARGET:B takes a dead dwarf male and I_EFFECT:B only works on them and gives a resurrected dwarf+1 male

But without a manual input I can't target something, but if I add a manual input to both I have to target the first type of corpse AND the second type but it doesn't pass through properly.

I'm probably overthinking it though, but when I tried to have I_TARGET:A accept any of the dwarf/dwarf+1 castes and I_TARGET:B+I_TARGET:C specify the castes so it would resurrect > upgrade based on castes, it won't apply the B/C effects for some reason.

Meh, probably just can't use that sort of logic and I'll need to use two interactions to do it.
If I declare a BODY_APPEARANCE_MODIFIER token at the creature level, and then after add the same BODY_APPEARANCE_MODIFIER but with different numbers to a caste, will the effects add, or will the second simply replace the first? I assume it will replace as most things do, but the BODY tokens add so I wasn't sure.
I don't think I've ever done an appearance modifier at the creature and then caste level, largely because I usually do the "declare castes first > select/isolate accordingly" method when I'm not trying to cram stuff into a creature variation these days.
Logged

Hiul

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.43.x QUESTIONS THREAD
« Reply #1641 on: March 16, 2017, 11:43:54 pm »

just to be clear what i ask is about the USAGE_HINT in the CDI interaction.
the resurrect interaction and syndrome is fine the transformation also work fine. (im not sure is your reply is mean for me, but since so far as i check mine is the one that ask resurrect stuff so at least i assume so)

i ask this because previously, i dont give them USAGE_HINT and this make them resurrect the same creature that join goblin civ which make it a never ending battle because my creature keep reviving the enemy one and vise versa.
Logged

Max™

  • Bay Watcher
  • [CULL:SQUARE]
    • View Profile
Re: [MODDING] 0.43.x QUESTIONS THREAD
« Reply #1642 on: March 17, 2017, 02:26:48 am »

Nah, I was trying to figure out my own thing, I'm not sure if there is any way to make a unit not resurrect a creature based on civ.
Logged

UnicodingUnicorn

  • Bay Watcher
  • Competent at Incompetency.
    • View Profile
Re: [MODDING] 0.43.x QUESTIONS THREAD
« Reply #1643 on: March 17, 2017, 02:54:38 am »

I was playing around with a controlled modded flyer in Arena mode, and noticed the only mode ever listed in the 'S' menu was "Fly", despite it being on the ground and having the appropriate gaits. Is this a known thing?
Logged
I do stuff, I guess

Hiul

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.43.x QUESTIONS THREAD
« Reply #1644 on: March 17, 2017, 04:38:33 am »

ah...sorry then
btw im not sure what your problem but maybe my code can help since mine manage to separately turn the creature male and female transformation. i also remember testing it to turn to opposite sex but thats from older version though.
Code: [Select]
             [INTERACTION:DRAGON_SALIVA]
                [I_SOURCE:CREATURE_ACTION]
                [I_TARGET:A:CORPSE]
                        [IT_LOCATION:CONTEXT_ITEM]
                        [IT_FORBIDDEN:NOT_LIVING]
                        [IT_AFFECTED_CREATURE:DRAGON:MALE]
                        [IT_AFFECTED_CREATURE:DRAGON:FEMALE]
                        [IT_REQUIRES:FIT_FOR_RESURRECTION]
                        [IT_MANUAL_INPUT:corpses]
                [I_EFFECT:RESURRECT]
                        [IE_TARGET:A]
                        [IE_IMMEDIATE]
                        [SYNDROME]
                                 [SYN_NAME:male Dragon Resurrection]
                                 [SYN_CLASS:MALE]
                                 [SYN_NO_HOSPITAL]
                                 [SYN_AFFECTED_CREATURE:DRAGON:MALE]
                                 [SYN_CONTACT]
                                 [CE_BODY_TRANSFORMATION:START:0:END:1]
                                 [CE:CREATURE:CELESTIAL_DRAGON:MALE]
                        [SYNDROME]
                                [SYN_NAME:female Dragon Resurrection]
                                [SYN_CLASS:FEMALE]
                                [SYN_NO_HOSPITAL]
                                [SYN_AFFECTED_CREATURE:DRAGON:FEMALE]
                                [SYN_CONTACT]
                                [CE_BODY_TRANSFORMATION:START:0:END:1]
                                [CE:CREATURE:CELESTIAL_DRAGON:FEMALE]

 i guess i just deal with it until someone can give me solution.
« Last Edit: March 17, 2017, 04:50:09 am by Hiul »
Logged

Max™

  • Bay Watcher
  • [CULL:SQUARE]
    • View Profile
Re: [MODDING] 0.43.x QUESTIONS THREAD
« Reply #1645 on: March 17, 2017, 01:41:10 pm »

FUCK, I forgot about the syndrome selection effects themselves, thanks, and I've never messed with egg layers unless you count systematic mass murder of turkey chicks?
Logged

Hiul

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.43.x QUESTIONS THREAD
« Reply #1646 on: March 17, 2017, 07:57:23 pm »

well so far in discussion most people that want to play egg laying civ being suggest with this syndrome to make them stay in nest.
but they never show some example code of it thats why im not sure is mine will work or not.

also i get new problem after testing my resurrection, after i have remove the USAGE_HINT my creature wont automatically use the interaction like before i change it. im pretty sure i dont change anything except adding USAGE_HINT and only add SYN_NO_HOSPITAL but even after removing that,it still dont change back. i wait three hour and they dont do anything, they only triggered if enemy nearby or i manually control  them to use the interaction.
Logged

Jerry The Hellbound

  • Bay Watcher
  • Professional "Knife-ear" torturer 1-800-elfgod
    • View Profile
    • This is also for my Custom Race: Solari!
Re: [MODDING] 0.43.x QUESTIONS THREAD
« Reply #1647 on: March 22, 2017, 05:21:52 pm »

Is there anyway to get a stone slab with the secrets of life and death without getting it at the tower? I've wanted to find one but I never get one in my world, this time i tried a longer history of 550 years, but alas, nothing. The only site thats remotely close to this kind of thing is a tomb, but its not even inhabited by ghosts or spirits, its just filled with skeletons and traps with a few pieces of useless equipment.

Also, I killed a spirit (of a deity i would assume) along with its minions in a vault, but isn't a vault supposed to be filled with angels? Because it was just simply chock full of minions (that i could eat, meat for days) and weaponmasters (that i harvested skulls from) To the point that i killed the main spirit, along with this i got a bunch of pale metal and whisp clothing, with the reactions I play with i could convert all the heavy stuff to light stuff for easy carrying.
TL:DR Supposed to find a bunch of angels, didnt find a single one. How come?

Oh, I'm also tired of dropping every. single. thing, does this always have to happen?

Spoiler (click to show/hide)
« Last Edit: March 22, 2017, 05:30:05 pm by Jerry The Hellbound »
Logged
Jerry.
This is also for my Custom Race: Solari! (Currently outdated)
http://www.bay12forums.com/smf/index.php?topic=155455.0
Also made that awesome avatar. took me hours with Gimp: (also the two light & dark sprites are from Stardew Valley)
http://i.imgur.com/8x7aX7T.png

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.43.x QUESTIONS THREAD
« Reply #1648 on: March 22, 2017, 06:19:37 pm »

1. if one is lost in a site, yes, otherwise no
2. spirits, minions and weaponmasters are all variations on angels
3. when you transform? yes

what's all this to do with modding

Jerry The Hellbound

  • Bay Watcher
  • Professional "Knife-ear" torturer 1-800-elfgod
    • View Profile
    • This is also for my Custom Race: Solari!
Re: [MODDING] 0.43.x QUESTIONS THREAD
« Reply #1649 on: March 22, 2017, 06:30:14 pm »

I was trying to see if there was some raws around that i could find so i could see if how could i make my own variation of it, along with learning a bit more on these secret raws.
Apologies if it came off without modding intensions.
« Last Edit: March 22, 2017, 06:32:04 pm by Jerry The Hellbound »
Logged
Jerry.
This is also for my Custom Race: Solari! (Currently outdated)
http://www.bay12forums.com/smf/index.php?topic=155455.0
Also made that awesome avatar. took me hours with Gimp: (also the two light & dark sprites are from Stardew Valley)
http://i.imgur.com/8x7aX7T.png
Pages: 1 ... 108 109 [110] 111 112 ... 137