Decoding Traps
Moderator: Moderators
-
Astute
- Rebel Colonel

- Posts: 566
- Joined: Tue Apr 12, 2005 7:03 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Decoding Traps
hmm, hope i didn't double post.
Anyway, was skimming through the trapdoor for jabba's palace when i found this.
AnimationTrigger = "open hp_trapradius 1.0 trap_open"
I was able to figure out what most of it ment, but i'm not sure what trap_open means. I looked through all the meshes and animations, but i couldn't find anything about trap_open, or even trap by itself. Is this some kind of command, or just short for an animation? Would it be possible to replace some of this so that it will fire an ordnance?
Well, even if this isn't it, is there a way to have a trap fire mabye a grenade or even turn on a light?
Anyway, was skimming through the trapdoor for jabba's palace when i found this.
AnimationTrigger = "open hp_trapradius 1.0 trap_open"
I was able to figure out what most of it ment, but i'm not sure what trap_open means. I looked through all the meshes and animations, but i couldn't find anything about trap_open, or even trap by itself. Is this some kind of command, or just short for an animation? Would it be possible to replace some of this so that it will fire an ordnance?
Well, even if this isn't it, is there a way to have a trap fire mabye a grenade or even turn on a light?
-
Qdin
- Old School Staff
- Posts: 2059
- Joined: Wed Feb 23, 2005 9:54 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
RE: Decoding Traps
well, I think you found the first 'link' to an RPG engine
I'll guess you're right about the trigger, and about something is gonna happen. but what if we uses that one...? and HOW do we create an ordinance for pushing/activating the trap/button?
:
good job - now we're talking about mines - right?
it could be cool to add traps everywhere in a map - like the Sar Lacc Pit
C ya
I'll guess you're right about the trigger, and about something is gonna happen. but what if we uses that one...? and HOW do we create an ordinance for pushing/activating the trap/button?
good job - now we're talking about mines - right?
it could be cool to add traps everywhere in a map - like the Sar Lacc Pit
C ya
-
Astute
- Rebel Colonel

- Posts: 566
- Joined: Tue Apr 12, 2005 7:03 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
RE: Decoding Traps
Ah, for me it is the one link to finish the rpg element i have already added. The map i'm working on now will have a couple puzzles, which will ultimately aide the side that takes the time to solve it.
-
Astute
- Rebel Colonel

- Posts: 566
- Joined: Tue Apr 12, 2005 7:03 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
RE: Decoding Traps
Well, is it still possible to have a trap fire a grenade or the light thing?
-
Qdin
- Old School Staff
- Posts: 2059
- Joined: Wed Feb 23, 2005 9:54 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
RE: Decoding Traps
yeah - that'll be cool
isbt that like the Sar Lacc Pit? its not like EVERYTIME you walk along wit it you dies - but sometimes
so isnt it like that?
and Fred: what ddo you mean with: "Just a name of a piece of geometry with the mesh."?
does it means its a part of the geometry? or the model? or object? or map? or is it more complicated than me?
:
and Fred: what ddo you mean with: "Just a name of a piece of geometry with the mesh."?
does it means its a part of the geometry? or the model? or object? or map? or is it more complicated than me?
-
Astute
- Rebel Colonel

- Posts: 566
- Joined: Tue Apr 12, 2005 7:03 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
RE: Decoding Traps
He's merely refering to a hardpoint on the object. With the Sar Lacc thing, i'm actually aiming for something bigger. Here is a good example, say you created an object that was placed high above the map. You set the trigger radius high so that people will enter it on the ground. Now when the trap is triggered, it fires a flaming asteroid(grenade) onto the landscape, killing those who are unlucky enough to be around when it hits. Another example, the lights. When people are running down a hall the lights mysteriously light up because their set at a certain radius. The uses are limitless(I hope its possible).
-
Astute
- Rebel Colonel

- Posts: 566
- Joined: Tue Apr 12, 2005 7:03 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
RE: Decoding Traps
Ok, i think i have an idea of how to make it fire something, mabye by attaching the weapon to the hardpoint or something, then having an animation that triggers it. errr, wait, is that even possible?
-
Astute
- Rebel Colonel

- Posts: 566
- Joined: Tue Apr 12, 2005 7:03 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
RE: Decoding Traps
Ok, I've got it. I made my trap into a npc, that way he'll fire at people when they get near. Only prob i've had so far is that when i disable his movement, he'll shoot at me(one direction lol), and the game crashes a few seconds later.
- ShadowHawk
- Old School Staff
- Posts: 1232
- Joined: Mon Feb 21, 2005 4:54 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Heartland, Texas
- Contact:
RE: Decoding Traps
lol. When you figure it out, post step-by-step what you did. Just like you I think this would be limitless.
-
Astute
- Rebel Colonel

- Posts: 566
- Joined: Tue Apr 12, 2005 7:03 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
RE: Decoding Traps
sure thing, could i get this to work i believe another level of modding could be on the horizon...
-
Astute
- Rebel Colonel

- Posts: 566
- Joined: Tue Apr 12, 2005 7:03 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
RE: Decoding Traps
well i've planned it all out, and it should work, Though i am curious what AiSizeType = "SOLDIER" means?
-
Qdin
- Old School Staff
- Posts: 2059
- Joined: Wed Feb 23, 2005 9:54 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
RE: Decoding Traps
astute, I'm glad you're experimenting with this
especially because I ALWAYS liked traps an such
lol, I'd like to create LOTS of traps to kill some Clones some day
but keep it up 
-
Astute
- Rebel Colonel

- Posts: 566
- Joined: Tue Apr 12, 2005 7:03 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
RE: Decoding Traps
Well... it works, i did it. Many a rebel and imperial has fallen to this insidious trap. Only unrelated bug i'm getting is that the beam they shoot slopes downward at the ground, when i want it to shoot straight into the horizion. how do i fix this?
-
Qdin
- Old School Staff
- Posts: 2059
- Joined: Wed Feb 23, 2005 9:54 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
RE: Decoding Traps
? whatta you mean with 'that the beam they shoot slopes downward at the ground, when i want it to shoot straight into the horizion'? I'm not a pro to english, so can you say it again so a child like me understands the words like slopes stright into the horizont :S
C ya - and give me a step-by-step tutorial or just write what you did
C ya - and give me a step-by-step tutorial or just write what you did
-
Astute
- Rebel Colonel

- Posts: 566
- Joined: Tue Apr 12, 2005 7:03 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
RE: Decoding Traps
well... you know how when someone fires a blaster the bullet goes straight to the target (assuming your aim was good). With the beam it fires, but instead hits the ground. You see this effect on teh CIS walker.
I want the beam to go straight like a blaster bolt
I want the beam to go straight like a blaster bolt
-
Astute
- Rebel Colonel

- Posts: 566
- Joined: Tue Apr 12, 2005 7:03 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
RE: Decoding Traps
Well, i pulled it off. Its been a long haul, mabye 8 different approaches.

The laser emitter is on the right, and it shoots the cis laser which kills friend and foe. It only activates when you come in close range.
While i got it to work, i'm going to do a bit more research into it, mabye spike traps, flame traps, boulder traps... even might consider doing an indiana jones style level lol.
I'll post any others if i get them working
The laser emitter is on the right, and it shoots the cis laser which kills friend and foe. It only activates when you come in close range.
While i got it to work, i'm going to do a bit more research into it, mabye spike traps, flame traps, boulder traps... even might consider doing an indiana jones style level lol.
I'll post any others if i get them working
-
Astute
- Rebel Colonel

- Posts: 566
- Joined: Tue Apr 12, 2005 7:03 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
RE: Decoding Traps
Ok, for those of you still intrested in this, I've got a boulder trap, its just i don't have a good model for the boulder. My problem right now is that it doesn't have collision, any ideas how i add that?
Also, i'm making a map to show off the boulder trap, and a couple other puzzles as well.
Also, i'm making a map to show off the boulder trap, and a couple other puzzles as well.
-
Qdin
- Old School Staff
- Posts: 2059
- Joined: Wed Feb 23, 2005 9:54 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
RE: Decoding Traps
hmm - how about creating an animated collision - and when you activate your trap, does it then uses the BoulderMesh? or does it uses an animated Boulder you animated in XSI?
because you have to get the collsion down there, but how about 'slipping' the boulder when the trap is activated? - or s it how you did it?
because you have to get the collsion down there, but how about 'slipping' the boulder when the trap is activated? - or s it how you did it?
-
Astute
- Rebel Colonel

- Posts: 566
- Joined: Tue Apr 12, 2005 7:03 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
RE: Decoding Traps
Well.. the way i set the boulder up is that its completely random where it could hit, only problem is that the boulder will go half way through any surface, as if its collision was in its center. I'm looking for info on how to make it whole, so it bounces off of the circumference and not the center.
-
Qdin
- Old School Staff
- Posts: 2059
- Joined: Wed Feb 23, 2005 9:54 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
RE: Decoding Traps
hey - where did you find that AnimationTrigger-script? I looked in the files from Jabba's Palace - and I only found 3 .msh files - which obviously contains the animations
so in what file did you see the 'settings'/options/script for the Trapdoor?
I'm gonna experiment with it too - if possible
so in what file did you see the 'settings'/options/script for the Trapdoor?
I'm gonna experiment with it too - if possible
