ProjectsWhat's NewDownloadsCommunitySupportCompany
Forum Index » S.T.A.L.K.E.R.: Shadow of Chernobyl Forum » Mod discussion
Lua coding question

Posted by/on
Question/AnswerMake Newest Up Sort by Descending
  14:22:05  26 March 2012
profilee-mailreply Message URLTo the Top
Stalkerstein
Senior Resident
 

 
On forum: 04/24/2010
Messages: 1975
Lua coding question

In the below line of code there are '%' symbols together.
What does that do or mean?


return (string.gsub(s, "[%^%$%(% %%%.%[%]%*%+%-%?]", "%%%1" )
  17:00:33  26 March 2012
profilee-mailreply Message URLTo the Top
Cromm Cruac
Сделано в Чернобыле
(Resident)

 

 
On forum: 11/19/2009
 

Message edited by:
Cromm Cruac
03/26/2012 17:01:29
Messages: 1143
It's LUA regular expression search/replace string. Look here:
http://lua-users.org/wiki/StringLibraryTutorial
  17:41:54  26 March 2012
profilee-mailreply Message URLTo the Top
Stalkerstein
Senior Resident
 

 
On forum: 04/24/2010
 

Message edited by:
Stalkerstein
03/26/2012 17:42:53
Messages: 1975

---QUOTATION---
It's LUA regular expression search/replace string. Look here:
http://lua-users.org/wiki/StringLibraryTutorial
---END QUOTATION---




I see, I see! Thanks!

By the way, does you awesome Atmosfear 3 work with any AMK N.S. mods or should I say SHOC?
  19:37:57  26 March 2012
profilee-mailreply Message URLTo the Top
Cromm Cruac
Сделано в Чернобыле
(Resident)

 

 
On forum: 11/19/2009
Messages: 1143
AF3 for SoC is still in development but there are several mods that use AF3 textures applied to S.W.O. or AMK dynamic weather.
Textures are squashed vertically though because of the different skybox model size in SoC.
However some time ago someone contacted me and claimed he resized the textures for his mod. Unfortunately I can't remember which mod was that.
 
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.