Anyone know where to change this?
Thanks in advance
Changing possibility of loosing weapons when knocked over
Re: Changing possibility of loosing weapons when knocked ove
Requires script hacking, and it is in the aschar.as file. Looks like line 5292 to me ("DropWeapon();" line)
Re: Changing possibility of loosing weapons when knocked ove
Thanks, but don't have anything like that on line 5292
I've got this starting on line 5274:
if(RangedRandomFloat(0.0f,1.0f) < drop_weapon_probability){
int item_id = DropWeapon();
And some more DropWeapon repeatings further down.
Is that what i need to change somehow?
I've got this starting on line 5274:
if(RangedRandomFloat(0.0f,1.0f) < drop_weapon_probability){
int item_id = DropWeapon();
And some more DropWeapon repeatings further down.
Is that what i need to change somehow?
Re: Changing possibility of loosing weapons when knocked ove
I am not going to write a mod for you, sorry. Just trying to point you to where to startneetch wrote:Thanks, but don't have anything like that on line 5292
I've got this starting on line 5274:
if(RangedRandomFloat(0.0f,1.0f) < drop_weapon_probability){
int item_id = DropWeapon();
And some more DropWeapon repeatings further down.
Is that what i need to change somehow?
Re: Changing possibility of loosing weapons when knocked ove
All i wanted is knowing where to start, i just don't understand why my aschar file is different from yours.
-
- Posts: 440
- Joined: Fri Oct 18, 2013 5:48 pm
- Location: Somewhere within the Universe... Might take a while to find me though.
Re: Changing possibility of loosing weapons when knocked ove
Merlyn probably uses Internal or Advance testing, which is different to the main branch, so it's understandable that his Aschar looks different. Though it looks like you're in the right place.
I will say, it's risky to edit aschar as it becomes obsolete almost every update.
I will say, it's risky to edit aschar as it becomes obsolete almost every update.
Re: Changing possibility of loosing weapons when knocked ove
Yeah i learned about that.. But i wouldn't mind doing a small change after each update if i at some point can figure out how to make it work.