Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 59 60 [61] 62 63 ... 247

Author Topic: [MODDING] 0.40.x QUESTIONS THREAD  (Read 335803 times)

BlackFlyme

  • Bay Watcher
  • BlackFlyme cancels Work: Interrupted by bird.
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #900 on: August 23, 2014, 10:16:09 pm »

Oh cool! Executioner will be whichever monarch/leader is around, they'll use swords to execute, and they'll also lead a squad. No work exemption. How could I change the swordsman thing to anything I wanted? Like how the dwarves have sworddwarf?

The creature tag [PROFESSION_NAME:profession token:name singular:name plural]
Logged

StagnantSoul

  • Bay Watcher
  • "Player has withdrawn from society!"
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #901 on: August 23, 2014, 10:17:56 pm »

Thanks! I think that'll be my last question for a while. I just have to put everything together, make a change or two here and there, and then I'll have everything ready to release my first mod.
Logged
Quote from: Cptn Kaladin Anrizlokum
I threw night creature blood into a night creature's heart and she pulled it out and bled to death.
Quote from: Eric Blank
Places to jibber madly at each other, got it
Quote from: NJW2000
If any of them are made of fire, throw stuff, run, and think non-flammable thoughts.

WordsandChaos

  • Bay Watcher
    • View Profile
    • Words and Chaos blog
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #902 on: August 24, 2014, 11:22:19 am »

You can mine ice. Conceivably, could you store the ice blocks in a barrel, let them melt, and have a barrel full of water to drink?

pastafriend

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #903 on: August 24, 2014, 12:04:45 pm »

I've been trying to create an exploding arrow, using a material giving off a syndrome, but I can't get it to work.

Code: [Select]
[INORGANIC:BOOM]
   [USE_MATERIAL_TEMPLATE:METAL_TEMPLATE]
   [STATE_NAME_ADJ:ALL_SOLID:exploding]
   [STATE_NAME_ADJ:LIQUID:oil]
   [STATE_NAME_ADJ:GAS:explosion]
   [DISPLAY_COLOR:0:7:1]
   [BUILD_COLOR:0:7:1]
   [MATERIAL_VALUE:10]
   [SPEC_HEAT:450]
 
   [BOILING_POINT:10067]
[ITEMS_AMMO]
   [ITEMS_HARD]
   [ITEMS_METAL]
   [ITEMS_BARRED]
   [ITEMS_SCALED]
   [SOLID_DENSITY:7850]
   [LIQUID_DENSITY:8880]
   [MOLAR_MASS:55845]
   [IMPACT_YIELD:0] Was 1080000, but just using 3.5x tensile multiples for everything until better numbers are available, which might not be likely
   [IMPACT_FRACTURE:1085000]
   [IMPACT_STRAIN_AT_YIELD:3100009]
   [COMPRESSIVE_YIELD:0]
   [COMPRESSIVE_FRACTURE:5770]
   [COMPRESSIVE_STRAIN_AT_YIELD:31900000] bulk modulus 170 GPa
   [TENSILE_YIELD:0]
   [TENSILE_FRACTURE:310000]
   [TENSILE_STRAIN_AT_YIELD:700003] young's modulus 211 GPa
   [TORSION_YIELD:0]
   [TORSION_FRACTURE:310000]
   [TORSION_STRAIN_AT_YIELD:1800009]
   [SHEAR_YIELD:0]
   [SHEAR_FRACTURE:310000]
   [SHEAR_STRAIN_AT_YIELD:1000089] shear modulus 82 GPa
   [BENDING_YIELD:0]
   [BENDING_FRACTURE:310000]
   [BENDING_STRAIN_AT_YIELD:700003]
   [MAX_EDGE:10000]
   [STATE_COLOR:ALL_SOLID:GRAY]

   [SYNDROME]
      [SYN_NAME:explosion]
      [SYN_AFFECTED_CREATURE:GENERAL_POISON]
      [SYN_CONTACT]
      [CE_CAN_DO_INTERACTION:PROB:100:START:0]
         [CDI:INTERACTION:EXPLODE]
         [CDI:ADV_NAME:explode]

         [CDI:BP_REQUIRED:BY_CATEGORY:MOUTH]
         [CDI:MATERIAL:INORGANIC:MICROCLINE:UNDIRECTED_DUST]
         [CDI:TARGET:C:SELF_ONLY]
         [CDI:TARGET_RANGE:C:15]
         [CDI:MAX_TARGET_NUMBER:C:1]
         [CDI:WAIT_PERIOD:1]

Any ideas?
« Last Edit: August 24, 2014, 12:12:39 pm by pastafriend »
Logged

StagnantSoul

  • Bay Watcher
  • "Player has withdrawn from society!"
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #904 on: August 24, 2014, 02:56:37 pm »

Could I add a sword blade to a shield? A spike to a hammer?
Last night I thought of my next civilization: they'd be famed as even better smiths and crafters than the dwarves, but physically weaker. I thought, if they were master smiths, couldn't they have their own, better weapons? I'm thinking I could try to make some weapons more dangerous, like take a hammer and give it a pointy spike, or put a large dagger blade for stabbing on a new shield. Can I do this? Or would it not work out the way I'm thinking?
Logged
Quote from: Cptn Kaladin Anrizlokum
I threw night creature blood into a night creature's heart and she pulled it out and bled to death.
Quote from: Eric Blank
Places to jibber madly at each other, got it
Quote from: NJW2000
If any of them are made of fire, throw stuff, run, and think non-flammable thoughts.

BlackFlyme

  • Bay Watcher
  • BlackFlyme cancels Work: Interrupted by bird.
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #905 on: August 24, 2014, 03:08:16 pm »

Could I add a sword blade to a shield? A spike to a hammer?
Last night I thought of my next civilization: they'd be famed as even better smiths and crafters than the dwarves, but physically weaker. I thought, if they were master smiths, couldn't they have their own, better weapons? I'm thinking I could try to make some weapons more dangerous, like take a hammer and give it a pointy spike, or put a large dagger blade for stabbing on a new shield. Can I do this? Or would it not work out the way I'm thinking?

Shields cannot be made to attack.

Weapons can be whatever you want them to be, for the most part. You can make a hammer with a spike attack, but be aware that edged attacks are much more likely to be used than blunt attacks when the AI uses a weapon.

Though if you are talking about actually altering a hammer to have a new attack with a reaction, then the answer is no. You would need to make a new weapon to simulate a hammer with a spike.
Logged

StagnantSoul

  • Bay Watcher
  • "Player has withdrawn from society!"
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #906 on: August 24, 2014, 03:46:14 pm »

Yeah, I was thinking of making them, just using the hammer as the main form. Also, does the AI not like pierce attacks? I've never seen my soldiers use the stab attacks, not even with spears.
Logged
Quote from: Cptn Kaladin Anrizlokum
I threw night creature blood into a night creature's heart and she pulled it out and bled to death.
Quote from: Eric Blank
Places to jibber madly at each other, got it
Quote from: NJW2000
If any of them are made of fire, throw stuff, run, and think non-flammable thoughts.

BlackFlyme

  • Bay Watcher
  • BlackFlyme cancels Work: Interrupted by bird.
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #907 on: August 24, 2014, 03:50:21 pm »

Attacks only come in edged and blunt forms. Piercing attacks are just edged attacks with a low contact area.

It should be weighted so that edged attacks are 100x more likely to occur than blunt attacks, according to the wiki.

Did you change any of the weapons in any way?
Logged

StagnantSoul

  • Bay Watcher
  • "Player has withdrawn from society!"
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #908 on: August 24, 2014, 03:52:13 pm »

Not yet. I haven't even looked in that text file yet. But when I run arena mode, making goblins fight each other with spears, with combat set to lethal, they just whack each other to death with the shaft. Same thing happens in fortress mode.
Logged
Quote from: Cptn Kaladin Anrizlokum
I threw night creature blood into a night creature's heart and she pulled it out and bled to death.
Quote from: Eric Blank
Places to jibber madly at each other, got it
Quote from: NJW2000
If any of them are made of fire, throw stuff, run, and think non-flammable thoughts.

BlackFlyme

  • Bay Watcher
  • BlackFlyme cancels Work: Interrupted by bird.
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #909 on: August 24, 2014, 03:55:21 pm »

That's strange. Seems fine in the Arena for me.

Which version of the game are you using, by the way?
Logged

StagnantSoul

  • Bay Watcher
  • "Player has withdrawn from society!"
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #910 on: August 24, 2014, 03:59:14 pm »

0.40.08.
Logged
Quote from: Cptn Kaladin Anrizlokum
I threw night creature blood into a night creature's heart and she pulled it out and bled to death.
Quote from: Eric Blank
Places to jibber madly at each other, got it
Quote from: NJW2000
If any of them are made of fire, throw stuff, run, and think non-flammable thoughts.

scamtank

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #911 on: August 24, 2014, 04:34:36 pm »

I've noticed that sometimes the arena AI gets really excited about a single attack over all others. It'll pass.
Logged

SalmonGod

  • Bay Watcher
  • Nyarrr
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #912 on: August 24, 2014, 04:51:48 pm »

So does anybody understand the breakdown of the number sequence in the [GAIT] token?  It looks like they define things like max speed, turning speed, etc, but I have no idea where those variables are defined in the sequence.
Logged
In the land of twilight, under the moon
We dance for the idiots
As the end will come so soon
In the land of twilight

Maybe people should love for the sake of loving, and not with all of these optimization conditions.

StagnantSoul

  • Bay Watcher
  • "Player has withdrawn from society!"
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #913 on: August 24, 2014, 04:54:53 pm »

When I put [GRASP] in the hydra specific head section of the body file, and gave each head a dagger, they'd use two dagger attacks per turn a few times. I'm assuming it went for square and easy hits. Can anyone else test this out?
Logged
Quote from: Cptn Kaladin Anrizlokum
I threw night creature blood into a night creature's heart and she pulled it out and bled to death.
Quote from: Eric Blank
Places to jibber madly at each other, got it
Quote from: NJW2000
If any of them are made of fire, throw stuff, run, and think non-flammable thoughts.

ArKFallen

  • Bay Watcher
  • Bohandean Desserter
    • View Profile
Re: [MODDING] 0.40.x QUESTIONS THREAD
« Reply #914 on: August 24, 2014, 07:49:13 pm »

So does anybody understand the breakdown of the number sequence in the [GAIT] token?  It looks like they define things like max speed, turning speed, etc, but I have no idea where those variables are defined in the sequence.
There are notes in c_variation_default that explain gait tokens. The numbers are ARGs (variables) that are defined/sequenced in said file. If you can understand how [BODY_DETAIL_PLAN:VERTEBRATE_TISSUE_LAYERS:SKIN:FAT:MUSCLE:BONE:CARTILAGE] works in the underlined bit you understand how to use ARGs.

Today has also given this beautiful source in the RAW notes folder
Code: [Select]
This chart stops progressing once it hits 87+, and the numbers are probably a little slow compared to a reasonable tile size,
but there had to be some give in both directions until we handle creatures that can move more than one tile per click.
Listed speed is the approximate top speed without att/size boosts (from wherever it was located on the internet etc.).

9000:8900:8825:8775:9500:9900] 1 kph
8390:8204:8040:4388:8989:9567] 2 kph
7780:7508:7254:2925:8478:9233] 3 kph
7171:6811:6469:2193:7967:8900] 4 kph
6561:6115:5683:1755:7456:8567] 5 kph
5951:5419:4898:1463:6944:8233] 6 kph
5341:4723:4112:1254:6433:7900] 7 kph
4732:4026:3327:1097:5922:7567] 8 kph
4122:3330:2541:975:5411:7233] 9 kph
3512:2634:1756:878:4900:6900] 10 kph
3251:2446:1640:798:4600:6500] 11 kph
2990:2257:1525:731:4300:6100] 12 kph
2728:2069:1409:675:4000:5700] 13 kph
2467:1880:1294:627:3700:5300] 14 kph
2206:1692:1178:585:3400:4900] 15 kph
1945:1504:1062:548:3100:4500] 16 kph
1683:1315:947:516:2800:4100] 17 kph
1422:1127:831:488:2500:3700] 18 kph
1161:938:716:462:2200:3300] 19 kph
900:750:600:439:1900:2900] 20 kph
900:746:592:418:1900:2900] 21 kph
900:742:584:399:1900:2900] 22 kph
900:738:576:382:1900:2900] 23 kph
900:734:568:366:1900:2900] 24 kph
900:730:561:351:1900:2900] 25 kph
900:726:553:338:1900:2900] 26 kph
900:722:545:325:1900:2900] 27 kph
900:718:537:313:1900:2900] 28 kph
900:714:529:303:1900:2900] 29 kph
900:711:521:293:1900:2900] 30 kph
900:707:513:283:1900:2900] 31 kph
900:703:505:274:1900:2900] 32 kph
900:699:497:266:1900:2900] 33 kph
900:695:489:258:1900:2900] 34 kph
900:691:482:251:1900:2900] 35 kph
900:687:474:244:1900:2900] 36 kph
900:683:468:237:1900:2900] 37 kph
900:679:458:231:1900:2900] 38 kph
900:675:450:225:1900:2900] 39 kph
900:657:438:219:1900:2900] 40 kph
900:642:428:214:1900:2900] 41 kph
900:627:418:209:1900:2900] 42 kph
900:612:408:204:1900:2900] 43 kph
900:597:398:199:1900:2900] 44 kph
900:585:390:195:1900:2900] 45 kph
900:573:382:191:1900:2900] 46 kph
900:561:374:187:1900:2900] 47 kph
900:549:366:183:1900:2900] 48 kph
900:537:358:179:1900:2900] 49 kph
900:528:352:176:1900:2900] 50 kph
900:519:346:173:1900:2900] 51 kph
900:507:338:169:1900:2900] 52 kph
900:498:332:166:1900:2900] 53 kph
900:489:326:163:1900:2900] 54 kph
900:480:320:160:1900:2900] 55 kph
900:471:314:157:1900:2900] 56 kph
900:462:308:154:1900:2900] 57 kph
900:453:302:151:1900:2900] 58 kph
900:447:298:149:1900:2900] 59 kph
900:438:292:146:1900:2900] 60 kph
900:432:288:144:1900:2900] 61 kph
900:426:284:142:1900:2900] 62 kph
900:417:278:139:1900:2900] 63 kph
900:411:274:137:1900:2900] 64 kph
900:405:270:135:1900:2900] 65 kph
900:399:266:133:1900:2900] 66 kph
900:393:262:131:1900:2900] 67 kph
900:387:258:129:1900:2900] 68 kph
900:381:254:127:1900:2900] 69 kph
900:375:250:125:1900:2900] 70 kph
900:372:248:124:1900:2900] 71 kph
900:366:244:122:1900:2900] 72 kph
900:360:240:120:1900:2900] 73 kph
900:357:238:119:1900:2900] 74 kph
900:351:234:117:1900:2900] 75 kph
900:345:230:115:1900:2900] 76 kph
900:342:228:114:1900:2900] 77 kph
900:336:224:112:1900:2900] 78 kph
900:333:222:111:1900:2900] 79 kph
900:327:218:109:1900:2900] 80 kph
900:324:216:108:1900:2900] 81 kph
900:321:214:107:1900:2900] 82 kph
900:315:210:105:1900:2900] 83 kph
900:312:208:104:1900:2900] 84 kph
900:309:206:103:1900:2900] 85 kph
900:306:204:102:1900:2900] 86 kph
900:300:200:100:1900:2900] 87+ kph
Logged
Hm, have you considered murder?  It's either that or letting it go.
SigText
I logged back on ;_;
Pages: 1 ... 59 60 [61] 62 63 ... 247