Game Development Community

Remove crossbow

by Holger · in Torque Game Engine · 02/03/2006 (3:22 pm) · 2 replies

Saw somewhere here the help how to remove the crossbow from the player, but
can't find it again.

Modifying the game.cs does not help.

Thanks for any help

#1
02/09/2006 (6:46 pm)
Using the 'search entire project' feature from a script editor such as Torsion or CodeWeaver for a key word like 'mountimage' will return these results:

Quote:
Find "mountimage" in files of type(s) "*.cs;*.gui;*.mis" in "C:\Torque\tge14LP\example"
C:\Torque\tge14LP\example\smdBase\server\game.cs(122): %player.mountImage(CrossbowImage,0);
C:\Torque\tge14LP\example\starter.fps\server\scripts\aiPlayer.cs(238): %player.mountImage(CrossbowImage,0);
C:\Torque\tge14LP\example\starter.fps\server\scripts\game.cs(318): %player.mountImage(CrossbowImage,0);
C:\Torque\tge14LP\example\starter.fps\server\scripts\player.cs(709): %obj.unmountImage($WeaponSlot);
C:\Torque\tge14LP\example\starter.fps\server\scripts\player.cs(718): %obj.mountImage(%obj.lastWeapon, $WeaponSlot);
C:\Torque\tge14LP\example\starter.fps\server\scripts\weapon.cs(55): %obj.mountImage(%data.image, $WeaponSlot);
C:\Torque\tge14LP\example\starter.fps\server\scripts\weapon.cs(80): %obj.unmountImage(%slot);
Results: 7 In Files: 5 Searched Files: 260

B--

EDIT: "F" is the shortcut to do this in either editor.
#2
02/10/2006 (12:37 am)
Brandon,

yes, found it also in "player.cs" in the meantime.

thanks