Jump to content


Photo

Help again plz? (bfme2)


  • Please log in to reply
10 replies to this topic

#1 lacrossman930

lacrossman930

    Lacrosse is the gift of God! 0-----]::::::::::::>

  • Project Team
  • 257 posts
  • Projects:Wars of the East mapper/ Istari Productions mapper/Realm Forger/Inheritence mod mapper
  •  Mapper,map.ini,modeling,leaning skinning

Posted 20 October 2007 - 01:26 PM

I am making a archer map and trying to make the summon dunidain power cost 1. and recharge faster. also trying to add to elves. is this how to set it up exactlly inside my map file or do i add some thing. i got lost in all the different tutorials.

Science SCIENCE_DunedainAllies
  PrerequisiteSciences = SCIENCE_GOOD OR SCIENCE_MEN OR SCIENCE_ELVES 
  SciencePurchasePointCost = 1
  SciencePurchasePointCostMP = 1
  IsGrantable = Yes
End

SpecialPower SpellBookDunedainAllies
	Enum			= SPECIAL_SPELL_BOOK_DUNEDAIN_ALLIES
	RequiredSciences		= SCIENCE_DunedainAllies
	ReloadTime		= 10000; in milliseconds
	InitiateAtLocationSound	= SpellSummonDunedainAllies
	RadiusCursorRadius	= 100.0
	Flags					= NO_FORBIDDEN_OBJECTS RESPECT_RECHARGE_TIME_DISCOUNT
	ForbiddenObjectFilter	= NO_SUMMON_NEAR_OBJECT_FILTER
	ForbiddenObjectRange	= 100.0
END

CommandSet MenSpellBookCommandSet
	1 = Command_SpellBookHeal
	2 = Command_SpellBookRallyingCall
	3 = Command_SpellBookDunedainAllies

	4 = Command_SpellBookTomBombadil
	5 = Command_SpellBookHobbitAllies
	6 = Command_SpellBookLoneTower
	7 = Command_SpellBookArrowVolleyGood

	8 = Command_SpellBookCloudBreak
	9 = Command_SpellBookRohanAllies
	10 = Command_SpellBookElvenWoodMP;;Command_SpellBookRebuild
	
	11 = Command_SpellBookArmyoftheDead
	12 = Command_SpellBookEarthquake

CommandSet MenSpellStoreCommandSet
	1 = Command_PurchaseSpellHeal
	2 = Command_PurchaseSpellRallyingCallMP
	3 = Command_PurchaseSpellDunedainAllies
	
	4 = Command_PurchaseSpellLoneTowerMen;; Command_PurchaseSpellHobbitAllies
	5 = Command_PurchaseSpellArrowVolleyGood
	6 = Command_PurchaseSpellTomBombadil
	7 = Command_PurchaseSpellHobbitAllies;;Command_PurchaseSpellLoneTowerMen

	8 = Command_PurchaseSpellRohanAllies;;Command_PurchaseSpellElvenWoodMP;;Command_PurchaseSpellRebuild
	9 = Command_PurchaseSpellCloudBreak
	10 = Command_PurchaseSpellElvenWoodMP;;Command_PurchaseSpellRebuild;;Command_PurchaseSpellRohanAllies 

	11 = Command_PurchaseSpellArmyoftheDead
	12 = Command_PurchaseSpellEarthquake
End

CommandSet ElvesSpellBookCommandSet
	1 = Command_SpellBookRallyingCall
	2 = Command_SpellBookDunedainAllies
	3 = Command_SpellBookFarsight
	4 = Command_SpellBookHeal
	
	5 = Command_SpellBookTomBombadil
	6 = Command_SpellBookEnshroudingMist
	7 = Command_SpellBookArrowVolleyGood
	
	
	8 = Command_SpellBookElvenWood
	9 = Command_SpellBookCloudBreak
	10 = Command_SpellBookEntAllies
	
	11 = Command_SpellBookEagleAllies
	12 = Command_SpellBookFlood
	13 = Command_SpellBookSunflare
End

CommandSet ElvesSpellStoreCommandSet
	1 = Command_PurchaseSpellRallyingCallMP
	2 = Command_PurchaseSpellDunedainAllies
	3 = Command_PurchaseSpellFarsight
	4 = Command_PurchaseSpellHeal
	
	5 = Command_PurchaseSpellEnshroudingMistMP
	6 = Command_PurchaseSpellArrowVolleyGood
	7 = Command_PurchaseSpellElvenWood
	
	8 = Command_PurchaseSpellTomBombadil
	9 = Command_PurchaseSpellEntAllies  
	10 = Command_PurchaseSpellCloudBreak
	
	11 = Command_PurchaseSpellEagleAllies  
	12 = Command_PurchaseSpellSunflare
	13 = Command_PurchaseSpellFlood
End

Edited by lacrossman930, 20 October 2007 - 01:28 PM.

Posted Image
Posted Image
Posted Image
Posted Image
Posted Image
Posted Image

#2 HERRvonR0HAN

HERRvonR0HAN
  • Members
  • 81 posts
  •  {IP}HERRvonR0HAN

Posted 21 October 2007 - 11:55 PM

yo dude, follow this link, register and ask for help... they'll know the answers & help you :lol:

Edited by HERRvonR0HAN, 21 October 2007 - 11:55 PM.


#3 m@tt

m@tt

    #######

  • Project Team
  • 4,056 posts
  • Location:England
  • Projects:The Dwarf Holds
  •  T3A Chamber Member

Posted 22 October 2007 - 08:34 AM

errr...

1. No advertising
2. Plenty of people know INI here, believe it or not
3. Most of IP are registered here anyway
Posted Image

#4 Grizzlez

Grizzlez

    title available

  • Project Team
  • 667 posts
  • Location:England
  •  Coder/ini/FX writer, Skinner

Posted 22 October 2007 - 10:31 AM

erm do you gt an error message or does it just not work?
Posted Image
Posted Image
Posted Image
Posted Image

Posted Image

#5 lacrossman930

lacrossman930

    Lacrosse is the gift of God! 0-----]::::::::::::>

  • Project Team
  • 257 posts
  • Projects:Wars of the East mapper/ Istari Productions mapper/Realm Forger/Inheritence mod mapper
  •  Mapper,map.ini,modeling,leaning skinning

Posted 23 October 2007 - 01:45 AM

error message about block in field "CommandSet" or some crap. :p

PS. look at attached pic

Attached Thumbnails

  • error.JPG

Edited by lacrossman930, 23 October 2007 - 02:10 AM.

Posted Image
Posted Image
Posted Image
Posted Image
Posted Image
Posted Image

#6 lycan

lycan

    title available

  • Banned
  • 553 posts
  • Projects:HP Mod
  •  Im just a guy around these forums

Posted 23 October 2007 - 11:07 AM

i dont really do map ini but

10 = Command_SpellBookElvenWoodMP;;Command_SpellBookRebuild that is wrong because theres an error and its do with the men power its also line 33

its to do with the 10
i dont know much about spell books never paid attention to them

Edited by elvenfury, 23 October 2007 - 11:09 AM.


#7 lacrossman930

lacrossman930

    Lacrosse is the gift of God! 0-----]::::::::::::>

  • Project Team
  • 257 posts
  • Projects:Wars of the East mapper/ Istari Productions mapper/Realm Forger/Inheritence mod mapper
  •  Mapper,map.ini,modeling,leaning skinning

Posted 23 October 2007 - 08:10 PM

the 10? how do u mean? it should be correct i think but im new at ini coding i only no a little scripting and maping. :)
Posted Image
Posted Image
Posted Image
Posted Image
Posted Image
Posted Image

#8 lycan

lycan

    title available

  • Banned
  • 553 posts
  • Projects:HP Mod
  •  Im just a guy around these forums

Posted 23 October 2007 - 11:37 PM

it says line 33 or and it was that maybe you spelt it wrong or need to change something else i cant be bothered to really look into it :)

#9 m@tt

m@tt

    #######

  • Project Team
  • 4,056 posts
  • Location:England
  • Projects:The Dwarf Holds
  •  T3A Chamber Member

Posted 24 October 2007 - 10:33 PM

CommandSet MenSpellBookCommandSet doesnt have END at the end
Posted Image

#10 lacrossman930

lacrossman930

    Lacrosse is the gift of God! 0-----]::::::::::::>

  • Project Team
  • 257 posts
  • Projects:Wars of the East mapper/ Istari Productions mapper/Realm Forger/Inheritence mod mapper
  •  Mapper,map.ini,modeling,leaning skinning

Posted 25 October 2007 - 12:11 AM

CommandSet MenSpellBookCommandSet doesnt have END at the end

made no difference. thx anyways. look at th error message it is the same after fixin the ENDerror.JPG
Posted Image
Posted Image
Posted Image
Posted Image
Posted Image
Posted Image

#11 m@tt

m@tt

    #######

  • Project Team
  • 4,056 posts
  • Location:England
  • Projects:The Dwarf Holds
  •  T3A Chamber Member

Posted 25 October 2007 - 09:32 AM

Well this is the bit its moaning about

10 = Command_PurchaseSpellElvenWoodMP;;Command_PurchaseSpellRebuild;;Command_Purchase

You should try either getting rid of the commented bits, or checking that the spell is named correctly.
Posted Image




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users