 |
 |
 |
|
 |
 |
 |
|
 |
 |
spawning through a script help |
|
1 2 3 | Next 10 events »| All Messages |
|
|
18:17:37 28 February 2013 |
|
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.
"Between you and us, that thing that killed you is a total dick. Please disregard this message if you committed suicide."
http://www.moddb.com/members/insanelazarez/videos/stalker-mutant-zone-tribute#imagebox
http://moddercove.blogspot.com/2011/05/x-ray-engine-e-ia-quello-che-non.html
Diary of a modder:
http://s693.photobucket.com/albums/vv297/insanelazarez/Diary%20of%20a%20Modder/
So, i dare to assume your time machine is better than my time machine, huh? Stupid dog.
Ahh, my old youtube account, check this one out:
http://www.youtube.com/watch?v=1Fu2oyn1Eps
|
22:20:50 27 February 2013 |
|
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)

http://www.moddb.com/members/gannebamm
_________________
and my beloved ones:::
"Why do They call it friendly fire? It's stupid fire, and The ones who do it are not your friends!"
--From "Misremembering STALKER: The Conversations" by NatVac
">> I'm not a LUA programmer but I have notions in POO (I don't know how to say it in english, so I mean "object language"
It's OOP (object-oriented programming), crucifist, but it can be poo in English, too. It depends on the programmer."
- Natvac
|
17:05:46 27 February 2013 |
|
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...
"Between you and us, that thing that killed you is a total dick. Please disregard this message if you committed suicide."
http://www.moddb.com/members/insanelazarez/videos/stalker-mutant-zone-tribute#imagebox
http://moddercove.blogspot.com/2011/05/x-ray-engine-e-ia-quello-che-non.html
Diary of a modder:
http://s693.photobucket.com/albums/vv297/insanelazarez/Diary%20of%20a%20Modder/
So, i dare to assume your time machine is better than my time machine, huh? Stupid dog.
Ahh, my old youtube account, check this one out:
http://www.youtube.com/watch?v=1Fu2oyn1Eps
|
16:53:33 27 February 2013 |
|
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 |
|
1 2 3 | Next 10 events »| All Messages |
|
|
|
» » |
|
All short dates are in Month-Day-Year format. |
 |
|
 |
|
|
|
 |
 |
 |