ShiVa3D
FPSDemo [SOLVED]
You feel lost? You don't understand how to use ShiVa?FPSDemo
by mikeyrobbo78 » 20 Aug 2012, 22:30
Hello I am quite new to Shiva 3d and I am using the FPSDemo game. I am tryin to swap out the alien gun that comes with it for my own gun (it's a G36C I created in Blender it is exactly the same size as the alien gun (Weapon0B) I have checked and the gun has no ai controller so I don't see the problem I have changed anything about the bullet (Weapon0Bullet) when I load the game it isn't there and when I click to fire the bullet doesn't appear either.
- mikeyrobbo78
- Fresh Boarder

- Posts: 9
Re: FPSDemo [SOLVED]
by Selzier » 20 Aug 2012, 22:46
In the AI Model, "FPSCamera", you need to call this.sendEvent ( "onWeaponChange", "YOUR_MODEL_NAME" )
YOUR_MODEL_NAME also needs to be included in the "Models" section of the Game Editor, so the model is available to your game at run time.
Also, you may need to adjust the weapons position to the camera, so take a look at the AI Model "FPSCamera" And the function "updateWeapon" to position the gun in front of the camera.
YOUR_MODEL_NAME also needs to be included in the "Models" section of the Game Editor, so the model is available to your game at run time.
Also, you may need to adjust the weapons position to the camera, so take a look at the AI Model "FPSCamera" And the function "updateWeapon" to position the gun in front of the camera.
- Selzier
- Platinum Boarder

- Posts: 344
- Location: Boise
5 posts
• Page 1 of 1