22:39:45 9 September 2009 |
|
smoq2
Forklift operator (Resident)
 On forum: 09/08/2008
 Message edited by: smoq2 09/09/2009 22:40:05
Messages: 2433
|
---QUOTATION--- I added a condition to prevent looting for individual npcs anyway as almost all of them are suppose to be part of the storyline and some arn't suppose to move at all.
http://www.megaupload.com/?d=TX405OO5
Check if this one works, and still tell me if the csky guys near the bridge are a squad or not. And if there is a squad dot tell me if there are more then 5 csky guys around.
That one seems to have a problem, it blocks all NPC's from looting, and also has a massive performance hit - I was getting about 10fps in the Swamps, but everything was fine with the script removed, so maybe there's a 'loop' in the script
Btw, the CS squad at the bridge aren't actually a squad - there's 7 of them including Lebedev, and no squad leader, so I have no idea how they are spawned ---END QUOTATION---
It works, check again, the consequence of "on_move" condition is that squads will loot only after reaching their final destination.
The page you need in the public telephone booth will always be missing.
The pendulum spins clockwise...
Current project:
S.T.A.L.K.E.R: The Faction War
https://www.gsc-game.com/main.php?t=community&s=forums&s_game_type=xr2&thm_id=22757&page=1&sec_id=22&sort=ASC&no_transl=#307619
|
15:45:08 9 September 2009 |
|
x_Spartan_x
Whos got the Kokoretsi? (Resident)
 On forum: 07/07/2009
 Message edited by: x_Spartan_x 09/10/2009 9:33:50
Messages: 1971
|
---QUOTATION--- @ RoboMook - did the file I uploaded work for scripted squads?
Here is the script with "move" condition blocker:
http://www.megaupload.com/?d=M3Y5NKPZ
Well, I just fired-up the Limansk bridge mission and I didn't get any CTD's or console errors, but it didn't stop the CS squad from looting
I used the second one you posted btw.
Hmm, now I see that the CS squad near the bridge is actually not scripted. I cannot find any scripted CSky squads in squad_descr_redforest.ltx. How the hell did they do this?
Are the bridge CSky npcs actually a squad or just a bunch of individual npcs? Check the PDA map if they have a squad dot.
[EDIT]
I added a condition to prevent looting for individual npcs anyway as almost all of them are suppose to be part of the storyline and some arn't suppose to move at all.
http://www.megaupload.com/?d=TX405OO5
Check if this one works, and still tell me if the csky guys near the bridge are a squad or not. And if there is a squad dot tell me if there are more then 5 csky guys around. ---END QUOTATION---
look in misc\script not desc.
or its in all.spawn. il look in all.spawn see if i can find, i only from now, have time to check looting script, altho i did try this, and will finish the res of test tomoro(had comp probs all day, plus i got to release v0.3 of add'on)
mmm il see what happens, and il specificly find the squads for you.
st.disabled_objects = {
item:section() ~= "bread"=true,
item:section() ~= "bread2"=true,
item:section() ~= "kolbasa"=true,
item:section() ~= "kolbasa2"=true
}
ive paced this at bottom of script, it was left blank, so i belive here you add the items\obj you dont want them to pick up.
i think here or maybe in the other, il test this and report.
PS; i got 2 types of bread and sausage, so its just test to see if they dont pick those up, later il fill it in properly.
hope this works.
"DC Beta v0.65.5" & "Patch Build 4".
https://www.gsc-game.com/index.php?t=community&s=forums&s_game_type=xr2&thm_page=1&thm_id=22535&sec_id=21
Steam Group.
http://steamcommunity.com/groups/spartan_11_11
Currently working on
"The Lions Roar v1.0" (TLR v1.0 Estimated 2012).
http://i239.photobucket.com/albums/ff251/Spartan2073/GlobalMap-1.jpg
http://www.youtube.com/watch?v=bsWwmw2-urE&feature=related
|
|