Go Back   RunUO - Ultima Online Emulation > RunUO > RunUO Post Archive

RunUO Post Archive The Archvie

Reply
 
Thread Tools Display Modes
Old 07-20-2004, 07:56 PM   #1 (permalink)
 
Join Date: Jun 2004
Age: 25
Posts: 56
Default CavalryCrossbow

DESCRIPTION

You can fire from this crossbow when you are moving, but you have to load it first. There can be loaded 5 bolts max. and load time is 5 seconds.

INSTALATION

Put the script to custom folder

add the typeof (CavalryCrossbow) to the /misc/loot.cs and edit the defflatching.cs if you want the crafts be able to create it.

22.07. 2004
The "No ammunition" spam messages repaired
Attached Files
File Type: cs CavalryCrossbow.cs (5.7 KB, 95 views)
xApoCx is offline   Reply With Quote
Old 07-20-2004, 09:24 PM   #2 (permalink)
 
Join Date: Jul 2004
Age: 29
Posts: 55
Default

is there anyway to make this script talk in english in game?
Ansio is offline   Reply With Quote
Old 07-20-2004, 09:51 PM   #3 (permalink)
Newbie
 
Join Date: Jun 2004
Posts: 81
Default

Is there a way to change the name of the bow in the script? When spawned it's named "Repeating Crossbow" I want it named Calvary Bow so players know the difference.

Also: When you attempt to load (meaning you get the target cursor) but cancel, it acts as though it is loading IE: It says that it is loading, and then says that it is finished.
Heftiger is offline   Reply With Quote
Old 07-21-2004, 08:30 AM   #4 (permalink)
 
Join Date: Jun 2004
Age: 25
Posts: 56
Default

Quote:
Originally Posted by Heftiger
Is there a way to change the name of the bow in the script? When spawned it's named "Repeating Crossbow" I want it named Calvary Bow so players know the difference.

Also: When you attempt to load (meaning you get the target cursor) but cancel, it acts as though it is loading IE: It says that it is loading, and then says that it is finished.

Thx for this, I repair it
xApoCx is offline   Reply With Quote
Old 07-21-2004, 08:33 AM   #5 (permalink)
 
Join Date: Jun 2004
Age: 25
Posts: 56
Default

Quote:
Originally Posted by Ansio
is there anyway to make this script talk in english in game?
Yes, Yes,

in the script is English translation for each sentence in notes.
xApoCx is offline   Reply With Quote
Old 07-21-2004, 08:39 AM   #6 (permalink)
 
Join Date: Jun 2004
Age: 25
Posts: 56
Default

Quote:
Originally Posted by Heftiger
Is there a way to change the name of the bow in the script? When spawned it's named "Repeating Crossbow" I want it named Calvary Bow so players know the difference.

Also: When you attempt to load (meaning you get the target cursor) but cancel, it acts as though it is loading IE: It says that it is loading, and then says that it is finished.

New script
xApoCx is offline   Reply With Quote
Old 07-21-2004, 12:01 PM   #7 (permalink)
 
Join Date: Feb 2004
Posts: 73
Default

Quote:
Originally Posted by xApoCx
Yes, Yes,

in the script is English translation for each sentence in notes.

Code:
attacker.LocalOverheadMessage (MessageType.Emote, 0x22, true, "*Nemas nabito*");
Except for that....


Could you translate that please?

And just FYI you should replace the original submited script in the thread not post another one half way down
enigma_admin is offline   Reply With Quote
Old 07-21-2004, 12:48 PM   #8 (permalink)
 
Join Date: Jun 2004
Age: 25
Posts: 56
Default

Quote:
Originally Posted by enigma_admin
Code:
attacker.LocalOverheadMessage (MessageType.Emote, 0x22, true, "*Nemas nabito*");
Except for that....


Could you translate that please?

And just FYI you should replace the original submited script in the thread not post another one half way down
Of course,

No amunition loaded.

Sorry for missing
xApoCx is offline   Reply With Quote
Old 07-21-2004, 03:24 PM   #9 (permalink)
 
Join Date: Apr 2003
Posts: 17
Default

also when you run out of ammo, it spams a msg, it would be nice to take that away
rafael is offline   Reply With Quote
Old 07-21-2004, 03:37 PM   #10 (permalink)
Newbie
 
Join Date: Jun 2004
Posts: 81
Default

It would be nice to just say it a few times.
Heftiger is offline   Reply With Quote
Old 07-21-2004, 03:42 PM   #11 (permalink)
Forum Expert
 
Pyro-Tech's Avatar
 
Join Date: Oct 2003
Location: Carbondale, IL
Age: 23
Posts: 1,805
Send a message via MSN to Pyro-Tech
Default

cool idea about a moving bow.....but with the penalty of having to load manually

i think i will wait to download it though until a few more of the kinks get worked out
__________________

Pyro-Tech is offline   Reply With Quote
Old 07-21-2004, 03:52 PM   #12 (permalink)
Newbie
 
Join Date: Jun 2004
Posts: 81
Default

When editing for crafting, what is the chliloc

Code:
	// Weapons
AddCraft( typeof( Bow ), 1044566, 1025042, 30.0, 70.0, typeof( Log ), 1044041, 7, 1044351 );
AddCraft( typeof( Crossbow ), 1044566, 1023919, 60.0, 100.0, typeof( Log ), 1044041, 7, 1044351 );
AddCraft( typeof( HeavyCrossbow ), 1044566, 1025117, 80.0, 120.0, typeof( Log ), 1044041, 10, 1044351 );
AddCraft( typeof(CavalryCrossbow ), 1044566, ¿----------?, 100.0, 140.0, typeof( Log ), 104041, 10, 1044351 );
Heftiger is offline   Reply With Quote
Old 07-21-2004, 07:01 PM   #13 (permalink)
 
Join Date: Feb 2004
Posts: 73
Default

Quote:
Originally Posted by xApoCx
Of course,

No amunition loaded.

Sorry for missing
No problem and thanks!
enigma_admin is offline   Reply With Quote
Old 07-22-2004, 04:52 AM   #14 (permalink)
 
Join Date: Jun 2004
Age: 25
Posts: 56
Default

Quote:
Originally Posted by Heftiger
When editing for crafting, what is the chliloc

Code:
	// Weapons
AddCraft( typeof( Bow ), 1044566, 1025042, 30.0, 70.0, typeof( Log ), 1044041, 7, 1044351 );
AddCraft( typeof( Crossbow ), 1044566, 1023919, 60.0, 100.0, typeof( Log ), 1044041, 7, 1044351 );
AddCraft( typeof( HeavyCrossbow ), 1044566, 1025117, 80.0, 120.0, typeof( Log ), 1044041, 10, 1044351 );
AddCraft( typeof(CavalryCrossbow ), 1044566, ¿----------?, 100.0, 140.0, typeof( Log ), 104041, 10, 1044351 );
I reedited this group of crafts equipment like this:
Code:
  AddCraft( typeof ( Bow ), "Weapons", "Bow", SkillName.Fletching, 30.0, 70.0, typeof (Log), "Log", 7);

  AddCraft( typeof ( Crossbow ), "Weapons", "Crossbow", SkillName.Fletching, 60.0, 100.0, typeof (Log), "Log", 7);

  AddCraft( typeof ( HeavyCrossbow ), "Weapons", "Heavy Crossbow", SkillName.Fletching, 80.0, 120.0, typeof (Log), "Log", 10);

if ( Core.AOS )
{
   AddCraft( typeof ( CompositeBow ), "Weapons", "CompositeBow", SkillName.Fletching, 70.0, 110.0, typeof (Log), "Log", 10);
   
  AddCraft( typeof ( RepeatingCrossbow ), "Weapons", "Repeating Crossbow", SkillName.Fletching, 90.0, 130.0, typeof (Log), "Log", 10);

   AddCraft( typeof ( CavalryCrossbow ), "Weapons", "Cavalry Crossbow", SkillName.Fletching, 60.0, 100.0, typeof (Log), "Log", 8);
}
xApoCx is offline   Reply With Quote
Old 07-22-2004, 05:00 AM   #15 (permalink)
 
Join Date: Jun 2004
Age: 25
Posts: 56
Default

Quote:
Originally Posted by rafael
also when you run out of ammo, it spams a msg, it would be nice to take that away
The bug is repaired, thx for it
xApoCx is offline   Reply With Quote
Old 07-22-2004, 06:25 AM   #16 (permalink)
 
hudel's Avatar
 
Join Date: Oct 2003
Location: Germany
Age: 38
Posts: 508
Send a message via ICQ to hudel
Default

Nice crossbow but the text in english would it make perfekt. What language is it?

Ah,... I see the translation is in the comments. Ok all right. Thanks for sharing.
hudel is offline   Reply With Quote
Old 07-22-2004, 06:33 AM   #17 (permalink)
 
Join Date: Jun 2004
Age: 25
Posts: 56
Default

Quote:
Originally Posted by hudel
Nice crossbow but the text in english would it make perfekt. What language is it?

Ah,... I see the translation is in the comments. Ok all right. Thanks for sharing.

It is in Czech
xApoCx is offline   Reply With Quote
Old 07-22-2004, 03:11 PM   #18 (permalink)
 
Join Date: Feb 2004
Posts: 73
Default

Quote:
Originally Posted by xApoCx
The bug is repaired, thx for it

Would that be a repost of the first post or a repost of the second post?

Just wondering in which ver is the bug fixed?
enigma_admin is offline   Reply With Quote
Old 07-22-2004, 04:02 PM   #19 (permalink)
 
Join Date: Jun 2004
Age: 25
Posts: 56
Default

Quote:
Originally Posted by enigma_admin
Would that be a repost of the first post or a repost of the second post?

Just wondering in which ver is the bug fixed?

The firts post is fully bug fixed

There is date 22.07.2004
xApoCx is offline   Reply With Quote
Old 07-22-2004, 05:29 PM   #20 (permalink)
Newbie
 
Join Date: Jun 2004
Posts: 81
Default

ok xApoCx, when I edited my crafting script to look like yours, It came up with this:

Quote:
- Error: Scripts\Engines\Craft\DefBowFletching.cs: CS1513: (line 124, column 8)
} expected
- Error: Scripts\Engines\Craft\DefBowFletching.cs: CS1002: (line 124, column 27
) ; expected
- Error: Scripts\Engines\Craft\DefBowFletching.cs: CS1002: (line 125, column 6)
; expected
- Error: Scripts\Engines\Craft\DefBowFletching.cs: CS1002: (line 125, column 17
) ; expected
- Error: Scripts\Engines\Craft\DefBowFletching.cs: CS1002: (line 125, column 26
) ; expected
- Error: Scripts\Engines\Craft\DefBowFletching.cs: CS1002: (line 126, column 12
) ; expected
- Error: Scripts\Engines\Craft\DefBowFletching.cs: CS1002: (line 126, column 20
) ; expected
- Error: Scripts\Engines\Craft\DefBowFletching.cs: CS1002: (line 126, column 30
) ; expected
- Error: Scripts\Engines\Craft\DefBowFletching.cs: CS1519: (line 129, column 4)
Invalid token 'if' in class, struct, or interface member declaration
- Error: Scripts\Engines\Craft\DefBowFletching.cs: CS1519: (line 129, column 18
) Invalid token ')' in class, struct, or interface member declaration
- Error: Scripts\Engines\Craft\DefBowFletching.cs: CS1520: (line 131, column 5)
Class, struct, or interface method must have a return type
- Error: Scripts\Engines\Craft\DefBowFletching.cs: CS1031: (line 131, column 15
) Type expected
- Error: Scripts\Engines\Craft\DefBowFletching.cs: CS1519: (line 131, column 36
) Invalid token ')' in class, struct, or interface member declaration
- Error: Scripts\Engines\Craft\DefBowFletching.cs: CS1519: (line 131, column 82
) Invalid token ')' in class, struct, or interface member declaration
- Error: Scripts\Engines\Craft\DefBowFletching.cs: CS1520: (line 132, column 5)
Class, struct, or interface method must have a return type
- Error: Scripts\Engines\Craft\DefBowFletching.cs: CS1031: (line 132, column 15
) Type expected
- Error: Scripts\Engines\Craft\DefBowFletching.cs: CS1519: (line 132, column 41
) Invalid token ')' in class, struct, or interface member declaration
- Error: Scripts\Engines\Craft\DefBowFletching.cs: CS1519: (line 132, column 87
) Invalid token ')' in class, struct, or interface member declaration
- Error: Scripts\Engines\Craft\DefBowFletching.cs: CS0116: (line 135, column 4)
A namespace does not directly contain members such as fields or methods
- Error: Scripts\Engines\Craft\DefBowFletching.cs: CS1022: (line 138, column 2)
Type or namespace definition, or end-of-file expected
Heftiger is offline   Reply With Quote
Old 07-22-2004, 05:46 PM   #21 (permalink)
 
Join Date: Jun 2004
Age: 25
Posts: 56
Default

There is my DefBowfletching.cs script. Everything works fine with it.
Attached Files
File Type: cs DefBowFletching.cs (3.9 KB, 11 views)
xApoCx is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5