Author Topic: Removing throwing weapon when it is out of ammo.  (Read 2995 times)

0 Members and 1 Guest are viewing this topic.

Offline Spanish

  • Earl
  • ******
  • Renown: 386
  • Infamy: 106
  • cRPG Player A Gentleman and a Scholar
  • 2h Cav Star of the year award winner.
    • View Profile
  • Faction: The official Drama Llama of Knights_Hospitaller
  • Game nicks: Hospitaller_Spaniard, BowPersona, Span
Re: Removing throwing weapon when it is out of ammo.
« Reply #15 on: May 10, 2012, 10:39:00 pm »
+1
Solve dis probremmm naowwwww

And if you pick up a weapon with 0 ammo just switch to another and it will dissappear or pick up one.
My horse is named pebbles and we like to try.

Offline Lactose_the_intolerant

  • Earl
  • ******
  • Renown: 460
  • Infamy: 71
  • cRPG Player A Gentleman and a Scholar
  • Byzantium the intolerant, lactose_the_...
    • View Profile
Re: Removing throwing weapon when it is out of ammo.
« Reply #16 on: May 10, 2012, 11:42:08 pm »
0
Solve dis probremmm naowwwww

And if you pick up a weapon with 0 ammo just switch to another and it will dissappear or pick up one.

this is actually the msot retarded joke.

you see a pack of jarids on the flor, you pick it up but there's none left, BUT the pack is on your back

meaning : You just pick up 4kg extra of dead weight

Offline Godwin

  • Knight
  • ***
  • Renown: 26
  • Infamy: 15
  • cRPG Player A Gentleman and a Scholar
    • View Profile
  • Game nicks: Merc_Godwin
Re: Removing throwing weapon when it is out of ammo.
« Reply #17 on: May 16, 2012, 11:48:40 am »
0
Rape crafting? Who gives a shit about throwing weapons in strat anyway?

Offline _Sebastian_

  • Baron
  • ****
  • Renown: 132
  • Infamy: 16
  • cRPG Player
  • Lazy Wizard
    • View Profile
    • Bad Bug Busters
  • Faction: Flat-Earth Reptilian
  • Game nicks: Fenris_Sebastian
Re: Removing throwing weapon when it is out of ammo.
« Reply #18 on: May 16, 2012, 06:01:42 pm »
0
I think that using ti_on_missile_hit with WSE features is an easy way to find the agent and checking if that agent have no ammo of that kind of throwing weapon, to remove that item from its inventory, or maybe a trigger that check in a interval if an itp_type_thrown item have 0 ammo.
"ti_on_missile_hit" is a warband trigger, not wse.

Checking the ammo when a missile hits isnt a good way.
If you throw something outside the map, then it will never hit, so the trigger has no effect.

Doing it with "ti_on_weapon_attack" will be the better solution.
So this will check the ammo every time you throw the missile.
« Last Edit: May 16, 2012, 06:12:14 pm by _Sebastian_ »

Offline _Tak_

  • Earl
  • ******
  • Renown: 459
  • Infamy: 195
  • cRPG Player
  • Retired Dev of FI2
    • View Profile
    • mod :D
  • Game nicks: LC
Re: Removing throwing weapon when it is out of ammo.
« Reply #19 on: May 16, 2012, 06:11:23 pm »
+1
Solve dis probremmm naowwwww

And if you pick up a weapon with 0 ammo just switch to another and it will dissappear or pick up one.

+1, for bows and crossbow if you pick up stack of botls / arrows it turn into 0.

Offline cmp

  • M:BG Developer
  • Supreme Overlord
  • *******
  • Renown: 2052
  • Infamy: 569
  • cRPG Player
    • View Profile
  • IRC nick: cmp
Re: Removing throwing weapon when it is out of ammo.
« Reply #20 on: May 16, 2012, 09:22:57 pm »
+1
meaning : You just pick up 4kg extra of dead weight

No. Weight is calculated per projectile, so if you have an empty stack it will weigh zero no matter what the initial weight was.

Offline Lactose_the_intolerant

  • Earl
  • ******
  • Renown: 460
  • Infamy: 71
  • cRPG Player A Gentleman and a Scholar
  • Byzantium the intolerant, lactose_the_...
    • View Profile
Re: Removing throwing weapon when it is out of ammo.
« Reply #21 on: May 16, 2012, 09:34:04 pm »
+1
No. Weight is calculated per projectile, so if you have an empty stack it will weigh zero no matter what the initial weight was.

does this mean that this whole thread is useless?

Offline Godwin

  • Knight
  • ***
  • Renown: 26
  • Infamy: 15
  • cRPG Player A Gentleman and a Scholar
    • View Profile
  • Game nicks: Merc_Godwin
Re: Removing throwing weapon when it is out of ammo.
« Reply #22 on: May 16, 2012, 09:34:56 pm »
0
No. Weight is calculated per projectile, so if you have an empty stack it will weigh zero no matter what the initial weight was.

That's nice to know, still wish the jammed slot would piss off and the spawning with stuff you scavenged but threw away.

Offline Lech

  • Permanently Banned
  • **
  • Renown: 123
  • Infamy: 348
  • cRPG Player
    • View Profile
Re: Removing throwing weapon when it is out of ammo.
« Reply #23 on: May 16, 2012, 09:41:08 pm »
-1
does this mean that this whole thread is useless?

Yes,


Offline Godwin

  • Knight
  • ***
  • Renown: 26
  • Infamy: 15
  • cRPG Player A Gentleman and a Scholar
    • View Profile
  • Game nicks: Merc_Godwin
Re: Removing throwing weapon when it is out of ammo.
« Reply #25 on: May 16, 2012, 09:45:39 pm »
0
+1

Pain in the arse sums it up nicely. Grab up a spear from the ground to keep the bad ponies at bay then at a great inconvenience find that's all I have on me except for an empty javlin case, my mace is lying somewhere way back and I have 1 proficiency in polearms  :cry:.

Like El_Infante said, when you've spawned next round with some of your regular throwing gear replaced with scavenged junk, that crucial moment of trying to whip out your beating stick fails miserably as you pull out no not your trusty lead pipe but a god damn dart.
This is still an issue regarless of weight.

Offline El_Infante

  • Count
  • *****
  • Renown: 167
  • Infamy: 60
  • cRPG Player A Gentleman and a Scholar
    • View Profile
  • Game nicks: Tercio_Alejandro_Farnesio
Re: Removing throwing weapon when it is out of ammo.
« Reply #26 on: May 17, 2012, 04:42:39 pm »
0
No. Weight is calculated per projectile, so if you have an empty stack it will weigh zero no matter what the initial weight was.

Surely you are right. But the problem of having a dead stack of 0 ammo, can be solved? Btw, can you post the code?

Offline Godwin

  • Knight
  • ***
  • Renown: 26
  • Infamy: 15
  • cRPG Player A Gentleman and a Scholar
    • View Profile
  • Game nicks: Merc_Godwin
Re: Removing throwing weapon when it is out of ammo.
« Reply #27 on: May 19, 2012, 03:03:00 pm »
0
It's so anoying to pick up a fallen lance or somethng to defend myself from cav and I'm forced to drop my mace when it was the only thing I was carrying.

Offline cmp

  • M:BG Developer
  • Supreme Overlord
  • *******
  • Renown: 2052
  • Infamy: 569
  • cRPG Player
    • View Profile
  • IRC nick: cmp
Re: Removing throwing weapon when it is out of ammo.
« Reply #28 on: May 19, 2012, 03:03:41 pm »
0
Surely you are right. But the problem of having a dead stack of 0 ammo, can be solved? Btw, can you post the code?

I'll look into the dead stack thing. What code?

Offline Godwin

  • Knight
  • ***
  • Renown: 26
  • Infamy: 15
  • cRPG Player A Gentleman and a Scholar
    • View Profile
  • Game nicks: Merc_Godwin
Re: Removing throwing weapon when it is out of ammo.
« Reply #29 on: May 19, 2012, 03:41:16 pm »
0
Thanks dude.