ProjectsWhat's NewDownloadsCommunitySupportCompany
Forum Index » S.T.A.L.K.E.R.: Shadow of Chernobyl Forum » Mod discussion
spawning through a script help

1 2 3 | Next 10 events »| All Messages
Posted by/on
Question/AnswerMake Oldest Up Sort by Ascending
  18:17:37  28 February 2013
profilee-mailreply Message URLTo the Top
insanelazarez
Yeah, Good Luck With That...
(Resident)

 

 
On forum: 01/31/2009
Messages: 1070

---QUOTATION---
hey insanelazarez, whats up? You seem to be quite touched by those scripters here, he?
Try to do not get them wrong here, they did not want to attack you in any way.
As said, both ways could do the trick. All.spawn is sometimes easier to implement, scripting could be more dynamic and powerful. For standart tasks it is more a matter of taste than a matter of functionality. If you are familiar with the all.spawn, than you really should use that. If you know LUA and are familier with the XRay LUA (kind of) API, than it could be better to use that.
it should be pretty obvious the things with script are faster and easier. But everything gets messy.
You know me, i wouldn´t lie to you. This is just not true. If you know what you do in LUA nothing gets messy. In fact even if you do not know what you do (but are a good copy and paster) it not has to get messy - just take a look at aliVe´s spawn scripts they are messy as hell but the spawns done with them work fine.


(for those good scripters out there, if you want to look at really shitty code you should dl aliVe and take a look at the scripts)

---END QUOTATION---



Hello gannebamm, everything ok? Well, i am not 'touched by those scripters' at all. You know i use new functions, and you (among others) helped me several times with some of those functions. But for creating items in game on a final mod release, the stability is better by all.spawn, that didn't change. But the game needs scripts, like it needs textures, models, etc.

That's it... hey... Gannebamm, check this out:

[link]

http://www.youtube.com/watch?v=QZ7zgeAsyc0

[/link]

I like to play with bandits, but i must tweak the 'Ara' Group... cause once in combat they are way too bad. Poor bastards. Lol.
  15:54:47  28 February 2013
profilee-mailreply Message URLTo the Top
Meltac
messing with code
(Resident)

 

 
On forum: 01/21/2010
Messages: 1519

---QUOTATION---
(for those good scripters out there, if you want to look at really shitty code you should dl aliVe and take a look at the scripts)

---END QUOTATION---



TBH it's already sufficient to look into the vanilla scripts concerning this matter
  22:20:50  27 February 2013
profilee-mailreply Message URLTo the Top
gannebamm
has abondened XRay and uses Unity3D now
(Resident)

 

 
On forum: 05/02/2007
Messages: 1077
hey insanelazarez, whats up? You seem to be quite touched by those scripters here, he?
Try to do not get them wrong here, they did not want to attack you in any way.
As said, both ways could do the trick. All.spawn is sometimes easier to implement, scripting could be more dynamic and powerful. For standart tasks it is more a matter of taste than a matter of functionality. If you are familiar with the all.spawn, than you really should use that. If you know LUA and are familier with the XRay LUA (kind of) API, than it could be better to use that.

---QUOTATION---
it should be pretty obvious the things with script are faster and easier. But everything gets messy.
---END QUOTATION---


You know me, i wouldn´t lie to you. This is just not true. If you know what you do in LUA nothing gets messy. In fact even if you do not know what you do (but are a good copy and paster) it not has to get messy - just take a look at aliVe´s spawn scripts they are messy as hell but the spawns done with them work fine.


(for those good scripters out there, if you want to look at really shitty code you should dl aliVe and take a look at the scripts)
  22:14:24  27 February 2013
profilee-mailreply Message URLTo the Top
insanelazarez
Yeah, Good Luck With That...
(Resident)

 

 
On forum: 01/31/2009
Messages: 1070

---QUOTATION---
I love how you are freaking out for absolutely no reason. Calm down.
---END QUOTATION---



Aha... wow. I don't think anyone is freaking out at all. It's just a matter of opinion.
  20:08:09  27 February 2013
profilee-mailreply Message URLTo the Top
ThunderFreak
Senior Resident
 

 
On forum: 08/07/2009
Messages: 685

---QUOTATION---
... One more thing I would like to know if possible. Rather then making the script from a function (like when I select a text when talking to a NPC) is it possibloe to spawn a monster when entering a level? Is that more complicated to write out?

Thank you very much
---END QUOTATION---


It's more or less the same like to spawn something in front of Sido's bunker.
The only thing you to do before the spawn is to check if the actor is the particular level.
  19:04:36  27 February 2013
profilee-mailreply Message URLTo the Top
Alundaio
Sad Clown
(Resident)

 

 
On forum: 04/05/2010
 

Message edited by:
Alundaio
02/27/2013 19:06:01
Messages: 2230
I love how you are freaking out for absolutely no reason. Calm down.
  17:05:46  27 February 2013
profilee-mailreply Message URLTo the Top
insanelazarez
Yeah, Good Luck With That...
(Resident)

 

 
On forum: 01/31/2009
Messages: 1070

---QUOTATION---
It's fine you want to use the all.spawn, nothing wrong with that. But you were making silly claims about spawning by script being random and laggy.
---END QUOTATION---



Sorry, but it's a fact the things get messy by script. For some reason i use the all.spawn. Consider this... create a medkit by script somewhere. Make sure you memorize the position and repeat the spawn after say 15 seconds... is the second medkit in the same spot? And the coordenates are the same... so... why?

Btw, you guys are actually modding the all.spawn? I mean you guys actually tried to mod it? The point is, if a modder uses both techniques all.spawn and scripts... it should be pretty obvious the things with script are faster and easier. But everything gets messy. But if spawning by script is the only process you use... there's no comparison possible.

Lets face it, if we don't change all.spawn... how can we confirm someone's theory about using it? Jesus Christ...
  16:53:33  27 February 2013
profilee-mailreply Message URLTo the Top
Rattertat
(Novice)
 
On forum: 02/20/2013
Messages: 4
Hi ThunderFreak, ok I have found the issue I think. I had a script for making bolts limited and I think for what ever reason that was messing up the spawn scripts. I removed that from my game and now the spawn scripts work great. I loaded and reloaded many many many time to test. The zombies spawn in the same place each time with the correct number . I have now used that script as a template to spawn chimeras too!!! I tested that many many time and it works great.

One more thing I would like to know if possible. Rather then making the script from a function (like when I select a text when talking to a NPC) is it possibloe to spawn a monster when entering a level? Is that more complicated to write out?

Thank you very much
  12:45:35  27 February 2013
profilee-mailreply Message URLTo the Top
Alundaio
Sad Clown
(Resident)

 

 
On forum: 04/05/2010
Messages: 2230
It's fine you want to use the all.spawn, nothing wrong with that. But you were making silly claims about spawning by script being random and laggy.
  12:18:30  27 February 2013
profilee-mailreply Message URLTo the Top
ThunderFreak
Senior Resident
 

 
On forum: 08/07/2009
Messages: 685
Now he got it wrongly. What I tried to say is not every thing can be done with the all.spawn. For dynamic stuff you need a script. That's all what I tried to say.
 
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-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.