Open gregm2 opened 5 months ago
Also add: Teleport to dot
Don't think server side code has access to player camera's, may need to use player object head bone like bohemia does for melee targeting. https://github.com/BohemiaInteractive/DayZ-Script-Diff/blob/5579c3b9e879b55e947785d72184a1784081b565/scripts/4_world/entities/dayzplayerimplementmeleecombat.c#L334
Admin tier levels? What's max/min? Store in json config file? Normal config file may be difficult to organize.
Add function for follow-on mods to add commands. This will allow command addition from other mods to use command handling here, so new commands could go in without requiring changes to this mod.
Try and block chat messages to players if they start with '/'. Not sure if we can do this server side, but worth a try on the addChat method in PlayerBase
Current in-game commands are doing ok, but could use some enhancement. Right now thinking /neo to keep them from getting confused with existing commands. I believe init.c will see them before any modded class since the modded class will be considered the base class to the custom mission.
Start with the following: