Author Topic: Changing the ironsights  (Read 100 times)

0 Members and 1 Guest are viewing this topic.

Offline semy32

  • ****
  • Posts: 454
  • Gender: Male
  • Respect: +72
Changing the ironsights
« on: January 26, 2012, 09:37:35 AM »
0
Is there a tool to change the ironsights for new models, (TTT)

Or it takes some coding?

If there is a tool then can somebody tell me where can I get it.

Offline Castle

  • ***
  • Posts: 166
  • Respect: +19
Re: Changing the ironsights
« Reply #1 on: January 26, 2012, 10:45:36 AM »
0
Is there a tool to change the ironsights for new models, (TTT)

Or it takes some coding?

If there is a tool then can somebody tell me where can I get it.

There's no tool and it takes coding.

Since the weapons are meant for CSS which dosen't have ironsight.

Offline Deacon

  • The righteous rise, with burning eyes
  • ***
  • DonatorDWO Player
    View More Badges!

  • Posts: 4482
  • Gender: Male
  • of hatred and ill-will
  • Respect: +1788
Re: Changing the ironsights
« Reply #2 on: January 26, 2012, 12:35:52 PM »
0
What are you trying to do, exactly?

Offline WarEclipseâ„¢

  • **
  • Posts: 85
  • Gender: Male
  • Hello, I'm WarEclipse.
  • Respect: +4
Re: Changing the ironsights
« Reply #3 on: January 26, 2012, 12:58:07 PM »
0
I think he's saying he'd like to know wether there's an ironsight-changing feature for players.   8)

Offline cogsandspigots

  • *****
  • Posts: 1821
  • Gender: Male
  • Respect: +612
Re: Changing the ironsights
« Reply #4 on: January 26, 2012, 01:09:15 PM »
0
What are you trying to do, exactly?
I gave all my weapons an animation re-do, but when I used ironsights, the gun was off to the left.

Offline Deathie

  • ***
  • Windows User
    View More Badges!

  • Posts: 5293
  • Gender: Female
  • Respect: +2069
    • Some music shit I made
Re: Changing the ironsights
« Reply #5 on: January 26, 2012, 01:12:33 PM »
0
I gave all my weapons an animation re-do, but when I used ironsights, the gun was off to the left.

It's determined in the SERVERS lua, so AFIAK, you can't change the ironsight position like if you're using a custom model or some shit.

:x


Check out my Soundcloud for some neat stuff!

Offline semy32

  • ****
  • Posts: 454
  • Gender: Male
  • Respect: +72
Re: Changing the ironsights
« Reply #6 on: January 26, 2012, 01:13:09 PM »
0
What are you trying to do, exactly?

I redo-d the weapon animations and models and now the weapons are off to the left.

I know it is beacuse it uses the CS-S default weapon pack.
So for ex. the new model is not at the same place of the original ttt pistol so it goes off to the left..etc.


EDIT: Damn ninja-d.

Offline Deacon

  • The righteous rise, with burning eyes
  • ***
  • DonatorDWO Player
    View More Badges!

  • Posts: 4482
  • Gender: Male
  • of hatred and ill-will
  • Respect: +1788
Re: Changing the ironsights
« Reply #7 on: January 26, 2012, 01:25:00 PM »
0
Im not sure how the clientside of this works, but the standard weapon positions are determined, as snivy said, in the shared.lua file on the server.

If your client model changes, that would be fine I think, but the position of the ironsights should still be determined as the server states it.