Quick question.
Moderator: Moderators
-
fasty
- 1st Lieutenant

- Posts: 438
- Joined: Thu Apr 15, 2010 4:17 am
- Projects :: Server modding
- Contact:
Quick question.
I am wondering if is it possible to make "com_weap_inf_force_choke" affect multiple targets and/or increase its range? If so, how may I achieve this?
I tried adding this to the .odf:
MaxTargets = "5"
NoChaining = "1"
With no success.
I tried adding this to the .odf:
MaxTargets = "5"
NoChaining = "1"
With no success.
-
myers73
- Lieutenant General

- Posts: 690
- Joined: Fri Apr 03, 2009 11:04 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Atlanta, GA xfire=myers73 IngameName=mYers
Re: Quick question.
NoChaining = "0"
- Teancum
- Jedi Admin

- Posts: 11080
- Joined: Wed Sep 07, 2005 11:42 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Indiana
Re: Quick question.
Yep, NoChaining = "1" would tell the game that you do not want to chain the attack ("1" is equal to setting this condition to true).
-
fasty
- 1st Lieutenant

- Posts: 438
- Joined: Thu Apr 15, 2010 4:17 am
- Projects :: Server modding
- Contact:
Re: Quick question.
Okay thanks. I thought that was the case at first.
- SW_elite
- Filthy Thief

- Posts: 507
- Joined: Sat Jan 02, 2010 6:43 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Australia!!!
Re: Quick question.
`Just a question, where do you learn this stuff?
- lucasfart
- Sith

- Posts: 1440
- Joined: Tue Feb 24, 2009 5:32 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Australia
Re: Quick question.
I haven't got a link, but on Psych0freds site, he has a document with all the used and unused lua and odf commands. This can come in very handy, and i have a feeling thats where some people get all this from. Otherwise, just have a look at stock odf's and you will find most of what you're looking for in there...
-
myers73
- Lieutenant General

- Posts: 690
- Joined: Fri Apr 03, 2009 11:04 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Atlanta, GA xfire=myers73 IngameName=mYers
Re: Quick question.
lucasfart wrote:I haven't got a link, but on Psych0freds site, he has a document with all the used and unused lua and odf commands. This can come in very handy, and i have a feeling thats where some people get all this from. Otherwise, just have a look at stock odf's and you will find most of what you're looking for in there...
just take time reading through the stock ODFs
-
fasty
- 1st Lieutenant

- Posts: 438
- Joined: Thu Apr 15, 2010 4:17 am
- Projects :: Server modding
- Contact:
Re: Quick question.
Okay so I've been trying with no luck to get this still. I changed it to" NoChaining = "0" with no difference. It still only chokes one person.
My chokes .odf:
Let me know if anythings wrong. It might be possible that this is impossible. 
My chokes .odf:
Hidden/Spoiler:
-
myers73
- Lieutenant General

- Posts: 690
- Joined: Fri Apr 03, 2009 11:04 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Atlanta, GA xfire=myers73 IngameName=mYers
Re: Quick question.
dont those two lines go in the _ord?
-
fasty
- 1st Lieutenant

- Posts: 438
- Joined: Thu Apr 15, 2010 4:17 am
- Projects :: Server modding
- Contact:
Re: Quick question.
myers73 wrote:dont those two lines go in the _ord?
I have no _ord?
Where do I find it?
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: Quick question.
Maybe you should post your entire .odf so that we have some basis for comparison.
Areaeffectweapons (like choke) don't have any _ord file - they only use a single .odf.
Areaeffectweapons (like choke) don't have any _ord file - they only use a single .odf.
-
fasty
- 1st Lieutenant

- Posts: 438
- Joined: Thu Apr 15, 2010 4:17 am
- Projects :: Server modding
- Contact:
Re: Quick question.
That is my entire .odf.
Copied and pasted the whole thing.
Do you mean put it on FileFront for you?
Copied and pasted the whole thing.
Do you mean put it on FileFront for you?
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: Quick question.
Nope, my mistake completely. I was looking at what you posted in your first post and didn't notice that you'd posted it in its entirety a few posts up.fasty wrote:That is my entire .odf.
Copied and pasted the whole thing.
Do you mean put it on FileFront for you?
Try removing the NoChaining line completely from your .odf. It doesn't need to be there.
-
fasty
- 1st Lieutenant

- Posts: 438
- Joined: Thu Apr 15, 2010 4:17 am
- Projects :: Server modding
- Contact:
Re: Quick question.
This is strange. I choke someone, then look in the free cam and I'm choking random units on the other side of the map. I can't really describe it well so here's an image.
Has this ever been done before? Any more suggestions?
EDIT:
When I continue holding the mouse down to choke, and kill them, the other random guys are released and have taken no damage.
(This is with Mav's suggestion to take out the no chaining line. I don't think this happened with that line.)
Hidden/Spoiler:
EDIT:
When I continue holding the mouse down to choke, and kill them, the other random guys are released and have taken no damage.
(This is with Mav's suggestion to take out the no chaining line. I don't think this happened with that line.)
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: Quick question.
Then it's doing exactly what you told it to do. You have a ridiculously large area set as the effect area, and if there are multiple units in the range of the weapon it will hit random units (up to the MaxTargets amount). The reason it is doing no damage is because the weapon reduces in damage based on distance.
Your first step should be to use a reasonable set of numerical parameters for your weapon. I'm not sure entirely what you're trying to do, but a good rule is never start with huge numbers. Get something working on a small scale (even if you intend to make it big) and then work up from there.
Your first step should be to use a reasonable set of numerical parameters for your weapon. I'm not sure entirely what you're trying to do, but a good rule is never start with huge numbers. Get something working on a small scale (even if you intend to make it big) and then work up from there.
-
fasty
- 1st Lieutenant

- Posts: 438
- Joined: Thu Apr 15, 2010 4:17 am
- Projects :: Server modding
- Contact:
Re: Quick question.
Whoops. I must have messed with those numbers when I was experimenting. I tried a lot to get this to work.Maveritchell wrote:You have a ridiculously large area set as the effect area, and if there are multiple units in the range of the weapon it will hit random units (up to the MaxTargets amount).
Maveritchell wrote:I'm not sure entirely what you're trying to do
I suppose I wasn't very clear. I'm trying to make it so when I choke a guy, the other guys three feet from him get choked with him. Kind of like force lightning, only choke effect. Yes, I looked at the lightning .odf; it just confused me.
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: Quick question.
You were textually clear enough; the numbers were confusing, though. Just make those numbers more reasonable and it'll work like you want. E.g.fasty wrote:I suppose I wasn't very clear. I'm trying to make it so when I choke a guy, the other guys three feet from him get choked with him. Kind of like force lightning, only choke effect. Yes, I looked at the lightning .odf; it just confused me.
Hidden/Spoiler:
-
fasty
- 1st Lieutenant

- Posts: 438
- Joined: Thu Apr 15, 2010 4:17 am
- Projects :: Server modding
- Contact:
Re: Quick question.
Copied what you said and still no affect. It doesn't choke random units anymore, but it now only chokes one unit, like normal. Somethings not right here.
I tried taking no chaining out again, and still same ole single choke.
I made sure about this by having clones stand so close together they were basically uh...queer? Only choked one guy.
I tried taking no chaining out again, and still same ole single choke.
I made sure about this by having clones stand so close together they were basically uh...queer? Only choked one guy.
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: Quick question.
Don't know what you could be doing to make it not work. Here's that exact same .odf tested:fasty wrote:Copied what you said and still no affect. It doesn't choke random units anymore, but it now only chokes one unit, like normal. Somethings not right here.![]()
I tried taking no chaining out again, and still same ole single choke.
I made sure about this by having clones stand so close together they were basically uh...queer? Only choked one guy.
Hidden/Spoiler:
-
fasty
- 1st Lieutenant

- Posts: 438
- Joined: Thu Apr 15, 2010 4:17 am
- Projects :: Server modding
- Contact:
Re: Quick question.
ILY Mav <3

