Jump to content


Photo

Adding new resources (Stone and wood) making buildings Un/Attackable


  • Please log in to reply
5 replies to this topic

#1 ESF

ESF
  • New Members
  • 3 posts

Posted 06 October 2017 - 11:36 PM

Hello there, i'm working on a mod that adds houses for Command points, an extra building, the 'research center' (for upgreades like fire arrows faster build speed etc....) farms for food, mines for stone and lumbermills for wood. As the topic says, i have no idea how to tell ini to 'create' new resources, just like the one it's using now (is it money??) i have the first dwarven 'house' (i found a BUNCH of PERFECT buildings in the worldbuilder😃) finished. I can place it, build a builder inside and garrision tropps inside. HOWEVER it is unattackable (i think). I placed it two feet away from my enemy and nothing happend i just heard them yelling around (Rack it to pices...or whatever they say..). They DID attack my builder😕 Is there an option to turn this on/off?
I highly welcome ANY help you can give me!



Maybe this is important....
I took the dwarvenmineshaft and replaced it with dwarvenbuilding03p. It has got the dwarven mine functions.
Still, im not shure how it would look like when they attack it....it has no build up animation, just build time. I had to delete most of the text 'cause game data....Are there no EA programmers here? They know what to to.

if you need more info i'd be glad to give it to you

Greetings!
ESF
Sorry for the bad english....

#2 ESF

ESF
  • New Members
  • 3 posts

Posted 06 October 2017 - 11:52 PM

"They DID attack my builder😕 Is there an option to turn this on/off?"


I meant: is there an option for buildings? Like attckable or not unattackable NOT for the builder, sorry, it might sound like it....


Ok got it fixed....
Sorry for posting this to fast!

Edited by ESF, 14 November 2017 - 09:55 PM.


#3 Dz_Badmen

Dz_Badmen
  • Members
  • 24 posts
  • Location:Algeria

Posted 07 October 2017 - 09:39 AM

can you post you code mybe i can help with something



#4 ESF

ESF
  • New Members
  • 3 posts

Posted 14 November 2017 - 10:04 PM

I created a code that lets you add any kind of resource or command point 'producer'.
This code is just experimental so there is no build up animation or diffrend texture when it gets destroyed.
Also i am having problems like units just walk throu the object (mainly wall..)
I will give you the code as soon as i can!

#5 NewErr

NewErr

    Legionary of Doom

  • Project Team
  • 2,135 posts
  • Location:Romania
  • Projects:The RC Mod
  •  World Wide Artist

Posted 24 November 2017 - 11:44 AM

I don't think you can define a new resource in BFME.



#6 MattTheLegoman

MattTheLegoman

    LEGO Knight of Minas Ithil

  • T3A Staff
  • 3,339 posts
  • Location:Tomorrow, when the War began
  • Projects:Mapping this Middle-earth
  •  Mapper
  • Division:BFME
  • Job:T3A Staff

Posted 25 November 2017 - 02:45 AM

Resources in BfME 1 count only towards money. However, each different resource gives a discount towards what they would otherwise give. Eg furnaces give an upgrade discount.

Remember that all worlds draw to an end and that noble death is a treasure which no one is too poor to buy. - C.S. Lewis

There will come a time when you believe everything is finished. That will be the beginning. - Louis L'Amour

What will matter then will be people. If relationships will matter most then, shouldn't they matter most now? - Max Lucado





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users