The 3rd Age

Battle of the Pelennor Fields

Battle of the Pelennor Fields

Six new factions. Controle any of the races of man that participated in the War of the Ring.

Button for The 3rd AgeButton for The Dwarf HoldsButton for The Elven AllianceButton for Helm's Deep Last HopeButton for GothmogtheOrcButton for BFME+Button for The Four AgesButton for HDR HeadquartersButton for Middle Earth CenterButton for Project Perfect Mod

Become an affiliate!

   

Quick Lists

Top Rated Popular New Updated Last Comments Users

Register and log in to move these advertisements down

Camera System

Avatar of robnkarla

robnkarla

Category: Worldbuilder
Level: Intermediate
Created: Saturday March 21, 2009 - 22:53
Updated: Thursday July 7, 2011 - 1:11
Views: 13871
Summary: Learn how to add a whole new visual experience to BFME

Rating

Staff says

4.9

Members say

4.3

Average

4.5/5.0

15 votes

Page 1 2 3 4 5 6
1. First, we need to create some sciences. For this tutorial, I will be making four different camera adjustment powers. You can make as many as you want. Here is the science code:
              
Code

Science SCIENCE_GeneralView
PrerequisiteSciences = SCIENCE_GOOD OR SCIENCE_EVIL
SciencePurchasePointCost = 1
SciencePurchasePointCostMP = 1
IsGrantable = Yes
End

Science SCIENCE_CommanderView
PrerequisiteSciences = SCIENCE_GOOD OR SCIENCE_EVIL
SciencePurchasePointCost = 1
SciencePurchasePointCostMP = 1
IsGrantable = Yes
End

Science SCIENCE_UnitView
PrerequisiteSciences = SCIENCE_GOOD OR SCIENCE_EVIL
SciencePurchasePointCost = 1
SciencePurchasePointCostMP = 1
IsGrantable = Yes
End

Science SCIENCE_GroundView
PrerequisiteSciences = SCIENCE_GOOD OR SCIENCE_EVIL
SciencePurchasePointCost = 1
SciencePurchasePointCostMP = 1
IsGrantable = Yes
End

2. Now we make special powers:
              
Code

SpecialPower SpellBookGeneralView
    Enum            = SPECIAL_GENERAL_TARGETLESS
RequiredSciences    = SCIENCE_GeneralView
    ReloadTime        = 1000 ; in milliseconds
    ;InitiateAtLocationSound = SpellDarkness
End

SpecialPower SpellBookCommanderView
    Enum            = SPECIAL_GENERAL_TARGETLESS
RequiredSciences    = SCIENCE_CommanderView
    ReloadTime        = 1000 ; in milliseconds
    ;InitiateAtLocationSound = SpellDarkness
End

SpecialPower SpellBookUnitView
    Enum            = SPECIAL_GENERAL_TARGETLESS
RequiredSciences    = SCIENCE_UnitView
    ReloadTime        = 1000 ; in milliseconds
    ;InitiateAtLocationSound = SpellDarkness
End

SpecialPower SpellBookGroundView
    Enum            = SPECIAL_GENERAL_TARGETLESS
RequiredSciences    = SCIENCE_GroundView
    ReloadTime        = 1000 ; in milliseconds
    ;InitiateAtLocationSound = SpellDarkness
End

3. Now the CommandButtons:
              
Code

CommandButton Command_SpellBookGeneralView
    Command            = SPELL_BOOK
    SpecialPower        = SpellBookGeneralView
    TextLabel        = SB:GeneralViewTextLabel
    ButtonBorderType    = UPGRADE
    ButtonImage        = UCCommon_UpgradeStructureNew;BIZoomOut
    DescriptLabel        = SB:GeneralViewDescriptLabel
    End

CommandButton Command_SpellBookCommanderView
    Command            = SPELL_BOOK
    SpecialPower        = SpellBookCommanderView
    TextLabel        = SB:CommanderViewTextLabel
    ButtonBorderType    = UPGRADE
    ButtonImage        = UCCommon_UpgradeStructureNew;BIZoomOut
    DescriptLabel        = SB:CommanderViewDescriptLabel
    End

CommandButton Command_SpellBookUnitView
    Command            = SPELL_BOOK
    SpecialPower        = SpellBookUnitView
    TextLabel        = SB:UnitViewTextLabel
    ButtonBorderType    = UPGRADE
    ButtonImage        = UCCommon_UpgradeStructureNew;BIZoomOut
    DescriptLabel        = SB:UnitViewDescriptLabel
    End

CommandButton Command_SpellBookGroundView
    Command            = SPELL_BOOK
    SpecialPower        = SpellBookGroundView
    TextLabel        = ground;SB:UnitViewTextLabel
    ButtonBorderType    = UPGRADE
    ButtonImage        = UCCommon_UpgradeStructureNew;BIZoomOut
    DescriptLabel        = ground;SB:UnitViewDescriptLabel
    End

Links / Downloads

 HitsAdded
Camera Scripts3118March 22, 2009 - 2:18

Comments

Display order: Newest first

forshire - Monday September 27, 2010 - 14:10

which .ini file ?

--------

I have done this all stuff. Camera mods working. But i have a question. How can I setup hotkeys for different camera mods? Thanx!

The Lord Of The Bats - Wednesday July 22, 2009 - 19:10

Does this work for the first one because I tried it and it always shows a gamecrash because of the "Behavior" at start up in the system.ini. This would have looked amazing in my mod but all in all, great tutuorial.

melkor777 - Sunday April 5, 2009 - 16:35

there is just two words to descrive this... FLIPPIN' AWESOME!!!!!!!!!!!!!!!!!!!!

--------

there is a runtime error how can i fix?

Rokqua Shadowkin - Tuesday March 24, 2009 - 21:57

This is great! I hope it works for all of the games, 'cause I'm making a few personal mod (and one public) that could use something like this.

robnkarla (Team Chamber Member) - Tuesday March 24, 2009 - 15:20

Thanks Rob38 for getting the ball rolling on this one :D

Clement (Team Chamber Member) - Monday March 23, 2009 - 4:26

Since the time I wanted to figure out how to make it! This is amazing, the camera system is one of the best thing that can be added via modding!

This is a amazing job Rob ;)

Go to top

 

"One site to rule them all, one site to find them,
one site to host them all, and on the network bind them."

 
14:39:30