Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Modding for new version (help)  (Read 1725 times)

Drago55577

  • Bay Watcher
  • Я красивая девушка
    • View Profile
Modding for new version (help)
« on: February 17, 2012, 11:13:35 pm »

hi, i dont know how to add natural abilities to creatures could someone tell me how please?



thankyou in advance
Logged

Rip goat, more loli
I think I've been sigged more times as a result of my comments in this thread than I have in most of my other activity on these forums. 

Gizogin

  • Bay Watcher
  • [EVIL][RAWMANCER]
    • View Profile
Re: Modding for new version (help)
« Reply #1 on: February 17, 2012, 11:21:01 pm »

What is it you want the creature to be able to do?  If you want it to shoot fireballs (always a good option), here are a couple options you can try:

Code: [Select]
[CAN_DO_INTERACTION:MATERIAL_EMISSION]
[CDI:ADV_NAME:Fireball]
[CDI:USAGE_HINT:ATTACK]
[CDI:BP_REQUIRED:BY_CATEGORY:HAND]
[CDI:FLOW:FIREBALL]
[CDI:TARGET:C:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:C:15]
[CDI:VERB:summon a ball of flames:summons a ball of flames:NA]
[CDI:MAX_TARGET_NUMBER:C:1]
[CDI:WAIT_PERIOD:150]

[CAN_DO_INTERACTION:MATERIAL_EMISSION]
[CDI:ADV_NAME:Fire Barrage]
[CDI:USAGE_HINT:ATTACK]
[CDI:BP_REQUIRED:BY_CATEGORY:HAND]
[CDI:FLOW:FIREBALL]
[CDI:TARGET:C:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:C:15]
[CDI:VERB:summon a ball of flames:summons a ball of flames:NA]
[CDI:MAX_TARGET_NUMBER:C:15]
[CDI:WAIT_PERIOD:300]


Just paste them somewhere near the top of the raw for the creature you want to be able to shoot fireballs.
Logged
Quote from: franti
"Let's expose our military to zombie-dust so they can't feel pain. They don't NEED skin."
Quote from: Ipwnurmom221
One FB post. Many dick jokes. Pokemon. !!VOLCANO!!. Dwarven mood thingee. Derailment itself. Girlinhat's hat. Cuba. Karl Marx. This is why i love Bay12 forums.
The rest of my sig.
Fear the fluffballs

Drago55577

  • Bay Watcher
  • Я красивая девушка
    • View Profile
Re: Modding for new version (help)
« Reply #2 on: February 17, 2012, 11:23:46 pm »

well, shooting frostballs, but i dont know whats possible but what i would really love to do is shoot plasma or crystal shards tipped with something hot (like plasma or magma)


edit* where do i put that anyway?
Logged

Rip goat, more loli
I think I've been sigged more times as a result of my comments in this thread than I have in most of my other activity on these forums. 

Gizogin

  • Bay Watcher
  • [EVIL][RAWMANCER]
    • View Profile
Re: Modding for new version (help)
« Reply #3 on: February 17, 2012, 11:27:22 pm »

Well, to do that, you'd need to define a new material (in this case, I used one called CRYO), then do something like these:

Code: [Select]
[CAN_DO_INTERACTION:MATERIAL_EMISSION]
[CDI:ADV_NAME:Ice Spike]
[CDI:USAGE_HINT:ATTACK]
[CDI:BP_REQUIRED:BY_CATEGORY:HAND]
[CDI:MATERIAL:INORGANIC:CRYO:LIQUID_GLOB]
[CDI:VERB:launch a spear of ice:launches a spear of ice:NA]
[CDI:TARGET:C:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:C:15]
[CDI:MAX_TARGET_NUMBER:C:1]
[CDI:WAIT_PERIOD:30]
[CAN_DO_INTERACTION:MATERIAL_EMISSION]
[CDI:ADV_NAME:Ice Barrage]
[CDI:USAGE_HINT:ATTACK]
[CDI:BP_REQUIRED:BY_CATEGORY:HAND]
[CDI:MATERIAL:INORGANIC:CRYO:LIQUID_GLOB]
[CDI:VERB:launch a spear of ice:launches a spear of ice:NA]
[CDI:TARGET:C:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:C:15]
[CDI:MAX_TARGET_NUMBER:C:15]
[CDI:WAIT_PERIOD:300]

Just change CRYO to the name of your custom material, then mess with the interaction name and verbage as you see fit.  Also, if you're just looking for premade abilities and stuff, there's a "spellbook" thread floating around you can check out.
Logged
Quote from: franti
"Let's expose our military to zombie-dust so they can't feel pain. They don't NEED skin."
Quote from: Ipwnurmom221
One FB post. Many dick jokes. Pokemon. !!VOLCANO!!. Dwarven mood thingee. Derailment itself. Girlinhat's hat. Cuba. Karl Marx. This is why i love Bay12 forums.
The rest of my sig.
Fear the fluffballs

Drago55577

  • Bay Watcher
  • Я красивая девушка
    • View Profile
Re: Modding for new version (help)
« Reply #4 on: February 17, 2012, 11:27:59 pm »

thanks
Logged

Rip goat, more loli
I think I've been sigged more times as a result of my comments in this thread than I have in most of my other activity on these forums. 

BlueAnchorite

  • Bay Watcher
  • Cacame! Cacame! Cacame!
    • View Profile
Re: Modding for new version (help)
« Reply #5 on: February 18, 2012, 02:13:19 am »

In terms of skills, is it possible to make such "magic", reliant on a skill? An example would be, the higher your skill, the less cooldown period there is.
Just wondering if this is possible.
Logged
it's better than the avatar I made for you   
Very true. This one does not make Jesus cry.

Drago55577

  • Bay Watcher
  • Я красивая девушка
    • View Profile
Re: Modding for new version (help)
« Reply #6 on: February 18, 2012, 04:35:23 am »

Just to ask, is it possible to make the spells shoot materials? Or things with temperatures cause I want to make people Explode. (fuelrod spell!)
Logged

Rip goat, more loli
I think I've been sigged more times as a result of my comments in this thread than I have in most of my other activity on these forums. 

Courtesy Arloban

  • Bay Watcher
  • This isn't a fortress... ...It's also not a map.
    • View Profile
Re: Modding for new version (help)
« Reply #7 on: February 18, 2012, 05:12:03 am »

In terms of skills, is it possible to make such "magic", reliant on a skill? An example would be, the higher your skill, the less cooldown period there is.
Just wondering if this is possible.
You can make an attack use the skill and make it use the interaction too like
(SPECIALATTACK_INTERACTION:WEREBEAST_BITE) will use the bite skill if used in a bite attack, but you can also have a firebending, airbending, bloodbending... etc. martial arts attacks.  (Currently trying to select <a living creatures> blood in an interaction to animate it)
Logged
Maybe that the dwarves never died and everyone is just shunning them.
"Wait, what are you doing?  I don't want to go in there!  No, I'm still alive, you can't do this to me!  Is Anybody listening?  Hello... Can someone let me out?  Help me!  Is anyone there?  I'm running out of air!"

smokebubble

  • Bay Watcher
    • View Profile
Re: Modding for new version (help)
« Reply #8 on: February 18, 2012, 05:31:04 am »

but you can also have a firebending, airbending, bloodbending... etc. martial arts attacks.  (Currently trying to select <a living creatures> blood in an interaction to animate it)

Armok: The Last Bloodbender.
Logged

Drago55577

  • Bay Watcher
  • Я красивая девушка
    • View Profile
Re: Modding for new version (help)
« Reply #9 on: February 18, 2012, 05:40:58 am »

No!
Logged

Rip goat, more loli
I think I've been sigged more times as a result of my comments in this thread than I have in most of my other activity on these forums. 

BlueAnchorite

  • Bay Watcher
  • Cacame! Cacame! Cacame!
    • View Profile
Re: Modding for new version (help)
« Reply #10 on: February 18, 2012, 07:05:22 am »

If thats a public mod your working on, would be interesting to see what you could do in terms of bending in DF...
I think freezing the blood in their bodies would be pretty fun :P
So, what about custom skills? Would that be possible, as after reading a community game on powers ( Ill have to find the link to show what I'm trying to do, its a pretty good read as well) I have been thinking of how to do it, but being new to DF modding... don't know where to start :S
Logged
it's better than the avatar I made for you   
Very true. This one does not make Jesus cry.

miauw62

  • Bay Watcher
  • Every time you get ahead / it's just another hit
    • View Profile
Re: Modding for new version (help)
« Reply #11 on: February 18, 2012, 09:18:37 am »

You could have the material for ice spears have a melting point somewhere at room temperature, so they could melt once they hit their victims (i think) and then have them carry a contact syndrome. (i think. not sure if the blobs would melt instantly)
Logged

Quote from: NW_Kohaku
they wouldn't be able to tell the difference between the raving confessions of a mass murdering cannibal from a recipe to bake a pie.
Knowing Belgium, everyone will vote for themselves out of mistrust for anyone else, and some kind of weird direct democracy coalition will need to be formed from 11 million or so individuals.

BlueAnchorite

  • Bay Watcher
  • Cacame! Cacame! Cacame!
    • View Profile
Re: Modding for new version (help)
« Reply #12 on: February 18, 2012, 10:35:27 am »

http://www.bay12forums.com/smf/index.php?topic=89626.0 I found the forum game I was talking about. Basically the Alchemy power that is explained in that thread is what I would like to implement in game (more for adventure mode), however I would like to tie it to a custom skill or something to enable for more powerful alchemy down the track.
« Last Edit: February 18, 2012, 10:37:29 am by BlueAnchorite »
Logged
it's better than the avatar I made for you   
Very true. This one does not make Jesus cry.

Rip0k

  • Bay Watcher
  • R.I.P.
    • View Profile
Re: Modding for new version (help)
« Reply #13 on: February 18, 2012, 02:23:55 pm »

  I have a problem with this simple reaction:
Code: [Select]
[REACTION:FREE_STEEL_ADV]
  [ADVENTURE_MODE_ENABLED]
  [NAME:gimme steel]
  [PRODUCT:100:1:BAR:NO_SUBTYPE:METAL:STEEL][PRODUCT_DIMENSION:150]
  [SKILL:SMELT]

Instead of producing a Steel bar, it creates something called 'Steel Bars', like there is more then one, but it's a single item. This Bars work in other reaction where a Bar is needed to create an item, but Instead of one 'Tool' I get more then 100 of them ;/
Logged
Rip0k cancels chillin, struck down by water pipe shot!