SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SH5 Mods Workshop
Forget password? Reset here

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 05-31-11, 01:27 PM   #11
TheBeast
The Old Man
 
Join Date: Jan 2010
Location: Lynnwood, WA
Posts: 1,533
Downloads: 886
Uploads: 23


Default

Was just searching to try and find some information about crew AI reacting to events in game such as Depth Charges.

In file data\Scripts\AI\Crew\init.aix I see aome different crew states. Do these states not work or are they not being used?
Is this even correct location?
Code:
# init.aix
# Stock script modified by MightyFine Crew Mod 1.2  03/21/2010
init
{
 CANNON_20mm_C30 = 0;
 CANNON_20mm_C30_2 = 1;
 CANNON_20mm_C38_Twin = 2;
 CANNON_20mm_C38_Twin_Shield = 3;
 CANNON_37mmM = 0;
 CANNON_37mmSA = 1;
 CANNON_37mmTSA = 2;
 CANNON_Vierling = 3;
 CANNON_88mm = 0;
 SLOT_A01 = 0;
 SLOT_A02 = 1;
 SLOT_S01 = 2;
 SLOT_M01 = 3;
 ROLE_TRAV = 0;
 ROLE_ELEV = 1;
 ROLE_GUNNER = 2;
 
 A = 1;
 B = 2;
 C = 4;
 D = 8;
 E = 16;
 F = 32;
 G = 64;
 H = 128;
 I = 256;
 J = 512;
 K = 1024;
 DMG_TKN = 1;
 HUNTER = 2;
 HUNTED = 4; 
 PROX_EXPL = 8; Helmsman fall off seat animation and other crew stumble
 T_FIRED = 16;
 T_TRAVEL = 32; 
T_HIT = 64; 
T_MISS = 128;
SIL_RUN = 256;
B_STATIONS = 512;
 
#these are variable IDs to be used with the Wp:SetGlobalVariable and Wp:GetGlobalVariable functions
 TUT_VAR_QRF_WATCH_STATE = 0;
 TUT_VAR_QRF_PETTY02_STATE = 1;
 TUT_VAR_CR_CHIEF_STATE = 2;
 TUT_VAR_CR_NAV_STATE = 3;
 TUT_VAR_CAPTAIN_STATE = 4;
 TUT_VAR_CR_HF_STATE = 5;
 TUT_VAR_CR_HA_STATE = 6;
 TUT_VAR_RR_RADIO_STATE = 7;
 VAR_TRF_LOAD01_STATE = 8;
 VAR_TRF_LOAD03_STATE = 9;
 VAR_TRF_LOAD05_STATE = 10;
 TUT_VAR_KMO_STATE = 11;
 VAR_SQ_COOK_STATE = 12;
 VAR_SQ_BOSUN_STATE = 13;
 VAR_CR_NAV_STATE = 14;
 VAR_CR_CHIEF_STATE = 15;
 VAR_CR_SO_STATE = 16;
 VAR_CR_HA_LOC = 17;
 VAR_CR_HF_LOC = 18;
 VAR_QRF_WATCH_LOC = 19;
 VAR_DIVE_ORDER = 20;
 VAR_SURFACE_ORDER = 21;
 
}
__________________
Fear me! I am, TheBeastBelow

SHIV-MediaFire | SHV-MediaFire
TheBeast is offline   Reply With Quote
 


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 -5. The time now is 12:29 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.