deleting config seem to fix it thanks.
Customizable Airdrop Hotfix [Abandoned]
Discussion in 'Plugin Support' started by BedIntruder319, Dec 23, 2014.
-
BedIntruder319 updated Customizable Airdrop Hotfix with a new update entry:
The Big One
-
Nice work mate. Is there anyway to stop the default rust air drop(where the plane Flys over)
Would rather just use your plug in then the standard rust one. -
I'll get back to you on whether or not this is possible. If I delete the plane entity (Every tick check if there's a plane, and then delete it) that may stop the rust default airdrops, but it could also crash the server (For whatever reason, just imagining). But I'll definitely look into it. -
BedIntruder319 updated Customizable Airdrop Hotfix with a new update entry:
No More Campers Update
-
-
Cant you spawn the chute with the box falling?
so players have more of a visual? -
-
Spoock did it a week or so ago I'll ask.
[DOUBLEPOST=1419383101][/DOUBLEPOST]Yes you can using spawneR shows it using parachute.
http://oxidemod.org/resources/spawner.732/
Look in the entity list -
Alright, thanks. There is an entity called 'parachute_attach', i'm not sure if that's with the Airdrop or not though.
-
-
-
-
Would it be possible to include the text of the chat messages in the config file? Then have the admins who want to translate the plugin on your Sparche adapt the possibility of these texts. This would, however, be desirable for all plugins!
-
-
Here are the modifications you need to make:
I replaced:
Code:local quaternion = new(UnityEngine.Quaternion._type, nil) quaternion.x = 0 quaternion.y = 0 quaternion.z = 0 local test_ent = global.GameManager.CreateEntity("items/supply_drop", destination, quaternion) test_ent:Spawn(true)
Code:local _SupplyDrop = global.GameManager.CreateEntity( "items/supply_drop", destination, new( UnityEngine.Quaternion._type, nil ) ) _SupplyDrop:Spawn( true ) local _Parachute = global.GameManager.CreateEntity("parachute", destination, quaternion) if _Parachute then _Parachute:SetParent( _SupplyDrop, "parachute_attach" ) _Parachute:Spawn( true ) ParachuteTimers[_Parachute] = {} ParachuteTimers[_Parachute].lastPosition = _Parachute.transform.position ParachuteTimers[_Parachute].timer = timer.Repeat( 3, 0, function() self:DestroyParachute( _Parachute, _SupplyDrop ) end ) end
Code:function PLUGIN:DestroyParachute( parachute, supplydrop ) local position = supplydrop.transform.position if UnityEngine.Vector3.Distance( position, ParachuteTimers[parachute].lastPosition ) == 0 then parachute:KillMessage() ParachuteTimers[parachute].timer:Destroy() else ParachuteTimers[parachute].lastPosition = position end end
Code:PLUGIN.Title = "Airdrops" PLUGIN.Description = "Temporary hotfix for Rust's broken Airdrops" PLUGIN.Version = V(1, 1, 1) PLUGIN.Author = "BedIntruder319 and Expired" PLUGIN.HasConfig = trueParachuteTimers = {}
-
-
-
Maybe add in config "ShowChatLooterName = true"
It would be good! -