![]() |
|
|
#1 |
|
Registered User
Join Date: Jan. 24th, 2008
Posts: 13
|
Weapon not working correctly in game
Hi . I made a custom gun that sprays out poison gas. I made a test map in the editor and placed the gun inside it. When I play the map from within the editor everything looks great. It seems to be functioning perfect. But If I actually startup the game and play it, the weapon bareley shoots anything out. Most of the time it's just making the sound and nothing is coming out. How good it act differently if it's running the same code? Any ideas on what the problem could be?
Thank |
|
|
|
|
|
#2 |
|
Registered User
Join Date: Jan. 29th, 2006
Posts: 113
|
Without seeing code, no
|
|
|
|
|
|
#3 |
|
Registered User
Join Date: Jan. 24th, 2008
Posts: 13
|
heres a link to the file on my website that has the source code.
Source Code |
|
|
|
|
|
#4 |
|
Nothing in the log?
|
|
|
|
|
|
|
#5 |
|
Registered User
Join Date: Jan. 24th, 2008
Posts: 13
|
|
|
|
|
|
|
#6 |
|
press tab - type
Code:
showlog That file is everything that was written to the log from when the game started up to when it ended. NB. It gets reset when you start a new game. |
|
|
|
|
|
|
#7 |
|
Registered User
Join Date: Jan. 29th, 2006
Posts: 113
|
also can do "showlog" on console, or give "-log" on the command line, to view it as it goes
|
|
|
|
|
|
#8 |
|
What do you need to type to bind the console in ut3?
It used to be automatically bound to ~ for me in 2k4 but doesnt seem to work anymore, so I end up having to press tab repeatedly
|
|
|
|
|
|
|
#9 |
|
Registered User
Join Date: Jan. 29th, 2006
Posts: 113
|
Console is F10
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|