Tremulous Forum

Mods => Modding Center => Topic started by: v0rt3x on August 18, 2007, 06:56:25 pm

Title: selection issues...
Post by: v0rt3x on August 18, 2007, 06:56:25 pm
just want to keep it short: when I try scrolling down, after my rifle the selection flicks back, and I can't select anything past my rifle (e.g, grenades etc) have you got any suggestions for me?
Title: selection issues...
Post by: kevlarman on August 18, 2007, 06:59:41 pm
have binds for "itemtoggle blaster" (switch between blaster and rifle), "itemtoggle jetpack" (obvious), and "sell gren;itemact gren;buy gren" (if at armory buy a grenade, otherwise throw a grenade)
Title: selection issues...
Post by: v0rt3x on August 18, 2007, 07:02:32 pm
thanks, but when I purchase a grenade it merelly says "you don't have a grenade" or something along those lines  :(
Title: selection issues...
Post by: doomagent13 on August 18, 2007, 07:02:48 pm
Let me guess:

Your processor is a ppc.  Your OS is probably Apple-made.
Title: selection issues...
Post by: v0rt3x on August 18, 2007, 07:04:12 pm
aye, a mac osx
Title: selection issues...
Post by: v0rt3x on August 18, 2007, 07:07:36 pm
but what's that got to do with the fact I may only select weapons?
Title: selection issues...
Post by: kevlarman on August 18, 2007, 07:09:40 pm
Quote from: "v0rt3x"
but what's that got to do with the fact I may only select weapons?
it's on old bug on OS X (ppc only) that we can do nothing about (it's fixed in svn, but no way to make it work with 1.1). the grenade bind will always say "you don't have the gren" when near the armory and "you must be near the armory" twice when you aren't, ignore it.
Title: selection issues...
Post by: v0rt3x on August 18, 2007, 07:50:38 pm
Thanks, just get on with life without grenades then  :)
Title: selection issues...
Post by: kevlarman on August 18, 2007, 08:03:25 pm
Quote from: "v0rt3x"
Thanks, just get on with life without grenades then  :)
the bind works, it just prints error messages because the bind depends on at least one of the commands failing. (first it sells the grenade if you are near the armory, so you don't drop it in your base, then it tries to throw the grenade, which won't work in your base because you just sold it, but outside the base it is still in your inventory, so it gets thrown, and finally, it tries to buy a grenade, so if you didn't have one (or you did and sold it), you do now, and just in case you didn't realize, in tremulous clicking on the nade throws it instead of equiping it like in other games)
Title: selection issues...
Post by: v0rt3x on August 18, 2007, 08:08:30 pm
but I can't click on it because my mouse is my cross-hair. so, I can throw them out of my base, provided I have purchased one?
Title: selection issues...
Post by: kevlarman on August 18, 2007, 08:26:36 pm
Quote from: "v0rt3x"
but I can't click on it because my mouse is my cross-hair. so, I can throw them out of my base, provided I have purchased one?
you don't want to be throwing grenades anywhere near your base(if you can call it throw, i think drop is a better term), they are fairly expensive and good for one thing: doing extreme damage to structures, unless you plan on raiding the enemy base you shouldn't need one.
Title: selection issues...
Post by: v0rt3x on August 18, 2007, 08:49:16 pm
I haven't thrown any within my base, and it won't work, btw I've removed all the code soley for the itemact one, so it is only that, yet it still doesn't work?    :-?
Title: selection issues...
Post by: Vector_Matt on August 18, 2007, 11:36:49 pm
Quote from: "v0rt3x"
I haven't thrown any within my base, and it won't work, btw I've removed all the code soley for the itemact one, so it is only that, yet it still doesn't work?    :-?
Make sure it's "sell gren;itemact gren;buy gren" and not "sell grenade;itemact grenade;buy grenade" or sell gren;itemact gren;buy gren (note the lack of quotes on number 3).

having a
bind g "sell gren;itemact gren;buy gren"
line in your autoexec.cfg should work.
Title: selection issues...
Post by: doomagent13 on August 19, 2007, 12:16:08 am
If you want to make it easy for yourself, make it
Code: [Select]
bind g "sell gren; itemact gren; buy gren; say_team ^1GENADE!!!"UBER-IMPORTANT-NOTE:
For any of these to work, you MUST turn off those error message boxes...




I think...




It's still a good idea...
Title: selection issues...
Post by: kevlarman on August 19, 2007, 12:39:44 am
Quote from: "doomagent13"
If you want to make it easy for yourself, make it
Code: [Select]
bind g "sell gren; itemact gren; buy gren; say_team ^1GENADE!!!"
no, then you spam your whole team every time you buy a grenade. and it has potential to get you kicked if someone else drops a grenade around the time you buy yours.
Title: selection issues...
Post by: doomagent13 on August 19, 2007, 04:56:35 pm
It SAYS who did the tking.  Making it all one means that for aliens u dont need a separate nade-warning bind.  Besides, how many times are you going to push it to obtain a nade?  Only problem would be if you had a nade and tried to warn others that someone else was nading base while being too far from the arm.
Title: selection issues...
Post by: kevlarman on August 19, 2007, 04:59:38 pm
you're still saying grenade when you aren't dropping one, and you can use the same key for a grenade warning on aliens through different binds for both teams.