.:`=-~rANdOm~`-=:. Game Servers

Support (Read Only) => Help => Topic started by: semy32 on January 26, 2012, 09:37:35 AM

Title: Changing the ironsights
Post by: semy32 on January 26, 2012, 09:37:35 AM
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.
Title: Re: Changing the ironsights
Post by: Castle on January 26, 2012, 10:45:36 AM
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.
Title: Re: Changing the ironsights
Post by: Deacon on January 26, 2012, 12:35:52 PM
What are you trying to do, exactly?
Title: Re: Changing the ironsights
Post by: WarEclipseâ„¢ on January 26, 2012, 12:58:07 PM
I think he's saying he'd like to know wether there's an ironsight-changing feature for players.   8)
Title: Re: Changing the ironsights
Post by: cogsandspigots on January 26, 2012, 01:09:15 PM
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.
Title: Re: Changing the ironsights
Post by: Deathie on January 26, 2012, 01:12:33 PM
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
Title: Re: Changing the ironsights
Post by: semy32 on January 26, 2012, 01:13:09 PM
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.
Title: Re: Changing the ironsights
Post by: Deacon on January 26, 2012, 01:25:00 PM
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.