Gamestudio Links
Zorro Links
Newest Posts
ZorroGPT
by TipmyPip. 02/21/26 19:15
Camera always moves upwards?
by clonman. 02/21/26 09:29
Zorro version 3.0 prerelease!
by TipmyPip. 02/20/26 13:22
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 02/19/26 13:22
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
2 registered members (USER0328, 1 invisible), 6,740 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
alx, ApprenticeInMuc, PatrickH90, USER0328, Sfrdragon
19199 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: Attaching a weapon [Re: lostclimate] #83524
08/01/06 20:01
08/01/06 20:01
Joined: Jan 2005
Posts: 79
T
taipan Offline
Junior Member
taipan  Offline
Junior Member
T

Joined: Jan 2005
Posts: 79
Quote:

go to acknex resourses unlimited, and go to wdls/dlls, download vattach, it works perfect, i used it with the guns in my game




I'm looking at code right now but i don't understand where to put my .mdl!?

I got the simple version functioning but it has no pan.

If i have a sword.mdl and warrior.mdl, how would i script it to work? Don't mind the vertex number now, that at least i can change

Do i just change the entity1 to sword.mdl?

It's for 3rd person camera

Last edited by taipan; 08/01/06 20:13.

- A 3D world can be flawless...I want to live there
Re: Attaching a weapon [Re: taipan] #83525
08/06/06 22:50
08/06/06 22:50
Joined: Oct 2005
Posts: 4,771
Bay City, MI
lostclimate Offline
Expert
lostclimate  Offline
Expert

Joined: Oct 2005
Posts: 4,771
Bay City, MI
just replace gun with the object and the numbers in the addons line represent the vertexs, first being the origin of the weapon, the second is the direction it is pointing, and the third is the were the roll direction will point

if(gun!=null)
{
you = me; //YOU==the object we are sticking things to eg. the player
temp = handle(gun); //handle of our item to attach eg. a weapon
addons(temp,747,748,749);
}

Re: Attaching a weapon [Re: lostclimate] #83526
11/11/06 05:15
11/11/06 05:15
Joined: May 2006
Posts: 1
Y
yokan Offline
Guest
yokan  Offline
Guest
Y

Joined: May 2006
Posts: 1
i have a question, that script must be in the "weapon action", or in the "player action"?

thank you.. =D

Page 2 of 2 1 2

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1