[Ruse] Client Command For Item Model Information

Hey guys.

Thought I’d share this really quick client sided command!

Literally hundreds of times I’ve been faced with finding the model that an item uses. It’s a massive pain in the ass!

Well, here is a nice command for you to use to speed things up:

if (commandStart.equals("defs")) {
				int itemID = Integer.valueOf(args[1]);
				ItemDef definition = ItemDef.forID(itemID);
				sendConsoleMessage(definition.maleEquip1 + " male equip 1", false);
				sendConsoleMessage(definition.maleEquip2 + " male equip 2", false);
				sendConsoleMessage(definition.maleEquip3 + " male equip 3", false);
				sendConsoleMessage(definition.femaleEquip1 + " fmale equip 1", false);
				sendConsoleMessage(definition.femaleEquip2 + " fmale equip 2", false);
				sendConsoleMessage(definition.femaleEquip3 + " fmale equip 3", false);
				sendConsoleMessage(definition.rotationX + " rot x", false);
				sendConsoleMessage(definition.rotationY + " rot y", false);
				sendConsoleMessage(definition.modelOffset1 + " mod offset 1", false);
				sendConsoleMessage("Item name: " + definition.name, false);
		}

Simply put the command below this:

public void sendConsoleCommand(String command) {
		String[] args = command.split(" ");
		if (args == null || args.length == 0) {
			return;
		}
		String commandStart = args[0].toLowerCase();

		if (commandStart == null) {
			return;
		}
		if (ModelUtil.parseClientCommand(command))
			return;

the end film GIF by Denyse