Beiträge von itchyboy

    Yeah it's not that big of a deal in the grand scheme of things. I can at least offload my most annoying/repetetive functions into a library and call it a day.

    I'll just continue using my usual method of classes and structs as I always have.

    Again, thank you for dropping all this knowledge for me. I needed to know for sure and I'm glad you didn't write off my questions as stupid.

    You just need to add the line to the script. What the import list in the settings file does is it basically just puts such a line on the top of every script before compiling, so also adding it there would add it twice.

    I am not quite sure what you mean by the .h file, we aren't using header files as this system is a custom system independent of the C inclusion system. That's why it is #import and not #include as normal in C/C++. The suffix for our library files is .lib.

    My bad, I'm used to .h because this is what I remembe from many years ago from college when were taught to import files in C. Your method is very different and it's tripping me up lmao.

    All good though, I did trial and error and found out how it works. I figured it out.

    I can report that I was able to get the namespace of my test libary added into this specific .script. I left my settings.json blank and it did not add this anywhere else.

    For anyone else attempting this, here's the format on my end.

    I put it up here above all my const chars. It slots right into any script, including LA mod based stuff. By the way, no quotes needed for the libary path. Another thing I have to keep in mind because I initially added quotations to the filepath and it threw a "not found" error.

    Seriously man thank you for the technical support. What you've just explained changes a LOT with Em4 scripting and solves the main bullshit about not being able to load a class or function located in one .script, but then needing it in another script.

    Update:


    This works but not in the way I wanted. It appears that I can read values stored in a library and write them, but the writing is only for that specific .script.

    If I take a different .script and check for the value that changed in one script, it doesn't reflect on this other .script.

    So now I get it, the libraries are indeed (like you said) just insertions of the libary into that script, but Em4 still can't do script to script communication...got it. There goes most of my plans but I'll still see a way to make this work.

    Dude it would be freaking awesome if you pulled it off, even if it's for a newer version of Blender. My only request if there's a way for you to make it still work in Blender 4.x, so that I don't have to download yet another version of Blender and keep up multiple file versions. Basically, I work primarily in a mix of older versions and for my specific case I end up losing track of which blend file is for 2.7, 4, or 5.

    But you don't have to, I can do a thing where my person models blend files are on 5.2 and my older ones on 4.6 and 2.7.

    I would not expect a drastic performance impact, but you can just make multiple smaller library files and import them in the scripts you need with #import [filename] as [alias] at the top of the script.

    Okay this makes more sense. It's just that one line right and nothing else? I think this method is better to avoid duplication.

    To clarify if I add that import line to the relevant script, do I still need to define the same .h file in the settings.json? Or is that line enough?

    I'm not sure if this is the right thread to ask but have you found a way to make custom animations for person models work? I was thinking of using Blender's keyframe animations system to move bones around on the model, to make the model act accordingly but I am not quite sure how I'm supposed to export this or even have it in Blender itself.

    Also I'd like to apologize and say I was a dumbass regarding the preCompile. I found out the reason it didn't work for me was due to the Include Library file in the config.json

    I was actually supposed to remove that entire section for it to compile automatically in any mod. I do recommend this for anyone reading btw, it's free performance gains.

    For anyone who may have trouble figuring this thing out or getting it to work:

    Follow Antiphon's instructions but edit the settings.json so that it looks like this. This is to avoid the error where the compiler looks for a nonexistent library.h

    Now that I know what the Include library function is for, I'd like to ask:

    What happens if I want to include a large libary file with lots of lines? Will that cause loading times to worsen or a performance hit to the game? After all, my understanding of it is that it copies the entire libary into every script 1:1, even scripts that may not need it. Is there a way to limit the inclusion of my library to only specified scripts?

    just curious, have you (or anyone else) ever used the polygon glow option?

    By the way I'd also like to say that yes, I use the polygon glow feature a LOT.

    Wie steht die Moderation eigentlich zur -sehr wahrscheinlich ungefragten- Verwendung von geistigem Eigentum anderer in LLMs - oder anders formuliert - wenn es nicht in der ReadMe spezifiziert ist, darf das dann außerhalb überhaupt verwendet werden? Das würde mich hier mehr interessieren - weil scheinbar interessiert dich (FL Iserlohn) das ja nicht so viel. Einfach mal -aus eigenem Nichtkönnen- ein Modell eines Dritten in ne LLM knallen ... ganz sicher versteht Claude was von geistigem Eigentum, ja, wink wink? :grinning_squinting_face: Wie alle anderen AI-Firmen ja auch immer das geistige Eigentum anderer respektieren, ne? :grinning_squinting_face: Alter ist das ein Stance...

    Das ist wie damals in CS die Scriptkiddies, die einfach nichts geschissen bekommen haben, aber sich mit Scripts die Fähigkeiten ergaunern konnten xD

    Hey man I know we're all pissed in this thread and so am I but I'm not going to attack the moderators. I think they're working on something and it's not in our best interest to antagonize them. I also wouldn't get mad at Iserlohn because they are at least open about AI use. I'd save my outrage for the people who try to pass AI work as real.

    Anyway my stance on my models and content being fed into AI is that I'll probably strike it down if I find out.

    If someone does wish to do it, at least ask my permission first.

    Woops yeah you noticed the typo.

    All I'll say to what you said is that I hope what you're saying is true and this isn't going to end up the way I imagine it. If there's still a place for human made content in this community, then there is perhaps hope this hobby doesnt become a slopfest.

    Regarding partial AI assisted work, you're right that a line for what's machine nad human is going to be very messy. I do not envy anyone who's doing publicly released mods in the future, because I can no longer trust who actually owns anything anymore. I will however still regard human made mods as more respectable due to the knowledge that was required to do things by hand.

    I wont comment any further because your points make sense but also "time will tell". I don't trust people to use AI only for tedious work. I expect most mods coming up to be made with more AI than human by a wide margin and we won't be able to tell.

    Thanks for the insight and I really hope what you say about the hobby is true, and we're not actually getting replaced.

    I'm glad it works for you but for many people, especially with the way the global situation is headed, aren't happy with having yet another subscription in their life.

    Thankfully we have free alternatives for Photoshop, and yeah Blender is free, like you said.

    Is there a thing that works exactly like Claude but runs locally and costs nothing?

    That's the difference between cloud AI services. That's why I don't consider Claude just Photoshop or modelling software. I am at the mercy of a server, an internet connection and it has to be launched somewhere else on hardware that isn't mine, and access can be revoked.

    Not an accurate comparison in my opinion. Even Photoshop for all the suck of it (fuck Adobe), still runs on my computer and I can source it through <redacted> methods wink wink, and have it run if I pull the LAN cable out of the back of my PC.

    Anyway yeah, the future moving forward is 2 tiered mods. I don't want to have to pay a subscription fee to have the "best" scripts or mods. I don't like the only way to compete and be able to catch up with AI built mods is using AI as well.

    I propose a community divorce where AI mods are their own thing and human mods are in another section, so that human made mods get completely ignored.

    I wouldn't want the future of Em4 modding to be AI-only. What do you guys think though?

    I'm using a translator so I apologize if any nuance on your reply is lost.

    Thing is, I don't hate or disagree; all your points are valid except for one thing that's not been addressed yet: How much did it actually cost you to make the AI do this for you?

    As much as I want things to get more active, it shouldn't come with a price tag in my opinion. AI, in the way it is implemented for everyone right now violates one of my personal rules for modding: that the tools and means of production should be free and accessible for anyone.

    Or else this ends up being "mods made with free tools" vs "mods made with paid tools".

    I also want to hear others' clarifications on what the community standards will be moving forward. I have my own opinions on who "owns" AI made mods but it will be up to the overall community to decide.

    I will clarify one thing I said earlier, it's not so much Em4 is dead but rather there will be 2 classes now. AI and no AI used. This is just going to further segment the community in my opinion though it probably won't kill it.

    I'd also like to add to this post. I am fine with the "class divide" in this community because people are built different. My interest with hobby is the process, even if it takes months. I like making ideas and seing how far my labor and abilities can take me.

    For others like you, your interest is putting the ideas and seeing the result and you don't really care for how you got there. Who am I to tell you my way is better or yours is worse? Clearly both can coexist.

    This is cool, but now the question: What's the point of modding the game anymore if AI can do it all for you?

    Every mod moving forward will now be a money game of how many tokens you pay for, not skill or talent or ability. I'd rather not have my hobby become a "who has the best subscription tier" tbh.

    The hobby really is dead I guess. I'll just continue doing what I do anyway because I enjoy it. For everyone else interested in making as many mods as possible, this is the future I suppose.

    Thanks for at least showing the scripts for me to look through, I did realize that I was ahead of the curve by using classes/namespaces for years now. The issue now is whether those namespaces can be read across multiple files. Say a way to read functions contained in other scripts. If AI can do that, good but I don't see evidence it's been able to yet.

    No really, thank the Lord these scripts are generally readable and I know how to add anything I want to these.

    I look forward with curiosity what this community will look like by next year, when there's 50 AI built mods that all play and feel the same. Quantity over quality looks to be the future and there's nothing I can do about it. I want to see how far this goes before modding becomes completely pointless.

    By the way, given this is made by AI, technically it belongs to nobody. There's no ownership of it because an LLM made the code. Meaning AI mods don't deserve any sort of copyright protection at all. That's at least one benefit.

    ......

    After some more time thinking about it, I think I understand now. There's 2 types of Em4 community members. People who love the game and the process of making mods.

    And there's people who get dopamine hits from the playing of mods alone and don't care about the making part. This is who AI is for and well, I gotta give it respect for catering to these types of people.

    Man I just hate that it has to come to this. I hate how the reality we live in is that I am supposed to pay a tech company to do my hobby for me. AI was supposed to make all the boring stuff go away, not take all the fun stuff and leave us with only with soulless real life bullshit.

    I still enjoy modelling European vehicles, I'm just slowing down in progress due to IRL. Maybe one day I will finish something.

    Actually hold on, I do have ONE finished model this year miraculously.

    I've also inserted a model into Em4 for the first time in 2 years. It's one of our first WIP's for our project.

    Cab, pump and rear by me.
    Miscellaneous parts, decals and textures by Yankee43.
    Aerodynic lightbar is made by EmC-Unit and rihis.

    Update after a few weeks:

    Ive tried the (so far) 2 mods used with AI for Em4.

    Both of them dont work with one another due to a dll conflict. The one with special functions for reloading and driving vehicles with keyboard has no support at all because they vibe coded it and don't know what it actually does with Em4's vplugin system.

    That's all I need to say. It's not just about AI bad, but "using AI without knowing what it does is bad".

    There's alot of absurd stuff on the table that can be achieved by the vplugin system or the stuff with Antiphon's compiler but I'm a bit sad that most people using vibe coded stuff so far dont actually know what they have on their hands.

    English commenter here: I don't let AI touch my modding or scripting process.

    But if others can do it, sure why not. Doesn't mean I'll think of their mod as highly because I know it was done without as much labor and deep game knowledge.

    I also regard AI made scripts as belonging to nobody because a machine wrote it entirely, therefore the AI gen scripts should be free to use for anyone.

    Lastly the issue I've seen so far with others' AI made scripts in em4 is alot of redundancies and functions doing the same thing twice, along with some pretty awful methods for otherwise simple tasks, or trying to invent things that dont exist in the game but doing it poorly/barely no effect or difference.

    The best use for AI if i think about it is for doing more of the same that has already been done by other mods instead of trying to reinvent the wheel.

    Generally I'm impressed with what it can do but I know myself and maybe 5 of us will be the last people left on this game who have institutional knowledge and can think for ourselves.

    I watched the github. Vibe coding concerns aside, are you making an open scripting language to directly edit the game without needing to edit the exe, similar to GTA's ASILoader and the scripts + API that can be done with that?

    This is what I'd rather see than direct edits to the exe. Plugins are a lot less permanent of a change and there's no fuckery with versions or steam or whatever else.

    999London - wip

    This is cool and all man, but I want to ask, did you make this all by yourself? I'm asking because generally, it's a courtesy thing to add credits for content used in mods.

    As for me, here's my contribution as to not derail the thread. My 2 newest handmade projects. I've been wanting to do these for a while. Both are fully done by me as usual.

    Myself and some friends are teaming up to do cool stuff, though we're probably keeping this to ourselves while the AI craze takes over Em4 modding. This one's different, Yankee43 and ColumnDisciple helped me out with this and its been a wild ride passing the blender files between the three of us.

    For the English language side of things, I dont believe there's interest. The reason I say this is that I busted ass for my own work and hardly anyone cares about it to be honest. I did the scripting for my advanced systems solo, and recieved help from 2 of my friends who are ambulance crew in the US. Maybe this will be alot different with the German speaking community.

    A ton of research, UI building, studying of procedures and human physiology and it really amounted to nothing because nobody apart from my close circle of friends cared about playing the mod.

    I consider myself blessed and uniquely qualified to have an opinion on this concept because I already 'achieved' it.

    Unfortunately I can also definitively say I no longer have the mental fortitude and physical ability to do it again. Once was enough for me boss.

    To clarify I also don't think your idea is in vain; you clearly have vehicles and a map ready but like others have said, how hard do you wish to grind to see your concept become real?

    Your vehicle assets/map concept isn't in vain either; you did inspire me to change my mindset with regards to myself; stop being so damn negative about my feelings towards this game and it's community....I need to be more proud of myself that I did so much with this game, mostly by myself too.

    That's right, it's not easy. It's rather difficult to keep the previous script system and rewrite it. It's easier to rewrite the script system or change it for the most part.

    Let's see what else comes out of this post and what ideas, suggestions or possibilities arise.

    Your Montana System looks very nice. Good Job!

    Thanks, I worked hard for what I did

    And the cool thing is that the script is not even finished; in theory I can set it so that every single injured person will have their specific symptoms and require different treatments. Every wreck, gunshot, blunt trauma, fall etc. I just need to add the remaining parameters and study the treatment protocols for every possible situation. Tedious, annoying but doable because I am extremely blessed to have contacts who are professionals.

    However I am aware there is probably a better way to do this concept, better than both RTS 0.9 and my own work. And I also found out that some mods are now beginning to be programmed using AI. Sky's the limit I suppose.

    What I will say is that you've already done a huge part of the work if you have the vehicles, person models, buildings, map and audio. All you need to work on is GUI elements for every medicine and treatment proedure. Then you'd have to logistically find a way to fit this all into Em4 itself, and what things can or cant be done by the game as it is.

    Apologies for an English comment.

    Some years ago, I made my own custom advanced medical simulation for Em4, however it is for the USA system.

    Externer Inhalt youtu.be
    Inhalte von externen Seiten werden ohne deine Zustimmung nicht automatisch geladen und angezeigt.
    Durch die Aktivierung der externen Inhalte erklärst du dich damit einverstanden, dass personenbezogene Daten an Drittplattformen übermittelt werden. Mehr Informationen dazu haben wir in unserer Datenschutzerklärung zur Verfügung gestellt.

    I will say right now that the original RTS Bieberfelde 0.9 mod inspired me heavily, just like some of you in here.

    The mod is so inspiring that I learned to write my own things in missionscript. I've always had it in my mind it was possible to make a custom medical system without copying the logic or resorting to plagarism, and I was right.

    Really cool to know that there's still interest in custom EMS systems in this mod even if it can't be properly visually represented. However I do think that it will take alot of work to be able to make a truly immersive system. Many considerations have to be made regarding how much data and vitals, medicinal effects etc you're simulating.

    To whoever does try it, good luck...I've already did my own and it was not easy.

    Daaaam. Brooo be blessed and the next 7 generations of you.

    Em4 is back.

    If only we could have a better traffic and how vehicles and pedestrians behave:winking_face:

    If you're talking about me, I will clarify something very important:

    That's not an Em4 map with functional buildings and working assets. It's merely a mock up. I will not lie or clickbait you any modding developments.

    All that it is, is a way of plotting out Em4 maps based on real areas, including buildings. However this setup only works on major US and Europe cities. It is completely missing data for most of Asia, South America, Eastern Europe and the middle east.

    Never tested on AUS/NZ areas either.

    What I was saying with this is that there's no easy way to do it, no matter how big the map gets.