Race-specific Words of Power - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: Script Submissions (/Forum-Script-Submissions) +--- Thread: Race-specific Words of Power (/Thread-Race-specific-Words-of-Power) |
Race-specific Words of Power - Shidhun - 09-26-2013 10:55 AM Hello, perhaps some of you allways wanted to give their Races a specific langugage. Although this is not "really possible" for normal sentences, you could give your races (and NPCs) specific words of power in their own language. This script (with use of many "languages" for races and different kind of monsters) has been used on our shard for a very long time. It was not "made" by me, but i think it would be beneficial on other shards as well It is really simple, if you apply the events/functions in the right way. For an example : As a player (Human) you would only need to add e_wop_hum to all Human-Charakters. For Elves it would be e_wop_elv. If you want to let your NPCs cast in their own languange, it depends on how your magery-system works. If you only use the standard-spells, you can just add the event to every monster ( ex : Events +e_wop_demon ) If you change the Spell @spellcast by altering ARGN1, adding the event won't work. In this case, you need to add the following entry to every monster (The cause is the order, in which the trigger/events are fired) : on=@spellcast .... ..... ..... f_wop_hum <SERV.SPELL.<ARGN1>.RUNES> return 0 Perhaps someone might want to try it, since it is very easy. Code: [EVENTS e_wop_hum] Example for a elven-like-language : Code: [EVENTS e_wop_elv] RE: Race-specific Words of Power - Anarch Cassius - 09-29-2013 06:02 PM Actually language totally works if you do a major script overhaul. I have a system for it. I'll try and dust it off and upload it. As usual for me it's based on older scripts. |