A Starsiege Like Project
by Steve Tungate · in General Discussion · 09/10/2007 (7:31 pm) · 1 replies
Hello Everyone:
My name is Steve and I am a hardcore Starsiege fan. Recently Starsiege Master servers where discontinued by VU. We are trying to create a "Starsiege" like game in torque that will be free to the public but we are running into a few problems. First i'd like to say we got a great team. Warren, Sirus (great modeler), me on the .dts work, and some great artists who have worked on some other games. But we don't have much experience in coding. Here is a video of the game where we now stand with it.
www.youtube.com/watch?v=wM9PXy4tCuY
We need help on weapons triangilation and mounting very very badly. Please help us. There are no tutorials that i can find on this type of subject. Torque is more geared towards the First Person Shooter; ergo - one man one gun. We need 1 Mech and 2 to 6 guns. How can this be accomplished? Thank you so much for your time.
Steve
MIB*IzzY*SsM
My name is Steve and I am a hardcore Starsiege fan. Recently Starsiege Master servers where discontinued by VU. We are trying to create a "Starsiege" like game in torque that will be free to the public but we are running into a few problems. First i'd like to say we got a great team. Warren, Sirus (great modeler), me on the .dts work, and some great artists who have worked on some other games. But we don't have much experience in coding. Here is a video of the game where we now stand with it.
www.youtube.com/watch?v=wM9PXy4tCuY
We need help on weapons triangilation and mounting very very badly. Please help us. There are no tutorials that i can find on this type of subject. Torque is more geared towards the First Person Shooter; ergo - one man one gun. We need 1 Mech and 2 to 6 guns. How can this be accomplished? Thank you so much for your time.
Steve
MIB*IzzY*SsM
About the author
Steve Tungate
I created a file called weaponload.cs on client side and put this in it....:::
function loadweapon(%val) { if(%val $= "1") commandToServer( 'loadweapon', "1" ); if(%val $= "2") commandToServer( 'loadweapon', "2" ); if(%val $= "3") commandToServer( 'loadweapon', "3" ); if(%val $= "4") commandToServer( 'loadweapon', "4" ); if(%val $= "5") commandToServer( 'loadweapon', "5" ); } addMessageCallback( 'loadweapon', updateloadweapon ); function updateloadweapon(%msgType, %msgString, %val) { }On the Server side in Game.cs at the bottom::::function serverCmdloadweapon(%client, %val) { if(%val $= "1") { %obj = new Item() { dataBlock = "Crossbow"; static = true; rotate = true; }; %obj.setTransform(%spawnPoint); echo("weapon 1"); } else { if(%val $= "2") %client.setInventory(Crossbow,1); %client.setInventory(CrossbowAmmo,10); %client.mountImage(CrossbowImage,0); echo("weapon 2"); } messageClient( %client, 'loadweapon', %val); } commandToClient(%client, 'loadweapon', %obj);Everything in the console seems to be ok , no errors, but the weapon does not mount when i type in loadweapon(1); or loadweapon(2); . Please constructive comments only. I'm new and this and i wrote all that script myself. Would be awsome to have a programmer but it doesn't look like that's going to happen so i'm going to do it myself. Here is a video of what's going on with this.........www.youtube.com/watch?v=wM9PXy4tCuY