You've got some interesting pieces there
I'm not yet at the point where my projects need music, but when they do, I will certainly look to your website as a first point of call.
Search found 95 matches
- 2014-09-04, 15:13
- Forum: Models, Materials, Textures, Sound, Music, ...
- Topic: Free Music Resource
- Replies: 10
- Views: 25460
- 2014-09-03, 13:53
- Forum: Coding and Scripting
- Topic: Game Rules scripting entry point
- Replies: 18
- Views: 79224
Re: Game Rules scripting entry point
I tried passing the group number, which is 3 for this weapon, but it still wouldn't change. I had to do it manually by pressing 3 once the game had started.
I think it may have something to do with the HumanPlayer not getting a call to PickUpItem(). But then I can't really see the issue..
I think it may have something to do with the HumanPlayer not getting a call to PickUpItem(). But then I can't really see the issue..
- 2014-09-03, 01:40
- Forum: Models, Materials, Textures, Sound, Music, ...
- Topic: Multi-Player Demo
- Replies: 4
- Views: 15972
Re: Multi-Player Demo
Simplify, cut back often. It is amazing how quick my initial idea escalated. Looking at the first post, that really is overkill for what is in all honesty are fairly simple mod. Scaling back I have no need for teams, I can just make 2 multiplayer spawns. I can use the basic health code etc already i...
- 2014-09-03, 01:24
- Forum: Coding and Scripting
- Topic: Game Rules scripting entry point
- Replies: 18
- Views: 79224
Re: Game Rules scripting entry point
The only weapon I have is the AR I gave my self in the code. The gun is displayed and running idle animation, but it is not active. I have to press number 3 to activate the weapon and the hud.
I wasn't passing the group number, I need to check that..
I wasn't passing the group number, I need to check that..
- 2014-09-02, 23:33
- Forum: Coding and Scripting
- Topic: Game Rules scripting entry point
- Replies: 18
- Views: 79224
Re: Game Rules scripting entry point
If I select 3, then everything appears, the hud appears and the weapon works, although I can't seem to get the ChangeWeapon() function work by calling it in the CWInit().
- 2014-09-02, 22:28
- Forum: Coding and Scripting
- Topic: Game Rules scripting entry point
- Replies: 18
- Views: 79224
Re: Game Rules scripting entry point
Looking at the code, i noticed that the OnInit for HumanPlayer script is called before CarriedWeapon is initialised. I edited ServerWorld.cpp - // As we're inserting a new entity into a live map, post-load stuff must be run here. ScriptComp->OnPostLoad(false); ScriptComp->CallLuaMethod("OnInit", 0);...
- 2014-09-02, 19:16
- Forum: Coding and Scripting
- Topic: Game Rules scripting entry point
- Replies: 18
- Views: 79224
Re: Game Rules scripting entry point
Ok, so I have files linked and working, I can call functions and everything is great. However, I am trying to do a bit of a shortcut, as I want the players to spawn with a 9mmAR. I did a dofile in human player, and in a new OnInit() I tried to call AR.PickedUp(). However ,the script fails at AR:GetE...
- 2014-09-01, 05:29
- Forum: Coding and Scripting
- Topic: Game Rules scripting entry point
- Replies: 18
- Views: 79224
Re: Game Rules scripting entry point
Ignore my previous posts, I am getting there through experimentation. I am also trying out a simple class system I got from the internet, I look like I may be making some progress, but we'll see!!
- 2014-09-01, 03:20
- Forum: Coding and Scripting
- Topic: Game Rules scripting entry point
- Replies: 18
- Views: 79224
Re: Game Rules scripting entry point
Ok, I am almost there, I am trying different solutions but I'm not quite there. I am trying to call a function within a file called Team.lua. Here is the Team.lua file, it is currently only a simple file - local Team = {} function Team:OnInit(teamName, teamNumber) Self.teamName = teamName Self.teamN...
- 2014-08-31, 18:04
- Forum: Coding and Scripting
- Topic: Game Rules scripting entry point
- Replies: 18
- Views: 79224
Re: Game Rules scripting entry point
The method I came up with was to create a 'GameType' entity which is placed in the map and links to the GameType script, looks like your suggestion is the same. I do have a related problem though, and that is creating and using non-entity code. I have my TeamNumber component, I have a team player st...
- 2014-08-30, 19:45
- Forum: Coding and Scripting
- Topic: Reading Components Info
- Replies: 3
- Views: 13709
Re: Reading Components Info
Thanks for the advice. I added the score component into the serverworld file and all works great :D Well, at least the GUI does, I don't have anyone to shoot at to see if the kills register!! I am now adding the team number component. I think I have figured out how to integrate my gamerules code int...
- 2014-08-30, 17:47
- Forum: Coding and Scripting
- Topic: Game Rules scripting entry point
- Replies: 18
- Views: 79224
Re: Game Rules scripting entry point
It is with game code, some logic I want to keep on the server, and some I want to keep only on the client. For example, post map load, I want the server to populate a couple of arrays holding spawn point info, I don't need or want this on the client side. The question is really about where I start t...
- 2014-08-30, 06:03
- Forum: Coding and Scripting
- Topic: Reading Components Info
- Replies: 3
- Views: 13709
Reading Components Info
I have created a new component called CompScore. I have implemented the variables m_Score, m_Kills & m_Deaths. I have added the score component to CompHumanPlayer. I have removed the code for AddFrags from HumanPlayer, and created AddKill(), AddScore() etc in the Score lua script. I am now trying to...
- 2014-08-30, 03:21
- Forum: Coding and Scripting
- Topic: Game Rules scripting entry point
- Replies: 18
- Views: 79224
Game Rules scripting entry point
Hi Carsten, While I am making slow progress with the C++ side of things, I thought I'd get started at the same time implementing some lua code, as this will take a lot less time for me. The only problem I am having is that I can't work out the entry point for lua code. I will have some code I would ...
- 2014-08-29, 17:53
- Forum: Editing and Mapping with CaWE
- Topic: Creating Entities with CaWE
- Replies: 8
- Views: 18231
Re: Creating Entities with CaWE
As I am learning, I decided to plow on with my idea, to help me gain knowledge in general. I have created myself an EntTeamStart. This is a sub-class of Entity, which is a member of GetGameSysEntityTIM(). I have had to do a few things to get it working, but I am not sure why.. I get an error when tr...