Poll

does anyone also want this kind of feature in cRPG (full penetration)  :twisted:

Yes
79 (73.1%)
No
4 (3.7%)
Give them run
25 (23.1%)

Total Members Voted: 108

Author Topic: More Penetration, and how to add it. [Solution Inside]  (Read 2423 times)

0 Members and 2 Guests are viewing this topic.

Offline //saxon

  • King
  • **********
  • Renown: 1339
  • Infamy: 181
  • cRPG Player Sir Black Bishop
  • I'm just to dam goood 😎
    • View Profile
  • Faction: Vanguard
  • Game nicks: Saxon
More Penetration, and how to add it. [Solution Inside]
« on: June 15, 2014, 05:07:03 am »
+35
ok i cannot for the life of me find a single OP/thread/topic on this forum but i know its exact contents.

Basically it was about throwing penetration or just general missile penetration and instead of arrows for example just sticking out of you from their "arrow head" they would go half way into you and look like it actually penetrated you(no homo).

The person who made this OP/thread/topic also had a video on it showing off the throwing lance as he threw it at a horse and half of the throwing lance went into the horse instead of what we are seeing today being just the throwing lance tip sticking out of the horse.

Pictures i just taken myself on a single player mod and cRPG describing what im talking about:

cRPG Atm (notice the lance just sticking out by the tip after thrown full force into the body)
(click to show/hide)

What im looking to find how to do. on my own by coding some files im guessing, i found this on a mod. (throwing lance goes straight through and gets stuck half way after thrown full force into the body)
(click to show/hide)
(click to show/hide)
(click to show/hide)

If anyone could give me some help on how i can do this myself to make this happen say on my native module by doing it on my own please tell me  :) there has to be someone that knows!

Thanks in advance!

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Solution.
open "item_kinds1" file in the module folder
Locate all ranged ammo by pressing "Ctrl+F" and typing ranged ammo names, Example: "itm_javelins"
the line that will come up for "javelins" is this
(click to show/hide)
Now the number 75 that is highlighted red, is the current weapon length of the javelin, number 5 being the max ammo and so on, all you need to do is change the number 75 to a lower number and the lower The number is.. the more depth the penetration on the object you hit.

This goes for all the ranged items. its that simple, just don't change the melee script of the ammo item and you won't screw up the melee mode of it.

The weapon length number like the number 75 on the javelins code above, for all the other ranged ammo items like throwing spears and arrows etc the weapon length number is located at the same place, being the fourth number from the end of the line, number to the right of it is the max ammo, changing this will differ from how many arrows or throwing equipment you carry in one slot.

hope i could help.

and also if someone important can move this thread to suggestions now because its turned into a suggestion thread instead of a help thread, thanks :)
« Last Edit: June 16, 2014, 01:50:18 am by Saxon. »
visitors can't see pics , please register or login

Offline Dionysus

  • Duke
  • *******
  • Renown: 696
  • Infamy: 63
  • cRPG Player
  • I move-- for no man.
    • View Profile
  • Faction: Art of War
  • Game nicks: Dionysus_AoW
Re: need a little help from community
« Reply #1 on: June 15, 2014, 05:54:30 am »
+14
Shish-kebabing people with throwing lances with FULL PENETRATION would be pretty fucking metal, man!

WHITE WHALE HOLY GRAIL
visitors can't see pics , please register or login

Offline Morris

  • Duke
  • *******
  • Renown: 507
  • Infamy: 147
  • cRPG Player
    • View Profile
Re: need a little help from community
« Reply #2 on: June 15, 2014, 07:47:22 am »
+4
YES

(click to show/hide)
visitors can't see pics , please register or login

Offline Yuang

  • Marshall
  • ********
  • Renown: 788
  • Infamy: 45
  • cRPG Player
  • I love you all
    • View Profile
    • 汉云工作室
  • Faction: Nothing
  • Game nicks: TangSanZang
Re: need a little help from community
« Reply #3 on: June 15, 2014, 08:29:51 am »
+9
Really cool.
visitors can't see pics , please register or login

I'm who I am, a firework of larruping color.
My time is seven hours earlier than the forum.

Offline FleetFox

  • Marshall
  • ********
  • Renown: 711
  • Infamy: 72
  • cRPG Player Sir Black Bishop A Gentleman and a Scholar
  • Fox Shox Rox
    • View Profile
  • Faction: The Norsemen
  • Game nicks: Norse_Torr and FleetFox
Re: need a little help from community
« Reply #4 on: June 15, 2014, 08:45:13 am »
+1
Voted yes, though it was a hard toss up between that and give them run  :P

(click to show/hide)
"Its better to die on your feet than to live on your knees."
― Emiliano Zapata

Offline //saxon

  • King
  • **********
  • Renown: 1339
  • Infamy: 181
  • cRPG Player Sir Black Bishop
  • I'm just to dam goood 😎
    • View Profile
  • Faction: Vanguard
  • Game nicks: Saxon
Re: need a little help from community
« Reply #5 on: June 15, 2014, 03:32:44 pm »
0
there must be someone that knows how to code this for all missile types! where is that someone! going to ask on IRC.
visitors can't see pics , please register or login

Offline matt2507

  • King
  • **********
  • Renown: 1013
  • Infamy: 168
  • cRPG Player Sir Black Rook A Gentleman and a Scholar
  • It is when making anything that we become anyone.
    • View Profile
  • Faction: Mercenaries
  • Game nicks: Merc_Raylin The_Village_Idiot Mohamed_Ali
Re: need a little help from community
« Reply #6 on: June 15, 2014, 04:22:02 pm »
+1
I think you can't do it yourself.

I think we should reduce the length value while keeping the mesh above but there is only the devs who can do it.
visitors can't see pics , please register or login


No donkeys were harmed in the making of this gif.

Offline matt2507

  • King
  • **********
  • Renown: 1013
  • Infamy: 168
  • cRPG Player Sir Black Rook A Gentleman and a Scholar
  • It is when making anything that we become anyone.
    • View Profile
  • Faction: Mercenaries
  • Game nicks: Merc_Raylin The_Village_Idiot Mohamed_Ali
Re: need a little help from community
« Reply #7 on: June 15, 2014, 05:12:02 pm »
+3
Ok, i confirm.
The weapon lenght must be reduced like by 50% in server side and the mesh must remain at current size client side for that it works.

Here is an exemple with the throwing spear mesh exaggeratedly enlarged (raised by 100%):

visitors can't see pics , please register or login



I tried to reduce the weapon lenght in the itemkind.txt but apparently it's only work in the server side.
We just have to wait a not too lazy dev..   :?
« Last Edit: June 15, 2014, 05:28:24 pm by matt2507 »
visitors can't see pics , please register or login


No donkeys were harmed in the making of this gif.

Offline //saxon

  • King
  • **********
  • Renown: 1339
  • Infamy: 181
  • cRPG Player Sir Black Bishop
  • I'm just to dam goood 😎
    • View Profile
  • Faction: Vanguard
  • Game nicks: Saxon
Re: need a little help from community
« Reply #8 on: June 15, 2014, 05:28:21 pm »
0
Ok, i confirm.
The weapon lenght must be reduced like by 50% in server side and the mesh must remain at current size client side for that it works.

Here is an exemple with the throwing spear mesh exaggeratedly enlarged (raised by 50%):

visitors can't see pics , please register or login



I tried to reduce the weapon lenght in the itemkind.txt but apparently it's only work in the server side.
We just have to wait a not too lazy dev..   :?

ok thanks for letting me know, this make alot of sense and i see that it works, but im trying to do it on my singleplayer module so do you know what item script to change the length and where i can find it

and also what to change it to?
visitors can't see pics , please register or login

Offline matt2507

  • King
  • **********
  • Renown: 1013
  • Infamy: 168
  • cRPG Player Sir Black Rook A Gentleman and a Scholar
  • It is when making anything that we become anyone.
    • View Profile
  • Faction: Mercenaries
  • Game nicks: Merc_Raylin The_Village_Idiot Mohamed_Ali
Re: need a little help from community
« Reply #9 on: June 15, 2014, 05:35:49 pm »
+3
ok thanks for letting me know, this make alot of sense and i see that it works, but im trying to do it on my singleplayer module so do you know what item script to change the length and where i can find it

and also what to change it to?

You must change the weapon lenght value in the module_item.py
Exemple for the throwing spear:
(click to show/hide)

Do not edit the "_melee" after or your secondary mode will be fucked.

I'm not sure for this but it's seems to be that for me.
visitors can't see pics , please register or login


No donkeys were harmed in the making of this gif.

Offline //saxon

  • King
  • **********
  • Renown: 1339
  • Infamy: 181
  • cRPG Player Sir Black Bishop
  • I'm just to dam goood 😎
    • View Profile
  • Faction: Vanguard
  • Game nicks: Saxon
Re: need a little help from community
« Reply #10 on: June 15, 2014, 06:41:42 pm »
0
You must change the weapon lenght value in the module_item.py
Exemple for the throwing spear:
(click to show/hide)
where can i find that module_item.py? can i search for a line or something in the start up search bar?
visitors can't see pics , please register or login

Offline matt2507

  • King
  • **********
  • Renown: 1013
  • Infamy: 168
  • cRPG Player Sir Black Rook A Gentleman and a Scholar
  • It is when making anything that we become anyone.
    • View Profile
  • Faction: Mercenaries
  • Game nicks: Merc_Raylin The_Village_Idiot Mohamed_Ali
visitors can't see pics , please register or login


No donkeys were harmed in the making of this gif.

Offline matt2507

  • King
  • **********
  • Renown: 1013
  • Infamy: 168
  • cRPG Player Sir Black Rook A Gentleman and a Scholar
  • It is when making anything that we become anyone.
    • View Profile
  • Faction: Mercenaries
  • Game nicks: Merc_Raylin The_Village_Idiot Mohamed_Ali
Re: need a little help from community
« Reply #12 on: June 15, 2014, 07:36:47 pm »
+1
If you are too lazzy to, there is my item_kind.txt modified for native: http://www.mediafire.com/view/7n6u4t6csocoxv9/item_kinds1.txt
visitors can't see pics , please register or login


No donkeys were harmed in the making of this gif.

Offline Krex

  • Earl
  • ******
  • Renown: 403
  • Infamy: 165
  • cRPG Player Sir Black Bishop
  • How did I get here?
    • View Profile
    • Steam
  • Game nicks: Krex
Quote from: Tomeusz link=topic=45416.msg717346#msg717346
horse just standing on 2 feets and does "yhohohohoh".

Offline Switchtense

  • King
  • **********
  • Renown: 1137
  • Infamy: 137
  • cRPG Player Sir White Bishop
  • poking you where the sun dont shine!
    • View Profile
  • Faction: Unicorns, BIRD CLAN BEST CLAN!
  • Game nicks: All sorts of Switch's
  • IRC nick: Switchtense
Re: need a little help from community
« Reply #14 on: June 15, 2014, 08:29:45 pm »
0
Changing the weapon length server side, but keeping the Mesh at its current length. Pretty simple but genius solution :D

But would that not cause minor problems such as hit detection for melee? Since the length will still be the same looks wise, but when swinging you would not clip with half of the spear since the server side length is actually shorter.
Or am I just being stupid here?
For all the non-believers, look no further than this thread for proof that while strat battles are won/lost in NA3/EU3, strat wars are won and lost on the forums.
visitors can't see pics , please register or login