Game Development Community

How would I script these?

by Bryce · in General Discussion · 04/28/2007 (6:45 am) · 4 replies

Hello GG,
I've been working on a game and I have some questions about Torque:

1: How can I get decals to splatter over my wall from an explosion?
2: When I go into the world editor and exit, my mouse is visible on my screen and I can't aim the player. The movment keys work fine, but I have to ctrl+k myself everytime i add something I want to test.
3: How would I mount a vehicle to a vehicle or player to a player. Mounting players is a thing that I want to test; if i can get players to mount each other (don't get any sick ideas), i can play an individual animation for each. What I'm doing is having the predator grab onto its victim, knock it unconsious while the victim stays put in the predator's arms, and then have him release the victim, who has a specialized death animation for falling onto the floor from that pose. My vehicle-vehicle idea is to place landing gear on an f-16. I'd buy the source code and use the resource but i don't have much cash right now...
4: How can I use the walk animation?!?!?!?
5: How can I make a vehicle automatically follow a path with no driver? In the first level in my game, the player is riding, not driving, in a jeep to the insertion point.
6: I can't destroy my vehicles. My console says that it can't find getState(). How do I fix this?
7: Breaking glass. How?

#1
05/01/2007 (9:12 pm)
Hello?
#2
05/02/2007 (7:06 am)
Hi There!
#3
05/02/2007 (7:12 am)
1) Do a search for those terms. It's not an easy process.
2) I think you're talking about the fact that you're no longer in player mode. Try switching out of the editor.
3) Do a search for these terms as well, it's been discussed on the forums before.
4) Read the art tutorials.
5) There are tutorials on making objects follow paths as well.
6) Learn how to debug.
7) Learn how to implement the physics involved, or created multiple models that represent "whole" and "broken" glasses, and then implement the gameplay involved.

Bryce, you're trying to tackle a few difficult things here, and asking a question on "how" will not yield the answers you need. What you should do instead is search the forums for those discussions that have covered these topics and what skills are needed to accomplish them. It's not a simple matter of saying "just do this, this, and that" to get what you want. You need to study those areas of knowledge.
#4
05/03/2007 (9:04 pm)
@ted:
2) Yes, when I switch out of the editor this happens. This is strange....this didn't happen to me when i first got tge installed, it just started about two months ago.
3) I will do that now.
5) couldn't find any, just ai pathing. could you please supply me with a link if you come across one?
6) searched it, i needed to replace getState() with getDamageState().
7) sounds good.

sorry for not searching at first, i'll do that next time :-)