Vehicles and weapons...
by Josiah Wang · in Torque Game Engine · 12/29/2004 (5:04 pm) · 5 replies
Hrm yeah...my third questions on vehicles today...
anyways, is there a way of getting weapons on my plane? I *tried* to follow the deathcar thing and mimic the script as close as i could, but to no avail...
anyone have a step-by-step? many thanks!
anyways, is there a way of getting weapons on my plane? I *tried* to follow the deathcar thing and mimic the script as close as i could, but to no avail...
anyone have a step-by-step? many thanks!
#2
12/29/2004 (5:17 pm)
X.x $20...maybe i'll convince my parents to buy it...
#3
12/30/2004 (5:01 am)
Have you seen the Flying Vehicle Resource? I am not sure if it has weapons mounts, but it might help you out.
#4
12/30/2004 (5:05 am)
Heh, that's exactly the one i started working off from - it's a great resrouce, but alas....i might get the warsparrow pack...if there are no other alternatives
#5
I used the deathcar mod as a base, and heavily changed it from there...my conclusion is that deathcar doesn't really 'give' a weapon to the car - instead it mounts the image of a weapon, and then mimics it...
at least htat's how i interpreted it...so anyways
i hacked around my starter.racing a lil (which had already been modded by the Flying Vehicle Resource above), and i got my crossbow to mount on my plane. Problem now is that i can't get it to fire. If you notice in the in flyervehicle.txt, near the bottom in function Drone::onTrigger, i can get that to work (ie i checked the console), and it's supposed to trigger CarbowImage::onFire (i think?), but apparently it's not (ie the echo statement is not executed). According to my console.log, there's no script errors
Help?
oh yeah here's my attached files: flyervehicle.txt
game.txt
12/30/2004 (11:38 am)
Hrm...run into a bit of a problem here...I used the deathcar mod as a base, and heavily changed it from there...my conclusion is that deathcar doesn't really 'give' a weapon to the car - instead it mounts the image of a weapon, and then mimics it...
at least htat's how i interpreted it...so anyways
i hacked around my starter.racing a lil (which had already been modded by the Flying Vehicle Resource above), and i got my crossbow to mount on my plane. Problem now is that i can't get it to fire. If you notice in the in flyervehicle.txt, near the bottom in function Drone::onTrigger, i can get that to work (ie i checked the console), and it's supposed to trigger CarbowImage::onFire (i think?), but apparently it's not (ie the echo statement is not executed). According to my console.log, there's no script errors
Help?
oh yeah here's my attached files: flyervehicle.txt
game.txt
Torque Owner Westy