TobiaszPL Posted April 28, 2019 Share Posted April 28, 2019 (edited) Hey, now im making Bank in my Mod ^_^ Yey !... and i want to add Loan system. Player can take gold from Bank and pay in timeits all done by Message Boxes by now and its working fine but now i have problem... for now i have only 7 messages that show if player is not paying his loan... and after 5 "warning" messages Braverock Gold Bank will send Killers or Slave Hunters Killers will just attack player ( not kill ) and take his stuff for 10% items price and decrease loanSlave Hunters will kidnap player and make him work in Mine, Fire Farms, Sex Slave, Inn or on Arena or many others ofc. Killers will spawn if Loan is low ( less than 7500 Septims )Slave Hunters will spawn if loan is high ( more than 7500 Septims ) and now here is my problem...i know how to spawn my Killers and Slave Hunters on XMarkers in hidden spots in my own Mod but what if player run from Braverock to Skyrim ? i want to make something like thiefs etc. they spawn in Tamriel and try to kill / catch player bur idk how to do it xD #My_English_And_Quest_Knowledge_Are_Bad xDD lol so i want to do it by Scripts only :Dlel like everything xD Everything by Scripts :D !! //Edit: Fail making spoiler xD Edited April 28, 2019 by TobiaszPL Link to comment Share on other sites More sharing options...
maxarturo Posted April 28, 2019 Share Posted April 28, 2019 You could do it by using simple logic, your script should have something like "Place At Me" in "x Radius of player" "start combat" in "x Random time". - "Place At Me" so that your Killers - Slave Hunters will spawn where ever the player might be. - "x Radius of Player" so that they don't just suddenly appear in front of the player but at a certain distance that the player can't see. - "Start Combat" so that after they spawn the will feight the player and not just stand there, or what ever action they should have to do to the player. - "x Random Time" so that the encounters happen randomly. * I haven't done something like this but this is the scripting logic that i would follow. Link to comment Share on other sites More sharing options...
TobiaszPL Posted April 28, 2019 Author Share Posted April 28, 2019 (edited) xDD and what if player is in interior ?what if player is in cave ?what if player is close to cliff ?what if player is in water ?what if ... :D can't simply spawn NPCs around Player...cause if region isn't flat they may spawn in rocks / trees / blocked area etc. "* I haven't done something like this but this is the scripting logic that i would follow."i test is on my Arena and its working fine but on my arena i have flat terrain so NPC can't spawn in bad place if there is no option for this i will probably make insane amount of trigger boxes in Tamriel... but lel... using this what Bethesda create for Thiefs and other things "on road" is many times better ideathan making new 50/100 Trigger Boxes in Skyrim... //Edit:other question... where i can find this event that spawn Thief or Old Orc or Maik or other npcs ???i will maybe just copy / paste or try to broke / edit it xD Edited April 28, 2019 by TobiaszPL Link to comment Share on other sites More sharing options...
maxarturo Posted April 28, 2019 Share Posted April 28, 2019 If i'm not wrong the game engine will always place NPCs in places where is NavMeah no matter what kind of cell you are in (exept if there is no NavMesh), if the radius is big enough and it's only at that radius and the radius covers the total space of a common house they will never spawn inside a house, as for caves an dungeons, that makes the mod more interesting in my humble opinion. As for the random encounters i don't know, i've never bother myself in finding out how it works. Link to comment Share on other sites More sharing options...
maxarturo Posted April 29, 2019 Share Posted April 29, 2019 I was thinking about this yesterday and i had an idea that you might be interested. What if instead of random encounters (spawning NPCs), make it more realistic - lifelike. Your "Killers" & "Slavehunters" should have a base - home from which they will start their hunt (hunting the player), each time the Hunt begins the player is notified through a message or even better from a courier that unless he pays his debt the hunt won't stop, the BOSS - Chief of the group will have a quest marker so that the player can track - see at all time where & how far the NPC is. The hunt will stop only & the Boss's quest marker when the debt is paid. This will result in applying continuous pressure to the Player no matter where the player is, and will force the Player to think - plan a strategy even for the simpliest things like when he want to just fast travel from point A to B. Plus which this approach you don't need to make a bunch of NPCs or place xMarkers - trigger boxes all over the game. You just need 2 Bosses set to essentials and set the Bosses group - bandits to respawn in case you kill a few of them. Link to comment Share on other sites More sharing options...
TobiaszPL Posted April 30, 2019 Author Share Posted April 30, 2019 im just gonna use Skyrim strongholds and make big ( like 2/4 chunks ) trigger boxes once player enter trigger box my hunters will try to catch him then if player got caught < epic english im not sure about this word xDhe will be teleported to this stronghold prison ( every skryim stronghold have prison right ? :D ) and then he will be transported on ship to braverock :P Link to comment Share on other sites More sharing options...
Recommended Posts