This repository was archived by the owner on Jan 5, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +20
-3
lines changed
Expand file tree Collapse file tree 3 files changed +20
-3
lines changed Original file line number Diff line number Diff line change 1+ function FriendlyCollisionsScript :UpdateScript ()
2+ for actor in MovableMan .AddedActors do
3+ actor .IgnoresTeamHits = false ;
4+ for passenger in actor .Inventory do
5+ if IsActor (passenger ) then
6+ ToActor (passenger ).IgnoresTeamHits = false ;
7+ end
8+ end
9+ end
10+ end
File renamed without changes.
Original file line number Diff line number Diff line change @@ -52,12 +52,19 @@ AddGlobalScript = GlobalScript
5252
5353
5454AddGlobalScript = GlobalScript
55- PresetName = Enable Friendly Fire
56- Description = Enable friendly fire .
57- ScriptPath = Base.rte/Scripts/Global/EnableFriendlyFire .lua
55+ PresetName = Friendly Fire Enabled
56+ Description = Allows friendly bullets to hit other friendlies outside immediate vicinity .
57+ ScriptPath = Base.rte/Scripts/Global/FriendlyFire .lua
5858 LuaClassName = FriendlyFireScript
5959
6060
61+ AddGlobalScript = GlobalScript
62+ PresetName = Friendly Collisions Enabled
63+ Description = Enables all collisions between friendly units, including friendly fire! (WARNING: May render the game unplayable!)
64+ ScriptPath = Base.rte/Scripts/Global/FriendlyCollisions.lua
65+ LuaClassName = FriendlyCollisionsScript
66+
67+
6168AddGlobalScript = GlobalScript
6269 PresetName = Bigger Jetpacks
6370 Description = Jetpack fuel capacity is doubled.
You can’t perform that action at this time.
0 commit comments