GoldenEye: Source Forums

  • March 23, 2017, 11:03:07 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1] 2 3 ... 10
 1 
 on: March 18, 2017, 10:24:46 PM 
Started by compelx - Last post by Rick Astley
any new updates?

 2 
 on: March 11, 2017, 12:49:00 PM 
Started by compelx - Last post by WFCxLima
Lots of cool stuff! Good work, all!

 3 
 on: March 11, 2017, 10:30:44 AM 
Started by compelx - Last post by Goldenzen
God, I love this stuff displayed here!
I love to see this material being kept alive!

 4 
 on: February 28, 2017, 04:07:59 PM 
Started by compelx - Last post by Rick Astley
These are Fantastic Guys :) keep up the awesome work
Surface 1 X that you made Basche should have been in the original game

Id Love to see you tackle more tracks Compelx especially Aztec or Egyptain or Citadel :)

 5 
 on: February 28, 2017, 11:49:51 AM 
Started by compelx - Last post by compelx
Ah, I am familiar with this one as I came across it on my feed. Fantastic stuff!

 6 
 on: February 28, 2017, 11:38:42 AM 
Started by compelx - Last post by Bashe
I used the soundfont to create a theoretical Surface 1 X that otherwise did not exist in the game.


 7 
 on: February 28, 2017, 09:33:29 AM 
Started by compelx - Last post by compelx
Hello! I wanted to share with you all the fun I've been having tinkering with the original soundfont. Here's some remix/remakes/re-imagined?? things I've made so far:

EDIT: Sorry for the size of the thread! Didn't realize the youtube links would be parsed and embedded.


 8 
 on: February 21, 2017, 05:23:27 PM 
Started by null - Last post by null
Awesome, glad you ask, i have notifications turned off or i would have replied sooner. 

player.SetPlayerModel() was actually a little too much fun to test, because if you try and use it directly in OnPlayerSpawn without the right checks SetPlayerModel  and/or OnPlayerSpawn gets called like 20 times per player spawn, which will lead to a crash once the gameplay is reloaded with like 20 * player spawns. 

This works for teams though (ignore the name, color, levels, kills though):
Code: [Select]
import random 

#Track team levels and kills
        self.TEAM_SCORES = {
            Glb.TEAM_JANUS: {
                'name': "Janus",
                'color': "^r",
                'Levels': 0,
                'Kills': 0,
                'chars': ['boris', 'guard', 'infantry', 'ourumov', 'jaws', 'samedi', 'mayday', 'oddjob'],
                'random_char': random.choice (self.TEAM_SCORES[Glb.TEAM_JANUS]['chars'])
            },
            Glb.TEAM_MI6: {
                'name': "MI6",
                'color': "^i",
                'Levels': 0,
                'Kills': 0,
                'chars': ['bond', '006_mi6', 'female_scientist', 'mishkin', 'valentin'],
                'random_char': random.choice (self.TEAM_SCORES[Glb.TEAM_MI6]['chars'])
            }
        }

self.CreateCVar("ar_onecharperteam", "1", "Each team is assigned one character each. (Use 0 to disable)")

if player and player.GetTeamNumber() == Glb.TEAM_JANUS and not player.GetPlayerModel().lower() == self.TEAM_SCORES[Glb.TEAM_JANUS]['random_char'] and self.ar_onecharperteam == 1:
     player.SetPlayerModel(self.TEAM_SCORES[Glb.TEAM_JANUS]['random_char'], 0)
if player and player.GetTeamNumber() == Glb.TEAM_MI6 and not player.GetPlayerModel().lower() == self.TEAM_SCORES[Glb.TEAM_MI6]['random_char'] and self.ar_onecharperteam == 1:
     player.SetPlayerModel(self.TEAM_SCORES[Glb.TEAM_MI6]['random_char'], 0)

 9 
 on: February 17, 2017, 05:39:51 PM 
Started by null - Last post by Entropy-Soldier
Yeah, a more clear definition of the function's purpose is due at the very least, though it could conceivably be extended to include more characters as well.  We'll look at it for 5.1.


What quirks does SetPlayerModel() have?  I haven't looked at these functions much myself so I'd love to know if they could be improved.

 10 
 on: February 17, 2017, 05:28:21 PM 
Started by null - Last post by null
i had to change my reply a little too since you're reply.  Luckily, I was planning on choosing characters specifically, but this was kinda driving me crazy because
Code: [Select]
player.SetPlayerModel()
has its own quirks.

Maybe just an update to the comment starting in GEMPGameRules.py #Line: 201 would be suitable.

Code: [Select]
def SetExcludedCharacters( char_list ):
    '''
    Exclude characters from being shown on the character select panel.
   
    char_list -- Comma seperated list of character identities (ex. "006_mi6,bond,samedi")
    '''

Thanks for the info guys!

Null

Pages: [1] 2 3 ... 10