Gamestudio Links
Zorro Links
Newest Posts
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (Akow, SBGuy), 1,423 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19058 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 | chip programmers | 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