ProjectsWhat's NewDownloadsCommunitySupportCompany
Forum Index » S.T.A.L.K.E.R.: Shadow of Chernobyl Forum » Mod discussion
[WIP] Stalker Reblanced v1.2 beta

« Previous 10 events | 1 2 3 4 5 6 7 8 9 | Next 10 events »| All Messages
Posted by/on
Question/AnswerMake Oldest Up Sort by Ascending
  14:26:39  11 July 2012
profilee-mailreply Message URLTo the Top
Storm Shadow
A machine, a Shadow Machine.
(Resident)

 

 
On forum: 11/14/2007
 

Message edited by:
Storm Shadow
07/11/2012 14:28:55
Messages: 1430
1. Good to hear from you NV, and thanks for the advice, turns out you were right! There are 2 places where i needed to put in that comma, and I only put it into one of them. When I 1st read your post, i thought; i've already done that! but, turns out I just needed to look a bit harder. Thanks again.

Also, i've just come across your .ogg comment reader / editor, very nice! and a tool thats been missing from the community until now. Thanks for this also, it will make all audio stuffs sooooo painless

2. Next problem now. My game starts up fine and i can make it to my new quest giver (agr_ratcatcher), but when I click on the have you got any missions text; i get this crash:
Expression    : fatal error
Function      : CScriptEngine::lua_error
File          : E:\stalker\sources\trunk\xr_3da\xrGame\script_engine.cpp
Line          : 73
Description   : <no expression>
Arguments     : LUA error: ...ow of chernobyl\gamedata\scripts\task_manager.script:305: bad argument #1 to 'pairs' (table expected, got nil)

I've been working on this for days now, but just cant figure out what im missing.

Im using ZRP 1.05 (either R10 or R11, not entirely sure).

And another funny thing is that I've noticed that ratcatcher dosn't have a story id in his all.spawn entry, but if i add it in (correctly) i get this crash on new game start:
Expression    : no_assert
Function      : CALifeStoryRegistry::add
File          : E:\stalker\sources\trunk\xr_3da\xrGame\alife_story_registry.cpp
Line          : 30
Description   : Specified story object is already in the Story registry!

Which is odd, because every other quest giver has their story id in all.spawn!

I dont get it! please help. Thanks in advance, again
  22:24:56  9 July 2012
profilee-mailreply Message URLTo the Top
NatVac
Senior Resident
 

 
On forum: 06/15/2007
Messages: 4286
You did add something new, Storm Shadow. You added a new task giver. And you probably left off the comma for the previous task giver when you added the new one.

The table is a series of task givers, like so: { 1, 2, 3, 4, 5 }.

You added another: { 1, 2, 3, 4, 5 6 }.

Whoops. As fluffy22 notes, bad syntax, so task_manager.script doesn't parse. This means there's no task_manager script object. Now, I don't know what _g.script version you are using, but start_game_callback() invokes task_manager.clear_task_manager() in the vicinity of line 1250 for the ZRP versions.

You might have done something else, but it is still a change and it still results in a nil task_manager script object.

With task_manager nil, task_manager.clear_task_manager() causes Lua to "throw" a fit: the "attempt to index global 'task_manager' (a nil value)" exception.
  21:32:31  9 July 2012
profilee-mailreply Message URLTo the Top
Storm Shadow
A machine, a Shadow Machine.
(Resident)

 

 
On forum: 11/14/2007
Messages: 1430

---QUOTATION---
Syntax error in the task_manager script.
---END QUOTATION---



yeah, but why?


---QUOTATION---
If you are employing a new script linked to the new task(s), that is probaly the problem. It crashes task_manager which in turn crashes _g.script.

You will find it out by comparing it with the jobs like this you did before man.
---END QUOTATION---



na, thats not it. I havnt added anything new. I've just made an ordinary (unique) character a quest giver, and given him a couple of existing quests.
  18:45:51  9 July 2012
profilee-mailreply Message URLTo the Top
ZaGaR
Skaarj Hybrid - NaPali survivor
(Resident)

 

 
On forum: 07/24/2007
Messages: 647
If you are employing a new script linked to the new task(s), that is probaly the problem. It crashes task_manager which in turn crashes _g.script.

You will find it out by comparing it with the jobs like this you did before man.
  14:18:57  9 July 2012
profilee-mailreply Message URLTo the Top
SetaKat
Ex modder, Zones only ferret and will someday release a game
(Resident)

 

 
On forum: 02/20/2010
Messages: 6340
Syntax error in the task_manager script.
  12:49:07  9 July 2012
profilee-mailreply Message URLTo the Top
Storm Shadow
A machine, a Shadow Machine.
(Resident)

 

 
On forum: 11/14/2007
 

Message edited by:
Storm Shadow
07/09/2012 12:50:05
Messages: 1430
ok, im trying to add a new quest giver (i've done this before, honest), but i must be missing somting. im getting this crash right now:
Expression    : fatal error
Function      : CScriptEngine::lua_error
File          : E:\stalker\sources\trunk\xr_3da\xrGame\script_engine.cpp
Line          : 73
Description   : <no expression>
Arguments     : LUA error: ....r. - shadow of chernobyl\gamedata\scripts\_g.script:1250: attempt to index global 'task_manager' (a nil value)

cant figure out what it is right now, going to bed. hope fully by morning someone can point me in the right direction......

cheers in advance -_-
  13:47:38  20 June 2012
profilee-mailreply Message URLTo the Top
ZaGaR
Skaarj Hybrid - NaPali survivor
(Resident)

 

 
On forum: 07/24/2007
Messages: 647
As you say bro, we'll se as it proceeds. I'm always ready to test-grind it and drown you with critics .

For the weapons power stuff, nandersen has this small script that goes through all declared ammo sections in weapons.ltx and multiplies the k_hit by a value. But that is that, it is done once at the begining and it remains like that until you run the script again with a different multiplier. I forgot its name, Balistic ... something, probably.

I see it diffcult to add a global variable in the .ltx without a script declaring and giving a value to it. nandersen has also the Progressive Weapons mod that deals with weapons params in a more complicated way. Have a look at it.
  09:27:06  20 June 2012
profilee-mailreply Message URLTo the Top
Storm Shadow
A machine, a Shadow Machine.
(Resident)

 

 
On forum: 11/14/2007
Messages: 1430

---QUOTATION---
Shadow my man, what about the old page at weebly? I checked in there and it is intact, although no one is using it.
---END QUOTATION---



I know, i dont really see a need to use it at the mo. as its just me plugging away on the final stages. maybe once the public beta is out some ppl may want to reform or join the old team.... yr thoughts?
______________________

New question:

Is there a way I can add / use a multiplier that will control the damage (hit power) of all bullets in game?

I have already tried experimenting with adding bullet_hit_power_k, k_hit & hit_power to both bullet_manager & ammo_base in weapons.ltx, but none of them have any effect.

Cheer, SS
  17:21:10  18 June 2012
profilee-mailreply Message URLTo the Top
ZaGaR
Skaarj Hybrid - NaPali survivor
(Resident)

 

 
On forum: 07/24/2007
Messages: 647
Shadow my man, what about the old page at weebly? I checked in there and it is intact, although no one is using it.
  11:43:35  18 June 2012
profilee-mailreply Message URLTo the Top
Storm Shadow
A machine, a Shadow Machine.
(Resident)

 

 
On forum: 11/14/2007
Messages: 1430
thnx NV, that seemed to be enough, i just commented out the is_indoor check in the script (i was thinking of trying that anyway). it works, so now the underground has the correct sky (night time / rain / etc) and it all matches the outside weather, which is cool as now.

however, it does now have the outside ambient weather sounds, but this isnt so bad, its just a bit of wind noise and the odd insect clicking away. but the level still has its own ambient sounds, like the creaking of pipes and the like. so its still sweet and it works well.

it must be a different script, the SWO 3.1.1 script dosnt have any such code (or typo)

like old times, cheer for you advice bro
 
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.: Shadow of Chernobyl Forum » Mod discussion
 

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


 

Copyright © 1995-2020 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.