Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 [2] 3 4

Author Topic: Bots mod 1.1 We now promise to crush you beneath lore!  (Read 10539 times)

3

  • Bay Watcher
    • View Profile
Re: Robot modding not working properly. (New title, old thread.)
« Reply #15 on: December 31, 2009, 05:15:10 am »

The image is (or should be) 48x48px. You're using 16px tiles. 48/16=3. Likewise, the image is three tiles high and three tiles wide.

Four tiles by three would be 4:3; four by four 4:4, etc.
Logged

Jack_Bread

  • Bay Watcher
  • 100% FRESH ♥HIPPO♥
    • View Profile
Re: Robot modding not working properly. (New title, old thread.)
« Reply #16 on: December 31, 2009, 05:16:10 am »

Because PAGE_DIM is the number of blocks that make up the image.
TILE_DIM is how large the blocks are. ;)

Yeah, you will. :\

Wiseacre

  • Bay Watcher
  • Licker of rogues
    • View Profile
Re: Robot modding not working properly. (New title, old thread.)
« Reply #17 on: December 31, 2009, 06:45:32 am »

Because PAGE_DIM is the number of blocks that make up the image.
TILE_DIM is how large the blocks are. ;)

Yeah, you will. :\

Ahh. I understand a little more. Blocks mean pixels, right? Err..

The image is (or should be) 48x48px. You're using 16px tiles. 48/16=3. Likewise, the image is three tiles high and three tiles wide.

Four tiles by three would be 4:3; four by four 4:4, etc.

So I accidentally made mini robots? (Or, Deon did, and I accidentally made them too small.) I would say that they are all the better for sending down Kobold holes, but instead I'll try to increase the size of the graphics. Will I have to change the title, or page_dim? or can I just use the paint programs size adjuster? Scratch that. It makes them look like garbage. Anyone have a better program that could make them the proper size?

 I could work off of the proper sized graphic for the rest of the professions.
« Last Edit: December 31, 2009, 06:50:13 am by Wiseacre »
Logged
Doing youtube stuff now, check me out!
https://www.youtube.com/channel/UC0H15QEUIeG-GyFQY1Mu72Q

3

  • Bay Watcher
    • View Profile
Re: Robot modding not working properly. (New title, old thread.)
« Reply #18 on: December 31, 2009, 07:36:30 am »

There's no such thing as "the proper size". What I was trying to say was that your PAGE_DIM is effectively equal to the number of tiles you have in the graphics file.
Logged

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: Robot modding not working properly. (New title, old thread.)
« Reply #19 on: December 31, 2009, 08:01:47 am »

Yeah PAGE_DIM:3:3 is the issue, it should work.
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: Robot modding not working properly. (New title, old thread.)
« Reply #20 on: December 31, 2009, 08:21:12 am »

Here's a variant of "less tough" robots:

Code: [Select]
[BODY:HUMANOID:2ROBOEYES:2ANTENNAE:5FINGERS:5FOOTCHASSIS:HEAD_COMPUTER:ROBOT_JOINTS:CENTRAL_CABLE:FUEL_PUMP:MOUTH:DIGESTIVE_TUBES]

Code: [Select]
[BODY:2ROBOEYES]
[BP:RREYE:right sensor][CONTYPE:HEAD][SIGHT][EMBEDDED][SMALL][RIGHT]
[BP:LREYE:left sensor][CONTYPE:HEAD][SIGHT][EMBEDDED][SMALL][LEFT]
[BP:RLENS:right lens][CON:RREYE]
[BP:LLENS:left lens][CON:LEYE]

[BODY:2ANTENNAE]
[BP:R_TRANS:right reciever][CONTYPE:HEAD][SMALL][RIGHT]
[BP:L_TRANS:left reciever][CONTYPE:HEAD][SMALL][LEFT]
[BP:R_ANT:right antenna][CON:R_TRANS][HEAR][SMALL]
[BP:L_ANT:left antenna][CON:L_TRANS][HEAR][SMALL]

[BODY:5FOOTCHASSIS]
[BP:RTOE1:first right trundle][CONTYPE:STANCE][DIGIT][SMALL][RIGHT]
[BP:RTOE2:second right trundle][CONTYPE:STANCE][DIGIT][SMALL][RIGHT]
[BP:RTOE3:third right trundle][CONTYPE:STANCE][DIGIT][SMALL][RIGHT]
[BP:RTOE4:fourth right trundle][CONTYPE:STANCE][DIGIT][SMALL][RIGHT]
[BP:RTOE5:fifth right trundle][CONTYPE:STANCE][DIGIT][SMALL][RIGHT]
[BP:LTOE1:first left trundle][CONTYPE:STANCE][DIGIT][SMALL][RIGHT]
[BP:LTOE2:second left trundle][CONTYPE:STANCE][DIGIT][SMALL][RIGHT]
[BP:LTOE3:third left trundle][CONTYPE:STANCE][DIGIT][SMALL][RIGHT]
[BP:LTOE4:fourth left trundle][CONTYPE:STANCE][DIGIT][SMALL][RIGHT]
[BP:LTOE5:fifth left trundle][CONTYPE:STANCE][DIGIT][SMALL][RIGHT]

[BODY:HEAD_COMPUTER]
[BP:CPU:central processing unit][CONTYPE:HEAD][THOUGHT][INTERNAL][SMALL]
[BP:CDB:central data bus][CONTYPE:HEAD][NERVOUS][INTERNAL][SMALL]

[BODY:CENTRAL_CABLE]
[BP:UCC:upper central cable][CONTYPE:UPPERBODY][NERVOUS][INTERNAL][SMALL][SKELETON]
[BP:LCC:lower central cable][CONTYPE:LOWERBODY][NERVOUS][INTERNAL][SMALL][SKELETON]

[BODY:FUEL_PUMP]
[BP:CFP:central fuel pump][CONTYPE:UPPERBODY][CIRCULATION][INTERNAL][SMALL]

[BODY:DIGESTIVE_TUBES]
[BP:DTS:digestive tubes][CONTYPE:LOWERBODY][GUTS][INTERNAL][SMALL]

[BODY:ROBOT_JOINTS]
[BP:RUA_J:right shoulder joint][CON:RUA][JOINT][SMALL][INTERNAL][RIGHT]
[BP:LUA_J:left shoulder joint][CON:LUA][JOINT][SMALL][INTERNAL][LEFT]
[BP:RLA_J:right elbow joint][CON:RLA][JOINT][SMALL][INTERNAL][RIGHT]
[BP:LLA_J:left elbow joint][CON:LLA][JOINT][SMALL][INTERNAL][LEFT]
[BP:RH_J:right wrist joint][CON:RH][JOINT][SMALL][INTERNAL][RIGHT]
[BP:LH_J:left wrist joint][CON:LH][JOINT][SMALL][INTERNAL][LEFT]
[BP:RUL_J:right hip joint][CON:RUL][JOINT][SMALL][INTERNAL][RIGHT]
[BP:LUL_J:left hip joint][CON:LUL][JOINT][SMALL][INTERNAL][LEFT]
[BP:RLL_J:right knee joint][CON:RLL][JOINT][SMALL][INTERNAL][RIGHT]
[BP:LLL_J:left knee joint][CON:LLL][JOINT][SMALL][INTERNAL][LEFT]
[BP:RF_J:right ankle joint][CON:RF][JOINT][SMALL][INTERNAL][RIGHT]
[BP:LF_J:left ankle joint][CON:LF][JOINT][SMALL][INTERNAL][LEFT]

P.S. [MAGICAL] - remove it. It causes lots of weird things, and even more weird stuff.
« Last Edit: December 31, 2009, 08:38:57 am by Deon »
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

Wiseacre

  • Bay Watcher
  • Licker of rogues
    • View Profile
Re: Robot modding not working properly. (New title, old thread.)
« Reply #21 on: December 31, 2009, 06:17:07 pm »

Here's a variant of "less tough" robots:

Code: [Select]
[BODY:HUMANOID:2ROBOEYES:2ANTENNAE:5FINGERS:5FOOTCHASSIS:HEAD_COMPUTER:ROBOT_JOINTS:CENTRAL_CABLE:FUEL_PUMP:MOUTH:DIGESTIVE_TUBES]

Code: [Select]
[BODY:2ROBOEYES]
[BP:RREYE:right sensor][CONTYPE:HEAD][SIGHT][EMBEDDED][SMALL][RIGHT]
[BP:LREYE:left sensor][CONTYPE:HEAD][SIGHT][EMBEDDED][SMALL][LEFT]
[BP:RLENS:right lens][CON:RREYE]
[BP:LLENS:left lens][CON:LEYE]

[BODY:2ANTENNAE]
[BP:R_TRANS:right reciever][CONTYPE:HEAD][SMALL][RIGHT]
[BP:L_TRANS:left reciever][CONTYPE:HEAD][SMALL][LEFT]
[BP:R_ANT:right antenna][CON:R_TRANS][HEAR][SMALL]
[BP:L_ANT:left antenna][CON:L_TRANS][HEAR][SMALL]

[BODY:5FOOTCHASSIS]
[BP:RTOE1:first right trundle][CONTYPE:STANCE][DIGIT][SMALL][RIGHT]
[BP:RTOE2:second right trundle][CONTYPE:STANCE][DIGIT][SMALL][RIGHT]
[BP:RTOE3:third right trundle][CONTYPE:STANCE][DIGIT][SMALL][RIGHT]
[BP:RTOE4:fourth right trundle][CONTYPE:STANCE][DIGIT][SMALL][RIGHT]
[BP:RTOE5:fifth right trundle][CONTYPE:STANCE][DIGIT][SMALL][RIGHT]
[BP:LTOE1:first left trundle][CONTYPE:STANCE][DIGIT][SMALL][RIGHT]
[BP:LTOE2:second left trundle][CONTYPE:STANCE][DIGIT][SMALL][RIGHT]
[BP:LTOE3:third left trundle][CONTYPE:STANCE][DIGIT][SMALL][RIGHT]
[BP:LTOE4:fourth left trundle][CONTYPE:STANCE][DIGIT][SMALL][RIGHT]
[BP:LTOE5:fifth left trundle][CONTYPE:STANCE][DIGIT][SMALL][RIGHT]

[BODY:HEAD_COMPUTER]
[BP:CPU:central processing unit][CONTYPE:HEAD][THOUGHT][INTERNAL][SMALL]
[BP:CDB:central data bus][CONTYPE:HEAD][NERVOUS][INTERNAL][SMALL]

[BODY:CENTRAL_CABLE]
[BP:UCC:upper central cable][CONTYPE:UPPERBODY][NERVOUS][INTERNAL][SMALL][SKELETON]
[BP:LCC:lower central cable][CONTYPE:LOWERBODY][NERVOUS][INTERNAL][SMALL][SKELETON]

[BODY:FUEL_PUMP]
[BP:CFP:central fuel pump][CONTYPE:UPPERBODY][CIRCULATION][INTERNAL][SMALL]

[BODY:DIGESTIVE_TUBES]
[BP:DTS:digestive tubes][CONTYPE:LOWERBODY][GUTS][INTERNAL][SMALL]

[BODY:ROBOT_JOINTS]
[BP:RUA_J:right shoulder joint][CON:RUA][JOINT][SMALL][INTERNAL][RIGHT]
[BP:LUA_J:left shoulder joint][CON:LUA][JOINT][SMALL][INTERNAL][LEFT]
[BP:RLA_J:right elbow joint][CON:RLA][JOINT][SMALL][INTERNAL][RIGHT]
[BP:LLA_J:left elbow joint][CON:LLA][JOINT][SMALL][INTERNAL][LEFT]
[BP:RH_J:right wrist joint][CON:RH][JOINT][SMALL][INTERNAL][RIGHT]
[BP:LH_J:left wrist joint][CON:LH][JOINT][SMALL][INTERNAL][LEFT]
[BP:RUL_J:right hip joint][CON:RUL][JOINT][SMALL][INTERNAL][RIGHT]
[BP:LUL_J:left hip joint][CON:LUL][JOINT][SMALL][INTERNAL][LEFT]
[BP:RLL_J:right knee joint][CON:RLL][JOINT][SMALL][INTERNAL][RIGHT]
[BP:LLL_J:left knee joint][CON:LLL][JOINT][SMALL][INTERNAL][LEFT]
[BP:RF_J:right ankle joint][CON:RF][JOINT][SMALL][INTERNAL][RIGHT]
[BP:LF_J:left ankle joint][CON:LF][JOINT][SMALL][INTERNAL][LEFT]

P.S. [MAGICAL] - remove it. It causes lots of weird things, and even more weird stuff.

Thanks for the ideas, Deon, I used some of them. (Updated the Creature-Bot on the first page.)

My current problem? I tried to add an Axebot graphic, and it won't show up. Still puzzling over that fun. Also the Recruits don't show with the red coloration. The babies, miners, woodcutters and peasants work though.



graphics_bots

[OBJECT:GRAPHICS]

Code: [Select]
[TILE_PAGE:BOTS]
[FILE:bots/bots.BMP]
[TILE_DIM:48:48]
[PAGE_DIM:3:3]

[CREATURE_GRAPHICS:BOT]

[STANDARD:BOTS:0:0:AS_IS:DEFAULT]
[CHILD:BOTS:1:0:AS_IS:DEFAULT]
[AXEBOT:BOTS:2:0:AS_IS:DEFAULT]
[CLERK:BOTS:0:1:AS_IS:DEFAULT]
[RECRUIT:BOTS:1:1:AS_IS:ADD_COLOR]
[WOODCUTTER:BOTS:2:1:AS_IS:DEFAULT]
[DEFAULT:BOTS:0:2:DEFAULT]
[FISHERMAN:BOTS:1:2:AS_IS:DEFAULT]
[MINER:BOTS:2:2:AS_IS:DEFAULT]
   
Oh, and I have the Bots a third limb for a claw attack. I'm gonna say it was used as a soldering tool before they escaped from the dwarves. (I intend to make our stout chums an opposed CIV when I get through all this trouble.) As a bit of relief on my pretty weak artistic ability, the third arm is stationed on their backs, and loops over a shoulder for use. I'll probably allow it in the picture sometimes. Like on Wrestlers.
   
Logged
Doing youtube stuff now, check me out!
https://www.youtube.com/channel/UC0H15QEUIeG-GyFQY1Mu72Q

Jack_Bread

  • Bay Watcher
  • 100% FRESH ♥HIPPO♥
    • View Profile
Re: Robot modding not working properly. (New title, old thread.)
« Reply #22 on: December 31, 2009, 06:23:02 pm »

Errrm...
[TILE_DIM] is the size of an individual tile. As in the amount of pixels a single robot on your sheet takes up.
So it should be [TILE_DIM:16:16]
Otherwise, the rest is alright. :)

Wiseacre

  • Bay Watcher
  • Licker of rogues
    • View Profile
Re: Robot modding not working properly. (New title, old thread.)
« Reply #23 on: December 31, 2009, 07:55:35 pm »

Code: [Select]
[TILE_PAGE:BOTS]
[FILE:bots/bots.BMP]
[TILE_DIM:16:16]
[PAGE_DIM:3:3]

[CREATURE_GRAPHICS:BOT]

[STANDARD:BOTS:0:0:AS_IS:DEFAULT]
[CHILD:BOTS:1:0:AS_IS:DEFAULT]
[AXEMAN:BOTS:2:0:AS_IS:DEFAULT]
[CLERK:BOTS:0:1:AS_IS:DEFAULT]
[RECRUIT:BOTS:1:1:AS_IS:ADD_COLOR]
[WOODCUTTER:BOTS:2:1:AS_IS:DEFAULT]
[DEFAULT:BOTS:0:2:DEFAULT]
[FISHERMAN:BOTS:1:2:AS_IS:DEFAULT]
[MINER:BOTS:2:2:AS_IS:DEFAULT]

Ok, I changed AXEBOT to AXEMAN and now it works. I also switched the 48 back to 16, I misunderstood something earlier, and set it to that.
Logged
Doing youtube stuff now, check me out!
https://www.youtube.com/channel/UC0H15QEUIeG-GyFQY1Mu72Q

Jack_Bread

  • Bay Watcher
  • 100% FRESH ♥HIPPO♥
    • View Profile
Re: Robot modding not working properly. (New title, old thread.)
« Reply #24 on: December 31, 2009, 08:47:08 pm »

Ah. I didn't notice that. :O

Is it working now, though?

Wiseacre

  • Bay Watcher
  • Licker of rogues
    • View Profile
Re: Robot modding not working properly. (New title, old thread.)
« Reply #25 on: January 01, 2010, 03:14:06 am »

Ah. I didn't notice that. :O

Is it working now, though?

Almost. The recruit won't take his color. Any ideas?

(Also holding out hope that someone can tell me why the armor won't forge.)
Logged
Doing youtube stuff now, check me out!
https://www.youtube.com/channel/UC0H15QEUIeG-GyFQY1Mu72Q

Jack_Bread

  • Bay Watcher
  • 100% FRESH ♥HIPPO♥
    • View Profile
Re: Robot modding not working properly. (New title, old thread.)
« Reply #26 on: January 01, 2010, 03:16:56 am »

You have: [RECRUIT:BOTS:1:1:AS_IS:ADD_COLOR]
It should be: [RECRUIT:BOTS:1:1:AS_IS:DEFAULT]

I just noticed that. xP

TerminatorII

  • Bay Watcher
  • [PREFSTRING:Adamantine Skeleton]
    • View Profile
Re: Robot modding not working properly. (New title, old thread.)
« Reply #27 on: January 01, 2010, 03:31:10 am »

I gurantee that the reason you cannot forge the custom armor is in the entity file. Or specifically the entity file is pointing to the items but it's pointng at the wrong .txt file. I had this problem once but I don't remember how I fixed it. ( I was trying to sort all the colothing types out of the standard .txt and into .txt based on types. so all gloves with glves and pants with pants etc. been a while since I messed with that tho.)
Logged
No, I think the cook would be in charge of sugar-coating the cows.

You are a lifesaver! Round and probably in tropical flavors.

Wiseacre

  • Bay Watcher
  • Licker of rogues
    • View Profile
Re: Robot modding not working properly. (New title, old thread.)
« Reply #28 on: January 01, 2010, 04:49:17 am »

I gurantee that the reason you cannot forge the custom armor is in the entity file. Or specifically the entity file is pointing to the items but it's pointng at the wrong .txt file. I had this problem once but I don't remember how I fixed it. ( I was trying to sort all the colothing types out of the standard .txt and into .txt based on types. so all gloves with glves and pants with pants etc. been a while since I messed with that tho.)

You are a lifesaver! Round and probably in tropical flavors. Your suggestion totally worked, and now the platings are in effect. Getting some wonky behavior off of gloves, helms, and other bits that aren't supposed to layer, I guess, but hey! At least some of it works now.

EDIT: Just consolidated helmets and boots.

Gonna tie up some loose ends and update the front page.

EDIT2: After I make some more bot tiles, I'll wrangle with DFFD or whatever it is.
« Last Edit: January 01, 2010, 05:02:32 am by Wiseacre »
Logged
Doing youtube stuff now, check me out!
https://www.youtube.com/channel/UC0H15QEUIeG-GyFQY1Mu72Q

TerminatorII

  • Bay Watcher
  • [PREFSTRING:Adamantine Skeleton]
    • View Profile
Re: Robot modding not working properly. (New title, old thread.)
« Reply #29 on: January 01, 2010, 11:35:06 am »

 ;D


NP M8
Logged
No, I think the cook would be in charge of sugar-coating the cows.

You are a lifesaver! Round and probably in tropical flavors.
Pages: 1 [2] 3 4