Jump to content

cfh85

Members
  • Posts

    231
  • Joined

  • Last visited

Posts posted by cfh85

  1. the NPCs wont use it as you're not actually picking the stones up. They've been replaced by activators (which I assume add the stone to the PC's inventory, then probably disable themselves), so NPCs wouldn't realise to use them

  2. The estate is not about generating gold. It's about so much more.

    It will feature a lot of extra staff that won't be factored in to the running cost. Such as horse trainers, a smith, prison guards(you'll be able to arrest people and capture slaves), a wizard scholar (this is the single most important character in my opinion) and up to 30 companions. Plus then the cost of bribes and spies as part of the politics section.

     

    I'm not really about quests (although there will be one to acquire the estate) as I'm not really a story teller.

     

    I have got a lot of spells to add that will change the way you play the game. And the companions are already much more than vanilla companions in terms of their use (though not yet fleshed out)

    The addiction system is something that will give a more unpredictable element to the game (with an option to confine it to the island).

     

    There will be a major kind of quest though - to get the 3 cities to acknowledge your lordship of the island.

    Each city will use a different political structure. A voted council/ merchant families where wealth talks (which is why the business of the estate will be important)/ tribal system where the strong has control (you won't be able to win on your own and the stronger the group you join, the less influence your strength will get you)

    The NPC's personality will have several attributes. Such as loyalty, addiction, greed etc. No ones attributes will be set, they will have a range to randomly start between. As with real people those attributes can change due to outside influence - other NPCs, the PC, the financial ruin you've brought down upon them.

     

     

    I think to help manage the profit issue I may give several NPC's a proportion of profits to their pay. What ever I do, a fully staffed Estate with a full compliment of guests having a feast should lose money (or at least eat in to the Estates produce reserves drastically)

  3. Okay, I was trying to not be too in depth.

     

    I suppose I should explain the mod a bit better. It involves an island, on the island the PC will gain Lordship of an estate (through a quest). So upgrades for the estate (each component and sub-component needs to be purchased

    • Livestock Farm
    • Crop Farm
    • Orchard
    • Vineyard - grows grapes etc and makes wines, mead, ciders and brandys
    • Mill - makes flour
    • Plantation - grows tobacco and makes different quality brands (I'm integrating a smoking mod as part of an addiction system)
    • Garden - focus's on alchemy ingredients that would suit a garden
    • Hunter's Lodge
    • Kitchen

    These are the components which when completed would make money (in addition to the restored fishing village and mining village).

    Some of the food and drink make will be consumed by the staff of the estate. So assuming minimum consumption - lowest feeding level and no extra employees or guests to feed, what would be a good amount of profit to make from the Estate each day?

    At full capacity the Estate is not intended to make any money, it offers a lot of features and bonus' to work with the companion side of the mod, amongst a lot of other features

  4. should my estate earn per day?

    The mod I'm working on features, among many other things, an estate that produces much food and drink. The problem is with getting the balance right. At maximum output, and minimum consumption (the workers need feeding) how much should it earn?

    There are options for increased feeding with increased benefits, but I figure feasts should be a rare thing that should usually cost.

    In addition the estate creates fancy drinks and tobacco to sell, but that's a different matter because it will be intended to involve active diplomacy and negotiations to get the price up.

     

    Also, the island the estate is on features a fishing and a mining village which will require investment. What sort of return, in taxs, would people like to see from them?

    And there are three cities, though gaining command of them wont result in any taxs, but other perks instead.

  5. I'm going to uninstall CSE and CS and try from scratch, however I'm sure I followed the manual.

     

    I'n regards to the teleport markers, there are two buttons, one to teleport to the linked door, and the other to move the marker. Both buttons are teleporting me to the target door

  6. I installed the CSE as per the instruction and it just wont run. It starts up the vanilla CS instead. I'm running Windows 10.

     

    Also, for some reason I can't edit the door markers. When I select to edit them it just teleports me to the linked door.

     

    Any help on either matter would be appreciated

     

    CFH

  7. I install CSE as per the instruction and it just wont run. It starts up the vanilla CS instead. I'm running Windows 10.

     

    Also, for some reason I can't edit the door markers. When I select to edit them it just teleports me to the linked door.

     

    Any help on either matter would be appreciated

     

    CFH

  8. right. This is the last time I'm posting on this, as I'm pretty sure you are beyond helping. I've provided 2 scripts, one that needs a little work because it does it differently, the other should work as is.

     

    "In regards to the problem if you have a bow or staff equipped, there is bound to be some bugs that either will have to be ironed out leading into the final release" I've already ironed it out. It's taken more time trying to explain to you than it took to create the mod.

  9. step 1. press the show button on my post above.

    step 2. copy and paste the script into the cs

    step 3. set the script as a quest script

    step 4. attach said script to newly created quest

    step 5. save

     

    Done. press the down key. it will change 1h blade to 2h blade, 2h blade to 1h blade, 1h blunt to 2h blunt, 2h blunt to 1h blunt. It will also unequip any shield.

  10. right then, your script so far is junk. As I said, refs and shorts should not be inside begin/end blocks.

    What happens if you press the button while you have a blunt equipped, or bow, or staff... oops. Also, are you planning on have 4 scripts using 4 keys?

     

    The second, stripped down script is the one you'll probably use. The original script I thinks is way beyond your abilities. You need to spend a lot more time learning about scripting

     

    If you read my scripts you should have noticed I use IsKeyPressed3

  11. This is a stripped down version, it will edit the base weapon, which I don't recommend

    It checks that there is a weapon equipped, if it is either a 1/2 hand blade/blunt and changes the 1/2 hand part. It also unequips any shields when go 1 hand to 2 hand.

    Also, I'm using "isKeyPressed MyKey" instead of "isKeyPressed 208" because it makes it easier to edit the key choice at a later date

     

     

    Scriptname CFHCGQuestScript

    Short KeyDown
    Short MyKey
    Short WeaponType
    Ref OriginalWeapon
    Ref Shield
    Begin GameMode
    Set MyKey to 208
    If (IsKeyPressed3 MyKey) && (Keydown == 0)
    Set KeyDown to 1
    Return
    ElseIf (IsKeyPressed3 MyKey == 0) && (Keydown == 0)
    Return
    ElseIf (IsKeyPressed3 MyKey) && (Keydown == 1)
    Return
    ElseIf (IsKeyPressed3 MyKey == 0) && (Keydown == 1)
    Set OriginalWeapon to (Player.GetEquippedObject 16)
    Set WeaponType to (GetWeaponType OriginalWeapon)
    If (WeaponType == 4) || (WeaponType ==5) || (OriginalWeapon.IsWeapon == 0)
    Return
    Else
    If (WeaponType == 1)
    OriginalWeapon.SetWeaponType 2
    Set Shield to (Player.GetEquippedObject 13)
    Player.UnequipItemNS Shield
    ElseIf (WeaponType == 2)
    OriginalWeapon.SetWeaponType 1
    ElseIf (WeaponType == 3)
    OriginalWeapon.SetWeaponType 4
    Set Shield to (Player.GetEquippedObject 13)
    Player.UnequipItemNS Shield
    ElseIf (WeaponType == 4)
    OriginalWeapon.SetWeaponType 3
    EndIf
    EndIf
    Set KeyDown to 0
    EndIf
    End

  12. don't put your refs and shorts inside of begin/end blocks.

    Also, what checks do you have to decide if the weapon is currently 1h or 2h, and then change it as required.

    Is this the full script that you posted?

     

     

    I've created a script that should work as I described before. It doesn't change the speed or damage yet - easy part.

    For some reason my CS won't save it, though it isn't showing any errors. IF it is working all it needs is four new weapons and a quest

    It doesn't remove the original from the player, it just makes it non playable and weightless. The weapons that get added SHOULD be exact copies except for the value and I need to add in to copy over any scripts

     

    Important note with gamemode blocktypes, use return often. Also structure your scripts to keep the heaviest part at the end, hopefully after several returns, to stop it from being read when not needed. Those reducing lag. The Script below has four conditions

    1 - Key is pressed, but this is the first time the script has registered it in this instance - register that the key has been pressed - return

    2 - Key isn't pressed and has not been registered - do nothing - return

    3 - Key is pressed and has been registered - do nothing - return

    4 - Key is no longer being pressed but has been registered - now we do stuff. REMEMBER to unregister the keypress

     

    under the first three conditions we do very little other than returning, to stop the game from reading the rest. I probably should change it to put the most common of those conditions first, so it should be 2, 1, 3, 4

    1 always has to come before 3 or we would never register the key being pressed

     

     

    Scriptname CFHCGQuestScript

    Short DoOnce
    Short KeyDown
    Short MyKey
    Short WeaponType
    Short Health
    Short EnchCharge
    Short Speed
    Short Resistance
    Short Damage
    Short Reach
    Short Weight
    Ref Weapon
    Ref OriginalWeapon
    Ref Poison
    Ref Sheild
    Ref Ench
    Begin GameMode
    Set MyKey to 208
    If (IsKeyPressed3 MyKey) && (Keydown == 0)
    Set KeyDown to 1
    Return
    ElseIf (IsKeyPressed3 MyKey == 0) && (Keydown == 0)
    Return
    ElseIf (IsKeyPressed3 MyKey) && (Keydown == 1)
    Return
    ElseIf (IsKeyPressed3 MyKey == 0) && (Keydown == 1) && (DoOnce == 1)
    Player.RemoveItemNS CFHCG1hBlade, 99
    Player.RemoveItemNS CFHCG1hBlade, 99
    Player.RemoveItemNS CFHCG1hBlade, 99
    Player.RemoveItemNS CFHCG1hBlade, 99
    Set Health to (Player.GetEquippedCurrentHealth 16)
    Set Poison to Player.GetEquippedWeaponPoison)
    Set EnchCharge to Weapon.GetEnchantmentCharge
    OriginalWeapon.SetIsPlayable 1
    Set Sheild to (Player.GetEquippedObject 13)
    Player.UnequipItemNS Sheild
    Player.EquipItemNS OriginalWeapon
    OriginalWeapon.SetWeight Weight
    Player.SetEquippedCurrentHealth Health, 16
    Player.SetEquippedWeaponPoison Poison
    OriginalWeapon.SetEnchantmentCharge to Charge
    Set DoOnce to 0
    Set KeyDown to 0
    Return
    ElseIf (IsKeyPressed3 MyKey == 0) && (Keydown == 1) && (DoOnce == 0)
    Set OriginalWeapon to (Player.GetEquippedObject 16)
    Set WeaponType to (GetWeaponType OriginalWeapon)
    If (WeaponType == 4) || (WeaponType ==5) || (OriginalWeapon.IsWeapon == 0)
    Return
    Else
    Set Health to (Player.GetEquippedCurrentHealth 16)
    Set Poison to Player.GetEquippedCurrentPoison
    Set EnchCharge to OriginalWeapon.GetEnchantmentCharge
    Set Speed to OriginalWeapon.GetWeaponSpeed
    Set Ench to OriginalWeaon.GetEnchantment
    Set Resistance to OriginalWeapon.GetIgnoresResistance
    Set Damage to OriginalWeapon.GetAttackDamage
    Set Reach to OriginalWeapon.GetWeaponReach
    Set Weight to OriginalWeapon.GetWeight
    Set Sheild to (Player.GetEquippedObject 13)
    Player.UnequipItemNS Sheild
    If (WeaponType == 1) ;If 1hBlade add 2hBlade
    Player.AddItemNS CFHCG2hBlade, 1
    Player.EquipItemNS CFH2hBlade
    ElseIf (WeaponType == 2) ;If 2hBlade add 1hBlade
    Player.AddItemNS CFHCG1hBlade, 1
    Player.EquipItemNS CFH1hBlade
    ElseIf (WeaponType == 3) ;If 1hBlunt add 2hBlunt
    Player.AddItemNS CFHCG2hBlunt, 1
    Player.EquipItemNS CFH2hBlunt
    ElseIf (WeaponType == 4) ;If 2hBlunt add1hBlunt
    Player.AddItemNS CFHCG1hBlunt, 1
    Player.EquipItemNS CFH1hBlunt
    EndIf
    OriginalWeapon.SetIsPlayable 0
    OriginalWeapon.SetWeight 0
    Set Weapon to (Player.GetEquippedObject 16)
    Player.SetEquippedCurrentHealth Health, 16
    Player.SetEquippedWeaponPoison Poison
    Weapon.SetWeaponSpeed Speed
    Weapon.SetEnchantment Ench
    Weapon.SetIgnoresResistance Resistance
    Weapon.SetAttackDamage Damage
    Weapon.SetWeaponReach Reach
    Weapon.SetWeight Weight
    Weapon.SetModelPath (OriginalWeapon.GetModelPath)
    EndIf
    Set DoOnce to 1
    Set KeyDown to 0
    EndIf

    End

     

     

    Even if you don't like the way I've done it, you should find several answers on how to do what you want in there. If you don't hear from me for a while it's because I'm on holiday. Keep trying and post your progress -

  13. okay, so when you say the script doesn't work, what exactly do you mean? Will it not compile? Which would make sense as you haven't set how it will start - probably want something along the lines of Begin GameMode, though I'm a little rusty. Also, what have you attached the script to?

    Still think you're making a mistake by editing the original weapon. It's ridiculous that everyone else using the weapon will change when you do, then you have the shield issue. It's easy enough to set the weapon to 1 hand or 2 hand, but removing shields for everyone using the weapon is more work.

     

    Also, you're possibly asking for problems if you start editing the speed, damage etc of the original weapon. If something goes wrong it's simple enough to change it back to either 1 or 2 handed, but restoring the original stats if they get messed up could pose a problem. Also, some things are not stored in the save data, other things are...

     

    If you post a script that works with key pressed, I can help you to make the mod into something that would be compatible with pretty much everything and do what you're asking - if you're willing to stop editing the base weapon

  14. Couple of thoughts

     

    Firstly, if you don't want to change the weapon for every instance (which is why NPCs using the same weapon change when you do) you need to have a separate weapon. I would create 4 weapons (just copy any generic weapon) 1 of each blade/blunt 1h/2h. Use the script to add and equip the weapons, then modify their nif file, damage, speed etc to match what was equipped

     

    Secondly, modify the speed and damage of the weapons. 1h converted to 2h, increase speed and damage, to increase the maximum rate of damage. Opposite with 2h converted to 1h

     

    Use your script to remove any equipped shield. 1h to 2h remove it when you initially cast, 2h to 1h remove the shield when return it to it's original form.

     

    Also, have a second think about using a set key. You're opening yourself up to conflicts. I would probably use a spell.

    Work it something like this. Cast the spell > get message box > add the ability/ set key /remove ability > set the key will allow users to chose the key they want to use. Adding and removing the ability will change when you can use it - and stops scripts from running when not needed. Though you would want to return the weapon to normal before you remove the ability

×
×
  • Create New...