ProjectsWhat's NewDownloadsCommunitySupportCompany
Forum Index » S.T.A.L.K.E.R.: Shadow of Chernobyl Forum » Mod discussion
[REL] Stalker - Rebalanced v1.05 [Discussion]

1 2 3 4 5 6 ... 71 | Next 10 events »
Posted by/on
Question/AnswerMake Oldest Up Sort by Ascending
  10:17:17  5 June 2012
profilee-mailreply Message URLTo the Top
Storm Shadow
A machine, a Shadow Machine.
(Resident)

 

 
On forum: 11/14/2007
Messages: 1418
Hello all, this project is not dead. But please consider this thread to be closed.

all future correspondence can be directed to this thread now:

[WIP] Stalker Reblanced v1.2 beta
http://www.gsc-game.com/main.php?t=community&s=forums&s_game_type=xr&thm_id=21537&sec_id=16

Regards, Storm Shadow.
  23:47:19  22 February 2011
profilee-mailreply Message URLTo the Top
Vintar
a bit of this and a lot of that
(Resident)

 

 
On forum: 08/08/2008
Messages: 6346
In your stop dream function, give yourself an info portion like "dream_stopped", then add to bind_stalker in update function to check for this info, if you have the info and time elapsed is 2 seconds then disable info and spawn drink.
  20:24:33  22 February 2011
profilee-mailreply Message URLTo the Top
Storm Shadow
A machine, a Shadow Machine.
(Resident)

 

 
On forum: 11/14/2007
Messages: 1418

---QUOTATION---
Ah then its easy to check if its like 2 seconds after sleeping and then spawn and drink.
---END QUOTATION---



Yeah, i'm also thinking a simple delay might be the answer.
  20:18:40  22 February 2011
profilee-mailreply Message URLTo the Top
Vintar
a bit of this and a lot of that
(Resident)

 

 
On forum: 08/08/2008
Messages: 6346
Ah then its easy to check if its like 2 seconds after sleeping and then spawn and drink.
  17:20:34  22 February 2011
profilee-mailreply Message URLTo the Top
Vlam
Zone metalhead
(Resident)

 

 
On forum: 04/04/2010
Messages: 225
Looks awesome. I'm going to try this for sure.
  16:59:56  22 February 2011
profilee-mailreply Message URLTo the Top
Storm Shadow
A machine, a Shadow Machine.
(Resident)

 

 
On forum: 11/14/2007
Messages: 1418
um, na. Always did the testing with out any drinks allready in inventory. But am beyond that now. It's not to do with the dreaming.

you see, this is how reb's systems are set in place:

hunger does not effect health (ie, you cannot die of hunger)
hunger decreases endurance (power)
hunger decreases max power
hunger increases over time
edurence increases over time whilst not moving.
sleeping increases time / therefore it increases the effects of time
sleeping whilest hungry decreses endurance

i am trying to make it so that sleeping will increase endurance to max (whatever max happens to be, due to the effects of hunger).

The trouble is, that it appears the effects of time are applied to the actor after the sleep script has finished. therefore, any code placed in the sleep script to mitigate the effects of time does not have the desired effect.
  13:46:05  22 February 2011
profilee-mailreply Message URLTo the Top
Vintar
a bit of this and a lot of that
(Resident)

 

 
On forum: 08/08/2008
Messages: 6346
Hmm weird, it should work just fine...

Are you sure that you dont have an energy drink in your inventory beforehand?

Maybe I am making the actor drink it too soon and the dream time is diminishing it or summin.
  13:38:21  22 February 2011
profilee-mailreply Message URLTo the Top
Storm Shadow
A machine, a Shadow Machine.
(Resident)

 

 
On forum: 11/14/2007
 

Message edited by:
Storm Shadow
02/22/2011 13:40:42
Messages: 1418

---QUOTATION---
Ok fixed and resent

Lemme know how it goes
---END QUOTATION---



Cheers for all your help buddy, i really do appreciate everything you've been helping me with. Your new code dosn't CTD, trouble is that the drink spawns, but is still not eaten by the actor.

I have shown this problem to one of my work mates, who had never modded stalker before, knows a bit about LUA, but is an absolute scripting genius. He spent at least 6hrs on this last night, inc all the time he needed to get familiar with Stalker LUA. The best solution he could come up with involved simply setting the actors power to 1 like this:
db.actor.power = 1


Trouble is, that the sleep / time / hunger effects are applied to the actor after this script finishes. so, even tho, we can now set the actors power to what we want, the engine still reduces it to what it wants, after that.

So tonight he's going to look at other ways to work around this, maybe a delay, or maybe finding out where the engine executes this code, and putting the script in after that.

We believe the solution my be in upgrading the sleep_manager.script, from the Dream Mod 0.1 to a newer 0.2 version, if this very old mod can be found anywhere.

If anyone has it, or a link to it, i would be very appreciative.

Cheers, Shadow.
  15:42:48  21 February 2011
profilee-mailreply Message URLTo the Top
Vintar
a bit of this and a lot of that
(Resident)

 

 
On forum: 08/08/2008
Messages: 6346
Ok fixed and resent

Lemme know how it goes
  14:34:40  21 February 2011
profilee-mailreply Message URLTo the Top
Storm Shadow
A machine, a Shadow Machine.
(Resident)

 

 
On forum: 11/14/2007
Messages: 1418
cheers buddy - sent.
 
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-2017 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.