Author |
Message |
Kalsb
Joined: Thu Nov 28, 2013 2:01 am Posts: 17
|
I need an explaination.
Hello, I recently started modding this game and would like to know what these do: Code: Status = 0 Health = 100 ImpulseDamageThreshold = 2500 AimAngle = 0 AimDistance = 30 Perceptiveness = 1 CharHeight = 100 HolsterOffset = Vector
|
Fri Dec 13, 2013 3:11 am |
|
|
Major
Joined: Sun May 30, 2010 5:30 am Posts: 853 Location: Auckland, NZ
|
Re: I need an explaination.
Status: IDK, but I've never had to use it. Health: The amount of "damage" and actor can take before they die. ImpulseDamageThreshold: How hard you have to hit the actor in order to damage it. Blunt force only. AimAngle: The arc in which the actor can shoot something in front of it. AimDistance: The distance in pixles that camera is placed ahead of the SpriteOffsetVector of the actor. Perceptiveness: IDK, I assume it's pretty self-explanatory and just leave it at one. CharHeight: The height of the HUD above the character, measured from the SpriteOffsetVector. HolsterOffset: The location of the actors "holster", ie where their BG hand goes when reloading.
|
Fri Dec 13, 2013 4:44 am |
|
|
Chronometer
Joined: Sun Jan 15, 2012 10:12 pm Posts: 207 Location: Burrowed, waiting for you to come by.
|
Re: I need an explaination.
Major wrote: Status: IDK, but I've never had to use it. Health: The amount of "damage" and actor can take before they die. ImpulseDamageThreshold: How hard you have to hit the actor in order to damage it. Blunt force only. AimAngle: The arc in which the actor can shoot something in front of it. AimDistance: The distance in pixles that camera is placed ahead of the SpriteOffsetVector of the actor. Perceptiveness: IDK, I assume it's pretty self-explanatory and just leave it at one. CharHeight: The height of the HUD above the character, measured from the SpriteOffsetVector. HolsterOffset: The location of the actors "holster", ie where their BG hand goes when reloading. I thought perceptiveness was like if you shot a bullet the AI would turn around and start firing back with the exclamation above their head.
|
Fri Dec 13, 2013 4:57 am |
|
|
Major
Joined: Sun May 30, 2010 5:30 am Posts: 853 Location: Auckland, NZ
|
Re: I need an explaination.
Chronometer wrote: I thought perceptiveness was like if you shot a bullet the AI would turn around and start firing back with the exclamation above their head. That happens regardless. He wants to know what the value from 0.0 to 1.0 does.
|
Fri Dec 13, 2013 5:35 am |
|
|
Arcalane
Joined: Sun Jan 28, 2007 10:32 pm Posts: 1609 Location: UK
|
Re: I need an explaination.
Major wrote: Health: The amount of "damage" and actor can take before they die. As a minor elaboration; the Actor's GoldCost is also divided by 100 and then multiplied by their remaining Health upon sale - you get less cash for bringing back wounded actors. This also means you shouldn't ever have actors with more than 100 Health, because then you can get more money for bringing them home than dropping them. If you want tougher actors, modify the materials, vars, and wounds so that they take less damage from impacts and bleeding/etc. rather than just increasing Health.
|
Fri Dec 13, 2013 5:35 am |
|
|
Bad Boy
Joined: Fri Sep 10, 2010 1:48 am Posts: 666 Location: Halifax, Canada
|
Re: I need an explaination.
For status, assuming it's the same actor status, I'm not exactly sure what the point of it is but it seems to be another way of measuring an actor's health status. There are lua bindings for it which may clarify it a bit for you: http://wiki.datarealms.com/LuaDocs/Actor#StatusIf I recall correctly it doesn't really work but I may be misremembering there.
|
Fri Dec 13, 2013 5:38 am |
|
|
Major
Joined: Sun May 30, 2010 5:30 am Posts: 853 Location: Auckland, NZ
|
Re: I need an explaination.
Quote: GoldCarried
Gets how many ounces of gold this Actor is carrying.The current amount of carried gold, in Oz.
Jesus, that is one old page. Also, this was on there: Quote: Perceptiveness
This' perceptiveness to alarming events going on around him.The current perceptiveness, 0.0 - 1.0
|
Fri Dec 13, 2013 6:44 am |
|
|
Kalsb
Joined: Thu Nov 28, 2013 2:01 am Posts: 17
|
Re: I need an explaination.
Thank you for the help!
|
Fri Dec 13, 2013 1:54 pm |
|
|
Arcalane
Joined: Sun Jan 28, 2007 10:32 pm Posts: 1609 Location: UK
|
Re: I need an explaination.
I did a quick check on Perceptiveness of various actors and it seems most base/vanilla actors seem to have it set to 1. It's definitely still used by the new lua-based AI. Base.rte/Actors/AI/HumanBehaviours.luaCode: 160 for Event in MovableMan.AlarmEvents do 161 if Event.Team ~= Owner.Team then -- caused by some other team's activites - alarming! 162 loudness = 30 + FrameMan.PlayerScreenWidth * 0.5 * Owner.Perceptiveness * (Event.Range / 500) -- adjust the audiable range to the screen resolution
|
Fri Dec 13, 2013 10:57 pm |
|
|
|