Help, please.

Questions and answers about the how and why of making maps.
Post Reply
User avatar
FangUp
Private First Class
Private First Class
Posts: 96
Joined: Fri Aug 21, 2009 2:53 pm
Location: Slovenia

Help, please.

Post by FangUp » Sat Oct 29, 2011 5:21 pm

So this time i have this trouble, i am trying to do an Avenue, 2 of them, that will blast a player from one corner to the other & the same thing with the other corner. (CTF bases at corner.)
This is how this 2 Avanues look:

# Simple box with horizontal physics driver:
physics
name moving
linear 1000 1000 10
end
meshbox
position 365 0 1
rotation 45
size 20 20 2
phydrv moving
end

# Simple box with horizontal physics driver:
physics
name moving
linear -1000 -1000 10
end
meshbox
position -365 0 1
rotation 45
size 20 20 2
phydrv moving
end

So the trouble here is, that i tried EVERYTHING with the Linear option from making all 1000 speeds positive to negative. Always when i tried for these two to blast me in the way to opposite base, it never worked.
One Avanue always blasted me correctly to the other base, but 1 just sent me back to my base (same diagonal way of blast-off.) So what did i do wrong? please im doing this one thing 5 hours now still no sucsess...
I need to make them blast each in other side but they always blast me in the same way (North East or South West.)
Please help ):
To be or not to be. - W. Shakespeare
To bee or not to bee? I sure love Honee! - FangUp
Playing since 2005, with an unregistered nickname.

User avatar
FangUp
Private First Class
Private First Class
Posts: 96
Joined: Fri Aug 21, 2009 2:53 pm
Location: Slovenia

Re: Help, please.

Post by FangUp » Sat Oct 29, 2011 5:24 pm

They blast me North East OR South West (both of them) I need them to blast me North East AND South West at the same time. (1 Avanue NE and 1 Avanue SW.)
To be or not to be. - W. Shakespeare
To bee or not to bee? I sure love Honee! - FangUp
Playing since 2005, with an unregistered nickname.

User avatar
mahem1
Private First Class
Private First Class
Posts: 91
Joined: Thu Jan 14, 2010 2:18 am
Location: Antarctica

Re: Help, please.

Post by mahem1 » Sat Oct 29, 2011 6:30 pm

Ok, first of all: You need to be more clear on how you word you sentences, I find very hard to read what you write.
But thanks for putting so example code!!

Fix 1:
Only use one physics but rotate one of the boxes in the opposite direction.
You have it already rotated at 45 so add 180 more degrees to the and it will face the
opposite direction.

Fix 2:
You have to physics named the same thing!!! I don't know how the code works, but I
think the second physics is not accounted for so both meshes refer to the first
physic. Have to different names!!


Also please use the edit button (you can find it on your old post) instead of writing a new post. It just makes it easier to read, thanks!
Lag makes me miss all of the good stuff.
And random bans..........
Image

User avatar
FangUp
Private First Class
Private First Class
Posts: 96
Joined: Fri Aug 21, 2009 2:53 pm
Location: Slovenia

Re: Help, please.

Post by FangUp » Sat Oct 29, 2011 7:16 pm

Oh gee! Thanks lol! i just need to change the degrees:D omg im soo STUPID xD thank you very much!

Fix 1:
Thank you so much!!!

Fix 2:
Incorrect, you must use it, it is just an object like box:P (both of them)
To be or not to be. - W. Shakespeare
To bee or not to bee? I sure love Honee! - FangUp
Playing since 2005, with an unregistered nickname.

User avatar
Mark_IV
Private First Class
Private First Class
Posts: 157
Joined: Wed Aug 25, 2010 12:24 am
Location: Actually joined 2004 or 2005 as tyjr ;)

Re: Help, please.

Post by Mark_IV » Sat Oct 29, 2011 8:05 pm

FangUp, if the physics drivers do different things they have to be named differently. Otherwise BZ won't know which one you want to use.

User avatar
FangUp
Private First Class
Private First Class
Posts: 96
Joined: Fri Aug 21, 2009 2:53 pm
Location: Slovenia

Re: Help, please.

Post by FangUp » Sun Oct 30, 2011 2:40 pm

________________________________________________________________^^^^^^^^^^
I did name them correctly and sorry for all the exitment (dunno how to spell) before... it doesnt work...
Well it does not matter to me i changed it into a Trampoline so it is cool with me.
To be or not to be. - W. Shakespeare
To bee or not to bee? I sure love Honee! - FangUp
Playing since 2005, with an unregistered nickname.

User avatar
mahem1
Private First Class
Private First Class
Posts: 91
Joined: Thu Jan 14, 2010 2:18 am
Location: Antarctica

Re: Help, please.

Post by mahem1 » Sun Oct 30, 2011 10:12 pm

As I said you need to change the names you cannot have two physics with the same name.
I highly doubt that making another overwrites the first one. I presume when you tell the meshbox to use a physics it starts looking at the top of the file for the physics, not the most recently made one.
So just simply add a '2' to the end of 'moving' to make a new physics.
Hope this helps!
Lag makes me miss all of the good stuff.
And random bans..........
Image

User avatar
FangUp
Private First Class
Private First Class
Posts: 96
Joined: Fri Aug 21, 2009 2:53 pm
Location: Slovenia

Re: Help, please.

Post by FangUp » Mon Oct 31, 2011 4:43 pm

Ahh, I get your point now, BUT! There is a catch!
When using BZEdit, there you will see something like this: "box" and the next one is "box copy 1"
That is NOT necessary. I do my maps by hand and i always do this:

box
name Box
position 0 0 0
rotation 0
size 25 25 50
end

Now if i do another:

box
name Box
position 2 50 45
rotation 25
size 16 24 30
end

It has the same name but works perfectly, i do not think it is much difference with Psychs.
To be or not to be. - W. Shakespeare
To bee or not to bee? I sure love Honee! - FangUp
Playing since 2005, with an unregistered nickname.

User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5172
Joined: Fri Dec 13, 2002 4:11 am
Location: [Redacted]
Contact:

Re: Help, please.

Post by JeffM » Mon Oct 31, 2011 5:08 pm

boxes are not referenced by other objects, Physics drivers are, the names must be unique.

User avatar
FangUp
Private First Class
Private First Class
Posts: 96
Joined: Fri Aug 21, 2009 2:53 pm
Location: Slovenia

Re: Help, please.

Post by FangUp » Mon Oct 31, 2011 8:02 pm

i see ok thx.
But the Trampoline is working just fine if you check my new map.
To be or not to be. - W. Shakespeare
To bee or not to bee? I sure love Honee! - FangUp
Playing since 2005, with an unregistered nickname.

User avatar
Agent West
Private First Class
Private First Class
Posts: 318
Joined: Thu Jan 31, 2008 1:32 pm

Re: Help, please.

Post by Agent West » Tue Dec 13, 2011 10:12 pm

An example for future reference:

physics
name example_road
linear 10 0 0
end

physics
name example_highway
linear 20 0 0
end

box
position -20 0 0
size 10 3 1
phydrv example_road
end

box
position 20 0 0
size 10 3 1
phydrv example_highway
end


Note: the objects don't have to have names, they are more for your reference.
Rest in peace, AliceD (AKA Happy Alice)! miss ya!

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest