Home » MODDING HQ 1.13 » Flugente's Magika Workshop » New feature: easily placed extra civilians
Re: New feature: easily placed extra civilians[message #344872 is a reply to message #344871]
|
Tue, 05 April 2016 14:07
|
|
Flugente |
|
Messages:3507
Registered:April 2009 Location: Germany |
|
|
Hmm. I guess I could expand both functions. Items are somewhat of a problem though - I currently create armed civilian as soldiers, which takes care of their equipment. Having custom items override that requires a lot of additional stuff (deleting preset items depending on what custom items are set,taking care of ammo, attachments, all this with regard to the progress values...).
Additionally, it seems to me that huge problem any modder would have with lua is that they cannot store any state variables. There are the games facts, which we access with CheckFact() and SetFact(), but these are hardcoded, and modders only know those that coders deemed intersting enough to put them into the script. Theoretically, a modder can store things (like whether they spawned someone somewhere) in there, but as you don't know without code knowledge wwhich facts exist and what they are used for, that's a recipe for disaster.
Perhaps it would be an idea to create, say, an array of 1000 integers that are solely used as a modder-administered 'memory' for lua purposes? That way, you could, say, remember whether you spawned, say, a custom armed civilian bounty hunter. You would then know whether to spawn him again or not somewhere...
...though the drawback is that currently, you have no way in lua to know whether a specific enemy dies (you also have no way to get the specific ID of someone). All requires additional code interfaces.
Hmpf.
I guess what I try to say is: I am aware that modders would like to be able to have better interaction with lua, but this requires a lot more work on the coding site of things, as you have to create interfaces for every function. Additionally, as we cannot debug lua, any stuff a modder does in there becomes so much harder to test and check for errors.
I know now that it could never work between us, as much as we wanted to, it could never be! Not because you're a rabbit, but because you're black.
If you want, you can donate to me. This will not affect how and what I code, and I will not code specific features in return. I will be thankful though.Report message to a moderator
|
|
|
|
|
|
New feature: easily placed extra civilians
By: Flugente on Sun, 03 April 2016 17:20
|
|
|
Re: New feature: easily placed extra civilians
By: smeagol on Sun, 03 April 2016 17:59
|
|
|
Re: New feature: easily placed extra civilians
By: CVB on Sun, 03 April 2016 19:27
|
|
|
Re: New feature: easily placed extra civilians
By: Flugente on Sun, 03 April 2016 19:45
|
|
|
Re: New feature: easily placed extra civilians
By: CVB on Sun, 03 April 2016 22:30
|
|
|
Re: New feature: easily placed extra civilians
By: Flugente on Sun, 03 April 2016 22:46
|
|
|
Re: New feature: easily placed extra civilians
By: CVB on Sun, 03 April 2016 23:56
|
|
|
Re: New feature: easily placed extra civilians
By: Kitty on Sun, 05 May 2019 19:11
|
|
|
Re: New feature: easily placed extra civilians
By: CVB on Tue, 05 April 2016 09:53
|
|
|
Re: New feature: easily placed extra civilians
By: Flugente on Tue, 05 April 2016 14:07
|
|
|
Re: New feature: easily placed extra civilians
By: CVB on Tue, 05 April 2016 17:02
|
|
|
Re: New feature: easily placed extra civilians
By: Flugente on Tue, 05 April 2016 23:50
|
|
|
Re: New feature: easily placed extra civilians
By: CVB on Wed, 06 April 2016 16:16
|
|
|
Re: New feature: easily placed extra civilians
By: Flugente on Thu, 07 April 2016 01:06
|
|
|
Re: New feature: easily placed extra civilians
By: CVB on Thu, 07 April 2016 14:44
|
|
|
Re: New feature: easily placed extra civilians
|
|
|
Re: New feature: easily placed extra civilians
By: Wil473 on Thu, 07 April 2016 19:49
|
|
|
Re: New feature: easily placed extra civilians
By: CVB on Mon, 11 April 2016 21:02
|
|
|
Re: New feature: easily placed extra civilians
By: Flugente on Mon, 11 April 2016 21:13
|
|
|
Re: New feature: easily placed extra civilians
|
|
|
Re: New feature: easily placed extra civilians
By: Slax on Sun, 15 May 2016 21:35
|
|
|
Re: New feature: easily placed extra civilians
|
|
|
Re: New feature: easily placed extra civilians
By: Kitty on Mon, 03 June 2019 01:01
|
|
|
Re: New feature: easily placed extra civilians
|
|
|
Re: New feature: easily placed extra civilians
By: Kitty on Mon, 03 June 2019 06:46
|
|
|
Re: New feature: easily placed extra civilians
|
|
|
Re: New feature: easily placed extra civilians
By: tais on Sun, 03 April 2016 22:04
|
|
|
Re: New feature: easily placed extra civilians
|
|
|
Re: New feature: easily placed extra civilians
By: Kitty on Sun, 05 May 2019 18:56
|
|
|
Re: New feature: easily placed extra civilians
By: Kitty on Mon, 03 June 2019 00:47
|
Goto Forum:
Current Time: Tue Dec 03 09:01:28 GMT+2 2024
Total time taken to generate the page: 0.01475 seconds
|