Jump to content

Lopez4Life

Members
  • Posts

    12
  • Joined

  • Last visited

Lopez4Life's Achievements

Square

Square (6/54)

0

Reputation

  1. [quote name=..&G:..] Lol, 80 bucks?! I got them from a website for like 10 bucks -.- (Its 2 or 1 version old, but its easy to add stuff than have a compiled on, and than paying 80 bucks..) And I think you will eventually have to pay like 100 bucks for a new version Share? ;p
  2. I have bought the uncompiled version earlier (When it costed 80 bucks), does that mean I will constantly get the uncompiled updates? Is there any chances of me acquiring the uncompiled version again?
  3. Reply: Found a way to modify the time between saves and item respawns. It's in [DAYZ-MTA] > DayZ > editor_server.lua Posted this since it might be helpfull for anyone with this issue.
  4. As I said, I lack of LUA knowledge, is there any way you could give me a hand? Skype or anything?
  5. Yeah, this gamemode brings a database already, I belive it's called "internal.db" Not sure. Every 4 hours or so it freezes everyone in the server and saves all the userfiles. Now my question is, how can I make it so I can choose WHEN to force that saving, that way I can save the files before restarting the server, because I just restarted it and it rollbacked all the files to the point where it last saved them.
  6. What about the meta.xml file? Do I need to make one
  7. Is there any way of forcing file saving? Because some times I need to restart the server and everything rollbacks because the server didn't save.
  8. I just need help on what to do next with the luac file
  9. So I just modified that code to make it work the way I want it I compiled it, got the LUAC file, what next? gate = createObject ( 980, -805.59997558594, 2379.6000976563, 155, 0, 0, 318) -- Gate. function Open ( pla ) -- the function if getElementType ( pla ) == "player" then -- if he is a player. if isObjectInACLGroup ( "user."..getAccountName(getPlayerAccount(pla)), aclGetGroup ( "legend" ) ) then -- it is only for admins. moveObject (gate, 2500, -805.59997558594, 2379.6000976563, 148) -- It will move the gate. end -- Closing functions and all... end end addEventHandler ( "onColShapeHit", col, Open) -- Adding a event handler. addCommandHandler ( "open",Open) -- Adding the command. function Close ( pla ) -- Function if getElementType ( pla ) == "player" then -- as i said for checking if its a player. if isObjectInACLGroup ( "user."..getAccountName(getPlayerAccount(pla)), aclGetGroup ( "legend" ) ) then -- for admins only./ moveObject (gate, 2500,-805.59997558594, 2379.6000976563, 155) -- close the gate. end end end addEventHandler ( "onColShapeLeave", col, Close ) addCommandHandler ("close", Close)
  10. Thanks, now I wonder, how do I compile / convert that into a resource?
  11. So I just started coding basic LUA, I have no idea of how it actually works. I've got the needed object models, coordinates for a gate I'm trying to make. I want to make it so if I do the command /open the gate moves to certain position, and if I do /close it'll move to another certain position I have the coordinates for both /open and /close positions as I said. Thanks for the help guys. Hope to get some replies.
×
×
  • Create New...