Jump to content


Photo

New faction tutorial addon


  • Please log in to reply
3 replies to this topic

#1 Grim

Grim

    Mad Axe

  • Project Team
  • 537 posts
  •  T3A Team Chamber Member
  • Division:T3A Moderator

Posted 10 June 2005 - 12:21 PM

The first time i used the new faction tutorial, i noticed my new faction never had event sound, like warning for a warg lair, troops under attack etc.

So here is a little addon for the tutorial for the event sounds i just wrote. Hope it will help.


You have to go in eva.ini
You will find there many blocks like this one:

PredefinedEvaEvent CannotBuildDueToCPLimit
  Priority = 7
  TimeBetweenEventsMS = 60000;1 minute. Don't play more often than this
  ExpirationTimeMS  = 15000;15 seconds.  If Eva is busy, hold the event this long before giving up
  
; List the sound each side should hear when this event occurs
  SideSound
	Side = Mordor
	Sound = CampOrcCommandPointLimit
  End

  SideSound
	Side = Isengard
	Sound = CampOrcCommandPointLimit
  End

  SideSound
	Side = Gondor
	Sound = CampSoldierCommandPointLimit
  End

  SideSound
	Side = Rohan
	Sound = CampSoldierCommandPointLimit
  End
End

Notice the sub blocks for each faction:

SideSound
	Side = Rohan
	Sound = CampSoldierCommandPointLimit
  End

This one means: for this event, Rohan faction will play CampSoldierCommandPointLimit sound.

So for your new faction, you will have to add a sub block like that in each big block.
Let's do it with "dwarves" faction ():

PredefinedEvaEvent CannotBuildDueToCPLimit
  Priority = 7
  TimeBetweenEventsMS = 60000;1 minute. Don't play more often than this
  ExpirationTimeMS  = 15000;15 seconds.  If Eva is busy, hold the event this long before giving up
  
; List the sound each side should hear when this event occurs
  SideSound
	Side = Mordor
	Sound = CampOrcCommandPointLimit
  End

  SideSound
	Side = Isengard
	Sound = CampOrcCommandPointLimit
  End

  SideSound
	Side = Gondor
	Sound = CampSoldierCommandPointLimit
  End

  SideSound
	Side = Rohan
	Sound = CampSoldierCommandPointLimit
  End

  SideSound
	Side = Dwarves
	Sound = CampSoldierCommandPointLimit
  End
End

Basicly, my method is to copy a sub block of a faction of the same side (mordor and isengard for bad or gondor and rohan for good), in each large block, and paste it changing the faction name.

However, do not copy paste without reading the evaevent's name. Some won't concern your faction. This might be the case for die events, like this one:

NewEvaEvent AragornDie
  Priority = 7
  TimeBetweenEventsMS = 30000; 30 seconds. Don't play more often than this
  ExpirationTimeMS  = 5000   ; 5 seconds.  If Eva is busy, hold the event this long before giving up
  
  SideSound
	Side = Rohan
	Sound = CampSoldierDieAragorn  
  End
End

If Aragorn isn't in your faction, you don't need it.

On the other side, if you want to add the evaevent Aragorndie to your faction, this is the place to set it


That's all

Enjoy

Edited by Grim, 12 December 2006 - 05:03 PM.

Posted Image

#2 nickthemenace

nickthemenace

    Im a legend, lets face, I actually am.

  • Project Team
  • 426 posts
  • Location:Chatham, UK
  • Projects:HeroMod, Other Stuff :)
  •  T3A Team Chamber Member
  • Division:T3A Moderator

Posted 10 June 2005 - 02:52 PM

Thats actually really helpful! Thanks again grim!
nickthemenace
http://nickthemenace.gamemod.net/
The Guy Who Made It Possible To Have New Factions (And Stuff)(Before anyone else :p)
Posted Image

#3 AdmiralGT

AdmiralGT

    title available

  • Members
  • 1,702 posts
  • Location:Bristol, UK
  • Projects:Petrolution

Posted 10 June 2005 - 06:09 PM

Good work Grim, a worthy addition to the series, prehaps Hostile can get it added to the main site.

#4 prophetUK

prophetUK
  • Members
  • 37 posts
  • Location:England, UK

Posted 18 February 2006 - 10:06 AM

Edit: Error in original post, apologies!

Edited by prophetUK, 18 February 2006 - 10:55 AM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users