Profile  Register  Calendar  Memberlist  FAQ  Search Home  
Tribes RPG Forums : Powered by vBulletin version 2.0.3 Tribes RPG Forums > Main > TribesRPG Discussion > Anyone have a archery weapon .cs file?
  Last Thread   Next Thread
Author
Thread    Post New Thread    Post A Reply
DeathMerchant
UberSloth

Registered: Mar 2001
Location: Minnesota
Posts: 4229

Anyone have a archery weapon .cs file?

I need to look at some code to ensure that I am making the firearm mod weapons right.

If someone could post the code for an archery weapon, it would be much appreciated.

Report this post to a moderator | IP: Logged

DeathMerchant is offline Old Post 07-02-2001 03:11 PM
Click Here to See the Profile for DeathMerchant Click here to Send DeathMerchant a Private Message Click Here to Email DeathMerchant Find more posts by DeathMerchant Add DeathMerchant to your buddy list Edit/Delete Message Reply w/Quote
-SB-SirSteven
UberFuffian

Registered: Mar 2001
Location: Escondido, California
Posts: 346

Shouldn't this post be under the Technical Support section?


but anyways... I made a gun called the ZAPPER a long time ago, it used the same archery stuff that an ordinary bow did... it made lots of colours =] thats all i remember heh... FENIX might still have the .cs, he hosted it.


__________________
~ SirSteven ~

Report this post to a moderator | IP: Logged

-SB-SirSteven is offline Old Post 07-02-2001 03:24 PM
Click Here to See the Profile for -SB-SirSteven Click here to Send -SB-SirSteven a Private Message Click Here to Email -SB-SirSteven Visit -SB-SirSteven's homepage! Find more posts by -SB-SirSteven Add -SB-SirSteven to your buddy list Edit/Delete Message Reply w/Quote
DeathMerchant
UberSloth

Registered: Mar 2001
Location: Minnesota
Posts: 4229

Yes, it probably should. :-) I'll delete it after I find one...

I used to have the code long, long time ago, but lost it in a HD wipe.

Report this post to a moderator | IP: Logged

DeathMerchant is offline Old Post 07-02-2001 03:56 PM
Click Here to See the Profile for DeathMerchant Click here to Send DeathMerchant a Private Message Click Here to Email DeathMerchant Find more posts by DeathMerchant Add DeathMerchant to your buddy list Edit/Delete Message Reply w/Quote
PaladinPimp
TravellerPaladin

Registered: Mar 2001
Location:
Posts: 924

just download winvol

Report this post to a moderator | IP: Logged

PaladinPimp is offline Old Post 07-03-2001 01:27 AM
Click Here to See the Profile for PaladinPimp Click here to Send PaladinPimp a Private Message Click Here to Email PaladinPimp Find more posts by PaladinPimp Add PaladinPimp to your buddy list Edit/Delete Message Reply w/Quote
NEHR
OrcSlayer

Registered: Mar 2001
Location: unknown
Posts: 284

// ******************************
******************************
******************************
**********
// SLING
// ******************************
******************************
******************************
**********

ItemImageData SlingImage
{
shapeFile = "crossbow";
mountPoint = 0;

weaponType = 0; // Single Shot
ammoType = "";
projectileType = NoProjectile;
accuFire = false;
reloadTime = 0;
fireTime = GetDelay(Sling);

lightType = 3; // Weapon Fire
lightRadius = 3;
lightTime = 1;
lightColor = { 0.6, 1, 1.0 };

sfxFire = CrossbowShoot1;
sfxActivate = CrossbowSwitch1;
sfxReload = NoSound;
};
ItemData Sling
{
description = "Sling";
className = "Weapon";
shapeFile = "crossbow";
hudIcon = "grenade";
heading = "bWeapons";
shadowDetailMask = 4;
imageType = SlingImage;
price = 0;
showWeaponBar = true;
};
function SlingImage:nFire(%player, %slot)
{
%clientId = Player::getClient(%player);

%vel = 60;
ProjectileAttack(%clientId, Sling, %vel);
}


__________________


FAHR

Server:Binkers and Newbies
Class:CLERIC - POPE IX
Remort:9
Level:129
Cash:Now Broke (crack addict)
Storage:Only What I need
last updated:10/05/01

Report this post to a moderator | IP: Logged

NEHR is offline Old Post 07-04-2001 08:12 PM
Click Here to See the Profile for NEHR Click here to Send NEHR a Private Message Click Here to Email NEHR Visit NEHR's homepage! Find more posts by NEHR Add NEHR to your buddy list Edit/Delete Message Reply w/Quote
DeathMerchant
UberSloth

Registered: Mar 2001
Location: Minnesota
Posts: 4229

You are my hero, thanks!

Report this post to a moderator | IP: Logged

DeathMerchant is offline Old Post 07-04-2001 08:15 PM
Click Here to See the Profile for DeathMerchant Click here to Send DeathMerchant a Private Message Click Here to Email DeathMerchant Find more posts by DeathMerchant Add DeathMerchant to your buddy list Edit/Delete Message Reply w/Quote
DeathMerchant
UberSloth

Registered: Mar 2001
Location: Minnesota
Posts: 4229

quote:
Originally posted by NEHR

projectileType = NoProjectile;



Wait, isn't there something wrong with that???

Report this post to a moderator | IP: Logged

DeathMerchant is offline Old Post 07-04-2001 08:17 PM
Click Here to See the Profile for DeathMerchant Click here to Send DeathMerchant a Private Message Click Here to Email DeathMerchant Find more posts by DeathMerchant Add DeathMerchant to your buddy list Edit/Delete Message Reply w/Quote
Toaster
Master of Toast

Registered: Mar 2001
Location: JI & PoG's RPG
Posts: 2479

It probably has something to do with the way you load the weapons in the tab menu.


__________________


Toaster

Read The Newbie Guide!

Report this post to a moderator | IP: Logged

Toaster is offline Old Post 07-04-2001 08:48 PM
Click Here to See the Profile for Toaster Click here to Send Toaster a Private Message Click Here to Email Toaster Visit Toaster's homepage! Find more posts by Toaster Add Toaster to your buddy list Edit/Delete Message Reply w/Quote
DeathMerchant
UberSloth

Registered: Mar 2001
Location: Minnesota
Posts: 4229

hmm, probably, but I could have sworn there were different types, such as stone, quarrel, feather, etc.

Report this post to a moderator | IP: Logged

DeathMerchant is offline Old Post 07-04-2001 08:51 PM
Click Here to See the Profile for DeathMerchant Click here to Send DeathMerchant a Private Message Click Here to Email DeathMerchant Find more posts by DeathMerchant Add DeathMerchant to your buddy list Edit/Delete Message Reply w/Quote
NEHR
OrcSlayer

Registered: Mar 2001
Location: unknown
Posts: 284

if u put a projectile in there it would be able to use only that projectile, I believe there is a function in the weapons.cs that lets u pick the projectile via tab menu.


__________________


FAHR

Server:Binkers and Newbies
Class:CLERIC - POPE IX
Remort:9
Level:129
Cash:Now Broke (crack addict)
Storage:Only What I need
last updated:10/05/01

Report this post to a moderator | IP: Logged

NEHR is offline Old Post 07-04-2001 10:12 PM
Click Here to See the Profile for NEHR Click here to Send NEHR a Private Message Click Here to Email NEHR Visit NEHR's homepage! Find more posts by NEHR Add NEHR to your buddy list Edit/Delete Message Reply w/Quote
DeathMerchant
UberSloth

Registered: Mar 2001
Location: Minnesota
Posts: 4229

heh, I only want them to be able to use 1 ammo type anyhow...(ie, glock uses 9mm...) I figured out how Im going to do this....

Report this post to a moderator | IP: Logged

DeathMerchant is offline Old Post 07-04-2001 10:18 PM
Click Here to See the Profile for DeathMerchant Click here to Send DeathMerchant a Private Message Click Here to Email DeathMerchant Find more posts by DeathMerchant Add DeathMerchant to your buddy list Edit/Delete Message Reply w/Quote
PaladinPimp
TravellerPaladin

Registered: Mar 2001
Location:
Posts: 924

hmmm, dm use the normal tribes chaingun as more of a serving example instead of trpgs bows, cause the chaingun is more of the kinda gun we are aiming at

Report this post to a moderator | IP: Logged

PaladinPimp is offline Old Post 07-05-2001 04:06 AM
Click Here to See the Profile for PaladinPimp Click here to Send PaladinPimp a Private Message Click Here to Email PaladinPimp Find more posts by PaladinPimp Add PaladinPimp to your buddy list Edit/Delete Message Reply w/Quote
~SadFriend~
Emerald Archer

Registered: Mar 2001
Location: Ji & PoG's RPG
Posts: 615

DM, can you make macros?

Report this post to a moderator | IP: Logged

~SadFriend~ is offline Old Post 07-05-2001 04:24 AM
Click Here to See the Profile for ~SadFriend~ Click here to Send ~SadFriend~ a Private Message Click Here to Email ~SadFriend~ Find more posts by ~SadFriend~ Add ~SadFriend~ to your buddy list Edit/Delete Message Reply w/Quote
DeathMerchant
UberSloth

Registered: Mar 2001
Location: Minnesota
Posts: 4229

Macros yes, except with mouse clicks. I don't have a macro thingie for that, yet.

Gotcha, Im gonna be hacking chaingun code.

Report this post to a moderator | IP: Logged

DeathMerchant is offline Old Post 07-05-2001 02:11 PM
Click Here to See the Profile for DeathMerchant Click here to Send DeathMerchant a Private Message Click Here to Email DeathMerchant Find more posts by DeathMerchant Add DeathMerchant to your buddy list Edit/Delete Message Reply w/Quote
NEHR
OrcSlayer

Registered: Mar 2001
Location: unknown
Posts: 284

i found in item.cs file

ItemImageData ChaingunImage
{
shapeFile = "chaingun";
mountPoint = 0;

weaponType = 1; // Spinning
reloadTime = 0;
spinUpTime = 0.5;
spinDownTime = 3;
fireTime = 0.2;

ammoType = BulletAmmo;
projectileType = ChaingunBullet;
accuFire = false;

lightType = 3; // Weapon Fire
lightRadius = 3;
lightTime = 1;
lightColor = { 0.6, 1, 1 };

sfxFire = SoundFireChaingun;
sfxActivate = SoundPickUpWeapon;
sfxSpinUp = SoundSpinUp;
sfxSpinDown = SoundSpinDown;
};

ItemData Chaingun
{
description = "Chaingun";
className = "Weapon";
shapeFile = "chaingun";
validateShape = true;
hudIcon = "chain";
heading = "bWeapons";
shadowDetailMask = 4;
imageType = ChaingunImage;
price = 125;
showWeaponBar = true;
};


__________________


FAHR

Server:Binkers and Newbies
Class:CLERIC - POPE IX
Remort:9
Level:129
Cash:Now Broke (crack addict)
Storage:Only What I need
last updated:10/05/01

Report this post to a moderator | IP: Logged

NEHR is offline Old Post 07-05-2001 03:01 PM
Click Here to See the Profile for NEHR Click here to Send NEHR a Private Message Click Here to Email NEHR Visit NEHR's homepage! Find more posts by NEHR Add NEHR to your buddy list Edit/Delete Message Reply w/Quote
DeathMerchant
UberSloth

Registered: Mar 2001
Location: Minnesota
Posts: 4229

Cool, thanks. Tinkering with this code is gonna be a blast. :-)

I wonder what other weaponType's there are besides 0(singleshot) and 1(spinning)?

Report this post to a moderator | IP: Logged

DeathMerchant is offline Old Post 07-05-2001 03:07 PM
Click Here to See the Profile for DeathMerchant Click here to Send DeathMerchant a Private Message Click Here to Email DeathMerchant Find more posts by DeathMerchant Add DeathMerchant to your buddy list Edit/Delete Message Reply w/Quote
NEHR
OrcSlayer

Registered: Mar 2001
Location: unknown
Posts: 284

here is what I found

0= singleshot

1= spinning

2= sustained

3= disc launcher


__________________


FAHR

Server:Binkers and Newbies
Class:CLERIC - POPE IX
Remort:9
Level:129
Cash:Now Broke (crack addict)
Storage:Only What I need
last updated:10/05/01

Report this post to a moderator | IP: Logged

NEHR is offline Old Post 07-05-2001 05:20 PM
Click Here to See the Profile for NEHR Click here to Send NEHR a Private Message Click Here to Email NEHR Visit NEHR's homepage! Find more posts by NEHR Add NEHR to your buddy list Edit/Delete Message Reply w/Quote
DeathMerchant
UberSloth

Registered: Mar 2001
Location: Minnesota
Posts: 4229

Cool, thanks...sustained would be elf-gun type...I'm already getting wierd ideas for weapons.

Report this post to a moderator | IP: Logged

DeathMerchant is offline Old Post 07-05-2001 06:05 PM
Click Here to See the Profile for DeathMerchant Click here to Send DeathMerchant a Private Message Click Here to Email DeathMerchant Find more posts by DeathMerchant Add DeathMerchant to your buddy list Edit/Delete Message Reply w/Quote
PaladinPimp
TravellerPaladin

Registered: Mar 2001
Location:
Posts: 924

yeah make then as different as possible till we get our own models

as soon as we test them out

im gonna TRY to take out all the code we dont need, and make the first alpha test

Report this post to a moderator | IP: Logged

PaladinPimp is offline Old Post 07-05-2001 07:27 PM
Click Here to See the Profile for PaladinPimp Click here to Send PaladinPimp a Private Message Click Here to Email PaladinPimp Find more posts by PaladinPimp Add PaladinPimp to your buddy list Edit/Delete Message Reply w/Quote
PaladinPimp
TravellerPaladin

Registered: Mar 2001
Location:
Posts: 924

dm, try and figure out how to change values of accufire, cause we want some guns to be more accurate than others

also, lets find dif gun skins off of the net and use those, so guns will look dif

Report this post to a moderator | IP: Logged

PaladinPimp is offline Old Post 07-05-2001 07:29 PM
Click Here to See the Profile for PaladinPimp Click here to Send PaladinPimp a Private Message Click Here to Email PaladinPimp Find more posts by PaladinPimp Add PaladinPimp to your buddy list Edit/Delete Message Reply w/Quote
DeathMerchant
UberSloth

Registered: Mar 2001
Location: Minnesota
Posts: 4229

It looks boolean, either accfire is on, or off... however, I'm fairly sure I can use a randomizer to mess with that.

I've got some 1337 skins I've found...inverted colors and junk, but it requires them to be installed. I can send you a copy if nessessary....

A complete weapons.cs file would be nice...Im doing all coding on my work machine, 'cause it has a net connection, unlike my home machine(for the summer). Home machine has tribes, work machine doesn't. I'm not supposed to be able to transfer files between them, either. Only place I have with both of them is college, and I'm not often there...

Last edited by DeathMerchant on 07-05-2001 at 08:07 PM

Report this post to a moderator | IP: Logged

DeathMerchant is offline Old Post 07-05-2001 07:43 PM
Click Here to See the Profile for DeathMerchant Click here to Send DeathMerchant a Private Message Click Here to Email DeathMerchant Find more posts by DeathMerchant Add DeathMerchant to your buddy list Edit/Delete Message Reply w/Quote
Deus_ex_Machina
God from Machine

Registered: Mar 2001
Location: Fort Walton Bch Florida
Posts: 1505

You mean weapons for base?

its

Attachment: item.cs
This has been downloaded 2 time(s).

Report this post to a moderator | IP: Logged

Deus_ex_Machina is offline Old Post 07-05-2001 09:09 PM
Click Here to See the Profile for Deus_ex_Machina Click here to Send Deus_ex_Machina a Private Message Click Here to Email Deus_ex_Machina Visit Deus_ex_Machina's homepage! Find more posts by Deus_ex_Machina Add Deus_ex_Machina to your buddy list Edit/Delete Message Reply w/Quote
Deus_ex_Machina
God from Machine

Registered: Mar 2001
Location: Fort Walton Bch Florida
Posts: 1505

.

Attachment: baseprojdata.cs
This has been downloaded 2 time(s).

Report this post to a moderator | IP: Logged

Deus_ex_Machina is offline Old Post 07-05-2001 09:10 PM
Click Here to See the Profile for Deus_ex_Machina Click here to Send Deus_ex_Machina a Private Message Click Here to Email Deus_ex_Machina Visit Deus_ex_Machina's homepage! Find more posts by Deus_ex_Machina Add Deus_ex_Machina to your buddy list Edit/Delete Message Reply w/Quote
Deus_ex_Machina
God from Machine

Registered: Mar 2001
Location: Fort Walton Bch Florida
Posts: 1505

..

Attachment: baseexpdata.cs
This has been downloaded 1 time(s).

Report this post to a moderator | IP: Logged

Deus_ex_Machina is offline Old Post 07-05-2001 09:12 PM
Click Here to See the Profile for Deus_ex_Machina Click here to Send Deus_ex_Machina a Private Message Click Here to Email Deus_ex_Machina Visit Deus_ex_Machina's homepage! Find more posts by Deus_ex_Machina Add Deus_ex_Machina to your buddy list Edit/Delete Message Reply w/Quote
DeathMerchant
UberSloth

Registered: Mar 2001
Location: Minnesota
Posts: 4229

W007! Thanks, I figured lots of cool stuff out from that...I can change lighting effects now, too. :-) I bet I can make a little red flash when a person gets hit.

Report this post to a moderator | IP: Logged

DeathMerchant is offline Old Post 07-05-2001 09:57 PM
Click Here to See the Profile for DeathMerchant Click here to Send DeathMerchant a Private Message Click Here to Email DeathMerchant Find more posts by DeathMerchant Add DeathMerchant to your buddy list Edit/Delete Message Reply w/Quote
PaladinPimp
TravellerPaladin

Registered: Mar 2001
Location:
Posts: 924

dm, you need to talk to sf about what youve got done, he has to code some things...

tell me if you get a randomizer working...for shot diffusion

Report this post to a moderator | IP: Logged

PaladinPimp is offline Old Post 07-05-2001 10:03 PM
Click Here to See the Profile for PaladinPimp Click here to Send PaladinPimp a Private Message Click Here to Email PaladinPimp Find more posts by PaladinPimp Add PaladinPimp to your buddy list Edit/Delete Message Reply w/Quote
DeathMerchant
UberSloth

Registered: Mar 2001
Location: Minnesota
Posts: 4229

Ok. I've got finals for summer semester tonight. After that, I'll grab saddy and we'll chat...

Im not sure a randomizer for toggling the aiming on and off is allowed, but Im gonna try...

Report this post to a moderator | IP: Logged

DeathMerchant is offline Old Post 07-05-2001 10:24 PM
Click Here to See the Profile for DeathMerchant Click here to Send DeathMerchant a Private Message Click Here to Email DeathMerchant Find more posts by DeathMerchant Add DeathMerchant to your buddy list Edit/Delete Message Reply w/Quote
Deus_ex_Machina
God from Machine

Registered: Mar 2001
Location: Fort Walton Bch Florida
Posts: 1505

quote:
Originally posted by DeathMerchant
Im not sure a randomizer for toggling the aiming on and off is allowed, but Im gonna try...


Make a 2 of the same kind and change it,... and make a $var for the client so the server gaves you the right weapon.

Report this post to a moderator | IP: Logged

Deus_ex_Machina is offline Old Post 07-06-2001 01:06 AM
Click Here to See the Profile for Deus_ex_Machina Click here to Send Deus_ex_Machina a Private Message Click Here to Email Deus_ex_Machina Visit Deus_ex_Machina's homepage! Find more posts by Deus_ex_Machina Add Deus_ex_Machina to your buddy list Edit/Delete Message Reply w/Quote
DeathMerchant
UberSloth

Registered: Mar 2001
Location: Minnesota
Posts: 4229

That would work, provided it doesn't lag...it also might hurt the item limit...

Hmm, I'm going back to tinkering....

Report this post to a moderator | IP: Logged

DeathMerchant is offline Old Post 07-06-2001 02:19 AM
Click Here to See the Profile for DeathMerchant Click here to Send DeathMerchant a Private Message Click Here to Email DeathMerchant Find more posts by DeathMerchant Add DeathMerchant to your buddy list Edit/Delete Message Reply w/Quote
All times are GMT. The time now is 05:42 PM.    Post New Thread    Post A Reply
Last Thread   Next Thread
[ Show a Printable Version | Email This Page to Someone! | Receive updates to this thread ]

Forum Jump:
 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
 

< Contact Us - Tribes RPG >

Powered by: vBulletin Version 2.0.3
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Anything posted on these forums or privately messaged to any dev
team member (including email) becomes property of the Tribes RPG team.