-
Posts
148 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by UnvalidUserName
-
You can still use the event handler from within an event handler. You could use the UDF that you are currently using for the OnHit handler to declare the crippled limb thingy whenever the target reference changes and clear previous event handlers for efficiency. That way you only need to check whether the limb got crippled on the first shot and then skip that part of the routine if the handler is already set.
- 13 replies
-
- scripting
- jip plugin
-
(and 1 more)
Tagged with:
-
Prevent player from dropping item.
UnvalidUserName replied to orkel1215's topic in Fallout New Vegas's GECK and Modders
Yeah "this" never worked for me either but it's mentioned everywhere in the wikis so I assumed it was just my problem. If the object has no world model it will "disappear" when dropped but you should still find some way to MarkForDelete on it just to make sure it doesn't stick in the save file. -
Prevent player from dropping item.
UnvalidUserName replied to orkel1215's topic in Fallout New Vegas's GECK and Modders
Try using "this" keyword as reference then. And yes use, Player.AddItem object ID 1 1. The last 1 means it will hide the item added message -
Prevent player from dropping item.
UnvalidUserName replied to orkel1215's topic in Fallout New Vegas's GECK and Modders
Attach a script to the item with an OnDrop block. Make the block Disable and MarkForDelete the item when dropped and add back another copy of it to the player's inventory. -
The weapon animation Mult doesn't affect reload speed, it only affect attack and equip speed. And back to the original question, there is no actor value for reload speed other than the effect agility has on the actor.
-
Well it could work but I see a few problems. First, once someone has a limb crippled the sound will keep playing after every shot. Second, you could land a headshot on someone with a crippled leg and it will also play the sound. To fix it I suggest you check for hit location and also keep tabs on limbs that first get crippled. With a few variables and keeping tab of the target ref. You will have to declare these outside the UDF script all together because they will otherwise not persist and flush them every time the target ref changes.
- 13 replies
-
- scripting
- jip plugin
-
(and 1 more)
Tagged with:
-
What dubious said, and you can probably just check if the enemy starts playing a stagger animation when hit. GetAnimAction can do this but you'll will have to make few extra checks. Otherwise IsAnimationPlaying could work but I don't remember if there is a PlayGroup for stagger animation, maybe IsAnimationPlayingEx can recognize it.
- 13 replies
-
- scripting
- jip plugin
-
(and 1 more)
Tagged with:
-
Try by iterating through the Actors on the Cell by using NextRef and etc. Mind you that setting it on everyone could be a problem if many actors get their limbs crippled at the same time. Also, If you don't mind tell us what do you want to achieve for us to see what you need the Event Handler for.
- 13 replies
-
- scripting
- jip plugin
-
(and 1 more)
Tagged with:
-
Edit armor effects, using scripts? NVSE
UnvalidUserName replied to truestiven's topic in Fallout New Vegas's GECK and Modders
If you use it on an effect script, you get the reference of the actor affected by it. What reference are you looking for? The reference to a piece of equipment I assume? If so, check GetEquippedItemRef function, a JIP function that returns an inventory reference. There is also GetEquippedObjectRef but it return a base reference. If you want the reference of the PC just use the "player" keyword as your reference. -
A Term of Service question
UnvalidUserName replied to UnvalidUserName's topic in Fallout New Vegas's GECK and Modders
Thanks, that clears that up for me. -
I want to use a few icons from New Vegas on a Fallout 3 mod. Would that be an infringement?
-
Edit armor effects, using scripts? NVSE
UnvalidUserName replied to truestiven's topic in Fallout New Vegas's GECK and Modders
You can do so with JIP. Especifically, the SetObjectEffect function. Check it out on the wiki to see how it works. Also take a look at the AddNewEffect function as you might need it. -
No Mr. New Vegas
UnvalidUserName replied to DavidSSabb94's topic in Fallout New Vegas's Mod Troubleshooting
This is a common radio bug, It's just that radios don't loop when they reach the end of the broadcast. It USUALLY gets fixed by restarting the game but it's not a consistent fix. -
WMX+EVE editing
UnvalidUserName replied to Qaerixxszhara's topic in Fallout New Vegas's Mod Troubleshooting
Maybe download the compatibility patch that is on WMX mod page right here in Nexus? -
moisturizer face mask bug
UnvalidUserName replied to nognow's topic in Fallout New Vegas's Mod Troubleshooting
That character is from a mod. I guess that's just her face? -
In geck there are two entries for increase health, one is IncreaseHealth that shows under the name "Increase Health". This one will only increase the temp HP of an Actor. Then there is IncreaseHealthPermanent that shows as "NPC Permanent Increased Health", this one does actually increase max hp. Make sure to use the second one.
-
Also that HUD bug you are having is common when you give someone temporal hp instead of permanent hp. It even happens to the player when taking buffout at full health. Are you adding hp through an effect or a script?
-
JIP has a lot of UI functions you can try: here is a link to the wiki https://geckwiki.com/index.php?title=Category:UI_Functions_(JIP)
-
Increase NPC/Creature's range
UnvalidUserName replied to clanky4's topic in Fallout New Vegas's GECK and Modders
Nice. Be sure to increase it's weapon max range too. In theory that's the range at which an NPC will approach the enemy