tag:blogger.com,1999:blog-736684970174462098.post2299016740604293156..comments2023-11-03T02:36:41.872-07:00Comments on FPS Creator Reloaded: Successful Launch Of V1.0071Anonymoushttp://www.blogger.com/profile/00942934253243738809noreply@blogger.comBlogger16125tag:blogger.com,1999:blog-736684970174462098.post-5434293295426072242014-06-11T07:14:29.759-07:002014-06-11T07:14:29.759-07:00sorry... looks like this is working. Thanks so muc...sorry... looks like this is working. Thanks so much LeeMichael Hillshttps://www.blogger.com/profile/04373104657214196606noreply@blogger.comtag:blogger.com,1999:blog-736684970174462098.post-40780405564660522632014-06-11T07:09:36.965-07:002014-06-11T07:09:36.965-07:00Let me know if you still need me to look at it. Re...Let me know if you still need me to look at it. Remember; NESTING is your bestest friend!!Anonymoushttps://www.blogger.com/profile/00942934253243738809noreply@blogger.comtag:blogger.com,1999:blog-736684970174462098.post-85668392009301127852014-06-11T07:05:11.929-07:002014-06-11T07:05:11.929-07:00OopsI think I just forget to add and 'end'...OopsI think I just forget to add and 'end'Michael Hillshttps://www.blogger.com/profile/04373104657214196606noreply@blogger.comtag:blogger.com,1999:blog-736684970174462098.post-23277038982510913422014-06-11T07:02:49.640-07:002014-06-11T07:02:49.640-07:00This is the script from smallg with the added init...This is the script from smallg with the added init function. It works splendidly for occlusion, and gives me much faster frames rate. Only the new function is not working. Perhaps I did something wrong:<br /><br />-- LUA Script - precede every function and global member with lowercase name of script + '_main'<br />-- Player Enters occlusion Zone<br /><br />--set veiw range here (anything beyond this range will be invisible while player is inside the 'zone'<br />local distance = 2000<br />--set this to the (e) value of your startmarker<br />local startmarkerE = 1460<br />--anything below this HP will not be shown (i.e. markers for zones)<br />local health_limit = 2<br /><br />function occlusion9_init(e)<br />function occlusion9_main(e)<br />for a = 1, 51999 do<br />if g_Entity[a] ~= nil then<br /> PlayerDX = g_Entity[a]['x'] - g_PlayerPosX;<br /> PlayerDY = g_Entity[a]['y'] - g_PlayerPosY;<br /> PlayerDZ = g_Entity[a]['z'] - g_PlayerPosZ;<br /> PlayerDist = math.sqrt(math.abs(PlayerDX*PlayerDX)+math.abs(PlayerDY*PlayerDY)+math.abs(PlayerDZ*PlayerDZ));<br />if g_Entity[a]['health'] >= health_limit and a ~= startmarkerE then<br />if PlayerDist < distance then<br /> Show(a)<br />else<br /> Hide(a)<br />end --end distance check<br />end --end HP check<br />end --end nil check<br />end --end for loop<br />end --end functionMichael Hillshttps://www.blogger.com/profile/04373104657214196606noreply@blogger.comtag:blogger.com,1999:blog-736684970174462098.post-40729316478527541952014-06-11T06:59:50.111-07:002014-06-11T06:59:50.111-07:00The init fixes my issue so thanks for the tip. I&#...The init fixes my issue so thanks for the tip. I've been using init in a lot of scripts already, but didn't realize it was required to work properly. I don't think I saw that written up anywhere. Anyway, it has saved the day and I'm passing it on to everyone on the forums so they can fix their own issues.Tommy Scotthttps://www.blogger.com/profile/09150716981620675891noreply@blogger.comtag:blogger.com,1999:blog-736684970174462098.post-3096298262644223312014-06-11T06:57:10.204-07:002014-06-11T06:57:10.204-07:00Send me the script, I like looking at user scripts...Send me the script, I like looking at user scripts, very educational!!Anonymoushttps://www.blogger.com/profile/00942934253243738809noreply@blogger.comtag:blogger.com,1999:blog-736684970174462098.post-41458550065994823972014-06-11T06:39:36.047-07:002014-06-11T06:39:36.047-07:00I tried you suggestion now at preparing dynamic li...I tried you suggestion now at preparing dynamic lights window I get my occlusion script error: script\occlusion2.lua:28 'end' expected (to close 'function' at line 11) near . Line 11 is where the new inti function lives, so looks like we are missing code, or wrong syntax...Michael Hillshttps://www.blogger.com/profile/04373104657214196606noreply@blogger.comtag:blogger.com,1999:blog-736684970174462098.post-28052875592785773922014-06-11T06:37:57.291-07:002014-06-11T06:37:57.291-07:00Are these custom scripts, or stock ones? If stock...Are these custom scripts, or stock ones? If stock, can you send me an FPM which holds all the scripts so I can see the crash myself, thanks!!Anonymoushttps://www.blogger.com/profile/00942934253243738809noreply@blogger.comtag:blogger.com,1999:blog-736684970174462098.post-36316302926299763792014-06-11T06:37:43.609-07:002014-06-11T06:37:43.609-07:00I got upto 17 total before a crash but that was on...I got upto 17 total before a crash but that was on a blank flat map with just 1 script type.. 18 crashes 17 works. not tried this init line yet though tbhlordalmighty1https://www.blogger.com/profile/11421095248243249978noreply@blogger.comtag:blogger.com,1999:blog-736684970174462098.post-40561994546096356632014-06-11T06:14:53.458-07:002014-06-11T06:14:53.458-07:00I will try that Lee, thanks, and doing so, I am co...I will try that Lee, thanks, and doing so, I am confirming Tom Scott in his script lamentations. Right now it crash for me after around 12th scripts...Michael Hillshttps://www.blogger.com/profile/04373104657214196606noreply@blogger.comtag:blogger.com,1999:blog-736684970174462098.post-2474118704925583382014-06-11T01:11:58.978-07:002014-06-11T01:11:58.978-07:00A tip on scripts, make sure you include an _INIT i...A tip on scripts, make sure you include an _INIT in your script, similar to _MAIN. So it would be function myscript_init(e) just above the function myscript_main(e). This might solve your issue.Anonymoushttps://www.blogger.com/profile/00942934253243738809noreply@blogger.comtag:blogger.com,1999:blog-736684970174462098.post-67786593917460116222014-06-10T15:07:09.941-07:002014-06-10T15:07:09.941-07:00We need another hotfix immediately. I reported a b...We need another hotfix immediately. I reported a bug on the forums that is a major issue that needs resolving immediately. If you have too many scripts, even if they just include an empty main function, the system hangs on Initializing Physics and ultimately reverts back to the editor and restoring the last saved state. And I'm not even talking about a lot of scripts, but just 25-30. And empty scripts at that. This is serious.Tommy Scotthttps://www.blogger.com/profile/09150716981620675891noreply@blogger.comtag:blogger.com,1999:blog-736684970174462098.post-73901825870298642062014-06-10T13:08:09.699-07:002014-06-10T13:08:09.699-07:00No way your cheapening the product. At least give...No way your cheapening the product. At least give good working machines the potential to be more than a minecraft reloaded. The 2 shots differ big time and of course the lower specs want less as they can't go higher so makes no difference to them. I ob the other hand like the added benefit of high detail. And more so lower end will vote for less through a little manipulation of jealousy maybe. I think it is backwards. But why not make it spectrum standards then all happy :) I say no unless a new shader is readyscience manhttps://www.blogger.com/profile/00214137679258271203noreply@blogger.comtag:blogger.com,1999:blog-736684970174462098.post-63332966980541130942014-06-10T11:47:43.688-07:002014-06-10T11:47:43.688-07:00Thank you so much! I appreciate you taking time to...Thank you so much! I appreciate you taking time to write back, I know you are very very busy creating this amazing engine. (: I wil check the mailing system on the forums.Anonymoushttps://www.blogger.com/profile/00938582756317681345noreply@blogger.comtag:blogger.com,1999:blog-736684970174462098.post-13605689049409630012014-06-10T11:42:34.113-07:002014-06-10T11:42:34.113-07:00We have a support mail system on the TGC forum. Yo...We have a support mail system on the TGC forum. You can find help there ;)Anonymoushttps://www.blogger.com/profile/00942934253243738809noreply@blogger.comtag:blogger.com,1999:blog-736684970174462098.post-91978702351266865232014-06-10T11:40:17.454-07:002014-06-10T11:40:17.454-07:00lee? Im having issues installing v1.0071 it just s...lee? Im having issues installing v1.0071 it just sits there in the installer doing nothing. Not sure what the issue is. It says error issue adding ink to start menu. and just keeps trying over and over and failing.Anonymoushttps://www.blogger.com/profile/00938582756317681345noreply@blogger.com