Jump to content

Photo

Project APB:District Z


  • Please log in to reply
54 replies to this topic

#41
BrandonBranderson

BrandonBranderson

    Ascended

  • Members
  • PipPipPipPip
  • 3705 posts
  • Joined 13-July 13

Source sdk is still the N1 for mod existent game.

Yeah I know it works for some, if not most people, I just can't get mine working.  I might just be stupid, who knows v(^~^)v



#42
Queen of Love

Queen of Love

    Supreme

  • Members
  • PipPipPipPipPip
  • 8331 posts
  • Joined 13-October 12

Yeah I know it works for some, if not most people, I just can't get mine working.  I might just be stupid, who knows v(^~^)v

nah, simply chech if the conversors have the right settings



#43
Queen of Love

Queen of Love

    Supreme

  • Members
  • PipPipPipPipPip
  • 8331 posts
  • Joined 13-October 12

First Stress Test done! 

The KellyEngine is working!

Video soonTM

 

 

FAQ:

Q:  Can we use it in APBR? -------A: No.

Q: Is an Online game? --> No, just Lan game. And sometime the files are in conflict and the game crash or loop errors until fps are just 2. 

Q: The old versions were lagging and full of bugs!!! are u sure this works?--------> 80 AI instance running togheter in  battle between them and no one error, is working at 50-60 fps.



#44
Queen of Love

Queen of Love

    Supreme

  • Members
  • PipPipPipPipPip
  • 8331 posts
  • Joined 13-October 12

 

fps are really low due to high setting made on purpose, however 15-20 fps and no freezing.

 

with some staff more could be developed.

 

More Human than Human is our goal.



#45
Queen of Love

Queen of Love

    Supreme

  • Members
  • PipPipPipPipPip
  • 8331 posts
  • Joined 13-October 12

problem:

how to a set a sound without active it at every cycle of code?

and how to start something different when sound/music end?

With few artigianals code lines?

 

first, prepare the object with few requirements:

  • properties ; labelSound(str)="a_song" , timed(int)=0  (add them to onj inside scene editor)

second  prepare in the code other few requirements:

  • import bge
  • import aud
  • import random
  • devv=aud.device                  # (the object where the code runs will become your speaker)
  • soundR = aud.factory("C:/musicrock.mp3")   # the path for the music/sound file (if little like <100k could be buffered too)
  • dictionarSound={ "rockNroll": [soundR,7200]  , "hiphop": [soundH,6700] }  # this is useful for fast code and change between different objects, it check also the "lenght" in cycles of sound (30 cycles==1 second, 1800== 1 minute, control ur sound and calculate it)

now follow this:

if the code create a condition ,it will active the sound at every cycle, and we suppose to don't know the lenght of sound. this means that your sound will be activated when is playing yet, one time for every cycle (about 32 times for second)

 

lets create a starter structure

import bge

import aud

import random

devv=aud.device                

soundR = aud.factory("C:/musicrock.mp3") 

soundH = aud.factory("C:/Hiphop.mp3") 

dictionarSound={ "rockNroll": [soundR,7200]  , "hiphop": [soundH,6700] }  

##if the labelSound of the running obj is different you could get --KeyError ,"a_song" not found ,change it with a know label value for fix, (in this case "rockNroll" or "hiphop")

 

for h in scene.objects:

   if "labelSound" in h:   #recognize speaker in the scene

      if h["timed"] <1:        #this active the sound !

         goMusic=devv.play(dictionarSound[h['labelSound']][0])

          #check in dictionary if labelSound have a music/sound value

         goMusic.volume = 0.1

     h["timed"]+=1                                      #this instant lock the unwanted activation!

     if h["timed"] >= (dictionarSound[h['labelSound']][1] ) :  

         #this recognize that sound is finished (or when we wish)

        h['labelSound'] = "hiphop"                        

             #sound can be change or rest the same as for ambient cyclic sound

        h['timed'] = 0                                  

              #timer reset, without this 0, sound never restart

 

 

FAQ:

Q: the music dont start!

A: check if timed is set to 0 

 

Q:music is electrical,horrible sound and stucks my game!

A:check if timed is LESS than 0 ! -11 means music starts 11 times in less than half second!

 

Q: how to fix KeyError ? like a pro?

A: check path and namefile of soundle, use also a try,except cycle for report in IO Dos window(or whatever u need) the missed key


Edited by Queen of Love, 11 November 2016 - 06:09 AM.


#46
Annily

Annily

    Conscript

  • Members
  • PipPip
  • 215 posts
  • Joined 21-November 14

... i just was wanted to play with my character..in other games. thats all.


Edited by Annily, 11 November 2016 - 06:00 AM.


#47
Queen of Love

Queen of Love

    Supreme

  • Members
  • PipPipPipPipPip
  • 8331 posts
  • Joined 13-October 12

... i just was wanted to play with my character..in other games. thats all.

2lj47sl.jpg



#48
Annily

Annily

    Conscript

  • Members
  • PipPip
  • 215 posts
  • Joined 21-November 14

"there" is "no")

 

love eachother, to make:

   your "friends" happy:   #recognize speaker in the scene

      if h["timed"] <1:        #blablabla and bla !


Edited by Annily, 11 November 2016 - 06:10 AM.


#49
Queen of Love

Queen of Love

    Supreme

  • Members
  • PipPipPipPipPip
  • 8331 posts
  • Joined 13-October 12

 

"there" is "no")

 

love eachother, to make:

   your "friends" happy:   #recognize speaker in the scene

      if h["timed"] <1:        #blablabla and bla !

 

"there" is "no" --------->return False cause "there" is not "no"

cycle error: in line 1 "no" is in command.bge.attribute

love is undefinite

eachother is undefinite

make is undefinite

indent error on line 5      if h["timed"] <1:_

 

total 10 errorblock   in Annily.post.indent.003a392c

 

 

^_^hug<3



#50
Annily

Annily

    Conscript

  • Members
  • PipPip
  • 215 posts
  • Joined 21-November 14

zzzzzzzz. dont make me learn SQL or something. i only understand html.  blood to blood


Edited by Annily, 11 November 2016 - 07:07 AM.


#51
Queen of Love

Queen of Love

    Supreme

  • Members
  • PipPipPipPipPip
  • 8331 posts
  • Joined 13-October 12

The KellyEngineTM works^^

 

now we need more contents.

 



#52
Annily

Annily

    Conscript

  • Members
  • PipPip
  • 215 posts
  • Joined 21-November 14

yes animations



#53
Queen of Love

Queen of Love

    Supreme

  • Members
  • PipPipPipPipPip
  • 8331 posts
  • Joined 13-October 12

yes animations

and working interactive ^__^ use Blender!



#54
Queen of Love

Queen of Love

    Supreme

  • Members
  • PipPipPipPipPip
  • 8331 posts
  • Joined 13-October 12

 

We need you for develope it !

Modelling map & Props . (ask for access directives, volume, LOD,  memory and texture size)

Animation (use Mount&Blade skeleton+5 IK   as reference ) .

Voice Sounds. (mix ,edit ,actor)



#55
Queen of Love

Queen of Love

    Supreme

  • Members
  • PipPipPipPipPip
  • 8331 posts
  • Joined 13-October 12

update: 

 

added interaction instance

  • not only AI can react and move, but also some property can change in function of object detected (action,ammo,health,movement,commands)
  • the object influence can have and assing status subroutine specifically for the AI running values. (status, driving ,store ,sub menu ,hud messages)
  • not only is possible pick up items, but also store them in a object (like a garage, a wardrobe)

added item inventory code string

  •  this system dont requires adding property to AI object for have new instance but is easy to manage/modify/update with just one string fuction

added dynamic customitation character

  • like the inventory store, this new instance just check if the character need update "dressing". in the first develope test, the character not only is able to dress a jacket ,but also to choose to open or close it , if attacked the mesh can also be easy modified and stored, like ripped jeans after a zombi attack.

added raytrace light :

  • this special features of light ,not only revive closed spaces only when required, but  is interactive with transparency (good for window effect,fog, rain) with low impact in game performance (cpu ,FPS, GPUlatency)

added AI obstacle movement:

  • the AI now dont simply stop in front of an obstacle in its way,looking for an alternative path, but try to check if an action (climbing,jump,crouch) could avoid the block.

added videoclip  in game:

  • is possible add, streaming,link video directly ingame, first test of looking youtube channel from a television object inside game lagged a bit ,but fps runs smooth (just .mpg for now)

still under developement:

  • the online features are still stucked to a direct LAN between 2 different client (>_<' ) every attempt to get data from another source fails.
  • vehicles physics instance (like suspensions,drifting)  are still too complex for run smooth. i will try to test 2 wheels vehicle for  save 50% resources XD



2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users