Welcome to Epoch Mod Community

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more!

This message will be removed once you have signed in.

He-Man

Collaborator
  • Content count

    482
  • Joined

  • Last visited

  • Days Won

    19

He-Man last won the day on February 28

He-Man had the most liked content!

2 Followers

About He-Man

  • Rank
    Hardened
  • Birthday 01/17/80

Profile Information

  • Gender
    Male

Recent Profile Visitors

1732 profile views
  1. This is not possible, because the Vehicles have no database "slot". To sell a Vehicle it must have a slot (means it must be in the Database). There are two ways to handle it: 1. Give the Vehicle a pseudo slot while spawning (e.g. 5000), but then the Vehicle will be written into the DB automatically after a bit of using. But if you don't have a slot limit over 5000, it will never be reloaded after a restart. 2. The Trader Script must be changed, so that also Vehicles without a slot can be sold. But both are not really Epoch-like. The Idea in Epoch is, that there are xxx Vehicles that only can change the Owner, but no bypassed Vehicles.
  2. I'm not sure, but I believe Arma don't remember the last Player Name of dead bodys. So it is needed to set the variable "bodyName" first on the Body. You can do this Clientside on login, with a eventhandler "killed" or Serverside on login / killed. The best way to do this is serverside, or you have to add a BE-Filter for the Setvariable. I would do this in the moment of a kill in the "EPOCH_server_deadPlayer". This function already include the Playername.
  3. When spawning npc and Sapper at the same time, the npc shoots the Sapper ^^ I will do it. It's funny...
  4. No problem. Now we also want it on our Server :)) Thanks for this great idea!
  5. @Drokz, you have to add a "true" to the params. I have updated the code: http://pastebin.com/btVCXnDB
  6. Have you tried it with exact this code? If not, please try it again! The Sappers should not spawn at [0,0,0] "Epoch_Sapper_F" call EPOCH_unitSpawn seems to be an old syntax for calling unitsspawn You have to use: ["Epoch_Sapper_F", player] call EPOCH_unitSpawn or ["Epoch_Sapper_F", player, false] call EPOCH_unitSpawn
  7. You can try to replace "/epoch_code/compile/EPOCH_supportCopter.sqf" with this file: http://pastebin.com/7sZYiFgA http://pastebin.com/btVCXnDB Then you can add in your cfgepochclient Sappers or AI. If the Script identify "Epoch_Sapper_F" or "Epoch_SapperB_F" in the class name, the correct sapper brain will be loaded. I have not tested it, just a try...
  8. https://github.com/EpochModTeam/Epoch/pull/703/files
  9. You are right. The mission files are not up to date. For this example (inventoryopened) there is missing: - The actual code in cfgEpochClient.hpp InventoryClosed = "_this call EPOCH_InventoryClosed;_this call EPOCH_custom_EH_InventoryClosed"; - The reference in cfgclientfunctions.hpp to the new files "EPOCH_InventoryOpened" and "EPOCH_custom_EH_InventoryOpened" (both are new!) - The Files "EPOCH_InventoryOpened" and "EPOCH_custom_EH_InventoryOpened" themself. So just wait a bit or take the files from the source folder.
  10. Hmm, I will doublecheck it Tomorrow.
  11. Also make sure you have updated cfgclientfunctions.hpp https://github.com/EpochModTeam/Epoch/blob/experimental/Sources/epoch_config/Configs/CfgClientFunctions.hpp
  12. Have you added this Folder? https://github.com/EpochModTeam/Epoch/tree/experimental/Sources/epoch_code/customs
  13. @epoch Folder there?
  14. Yes, this is possible, but Epoch Antihack and Infistar block this scripts (eventhandler). I made a request to add custom Eventhandler, that can be used for things like this and it is already in the Experimental Files. So I think with the next official Update you can use it.