ProjectsWhat's NewDownloadsCommunitySupportCompany
Forum Index » S.T.A.L.K.E.R.: Clear Sky Forum » Mod discussion
Modding Questions for Clear Sky

« Previous 10 events | 1 2 3 4 5 6 | Next 10 events »| All Messages
Posted by/on
Question/AnswerMake Newest Up Sort by Descending
  14:39:33  8 May 2011
profilee-mailreply Message URLTo the Top
The Xenus
(Senior)
 
On forum: 03/09/2011
Messages: 144

---QUOTATION---

It seems like your diving in head first into the deep end of the pool with modding. I started off smaller. Suit, artifact & weapon tweaks, then adding in my own suits, then new text strings, merging multiple mods together, then moving onto working with the all.spawn, then some dialogs and lua scripts, etc etc.
---END QUOTATION---



I know how I add a new Weapon or a new Suit in the Game. And I know how I make new Text strings. But I need help with scripting and with some config. Files. To make my Own Quests. or Change the spawns....etc.

And I`am really thankful for your help
  18:06:46  11 May 2011
profilee-mailreply Message URLTo the Top
The Xenus
(Senior)
 
On forum: 03/09/2011
Messages: 144
I need help.
which means this error-log

FATAL ERROR

[error]Expression : fatal error
[error]Function : CScriptEngine::lua_error
[error]File : E:\priquel\sources\engine\xrServerEntities\script_engine.cpp
[error]Line : 180
[error]Description : <no expression>
[error]Arguments : LUA error: ....t.a.l.k.e.r. - clear sky\gamedata\scripts\_g.script:975: bad argument #2 to 'format' (string expected, got nil)


stack trace:

I have add new dialogs, and a new NPC in the character_desc_xyz
I dont use the _g.script in my Mod
  22:49:48  11 May 2011
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: 6342
Abort call, so memorise this ctd, and give us the line above it. It should have '! [LUA][ERROR]' at the start. This will tell us where it crashed.
  12:02:15  12 May 2011
profilee-mailreply Message URLTo the Top
The Xenus
(Senior)
 
On forum: 03/09/2011
Messages: 144

---QUOTATION---
Abort call, so memorise this ctd, and give us the line above it. It should have '! [LUA][ERROR]' at the start. This will tell us where it crashed.
---END QUOTATION---



it was my fault
a read error in the logic-script for my NPC.

@fluffy22
i have found a entry in /spawn_section_escape/
;Freeroaming NPCS
sim_esc_stalker_default_walker_1

i have look at the script /esc_generic_walker.ltx
and at the all.spawn

I have some questions:
1. What do that NPC ?
walk he over the level or ?

2. In the all.spawn I found 2 enry`s in "way_l03_escape"
esc_stalker_walker_spawn_1/2
esc_walker_home_north/south
what means this entries ?
  12:42:11  12 May 2011
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: 6342
way_l03_escape? Your obviously not using the CS acdc all.spawn compiler/decompiler.
The freeroaming npcs are spawned by a logic config in configs/scripts/<levelname>/, and the config is in turn bound to a space restrictor in the all.spawn.
The entries in the way file refer to two spawn points, and two 'center' points for a logic scheme.
As for the entry in spawn_section_escape.ltx, that npc is an npc designed to walk around the level. I removed them since a) they didn't do anything but walk. b) they always died at the military outpost, so I couldn't loot all their guns or corpses. c) if I wanted to make them do something, it would mean really complex logic configs that would probably keep on breaking. The Garbage diggers were hard enough to get working.
  14:40:29  29 May 2011
profilee-mailreply Message URLTo the Top
The Xenus
(Senior)
 
On forum: 03/09/2011
Messages: 144
I have a error-log when i try to add the " old mutants"

! [LUA][ERROR] ERROR: Incorrect enter_smart call for squad 38!!! stalker ~= monster

FATAL ERROR

[error]Expression : fatal error
[error]Function : CScriptEngine::lua_error
[error]File : E:\priquel\sources\engine\xrServerEntities\script_engine.cpp
[error]Line : 180
[error]Description : <no expression>
[error]Arguments : LUA error: ....t.a.l.k.e.r. - clear sky\gamedata\scripts\_g.script:975: bad argument #2 to 'format' (string expected, got nil)

stack trace:

can someone help me ?

I have add the old muatns in the "faction_monster".ltx and in the "squad_generic".ltx
  15:13:46  29 May 2011
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: 6342
Its crashed cause a mutant squad is trying to move into a smart terrain controlled by Stalkers (Loners).
I'm not sure how to go about fixing this error, I've never encountered it before
  15:36:13  29 May 2011
profilee-mailreply Message URLTo the Top
The Xenus
(Senior)
 
On forum: 03/09/2011
Messages: 144

---QUOTATION---
Its crashed cause a mutant squad is trying to move into a smart terrain controlled by Stalkers (Loners).
I'm not sure how to go about fixing this error, I've never encountered it before
---END QUOTATION---



ok, I have try another smart_terrain
i have add it in the faction_monster.ltx

start game and crash

! [LUA][ERROR] ERROR: Insufficient smart_terrain jobs esc_smart_terrain_5_6

FATAL ERROR

[error]Expression : fatal error
[error]Function : CScriptEngine::lua_error
[error]File : E:\priquel\sources\engine\xrServerEntities\script_engine.cpp
[error]Line : 180
[error]Description : <no expression>
[error]Arguments : LUA error: ....t.a.l.k.e.r. - clear sky\gamedata\scripts\_g.script:975: bad argument #2 to 'format' (string expected, got nil)

stack trace:
  23:26:40  30 May 2011
profilee-mailreply Message URLTo the Top
The Xenus
(Senior)
 
On forum: 03/09/2011
Messages: 144
Gives a tool for stalker clear sky
which I can see the smart_terrains on my pda map ?
something similar gives for stalker soc

anyone know a tool like this for soc ?
  03:09:29  31 May 2011
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: 6342
Your previous crash is caused by trying to assign a mutant squad to a smart terrain which is already inhabitated by Stalkers, and can only take one squad.

As for seeing the smart terrains on the map, copy _g.script to your gamedata, and at the top, look for dev_debug, anbd set it to true.
 
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.: Clear Sky 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.