Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
2 registered members (AndrewAMD, TipmyPip), 12,672 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 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