ProjectsWhat's NewDownloadsCommunitySupportCompany
Forum Index » S.T.A.L.K.E.R.: Clear Sky Forum » Mod discussion
NPC Looting Script fix

« Previous 10 events | 1 2 3 4 5 6 7 8 9 10 11 | Next 10 events »| All Messages
Posted by/on
Question/AnswerMake Oldest Up Sort by Ascending
  17:28:02  10 September 2009
profilee-mailreply Message URLTo the Top
smoq2
Forklift operator
(Resident)

 

 
On forum: 09/08/2008
Messages: 2433

---QUOTATION---
There, I optimised the script as much as I could. I also marked the changes I've made. http://www.megaupload.com/?d=LY79RAC1
Smoq2, I didn't get any noticeable lag with the version linked to above. Good work!


---END QUOTATION---




YEY!

If you have any more ideas where and when npcs should stop looting write them in this thread, I'll be checking it frequently.
  17:26:48  10 September 2009
profilee-mailreply Message URLTo the Top
Decane
Senior Resident
 

 
On forum: 04/04/2007
Messages: 1705

---QUOTATION---
There, I optimised the script as much as I could. I also marked the changes I've made. http://www.megaupload.com/?d=LY79RAC1
---END QUOTATION---


Smoq2, I didn't get any noticeable lag with the version linked to above. Good work!

  15:40:33  10 September 2009
profilee-mailreply Message URLTo the Top
x_Spartan_x
Whos got the Kokoretsi?
(Resident)

 

 
On forum: 07/07/2009
Messages: 1971

---QUOTATION---
I don't know what could it be that strains the game so much... My changes were only slight. Changing the parameters for sight distance, etc won't remedy the problem.

[EDIT]

There, I optimised the script as much as I could. I also marked the changes I've made.

http://www.megaupload.com/?d=LY79RAC1

I'm having trouble testing it though as I don't see any impact on game performance and my PC is not top of the line.
---END QUOTATION---


il give it a full test in morning. im poooped
give you a full report.
  14:02:02  10 September 2009
profilee-mailreply Message URLTo the Top
smoq2
Forklift operator
(Resident)

 

 
On forum: 09/08/2008
 

Message edited by:
smoq2
09/10/2009 15:06:32
Messages: 2433
I don't know what could it be that strains the game so much... My changes were only slight. Changing the parameters for sight distance, etc won't remedy the problem.

[EDIT]

There, I optimised the script as much as I could. I also marked the changes I've made.

http://www.megaupload.com/?d=LY79RAC1

I'm having trouble testing it though as I don't see any impact on game performance and my PC is not top of the line.
  13:30:29  10 September 2009
profilee-mailreply Message URLTo the Top
x_Spartan_x
Whos got the Kokoretsi?
(Resident)

 

 
On forum: 07/07/2009
Messages: 1971

---QUOTATION---
do you have a script release body manager, if so check to see the number, i think default is 15. mines on 30 i think(from Spartan mod)
and i do get bit of lag, but i got my card boosted up.

Nope, I still have the default 15. It's weird, it isn't the normal kind of lag you get when your settings are too high and your computer is struggling, it's more like a regular 'stutter', much worse than if I were to set everything on max and watch the sun-shafts in the morning.

Btw, did you get anywhere with the other problem Spartan?
---END QUOTATION---



no not really, im all over the place haha
got fils everywhere, i lost track of whats what, and i can only say that the changes ive done are not fully tested, theres no crashes.

im sort of doing 2 - 3 things at once(saves me time)
and the changes ive done to looting, iv havnt gone to there yet, lol
so its going to take time.
damn it
  13:16:45  10 September 2009
profilee-mailreply Message URLTo the Top
smoq2
Forklift operator
(Resident)

 

 
On forum: 09/08/2008
Messages: 2433

---QUOTATION---
The script works just fine, if a little bit stuttery as RoboMook mentioned. I did get a red console-error in the Swamps though:
! ERROR: SV: can't find children [32669] of parent [302740720]

I'm not sure if this is serious or not, but would anyone have a clue as to what this could mean? BTW great work with the script smoq2!

[shameless plug]

Do you think you could take a look at the money looting script I posted today?

[/shameless plug]
---END QUOTATION---



I will, once I optimise this one.
  11:41:35  10 September 2009
profilee-mailreply Message URLTo the Top
Decane
Senior Resident
 

 
On forum: 04/04/2007
Messages: 1705
The script works just fine, if a little bit stuttery as RoboMook mentioned. I did get a red console-error in the Swamps though:
! ERROR: SV: can't find children [32669] of parent [302740720]

I'm not sure if this is serious or not, but would anyone have a clue as to what this could mean? BTW great work with the script smoq2!

[shameless plug]

Do you think you could take a look at the money looting script I posted today?

[/shameless plug]
  10:31:29  10 September 2009
profilee-mailreply Message URLTo the Top
x_Spartan_x
Whos got the Kokoretsi?
(Resident)

 

 
On forum: 07/07/2009
Messages: 1971
Guys, wouldnt it be easier, if we made a , if"trigger" that says, if map_blah blah, then distance(the distance they see body)
to some rediculess number???

in fact, if i wanted AI to only check bodies , say at 15 meters or so.
what would the line changes be, that whay i might have a solution.

hopefully.
  09:25:00  10 September 2009
profilee-mailreply Message URLTo the Top
zoust
(Senior)
 
On forum: 10/19/2008
Messages: 57

---QUOTATION---
It works, check again, the consequence of "on_move" condition is that squads will loot only after reaching their final destination.

Just tested again, you are quite right, they do indeed loot when they're at their target, good stuff

Still having the other problem though, getting unplayable framerates with the script installed. It was barely noticeable in red forest, but on any maps with lots of NPC's I get 10fps at best

Is there maybe a function that's constantly repeating?
---END QUOTATION---



awesome, guys ! thank you for your hardwork and the time you spend on it
  09:21:49  10 September 2009
profilee-mailreply Message URLTo the Top
x_Spartan_x
Whos got the Kokoretsi?
(Resident)

 

 
On forum: 07/07/2009
 

Message edited by:
x_Spartan_x
09/10/2009 9:43:11
Messages: 1971

---QUOTATION---

The ef_mainweapon_type value only exists in the 'main weapon' configs, not the pistols. Don't know what it does, it seems to be set the same for similar weapons, so maybe it has some bearing on how NPC's use a weapon (fire mode, distances, etc), I'm going to do some tests on this and see if I can clarify it's purpose.

---END QUOTATION---



pistols are ranked the same, but i belive you could re rank them, adding numbers and lines.
the reson may be because the pistols are 1st slot, and that the 1st slot aint that important in genral weopon use for ai.
but ,they do use pistols, in my mod, many times,
it could be also that the ai might pick up by acording to power, but thats wrong, because in my mod, they use various, i must of tweaked things, that seamed small, but work huge in game, example leg and body shot anim where not defined, and leg o arm shots regestered in body anim shots, wich wouldnt show because of the undefined fixes.
small fix, huge in game, list goes on, and have observed weird ai actions, but not glitches, like the harmonica, i had to refix about 3 files, and 2 lines in that file where simple wrong, almost like sabotage. the rest was simple.

any way, il test this further also, cause im at the point of leaving this on next patch, yet again, lol.
or i wont get to the reported errors, lol.
anyway, il be back.
test few more.

ok im back.

ef_main_weapon_type always over rides ef_weapon_type

notice the ef main w type is got 3 numbers 1 to 3
and the other as you mentioned.
shoties and weak weopons are 1
assault 2
and sniper 3
this 1st over rides the other.

so if you want a pistol to be a main, just add ef_main_weapon_type
and a number
use 1 to 3 to be safe, or test higher number pattern(i will)
if no ef_main_weapon_type like pistols, means its a single slot weopon, thus now im going to fix all the changes.
if you have a mp5 in single slot(modded) ,then remove the ef_main_weapon_type
and the ai will even more recognize the weopon, (i had slot probs in my mod early, and this will help, going now to fix, i totally forgot, but it is a issue, this wont help looting, but all other addresed.

and mp_rank dont play a part i belive, thats for MP(multiplayer)
there was only 1 use for mp_rank ltx,,,,, to create new weopons, and to not have conflict.

again il go test brb.

PS; if ef_main_weapon_type are equal, then the ef_weapon_type
comes in play.
 
Each word should be at least 3 characters long.
Search:    
Search conditions:    - spaces as AND    - spaces as OR   
 
Forum Index » S.T.A.L.K.E.R.: Clear Sky Forum » Mod discussion
 

All short dates are in Month-Day-Year format.


 

Copyright © 1995-2021 GSC Game World. All rights reserved.
This site is best viewed in Internet Explorer 4.xx and up and Javascript enabled. Webmaster.
Opera Software products are not supported.
If any problem concerning the site functioning under Opera Software appears apply
to Opera Software technical support service.