Ainz Ooal Gown Posted April 9, 2019 Share Posted April 9, 2019 Description: This is a add on to the alignment system from this tutorial and is require for this add on to do anything:  Video: None  Process: As a player kills MOBs and NPCs in game they will gain or lose Alignment Points. In my game I have 6 different types of MOBs and NPCs: Animals - Sheep, Pigs, Cows (Friendly MOBs) Creatures - Snakes, Bats, Orcs (Non-Friend MOBs) Monsters - Trolls, Orges, Giants (Non-Friendly MOBs) Demonics - Demons, Hell Hounds, Succubus (Non-Friendly MOBs) NPCs - Paul, Chris, Shopekeeper (Friendly NPCs) Heroes - Champion Of Light (Friendly NPCs) Depending on what you kill will gain or lose alignment points. Such as killing a Monster will give you + Alignment, and killing a NPC will give you - Alignment.  Issue: None  Build:  First we need to make the variables Spoiler I enter a Text Id to display the value of the variable in the players "Journal" (Look at my Journal/Tradeskill Book Tutorial).  Now we have the variables time to make the "Common Events" Spoiler Each common event does the math based on the type of kill you did. Such as killing a "Animal" will Add 11 Alignment Points (which is not a lot), adds 1 to "Animal Slain" variable and adds 1 to "Evil Kills" variable. This is just how my game was structure, you can change the stats and the variables as you please.  I also add text to some such as when you kill a NPC test appears in chat saying "Murder" and also says to player they have lost some alignment.  I recommend you change below to the way you want it, as this is what my game uses        The last thing we need to do is apply these "Common Events" based on a MOB or NPC being killed by the player Spoiler When you create a NPC or MOB you just need to apply the "Common Events" at the bottom of the NPC Editor.  So this is for when a Orc is killed in my game which is a "Creature":  Complete!  Now you should have events based on when a NPC or MOB is killed in your game and give or remove player alignment points.  Enjoy! SarcasticSloth24, Alexoune001, nvh and 3 others 5 1 Link to comment Share on other sites More sharing options...
nvh Posted November 15, 2019 Share Posted November 15, 2019 good idea Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now