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

« Previous 10 events | 1 2 3 | All Messages
Posted by/on
Question/AnswerMake Newest Up Sort by Descending
  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.
  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.
  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.
  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)
  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
  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.
 
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.