Obsidian Conflict Forums

Have you seen my coffee cup?
It is currently Tue Oct 17, 2017 4:46 pm

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Tue Sep 29, 2009 8:34 pm 
Offline
Vertex
Vertex

Joined: Tue Sep 29, 2009 8:23 pm
Posts: 9
Has thanked: 0 time
Have thanks: 0 time
Hey guys.
I need help!
I tried to script Halo weapons for OC. I now have following problem: ingame the sounds dont work and the Assault rifle and the pistol are suddenly left handed. I made a new Base_Halo script but i know that it somehow it wont work. I would like to know if i have to find a script to make the Base script work. then i want to know if i have to write something in the custom_weapons to swap the hands.

please help me. then i start to make a halo coop map.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 29, 2009 10:39 pm 
Offline
Beta Tester
Beta Tester
User avatar

Joined: Mon Dec 11, 2006 11:35 am
Posts: 4121
Has thanked: 99 times
Have thanks: 78 times
Hello.

If your using custom sound scripts then you need the modify.txt (obsidian/maps/cfg) to have it aswell for the map you intend on having the weapons in.

Here is an example of one of mine:

Code:
SpawnItems
{
    "weapon_smg1" "1"
    "weapon_crowbar" "1"
    "weapon_shotgun" "1"
    "weapon_uzi" "2"
    "item_battery" "1"
    "item_ammo_smg1" "5"
    "weapon_healer" "1"
}
"SoundCache"
{
    "Base_CHARGER"      "1"
}
}
}


Note if you experience trouble then add any other defualt scripts that the map may need.

If you want your sounds for all maps then I think you would have to edit an exsisting wepaons script and add your stuff to the bottom, though players and server would need the script.
Your better of using modify.txt's imo.

To swap hands you need some thing like this:

Code:
"BuiltRightHanded"       "0"
"AllowFlipping"       "1"


Hope that helps.... (Oh and I hope you'll release your work, we need more content out thar amongst the public, fingers crossed).

_________________
'I would probably smarten up before you meet Violet'.
'She has zero tolerance for idiots'.

fug's Obsidian files
fug's Obsidian clips
Obsidian wiki
Obsidian Map Database


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 29, 2009 11:16 pm 
Offline
Beta Tester
Beta Tester
User avatar

Joined: Mon Dec 11, 2006 11:35 am
Posts: 4121
Has thanked: 99 times
Have thanks: 78 times
Also just a note: Have you checked the weapons in thirdperson view?
If they are shooting out of the player origin (players stomach), you may also not hear the sounds.

If this is the case then your w_models would need fixing.

_________________
'I would probably smarten up before you meet Violet'.
'She has zero tolerance for idiots'.

fug's Obsidian files
fug's Obsidian clips
Obsidian wiki
Obsidian Map Database


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 30, 2009 3:36 pm 
Offline
Vertex
Vertex

Joined: Tue Sep 29, 2009 8:23 pm
Posts: 9
Has thanked: 0 time
Have thanks: 0 time
Thanks. The weapons are now on the right side. But the sounds still dont work. i made a test_scripted_weps_modify.txt for the map (test_scripted_weps) and there wrote "soundcache Base_Halo" but they still dont work. but another question: can i make a static "viewmodel_fov 74" becuz then the weps look better. and oh before i forget: i may need a skinner becuz the materials look retarded and need to be remade. But thanks fug4life. im gonna release the weapons and the map.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 30, 2009 3:48 pm 
Offline
Beta Tester
Beta Tester
User avatar

Joined: Mon Dec 11, 2006 11:35 am
Posts: 4121
Has thanked: 99 times
Have thanks: 78 times
I dont know much about weapon models and fov sorry.

Though if your still getting stuck, you could post or pm some examples of your scripts etc for inspection. Or release as beta/work in progress. And I'lll take a look, see if I can help.

_________________
'I would probably smarten up before you meet Violet'.
'She has zero tolerance for idiots'.

fug's Obsidian files
fug's Obsidian clips
Obsidian wiki
Obsidian Map Database


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron

Protected by Anti-Spam ACP Powered by phpBB® Forum Software © phpBB Group