Author Topic: 2-handed weapons posibilities  (Read 6397 times)

0 Members and 1 Guest are viewing this topic.

Not Yet Rated!

Offline nargil66

  • Forum Moderator
  • Full Member
  • *
  • Posts: 2507
  • Country: bg
  • Karma: +68/-1
  • Gender: Male
  • Mesh-Texturing Beautifier :)
    • View Profile
    • Awards
  • Time Zone: ?
Re: 2-handed weapons posibilities
« Reply #15 on: 16 March 2024, 14:03:28 »
I hope you will be kind enough to share your modifications someday. This is like fresh air in this game, to a big degree neglected by it's developers...

Not Yet Rated!

Offline efko

  • Administrator
  • Full Member
  • *
  • Posts: 1046
  • Country: cs
  • Karma: +18/-1
  • Gender: Male
    • View Profile
    • Awards
  • Time Zone: +1
Re: 2-handed weapons posibilities
« Reply #16 on: 16 March 2024, 14:59:04 »
When I watched it I had impression that the game just got totally new way of upgrading weapons, like in some other games.. Something that TQ needed. Just imagine mods with this thing included  :D
discord: efko#5979
╚►They say "Before you die your whole life flashes before your eyes…". Make it worth watching. It's true, even for a blind man... ◄╝
              ╚►It is said some lives are linked across time, connected by an ancient calling that echoes through the ages ◄╝

Not Yet Rated!

Offline HekTo

  • TQ Titans
  • Member
  • *
  • Posts: 45
  • Country: ua
  • Karma: +3/-0
    • View Profile
    • Awards
  • Time Zone: +3
Re: 2-handed weapons posibilities
« Reply #17 on: 16 March 2024, 15:18:41 »
I'm not sure I can post this. Because in order for this to work you need to change the game code. I use 2 dlls - one is my autoinjector that loads the second dll, and the second one modifies the code so that it works. I just checked them (dlls) with virustotal and the autoinjector shows 7/72 detections and the second dll shows 4/72 detections, although I personally wrote the code for these dlls and there are no viruses in them ;D
By the way, yesterday I already made it so that there was no need to create separate relics for the male and female versions of .msh
Another idea - is it possible (if you can't add new things) to modify one of the ring slots to equip the above mentioned template?
Here's a test of armor_clothing.tpl for all equipment slots (I didn't find a ready-made .dbr with this template (I don't have Xpack4 unpacked yet), so I made it from scratch and I'm not sure I did it right).
Spoiler for Video:

Upd. Added the ability to replace the weapon trail as well (what is used in .dbr files here: [dbr_file]->[Weapon Parameters]->weaponTrail).
« Last Edit: 16 March 2024, 17:31:02 by HekTo »

Not Yet Rated!

Offline nargil66

  • Forum Moderator
  • Full Member
  • *
  • Posts: 2507
  • Country: bg
  • Karma: +68/-1
  • Gender: Male
  • Mesh-Texturing Beautifier :)
    • View Profile
    • Awards
  • Time Zone: ?
Re: 2-handed weapons posibilities
« Reply #18 on: 16 March 2024, 18:16:35 »
I'm not sure I can post this. Because in order for this to work you need to change the game code. I use 2 dlls - one is my autoinjector that loads the second dll, and the second one modifies the code so that it works. I just checked them (dlls) with virustotal and the autoinjector shows 7/72 detections and the second dll shows 4/72 detections, although I personally wrote the code for these dlls and there are no viruses in them ;D
By the way, yesterday I already made it so that there was no need to create separate relics for the male and female versions of .msh
Another idea - is it possible (if you can't add new things) to modify one of the ring slots to equip the above mentioned template?
Here's a test of armor_clothing.tpl for all equipment slots (I didn't find a ready-made .dbr with this template (I don't have Xpack4 unpacked yet), so I made it from scratch and I'm not sure I did it right).
Spoiler for Video:

Upd. Added the ability to replace the weapon trail as well (what is used in .dbr files here: [dbr_file]->[Weapon Parameters]->weaponTrail).
That's a great progress on Armor_Clothing.tpl. If only it was possible to make jewelry or Artifacts visible when equipped... i think the Artifact slot would be best for Armor_Clothing. Do you know where is this defined and what makes them invisible?
Also, i attach this small utility that was sent to me some time ago, maybe it can help simplify things when editing the DLL, i dont know (see attachments).

Not Yet Rated!

Offline HekTo

  • TQ Titans
  • Member
  • *
  • Posts: 45
  • Country: ua
  • Karma: +3/-0
    • View Profile
    • Awards
  • Time Zone: +3
Re: 2-handed weapons posibilities
« Reply #19 on: 16 March 2024, 19:55:50 »
I wrote to you in a PM, but I forgot to write that I didn’t check this on other versions except the current Steam version. And I was wrong - you can not add the map, but delete it so that the "bounce mod" does not start.
Do you know where is this defined and what makes them invisible?
I don’t know yet, I’ll see when I have time. But I don’t think that the item is simply made invisible, but simply not “loaded” (any item does not appear on the character, not only with template armor_clothing.tpl). It's not a fact that I can do anything in this case.
« Last Edit: 16 March 2024, 20:07:28 by HekTo »

Not Yet Rated!

Offline nargil66

  • Forum Moderator
  • Full Member
  • *
  • Posts: 2507
  • Country: bg
  • Karma: +68/-1
  • Gender: Male
  • Mesh-Texturing Beautifier :)
    • View Profile
    • Awards
  • Time Zone: ?
Re: 2-handed weapons posibilities
« Reply #20 on: 16 March 2024, 21:16:24 »
I wrote to you in a PM, but I forgot to write that I didn’t check this on other versions except the current Steam version.
GoG version seems to work fine too, already tested on it.
I don’t know yet, I’ll see when I have time. But I don’t think that the item is simply made invisible, but simply not “loaded” (any item does not appear on the character, not only with template armor_clothing.tpl). It's not a fact that I can do anything in this case.
Hmm, in this case is it possible if Armor_Clothing.tpl is left to equip on torso, but make it enchantable with relics/charms (currently they aren't accepted)? Also there is another problem with this template - the character's textures are reset to default after you unequip an Armor_Clothing torso. You have to restart the game to see your actual dye texture again.
I'll make a small mod tonight to show you what Armor_Clothing is capable of and to explain the reason of this request - for example the latest horse mounts would be impossible to add if Armor_Clothing.tpl didn't exist.
« Last Edit: 16 March 2024, 21:18:39 by nargil66 »

Not Yet Rated!

Offline HekTo

  • TQ Titans
  • Member
  • *
  • Posts: 45
  • Country: ua
  • Karma: +3/-0
    • View Profile
    • Awards
  • Time Zone: +3
Re: 2-handed weapons posibilities
« Reply #21 on: 16 March 2024, 21:43:31 »
Ok, but I'll get around to testing this later.
For now, I’ll try to add the ability to change not only the weapon trail but also the weapon projectile, but it’s not so easy and I’m not sure that I’ll succeed.

Not Yet Rated!

Offline nargil66

  • Forum Moderator
  • Full Member
  • *
  • Posts: 2507
  • Country: bg
  • Karma: +68/-1
  • Gender: Male
  • Mesh-Texturing Beautifier :)
    • View Profile
    • Awards
  • Time Zone: ?
Re: 2-handed weapons posibilities
« Reply #22 on: 17 March 2024, 11:15:40 »
@HekTo , here is some progress from yesterday (video):

https://mega.nz/file/qtI0GKjY#MMkqpekRluY_TYODvuWYPWevo9Ri-681MBbWIZRo79k

What is done for the moment:
1. Made the illusions bitmaps smaller so they don't take much space
2. Added a special sound when applied to item
3. Made a dedicated template for illusions, removing some stuff that wasn't needed
4. Prepared the text tags

Everything is WIP. Vendors are on the way.
Thank you for letting me help with this. You are making a revolution in TQ :D

Not Yet Rated!

Offline HekTo

  • TQ Titans
  • Member
  • *
  • Posts: 45
  • Country: ua
  • Karma: +3/-0
    • View Profile
    • Awards
  • Time Zone: +3
Re: 2-handed weapons posibilities
« Reply #23 on: 17 March 2024, 11:47:52 »
Good job!
I just thought of trying to add a set of such relics, but nothing worked)) Yes, after “applying” the illusion they would not be displayed as “already on the character” (as in the original in yellow text, if some item from the set is equipped by the character) , but the idea was to simply display recommended illusions along with this one :)

Not Yet Rated!

Offline nargil66

  • Forum Moderator
  • Full Member
  • *
  • Posts: 2507
  • Country: bg
  • Karma: +68/-1
  • Gender: Male
  • Mesh-Texturing Beautifier :)
    • View Profile
    • Awards
  • Time Zone: ?
Re: 2-handed weapons posibilities
« Reply #24 on: 17 March 2024, 14:27:37 »
I used AI to generate some voice lines for the Illusionist NPC (Only female ATM):

https://mega.nz/file/C4YxVCQK#RyMdBprz7vp8CKSTrFGHZwg2ckC24oFRJUAoXyxbN3A

May use the same lines with different voices, just for variety.

Here is the current dialog text:

Quote
"My Illusions can make you look like a god, hero! For a gold coin or two."
"Your quests deserve a grand entrance! Let's make a dramatic Illusion!"
"Victory looks good on you, hero! But so can a fresh Illusion!"
"Let me weave an Illusion that inspires fear in your foes!"
"Feeling indecisive? Don't worry, you can always change your Illusion later!"
"Feeling blessed by the gods? Let's make your Illusion reflect their favor!"
"Let me weave an Illusion that makes you look powerful and wise."
"Want to strike fear like a mythical beast? An Illusion can help!"
"Need a disguise? An Illusion can make you look like anyone you desire."
"Found some mismatched armor? Don't worry, I can make it look like a set!"
"Want to be mistaken for a god? A truly magnificent Illusion can achieve that!"
"Found some rusty armor? Don't worry, I can make it shine like new!"

Edit - the NPC is mostly set (doesn't sell anything yet):
https://mega.nz/file/qs4E3JYT#dCauGv-JncLhbAPwT75WBIl3Ub54Ik1djU5wzoKgW18
« Last Edit: 17 March 2024, 19:11:22 by nargil66 »

Not Yet Rated!

Offline HekTo

  • TQ Titans
  • Member
  • *
  • Posts: 45
  • Country: ua
  • Karma: +3/-0
    • View Profile
    • Awards
  • Time Zone: +3
Re: 2-handed weapons posibilities
« Reply #25 on: 17 March 2024, 15:35:56 »
I checked it in multiplayer, as expected, it is visible only on my own, regardless of server or client. Did some tests with armor_clothing - no success so far.

Not Yet Rated!

Offline nargil66

  • Forum Moderator
  • Full Member
  • *
  • Posts: 2507
  • Country: bg
  • Karma: +68/-1
  • Gender: Male
  • Mesh-Texturing Beautifier :)
    • View Profile
    • Awards
  • Time Zone: ?
Re: 2-handed weapons posibilities
« Reply #26 on: 17 March 2024, 19:13:24 »
I checked it in multiplayer, as expected, it is visible only on my own, regardless of server or client. Did some tests with armor_clothing - no success so far.
Even if both players have the same mod?
I don't think its a big issue even if it doesnt work.
Maybe the only bigger problem is that the illusions doesn't apply permanently. Havent tested with weapons yet, but i assume the new look will disappear on swap.
« Last Edit: 17 March 2024, 19:24:37 by nargil66 »

Not Yet Rated!

Offline HekTo

  • TQ Titans
  • Member
  • *
  • Posts: 45
  • Country: ua
  • Karma: +3/-0
    • View Profile
    • Awards
  • Time Zone: +3
Re: 2-handed weapons posibilities
« Reply #27 on: 17 March 2024, 20:10:22 »
Even if both players have the same mod?
I haven't tried it when both have a modification, but I don't think it works.
I don't think its a big issue even if it doesnt work.
Maybe the only bigger problem is that the illusions doesn't apply permanently. Havent tested with weapons yet, but i assume the new look will disappear on swap.
Yes, I understand that this is a serious problem, but I still can’t come up with an “acceptable” option for implementing the save of illusions (and it’s not a fact that I will come up with one). The option that I am currently thinking about can greatly affect the performance of the game, so I am not seriously considering it.

Not Yet Rated!

Offline nargil66

  • Forum Moderator
  • Full Member
  • *
  • Posts: 2507
  • Country: bg
  • Karma: +68/-1
  • Gender: Male
  • Mesh-Texturing Beautifier :)
    • View Profile
    • Awards
  • Time Zone: ?
Re: 2-handed weapons posibilities
« Reply #28 on: 17 March 2024, 21:13:00 »
Yes, I understand that this is a serious problem, but I still can’t come up with an “acceptable” option for implementing the save of illusions (and it’s not a fact that I will come up with one). The option that I am currently thinking about can greatly affect the performance of the game, so I am not seriously considering it.
A random idea - is it possible that illusions doesn't apply permanently because they give no bonus?

Edit - After testing with weapons, the illusion doesn't disappear after swapping. I think the mechanic works pretty well even at the moment. You can reuse any illusion unlimited times, so it's still great.

A new video:
« Last Edit: 18 March 2024, 04:00:34 by nargil66 »

Not Yet Rated!

Offline HekTo

  • TQ Titans
  • Member
  • *
  • Posts: 45
  • Country: ua
  • Karma: +3/-0
    • View Profile
    • Awards
  • Time Zone: +3
Re: 2-handed weapons posibilities
« Reply #29 on: 18 March 2024, 13:16:53 »
is it possible that illusions doesn't apply permanently because they give no bonus?
No.
A new video:
Wow, looks cool.

Tags:
 


SimplePortal 2.3.7 © 2008-2024, SimplePortal