Results 1 to 10 of 26

Thread: Standalone Airstrike CoD2

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Corporal guiismiti's Avatar
    Join Date
    Dec 2013
    Location
    Brazil
    Posts
    244
    Thanks
    121
    Thanked 42 Times in 31 Posts
    One doubt remaining... the type of weapon used is not defined on airstrike. How can I do it? You can see in the video that, when a player dies, the hud weapon image is a skull - I wanna change it to the one used in COD4 airstrike.

    Like these:
    Click image for larger version. 

Name:	Air_Strike_inventory_icon_WaW.png 
Views:	63 
Size:	2.8 KB 
ID:	745

    Click image for larger version. 

Name:	Strike_Chain_MOAB_HUD_Icon.png 
Views:	86 
Size:	2.4 KB 
ID:	746

    Click image for larger version. 

Name:	Rolling_Thunder_HUD_icon_BO.png 
Views:	63 
Size:	7.4 KB 
ID:	747
    Last edited by guiismiti; 3rd September 2014 at 18:51.

  2. #2
    Sergeant serthy's Avatar
    Join Date
    Nov 2012
    Posts
    450
    Thanks
    96
    Thanked 296 Times in 188 Posts
    Quote Originally Posted by guiismiti View Post
    I wanna change it to the one used in COD4 airstrike.
    - create a new custom weapon (or modify a standard one)
    - in the weaponfile change the name of the hud indicator to your new material (guess its prefixed with 'hud_')
    - precache the weapon in script
    - call obituary( arg0 , arg1 , your_weapon_name , arg3 , ... ); (if the weaponfile is corrupted or not precached/does not exist the default deathicon/skull is shown)

    remember: you can only precache a specific amount of weapons (32 or 64)

  3. The Following User Says Thank You to serthy For This Useful Post:

    guiismiti (3rd September 2014)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •