Dateien

> > CS2D > Lua Scripts > Simple Spawn Entity
DateiübersichtCS2D-ÜbersichtLua Scripts-Übersicht

Englisch Simple Spawn Entity >

6 Kommentare7 kb, 34 Downloads

alt Simple Spawn Entity

DetectiveConan
User Off Offline

[How to use]
     First: using example file
          Run "RUNFILE.lua", for example write "dofile("./sys/lua/RUNFILE.lua")" in "server.lua"
          You can experience the functions.
     Second: including core file(assuming the files in "./sys/lua/" path)
          If you want to use it,please include "MAINFUNC.lua",
               and before including,new a global variable "StartENTITY",initialize it with int type, like "StartENTITY = 0". and then write "dofile("./sys/lua/MAINFUNC.lua")".
               Why?Because I think it may help someone to manage entity's ID.
[How to write]
     You may don't know the functions' functions, so you can see the descriptions in the "MAINFUNC.lua" file.
     Remebering some functions that need you to write will passing parameter "objID".

Maybe the codes in "RUNFILE.lua" looks like a s**t mountain(Incomprehensible).
I'm sorry for last guidance,because it looked really too simple.
And I test files in a pure cs2d,it can run.
3× editiert, zuletzt 07.06.24 06:29:42
Abgelehnt von Gaios
Datei wurde nachbearbeitet. Erneute Prüfung steht aus!
Deine Beschreibung ist nicht ausreichend! Bitte erstelle eine ordentliche Beschreibung, welche deine Datei tatsächlich beschreibt!

Download Download

7 kb, 34 Downloads

Kommentare

6 Kommentare
Zum Anfang Vorherige 1 Nächste Zum Anfang

Logge dich ein!

Du musst dich einloggen, um selber Kommentare verfassen zu können!Einloggen

alt

Mami Tomoe
User Off Offline

@user Cure Pikachu: that doesn't seem to have anything to do with the title/description.

alt

Cure Pikachu
User Off Offline

@user Cebra: Yeah, according to WinRAR's analysis of the archive this isn't a ZIP archive, rather a TAR one.
@user Mami Tomoe: My quick overview of this script effectively boils down to a wrapper for some form of object-oriented scripting, with 3 examples included.

alt

NanuPlayer
User Off Offline

I tried to do everything, i even asked ChatGPT for assistance with the file. However, The script still doesn't work. Specifically, the script mentions spawning entities such as cars. However, CS2D doesn't include any graphics for cars by default. Could you provide more information or an example of how to spawn these entities, considering the lack of car graphics in the game?

alt

Mami Tomoe
User Off Offline

I have no idea what this file does and I even looked at the code.

How did this even get approved?
What does this script even do?

alt

peeterjackson
User Off Offline

It's completely normal to feel uncertain when uploading files or scripts for the first time. If you have specific questions or concerns about your Lua script, feel free to share them here, and I'd be happy to help you review it and provide guidance. You can upload the file by clicking the "Attach File" button below the chat box.
Ich mag es!

alt

Cebra
User Off Offline

The zip file seems to be damaged?
At least Windows 10 itself cannot open it; it works with 7-Zip.

@user DetectiveConan: I think a more informative description would be helpful.
Zum Anfang Vorherige 1 Nächste Zum Anfang