Weapon insertion?
by Minako · in General Discussion · 08/03/2002 (5:57 am) · 4 replies
If I want to add a weapon we've made, is it enough to just copy the rifle directory and use it as a base, making whatever alterations we wish, or is there a place we have to tell the game the weapon exists and where to find it (or something similar. Basically, does the game just find weapons, or is there a place we have to declare them?)
Minako
Minako
#2
Minako
08/04/2002 (1:31 am)
Thanks. Does teh weapon need some sort of node to designate as a mount node where the character's mount node connects, and a fire node for where the projectile comes from?Minako
#3
08/04/2002 (2:04 am)
Yes, you need to add a dummy/node called MountPoint, and place it were the you wish the player to "hold" the weapon, the mountpoint dummy should be linked to Start.
#4
Minako
08/04/2002 (2:55 am)
Eh, linked to start? And what about where the weapon actually fires from, how's that specified?Minako
Torque Owner Stefan
exec("yourfolder\weapon.cs");
=)
just do a search for "rifle.cs" in your files and you will find the init.cs where they "find" rifle.cs . .
There are several init.cs files, you see..