hi, i dont manage to get the dogs working.
i looked in both threads and also did the tutorial of techno2sl, thanks so far! but still i get the following errors in building the fast file:
ERROR: Could not open 'animscripts/dog_combat.gsc'
ERROR: failed loading 'animscripts/dog_combat.gsc' of type 'rawfile'
ERROR: Could not open 'animscripts/dog_death.gsc'
ERROR: failed loading 'animscripts/dog_death.gsc' of type 'rawfile'
ERROR: Could not open 'animscripts/dog_flashed.gsc'
ERROR: failed loading 'animscripts/dog_flashed.gsc' of type 'rawfile'
ERROR: Could not open 'animscripts/dog_init.gsc'
ERROR: failed loading 'animscripts/dog_init.gsc' of type 'rawfile'
ERROR: Could not open 'animscripts/dog_move.gsc'
ERROR: failed loading 'animscripts/dog_move.gsc' of type 'rawfile'
ERROR: Could not open 'animscripts/dog_pain.gsc'
ERROR: failed loading 'animscripts/dog_pain.gsc' of type 'rawfile'
ERROR: Could not open 'animscripts/dog_scripted.gsc'
ERROR: failed loading 'animscripts/dog_scripted.gsc' of type rawfile'
ERROR: Could not open 'animscripts/dog_stop.gsc'
ERROR: failed loading 'animscripts/dog_stop.gsc' of type 'rawfile'
i have installed the 4rip.zip to get the former missing files. they are now in the folder (../raw/maps), but somehow he still doesnt find them?!
my csv:
ignore,code_post_gfx
ignore,common
col_map_sp,maps/test_firststeps.d3dbsp
rawfile,maps/test_firststeps.gsc
localize,test_firststeps
sound,common,test_firststeps,!all_sp
sound,generic,test_firststeps,!all_sp
sound,voiceovers,test_firststeps,!all_sp
sound,requests,test_firststeps,!all_sp
weapon,sp/ak47
weapon,sp/Beretta
weapon,sp/m4_grenadier
weapon,sp/mp5
weapon,sp/m203_m4
sound,ru_battlechatter,mapname,all_sp
sound,uk_battlechatter,mapname,all_sp
xmodel,viewmodel_base_character
xmodel,viewmodel_base_viewhands
xmodel,viewmodel_usp
weapon,sp/usp
xmodel,weapon_usp
weapon,sp/ak47
xmodel,weapon_ak47
xmodel,viewmodel_ak47
weapon,sp/mp5
xmodel,weapon_mp5
xmodel,viewmodel_mp5
fx,shellejects/clip_m16
fx,shellejects/clip_dragunov
fx,shellejects/clip_ak47
fx,shellejects/clip_g36
fx,shellejects/clip_ak74u
fx,shellejects/clip_mp5
fx,shellejects/clip_beretta
xmodel,viewmodel_beretta
weapon,sp/beretta
xmodel,weapon_beretta_clip
include,common_dogs
rawfile,animscripts/dog_combat.gsc
rawfile,animscripts/dog_death.gsc
rawfile,animscripts/dog_init.gsc
rawfile,animscripts/dog_pain.gsc
rawfile,animscripts/dog_move.gsc
rawfile,animscripts/dog_scripted.gsc
rawfile,animscripts/dog_stop.gsc
rawfile,animscripts/dog_flashed.gsc
xanim,ai_attacked_german_shepherd_05_death_a
xanim,ai_attacked_german_shepherd_04_getup_a
xanim,ai_attacked_german_shepherd_04_middle_a
xanim,ai_attacked_german_shepherd_03_shoot_a
xanim,ai_attacked_german_shepherd_03_push_a
xanim,ai_attacked_german_shepherd_02_getup_a
xanim,ai_attacked_german_shepherd_02_idle_a
xanim,ai_attacked_german_shepherd_01_start_a
xanim,german_shepherd_player_neck_miss
xanim,german_shepherd_player_neck_snap
xanim,german_shepherd_walk
xanim,german_shepherd_traverse_up_80
xanim,german_shepherd_traverse_up_40
xanim,german_shepherd_traverse_down_40
xanim,german_shepherd_attack_player_miss_turnl
xanim,german_shepherd_attack_player_miss_turnr
xanim,german_shepherd_attack_ai_05_kill_a
xanim,german_shepherd_attack_ai_04_middle_a
xanim,german_shepherd_attack_ai_03_shot_a
xanim,german_shepherd_attack_ai_03_pushed_a
xanim,german_shepherd_attack_ai_02_idle_a
xanim,german_shepherd_attack_ai_01_start_a
xanim,german_shepherd_run_flashbang
xanim,german_shepherd_run_stop
xanim,german_shepherd_run_pain
xanim,german_shepherd_run_jump_window_40
xanim,german_shepherd_run_jump_40
xanim,german_shepherd_run_attack
xanim,german_shepherd_attack_player_miss
xanim,german_shepherd_run_lean_r
xanim,german_shepherd_run_lean_l
xanim,german_shepherd_run
xanim,german_shepherd_run_start
xanim,german_shepherd_run_start_180_l
xanim,german_shepherd_run_start_180_r
xanim,german_shepherd_run_start_l
xanim,german_shepherd_run_start_r
xanim,german_shepherd_attackidle_growl
xanim,german_shepherd_attackidle_bark
xanim,german_shepherd_attackidle
xanim,german_shepherd_idle
xanim,german_shepherd_death_front
xanim,german_shepherd_attack_player_late
xanim,german_shepherd_attack_player
xanim,german_shepherd_attack_look_up
xanim,german_shepherd_look_up
xanim,german_shepherd_attack_look_left
xanim,german_shepherd_look_left
xanim,german_shepherd_attack_look_right
xanim,german_shepherd_look_right
xanim,german_shepherd_attack_look_down
xanim,german_shepherd_look_down
xanim,void_loop
xanim,player_view_dog_knockdown_neck_miss
xanim,player_view_dog_knockdown_neck_snap
xanim,player_view_dog_knockdown_saved
xanim,player_view_dog_knockdown_late
xanim,player_view_dog_knockdown
fx,impacts/deathfx_dogbite
fx,impacts/deathfx_bloodpool_view
material,hud_dog_melee
xmodel,viewhands_player_sas_woodland
--end of csv--
on the left side, it still says following are missing:
rawfile,animscripts/dog_combat.gsc
rawfile,animscripts/dog_death.gsc
rawfile,animscripts/dog_init.gsc
rawfile,animscripts/dog_pain.gsc
rawfile,animscripts/dog_move.gsc
rawfile,animscripts/dog_scripted.gsc
rawfile,animscripts/dog_stop.gsc
rawfile,animscripts/dog_flashed.gsc
but they are allready in the csv!
my gsc:
Code:
#include common_scripts\utility;
#include animscripts\utility;
#include maps\_utility;
#include maps\_anim;
#include maps\_vehicle;
#using_animtree( "generic_human" );
main()
{
/*--------------------
ASSIGN WEAPON CLIPS
----------------------*/
level.weaponClipModels = [];
level.weaponClipModels[0] = "weapon_m16_clip";
level.weaponClipModels[1] = "weapon_dragunov_clip";
level.weaponClipModels[2] = "weapon_ak47_clip";
level.weaponClipModels[3] = "weapon_g36_clip";
level.weaponClipModels[4] = "weapon_ak74u_clip";
level.weaponClipModels[5] = "weapon_mp5_clip";
level.weaponClipModels[6] = "weapon_beretta_clip";
/*--------------------
GLOGBAL SCRIPTS
----------------------*/
maps\_load::main();
battlechatter_off( "allies" );
battlechatter_off( "axis" );
/*--------------------
GIVE THE PLAYER SOME WEAPONS
----------------------*/
level.player takeallweapons();
level.player giveWeapon( "beretta" );
level.player giveWeapon( "m4_grenadier" );
level.player giveWeapon( "fraggrenade" );
level.player giveWeapon( "flash_grenade" );
level.player setOffhandSecondaryClass( "flash" );
level.player switchToWeapon( "m4_grenadier" );
level.player setViewmodel( "viewmodel_base_viewhands" );
maps\_load::set_player_viewhand_model( "viewhands_player_sas_woodland" );
}
when i run the level it doesnt load the map, but returns the error "could not find label 'main' in script 'animscripts/dog_combat'
i have really no idea whats wrong. anyone?
again: dog files are in folder, csv is updated, compiling bsp and refractions without errors. theres only one dog in the level with 5 pathnodes, not triggered.