Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 08.12.2006, 12:53   #1
IVB
Архивный участник
 
Join Date: Jan 2006
Posts: 79
Default duplicate parameters in ai.obj - is it OK?

Analising ai.obj I found following duplicated parameters:

1. class 1 chamberlain : citizen
Code:
    int WallPrice1_1 1600000
    int WallPrice1_2 1800000
    int WallPrice1_3 2000000
    int WallPrice1_1 1600000
    int WallPrice1_2 1800000
    int WallPrice1_3 2000000
    int WallPrice1_1 1600000
    int WallPrice1_2 1800000
    int WallPrice1_3 2000000
    int dmgzoneprice1_1 3000000
    int dmgzoneprice1_2 4000000
    int dmgzoneprice1_3 5000000
    int dmgzoneprice1_4 6000000
    int dmgzoneprice1_1 3000000
    int dmgzoneprice1_2 4000000
    int dmgzoneprice1_3 5000000
    int dmgzoneprice1_4 6000000
2. class 1 monster_parameter : default_npc
Code:
    int DungeonType 0
    int DungeonTypeAI 0
    string DungeonTypePrivate ""

    int DungeonType 0
    int DungeonTypeAI 0
    string DungeonTypePrivate ""
So I have two questions: Is this mistake of ai.obj developers or this duplication has sense? And can I remove duplicates?
IVB is offline  
Old 08.12.2006, 13:04   #2
FidoW
Архивный участник
 
Join Date: Sep 2005
Posts: 1,014
Default

Quote:
Originally Posted by IVB View Post
Analising ai.obj I found following duplicated parameters:

1. class 1 chamberlain : citizen
Code:
    int WallPrice1_1 1600000
    int WallPrice1_2 1800000
    int WallPrice1_3 2000000
    int WallPrice1_1 1600000
    int WallPrice1_2 1800000
    int WallPrice1_3 2000000
    int WallPrice1_1 1600000
    int WallPrice1_2 1800000
    int WallPrice1_3 2000000
    int dmgzoneprice1_1 3000000
    int dmgzoneprice1_2 4000000
    int dmgzoneprice1_3 5000000
    int dmgzoneprice1_4 6000000
    int dmgzoneprice1_1 3000000
    int dmgzoneprice1_2 4000000
    int dmgzoneprice1_3 5000000
    int dmgzoneprice1_4 6000000
2. class 1 monster_parameter : default_npc
Code:
    int DungeonType 0
    int DungeonTypeAI 0
    string DungeonTypePrivate ""

    int DungeonType 0
    int DungeonTypeAI 0
    string DungeonTypePrivate ""
So I have two questions: Is this mistake of ai.obj developers or this duplication has sense? And can I remove duplicates?
You can remove duplicates, have no sense declare two times the same parameter, its a mistake.
FidoW is offline  
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

Forum Jump


All times are GMT. The time now is 20:49.