View Single Post
Old 27.06.2005, 02:58   #40
HongK
Архивный участник
 
Join Date: Jun 2005
Posts: 258
Default

Here's something simple that will help you fix any problem you may have had with castle doors being unclickable in projectC2Beta3...

First things first, decrypt your C2 client's staticobject-e.txt file ... This contains the CORRECT ID's that your doordata.txt file needs...The tricky thing with staticobject-e.txt is that it doesn't list the castle door info by the name of the castle...For example it will have something like this:

Code:
 s t a t i c o b j e c t _ b e g i n   i d = 1 9 2 1 0 0 0 1   n a m e = [ O u t e r   C a s t l e   G a t e ]   s t a t i c o b j e c t _ e n d 
 
 s t a t i c o b j e c t _ b e g i n   i d = 1 9 2 1 0 0 0 2   n a m e = [ O u t e r   C a s t l e   G a t e ]   s t a t i c o b j e c t _ e n d 
 
 s t a t i c o b j e c t _ b e g i n   i d = 1 9 2 1 0 0 0 3   n a m e = [ C a s t l e W a l l ]   s t a t i c o b j e c t _ e n d 
 
 s t a t i c o b j e c t _ b e g i n   i d = 1 9 2 1 0 0 0 4   n a m e = [ C a s t l e W a l l ]   s t a t i c o b j e c t _ e n d 
 
 s t a t i c o b j e c t _ b e g i n   i d = 1 9 2 1 0 0 0 5   n a m e = [ I n n e r   C a s t l e G a t e ]   s t a t i c o b j e c t _ e n d 
 
 s t a t i c o b j e c t _ b e g i n   i d = 1 9 2 1 0 0 0 6   n a m e = [ I n n e r   C a s t l e G a t e ]   s t a t i c o b j e c t _ e n d 
 
 s t a t i c o b j e c t _ b e g i n   i d = 1 9 2 1 0 0 0 7   n a m e = [ G a t e ]   s t a t i c o b j e c t _ e n d 
 
 s t a t i c o b j e c t _ b e g i n   i d = 1 9 2 1 0 0 0 8   n a m e = [ G a t e ]   s t a t i c o b j e c t _ e n d 
 
 s t a t i c o b j e c t _ b e g i n   i d = 1 9 2 1 0 0 0 9   n a m e = [ G a t e ]   s t a t i c o b j e c t _ e n d 
 
 s t a t i c o b j e c t _ b e g i n   i d = 1 9 2 1 0 0 1 0   n a m e = [ T h r o n e ]   s t a t i c o b j e c t _ e n d
This is the corresponding information for gludio castle's doors...What you need to do is take the id number such as 1 9 2 1 0 0 0 1 and replace the gludio_castle_outter_001 static_object_id=9001 with this number...This information is from your doordata.txt file which should be in your SCRIPT folder...

Because the staticobject-e file does not list each castle's doors, you kinda have to guess which ones go where ... Anyway, this is necessary to get sieges working for C2, so I hope it helped a bit

Anyway that's my contribution for now :O
HongK is offline