Forum

ASSIST, AMERICA'S ARMY COMMUNITY - RELIVE THE GLORY DAYS OF AMERICA'S ARMY 2.5

Author Topic: Karma (Physics) Mod  (Read 8001 times)

0 Members and 1 Guest are viewing this topic.

Offline Spanky

  • <?php echo $opinion .' is better.'; ?>
  • Administrator
  • Posts like a Spanky!
  • *
  • Posts: 10,893
    • View Profile
    • NatesComp.com
  • AA: tigobitties
Re: Karma (Physics) Mod
« Reply #15 on: Monday, January 16, 2012, 00:54:39 AM »
After re-reading GoodKarma's code, I found it actually had respawn code in it. I trimmed it down to a few Karma variables and of course location & rotation. Got that combined with a if(!Level.Game.IsInState('MatchInProgress')) check every 5 seconds and respawning Karma objects are mine!

Credit for the timer and "MatchInProgress" goes to here:
http://dg.nexuz.net/forums/viewtopic.php?f=15&t=85&start=10

Here's the server log of it working online, you can pretty much follow what's going on. I can disable the debug logs for a final release but it works :)

Quote
01/15/12 21:49:07 Log: Log file open, 01/15/12 21:49:07
01/15/12 21:49:07 Init: Name subsystem initialized
01/15/12 21:49:07 Init: Detected: Microsoft Windows NT 6.1 (Build: 7601)
01/15/12 21:49:07 Init: Unreal Version: 3339
01/15/12 21:49:07 Init: AGP Version: 3339.2.5.0
01/15/12 21:49:07 Init: Character set: Unicode
01/15/12 21:49:07 Init: Base directory: D:\America's Army\System\
01/15/12 21:49:07 Init: Ini:server.ini   UserIni:User.ini
01/15/12 21:49:07 Init: Build label:  Build AmericasArmy_Build_[2004-06-01_02.01.01]
01/15/12 21:49:07 Init: Object subsystem initialized
01/15/12 21:49:08 Log: Executing Class Engine.ServerCommandlet
01/15/12 21:49:08 Log: Encryption key located and validated.
01/15/12 21:49:08 Log: Cheat protection disabled
01/15/12 21:49:08 Log: Browse: bridge2.aao?Name=Recruit?Class=AGP_Characters.AGP_Character?;Character=Recruit?team=255
01/15/12 21:49:08 Localization: No localization: Engine.Progress.LoadingMap (int)
01/15/12 21:49:09 Log: Collecting garbage
01/15/12 21:49:09 Log: Purging garbage
01/15/12 21:49:09 Log: Garbage: objects: 40216->40212; refs: 507346
01/15/12 21:49:09 Log: URL Option string: ?Name=Recruit?Class=AGP_Characters.AGP_Character?;Character=Recruit?team=255
01/15/12 21:49:09 Log: URL option: Name=Recruit
01/15/12 21:49:09 Log: URL option: Class=AGP_Characters.AGP_Character
01/15/12 21:49:09 Log: URL option: ;Character=Recruit
01/15/12 21:49:09 Log: URL option: team=255
01/15/12 21:49:09 Log: Still no game class, now trying ini:Engine.Engine.DefaultServerGame
01/15/12 21:49:10 Log: Game class is 'AGP_GameTeamObjective'
01/15/12 21:49:10 Log: Bringing Level bridge2.myLevel up for play (25) appSeconds: 2.218000...
01/15/12 21:49:10 Log: (Karma): Autodetecting CPU for SSE
01/15/12 21:49:10 Log: (Karma): Using SSE Optimizations
01/15/12 21:49:10 ScriptLog: GameInfo::InitGame : bEnableStatLogging True
01/15/12 21:49:10 ScriptLog: Error creating log file!
01/15/12 21:49:10 ScriptLog: SimpleQR: This is a LAN server.
01/15/12 21:49:10 ScriptLog: SCIQR: This is a LAN server. Not talking to Andromeda master.
01/15/12 21:49:10 ScriptLog: GameSpyQR - IP: 127.0.0.1 port:1716 lan: 1 nat: 0
01/15/12 21:49:10 Log: GameSpy - IP: 127.0.0.1 port: 7778 Public: 0 NAT: 0
01/15/12 21:49:15 ScriptLog: the round must have ended
01/15/12 21:49:15 ScriptLog: Respawn at 2135.00,-8392.00,-2.00 Karma: 2135.00,-8392.00,-2.00
01/15/12 21:49:15 ScriptLog: LawDogsKActor respawned at 2135.00,-8392.00,-2.00 and should be at 2135.00,-8392.00,-2.00
01/15/12 21:49:15 ScriptLog: the round must have ended
01/15/12 21:49:15 ScriptLog: Respawn at 2167.00,-8490.00,30.00 Karma: 2167.00,-8490.00,30.00
01/15/12 21:49:15 ScriptLog: LawDogsKActor respawned at 2167.00,-8490.00,30.00 and should be at 2167.00,-8490.00,30.00
01/15/12 21:49:15 ScriptLog: the round must have ended
01/15/12 21:49:15 ScriptLog: Respawn at 2251.00,-8360.00,30.00 Karma: 2251.00,-8360.00,30.00
01/15/12 21:49:15 ScriptLog: LawDogsKActor respawned at 2251.00,-8360.00,30.00 and should be at 2251.00,-8360.00,30.00
01/15/12 21:49:20 ScriptLog: the round must have ended
01/15/12 21:49:20 ScriptLog: Respawn at 2135.00,-8392.00,-2.00 Karma: 2135.00,-8392.00,-2.00
01/15/12 21:49:20 ScriptLog: LawDogsKActor respawned at 2135.00,-8392.00,-2.00 and should be at 2135.00,-8392.00,-2.00
01/15/12 21:49:20 ScriptLog: the round must have ended
01/15/12 21:49:20 ScriptLog: Respawn at 2167.00,-8490.00,30.00 Karma: 2167.00,-8490.00,30.00
01/15/12 21:49:20 ScriptLog: LawDogsKActor respawned at 2167.00,-8490.00,30.00 and should be at 2167.00,-8490.00,30.00
01/15/12 21:49:20 ScriptLog: the round must have ended
01/15/12 21:49:20 ScriptLog: Respawn at 2251.00,-8360.00,30.00 Karma: 2251.00,-8360.00,30.00
01/15/12 21:49:20 ScriptLog: LawDogsKActor respawned at 2251.00,-8360.00,30.00 and should be at 2251.00,-8360.00,30.00
01/15/12 21:49:25 ScriptLog: the round must have ended
01/15/12 21:49:25 ScriptLog: Respawn at 2135.00,-8392.00,-2.00 Karma: 2135.00,-8392.00,-2.00
01/15/12 21:49:25 ScriptLog: LawDogsKActor respawned at 2135.00,-8392.00,-2.00 and should be at 2135.00,-8392.00,-2.00
01/15/12 21:49:25 ScriptLog: the round must have ended
01/15/12 21:49:25 ScriptLog: Respawn at 2167.00,-8490.00,30.00 Karma: 2167.00,-8490.00,30.00
01/15/12 21:49:25 ScriptLog: LawDogsKActor respawned at 2167.00,-8490.00,30.00 and should be at 2167.00,-8490.00,30.00
01/15/12 21:49:25 ScriptLog: the round must have ended
01/15/12 21:49:25 ScriptLog: Respawn at 2251.00,-8360.00,30.00 Karma: 2251.00,-8360.00,30.00
01/15/12 21:49:25 ScriptLog: LawDogsKActor respawned at 2251.00,-8360.00,30.00 and should be at 2251.00,-8360.00,30.00
01/15/12 21:49:28 NetComeGo: Open myLevel 01/15/12 21:49:28 127.0.0.1:50667
01/15/12 21:49:28 Log: Client netspeed is 10000
01/15/12 21:49:28 AccessControl: Checking Ban Policy for: Name=asdf; IP=127.0.0.1; MAC=1c:6f:65:9d:49:fb
01/15/12 21:49:29 ScriptLog: New Player Recruit id=22e43ba8cf596238f8f2726b4cbe5a4d
01/15/12 21:49:30 ScriptLog: the round must have ended
01/15/12 21:49:30 ScriptLog: Respawn at 2135.00,-8392.00,-2.00 Karma: 2135.00,-8392.00,-2.00
01/15/12 21:49:30 ScriptLog: LawDogsKActor respawned at 2135.00,-8392.00,-2.00 and should be at 2135.00,-8392.00,-2.00
01/15/12 21:49:30 ScriptLog: the round must have ended
01/15/12 21:49:30 ScriptLog: Respawn at 2167.00,-8490.00,30.00 Karma: 2167.00,-8490.00,30.00
01/15/12 21:49:30 ScriptLog: LawDogsKActor respawned at 2167.00,-8490.00,30.00 and should be at 2167.00,-8490.00,30.00
01/15/12 21:49:30 ScriptLog: the round must have ended
01/15/12 21:49:30 ScriptLog: Respawn at 2251.00,-8360.00,30.00 Karma: 2251.00,-8360.00,30.00
01/15/12 21:49:30 ScriptLog: LawDogsKActor respawned at 2251.00,-8360.00,30.00 and should be at 2251.00,-8360.00,30.00
01/15/12 21:49:35 ScriptLog: the round must have ended
01/15/12 21:49:35 ScriptLog: Respawn at 2135.00,-8392.00,-2.00 Karma: 2135.00,-8392.00,-2.00
01/15/12 21:49:35 ScriptLog: LawDogsKActor respawned at 2135.00,-8392.00,-2.00 and should be at 2135.00,-8392.00,-2.00
01/15/12 21:49:35 ScriptLog: the round must have ended
01/15/12 21:49:35 ScriptLog: Respawn at 2167.00,-8490.00,30.00 Karma: 2167.00,-8490.00,30.00
01/15/12 21:49:35 ScriptLog: LawDogsKActor respawned at 2167.00,-8490.00,30.00 and should be at 2167.00,-8490.00,30.00
01/15/12 21:49:35 ScriptLog: the round must have ended
01/15/12 21:49:35 ScriptLog: Respawn at 2251.00,-8360.00,30.00 Karma: 2251.00,-8360.00,30.00
01/15/12 21:49:35 ScriptLog: LawDogsKActor respawned at 2251.00,-8360.00,30.00 and should be at 2251.00,-8360.00,30.00
01/15/12 21:49:40 ScriptLog: the round must have ended
01/15/12 21:49:40 ScriptLog: Respawn at 2135.00,-8392.00,-2.00 Karma: 2135.00,-8392.00,-2.00
01/15/12 21:49:40 ScriptLog: LawDogsKActor respawned at 2135.00,-8392.00,-2.00 and should be at 2135.00,-8392.00,-2.00
01/15/12 21:49:40 ScriptLog: the round must have ended
01/15/12 21:49:40 ScriptLog: Respawn at 2167.00,-8490.00,30.00 Karma: 2167.00,-8490.00,30.00
01/15/12 21:49:40 ScriptLog: LawDogsKActor respawned at 2167.00,-8490.00,30.00 and should be at 2167.00,-8490.00,30.00
01/15/12 21:49:40 ScriptLog: the round must have ended
01/15/12 21:49:40 ScriptLog: Respawn at 2251.00,-8360.00,30.00 Karma: 2251.00,-8360.00,30.00
01/15/12 21:49:40 ScriptLog: LawDogsKActor respawned at 2251.00,-8360.00,30.00 and should be at 2251.00,-8360.00,30.00
01/15/12 21:50:25 ScriptLog: the round must have ended
01/15/12 21:50:25 ScriptLog: Respawn at 2135.00,-8392.00,-2.00 Karma: 2135.00,-8392.00,-2.00
01/15/12 21:50:25 ScriptLog: LawDogsKActor respawned at 2135.00,-8392.00,-2.00 and should be at 2135.00,-8392.00,-2.00
01/15/12 21:50:25 ScriptLog: the round must have ended
01/15/12 21:50:25 ScriptLog: Respawn at 2167.00,-8490.00,30.00 Karma: 2167.00,-8490.00,30.00
01/15/12 21:50:25 ScriptLog: LawDogsKActor respawned at 2167.00,-8490.00,30.00 and should be at 2167.00,-8490.00,30.00
01/15/12 21:50:25 ScriptLog: the round must have ended
01/15/12 21:50:25 ScriptLog: Respawn at 2251.00,-8360.00,30.00 Karma: 2251.00,-8360.00,30.00
01/15/12 21:50:25 ScriptLog: LawDogsKActor respawned at 2251.00,-8360.00,30.00 and should be at 2251.00,-8360.00,30.00
01/15/12 21:50:30 ScriptLog: the round must have ended
01/15/12 21:50:30 ScriptLog: Respawn at 2135.00,-8392.00,-2.00 Karma: 2135.00,-8392.00,-2.00
01/15/12 21:50:30 ScriptLog: LawDogsKActor respawned at 2135.00,-8392.00,-2.00 and should be at 2135.00,-8392.00,-2.00
01/15/12 21:50:30 ScriptLog: the round must have ended
01/15/12 21:50:30 ScriptLog: Respawn at 2167.00,-8490.00,30.00 Karma: 2167.00,-8490.00,30.00
01/15/12 21:50:30 ScriptLog: LawDogsKActor respawned at 2167.00,-8490.00,30.00 and should be at 2167.00,-8490.00,30.00
01/15/12 21:50:30 ScriptLog: the round must have ended
01/15/12 21:50:30 ScriptLog: Respawn at 2251.00,-8360.00,30.00 Karma: 2251.00,-8360.00,30.00
01/15/12 21:50:30 ScriptLog: LawDogsKActor respawned at 2251.00,-8360.00,30.00 and should be at 2251.00,-8360.00,30.00
01/15/12 21:50:35 ScriptLog: the round must have ended
01/15/12 21:50:35 ScriptLog: Respawn at 2135.00,-8392.00,-2.00 Karma: 2135.00,-8392.00,-2.00
01/15/12 21:50:35 ScriptLog: LawDogsKActor respawned at 2135.00,-8392.00,-2.00 and should be at 2135.00,-8392.00,-2.00
01/15/12 21:50:35 ScriptLog: the round must have ended
01/15/12 21:50:35 ScriptLog: Respawn at 2167.00,-8490.00,30.00 Karma: 2167.00,-8490.00,30.00
01/15/12 21:50:35 ScriptLog: LawDogsKActor respawned at 2167.00,-8490.00,30.00 and should be at 2167.00,-8490.00,30.00
01/15/12 21:50:35 ScriptLog: the round must have ended
01/15/12 21:50:35 ScriptLog: Respawn at 2251.00,-8360.00,30.00 Karma: 2251.00,-8360.00,30.00
01/15/12 21:50:35 ScriptLog: LawDogsKActor respawned at 2251.00,-8360.00,30.00 and should be at 2251.00,-8360.00,30.00
01/15/12 21:50:38 ScriptLog: AGP_Pawn::Dying::EndState() - entered
01/15/12 21:51:00 ScriptLog: the round must have ended
01/15/12 21:51:00 ScriptLog: Respawn at 2135.00,-8392.00,-2.00 Karma: 2135.00,-8392.00,-2.00
01/15/12 21:51:00 ScriptLog: LawDogsKActor respawned at 2135.00,-8392.00,-2.00 and should be at 2135.00,-8392.00,-2.00
01/15/12 21:51:00 ScriptLog: the round must have ended
01/15/12 21:51:00 ScriptLog: Respawn at 2167.00,-8490.00,30.00 Karma: 2167.00,-8490.00,30.00
01/15/12 21:51:00 ScriptLog: LawDogsKActor respawned at 2167.00,-8490.00,30.00 and should be at 2167.00,-8490.00,30.00
01/15/12 21:51:00 ScriptLog: the round must have ended
01/15/12 21:51:00 ScriptLog: Respawn at 2251.00,-8360.00,30.00 Karma: 2251.00,-8360.00,30.00
01/15/12 21:51:00 ScriptLog: LawDogsKActor respawned at 2251.00,-8360.00,30.00 and should be at 2251.00,-8360.00,30.00
01/15/12 21:51:05 ScriptLog: the round must have ended
01/15/12 21:51:05 ScriptLog: Respawn at 2135.00,-8392.00,-2.00 Karma: 2135.00,-8392.00,-2.00
01/15/12 21:51:05 ScriptLog: LawDogsKActor respawned at 2135.00,-8392.00,-2.00 and should be at 2135.00,-8392.00,-2.00
01/15/12 21:51:05 ScriptLog: the round must have ended
01/15/12 21:51:05 ScriptLog: Respawn at 2167.00,-8490.00,30.00 Karma: 2167.00,-8490.00,30.00
01/15/12 21:51:05 ScriptLog: LawDogsKActor respawned at 2167.00,-8490.00,30.00 and should be at 2167.00,-8490.00,30.00
01/15/12 21:51:05 ScriptLog: the round must have ended
01/15/12 21:51:05 ScriptLog: Respawn at 2251.00,-8360.00,30.00 Karma: 2251.00,-8360.00,30.00
01/15/12 21:51:05 ScriptLog: LawDogsKActor respawned at 2251.00,-8360.00,30.00 and should be at 2251.00,-8360.00,30.00
01/15/12 21:51:10 ScriptLog: the round must have ended
01/15/12 21:51:10 ScriptLog: Respawn at 2135.00,-8392.00,-2.00 Karma: 2135.00,-8392.00,-2.00
01/15/12 21:51:10 ScriptLog: LawDogsKActor respawned at 2135.00,-8392.00,-2.00 and should be at 2135.00,-8392.00,-2.00
01/15/12 21:51:10 ScriptLog: the round must have ended
01/15/12 21:51:10 ScriptLog: Respawn at 2167.00,-8490.00,30.00 Karma: 2167.00,-8490.00,30.00
01/15/12 21:51:10 ScriptLog: LawDogsKActor respawned at 2167.00,-8490.00,30.00 and should be at 2167.00,-8490.00,30.00
01/15/12 21:51:10 ScriptLog: the round must have ended
01/15/12 21:51:10 ScriptLog: Respawn at 2251.00,-8360.00,30.00 Karma: 2251.00,-8360.00,30.00
01/15/12 21:51:10 ScriptLog: LawDogsKActor respawned at 2251.00,-8360.00,30.00 and should be at 2251.00,-8360.00,30.00
01/15/12 21:51:15 ScriptLog: the round must have ended
01/15/12 21:51:15 ScriptLog: Respawn at 2135.00,-8392.00,-2.00 Karma: 2135.00,-8392.00,-2.00
01/15/12 21:51:15 ScriptLog: LawDogsKActor respawned at 2135.00,-8392.00,-2.00 and should be at 2135.00,-8392.00,-2.00
01/15/12 21:51:15 ScriptLog: the round must have ended
01/15/12 21:51:15 ScriptLog: Respawn at 2167.00,-8490.00,30.00 Karma: 2167.00,-8490.00,30.00
01/15/12 21:51:15 ScriptLog: LawDogsKActor respawned at 2167.00,-8490.00,30.00 and should be at 2167.00,-8490.00,30.00
01/15/12 21:51:15 ScriptLog: the round must have ended
01/15/12 21:51:15 ScriptLog: Respawn at 2251.00,-8360.00,30.00 Karma: 2251.00,-8360.00,30.00
01/15/12 21:51:15 ScriptLog: LawDogsKActor respawned at 2251.00,-8360.00,30.00 and should be at 2251.00,-8360.00,30.00
01/15/12 21:51:16 ScriptLog: AGP_Pawn::Dying::EndState() - entered
01/15/12 21:51:24 NetComeGo: Close TcpipConnection 127.0.0.1:50667 01/15/12 21:51:24
01/15/12 21:51:27 Exit: Preparing to exit.
01/15/12 21:51:27 Log: Purging garbage
01/15/12 21:51:27 Log: Unbound to Andromeda.dll
01/15/12 21:51:27 Log: Unbound to Core.dll
01/15/12 21:51:27 Log: Unbound to Engine.dll
01/15/12 21:51:27 Exit: Game engine shut down
01/15/12 21:51:27 Log: Unbound to AGP.dll
01/15/12 21:51:27 Log: Unbound to IpDrv.dll
01/15/12 21:51:27 Log: Unbound to XInterface.dll
01/15/12 21:51:27 Log: Unbound to Fire.dll
01/15/12 21:51:27 Log: Unbound to Editor.dll
01/15/12 21:51:27 Log: (Karma): Level Karma Terminated.
01/15/12 21:51:27 Exit: Socket shut down
01/15/12 21:51:27 Log: (Karma): MePoolMallocDestroy(): 252806448 structs still allocated
01/15/12 21:51:27 Log: Garbage: objects: 44077->0; refs: 507346
01/15/12 21:51:27 Exit: Object subsystem successfully closed.
01/15/12 21:51:27 Exit: Exiting.
01/15/12 21:51:27 Log: FileManager: Reading 0 GByte 112 MByte 681 KByte 103 Bytes from HD took 0.280000 seconds (0.215000 reading, 0.065000 seeking).
01/15/12 21:51:27 Log: FileManager: 0.018000 seconds spent with misc. duties
01/15/12 21:51:27 Uninitialized: Name subsystem shut down
01/15/12 21:51:27 Uninitialized: Allocation checking disabled
01/15/12 21:51:27 Uninitialized: Log file closed, 01/15/12 21:51:27
It's like shaving your pubes to make your junk look bigger.
Might look bigger, but it aint.....

Offline Spanky

  • <?php echo $opinion .' is better.'; ?>
  • Administrator
  • Posts like a Spanky!
  • *
  • Posts: 10,893
    • View Profile
    • NatesComp.com
  • AA: tigobitties
Re: Karma (Physics) Mod
« Reply #16 on: Monday, January 16, 2012, 01:06:08 AM »
Blue, it's up on dropbox if you want to try it. Both compiled and .uc are there. I changed tick time to 7 seconds. I think that's going to be about the limit. Time between rounds is about 15-16 seconds and I want to make sure the respawn gets executed.
It's like shaving your pubes to make your junk look bigger.
Might look bigger, but it aint.....

Offline BlueBlaster

  • Epic Poster
  • ******
  • Posts: 2,428
    • View Profile
Re: Karma (Physics) Mod
« Reply #17 on: Monday, January 16, 2012, 01:50:13 AM »
Sounds good Ill try it out right now.



Offline Spanky

  • <?php echo $opinion .' is better.'; ?>
  • Administrator
  • Posts like a Spanky!
  • *
  • Posts: 10,893
    • View Profile
    • NatesComp.com
  • AA: tigobitties
Re: Karma (Physics) Mod
« Reply #18 on: Monday, January 16, 2012, 01:53:55 AM »
In the code you'll see:

Quote
if(bChanged)
   {
      NextNetUpdateTime = Level.TimeSeconds + MaxNetUpdateInterval;
      KRepState = KState;
      StateCount++;
   }

Which basically says, if the KActor has moved, update it on the client. I tried to add the respawn it in so that if a round ended, just respawn instead of updating on the client. It only worked part of the time so I reverted back to a tick timer of checking if a round is going every 10 seconds. The majority of bandwidth seems to be used while the KActor is moving. Seeing a drop in bandwidth usage while nothing is happening is quite promising.
It's like shaving your pubes to make your junk look bigger.
Might look bigger, but it aint.....

Offline BlueBlaster

  • Epic Poster
  • ******
  • Posts: 2,428
    • View Profile
Re: Karma (Physics) Mod
« Reply #19 on: Monday, January 16, 2012, 01:58:32 AM »
Awesome. Works fine on my end respawn and all, except sometimes is takes a while for the objects to get moving.



Offline Spanky

  • <?php echo $opinion .' is better.'; ?>
  • Administrator
  • Posts like a Spanky!
  • *
  • Posts: 10,893
    • View Profile
    • NatesComp.com
  • AA: tigobitties
Re: Karma (Physics) Mod
« Reply #20 on: Monday, January 16, 2012, 02:04:55 AM »
Yea, there's something weird after the respawn. If you place the objects off the ground, they don't spawn in that exact location, it's almost like they've been triggered but they snap back to that location. There's something screwy there. I think it's got to do with how I copy-pasta'd GoodKarma code, maybe an extra variable that doesn't need to be there. I mean, there's a bunch of Karma values that are reset too, I only really need the location & rotation to be reset.
It's like shaving your pubes to make your junk look bigger.
Might look bigger, but it aint.....

Offline BlueBlaster

  • Epic Poster
  • ******
  • Posts: 2,428
    • View Profile
Re: Karma (Physics) Mod
« Reply #21 on: Monday, January 16, 2012, 02:14:21 AM »
Well don't be up to your ass in code all day :D



Offline Spanky

  • <?php echo $opinion .' is better.'; ?>
  • Administrator
  • Posts like a Spanky!
  • *
  • Posts: 10,893
    • View Profile
    • NatesComp.com
  • AA: tigobitties
Re: Karma (Physics) Mod
« Reply #22 on: Monday, January 16, 2012, 02:24:47 AM »
Time for you to catch up :)
It's like shaving your pubes to make your junk look bigger.
Might look bigger, but it aint.....

Offline Koden

  • Cogito Ergo Khodohn
  • Global Moderator
  • Epic Poster
  • *
  • Posts: 2,333
  • Hmmm rainbows.
    • View Profile
Re: Karma (Physics) Mod
« Reply #23 on: Monday, January 16, 2012, 04:37:19 AM »
You hanged-pasted that poor AI to the stairs  ;D (*mid-mouse click to switch on the roll grenade - before pressing launching key).

The physics behavior is really nice, the stone wall is a little funny but falls down in a quite realistic way. The bullets collision seems accurate. Great job!  :D

Offline Spanky

  • <?php echo $opinion .' is better.'; ?>
  • Administrator
  • Posts like a Spanky!
  • *
  • Posts: 10,893
    • View Profile
    • NatesComp.com
  • AA: tigobitties
Re: Karma (Physics) Mod
« Reply #24 on: Monday, January 16, 2012, 05:09:10 AM »
Thanks Koden. Here's a video showing online Karma working properly:
[youtube]http://www.youtube.com/watch?v=XOhlJFC0HAk&feature=youtube_gdata[/youtube]
http://youtu.be/XOhlJFC0HAk?hd=1
It's like shaving your pubes to make your junk look bigger.
Might look bigger, but it aint.....

Offline BlueBlaster

  • Epic Poster
  • ******
  • Posts: 2,428
    • View Profile
Re: Karma (Physics) Mod
« Reply #25 on: Monday, January 16, 2012, 16:52:40 PM »
Does it still reset other karma values?



Offline Spanky

  • <?php echo $opinion .' is better.'; ?>
  • Administrator
  • Posts like a Spanky!
  • *
  • Posts: 10,893
    • View Profile
    • NatesComp.com
  • AA: tigobitties
Re: Karma (Physics) Mod
« Reply #26 on: Monday, January 16, 2012, 16:54:13 PM »
Does it still reset other karma values?

I think you can tell it to reset any value of the object as long as you pull that info in PreBeginPlay() I think it is.
It's like shaving your pubes to make your junk look bigger.
Might look bigger, but it aint.....

Offline BlueBlaster

  • Epic Poster
  • ******
  • Posts: 2,428
    • View Profile
Re: Karma (Physics) Mod
« Reply #27 on: Monday, January 16, 2012, 16:56:45 PM »
Ok cool. You wouldn't want all the hard work of figuring out nice values for an object to go the waste at the end of a round :D



Offline Spanky

  • <?php echo $opinion .' is better.'; ?>
  • Administrator
  • Posts like a Spanky!
  • *
  • Posts: 10,893
    • View Profile
    • NatesComp.com
  • AA: tigobitties
Re: Karma (Physics) Mod
« Reply #28 on: Monday, January 16, 2012, 17:00:00 PM »
Ok cool. You wouldn't want all the hard work of figuring out nice values for an object to go the waste at the end of a round :D

I think I'm just going to have the objects reset to their original location & rotation. I imagine that Karma values would stay the same. That's something else to test though.
It's like shaving your pubes to make your junk look bigger.
Might look bigger, but it aint.....

Offline Spanky

  • <?php echo $opinion .' is better.'; ?>
  • Administrator
  • Posts like a Spanky!
  • *
  • Posts: 10,893
    • View Profile
    • NatesComp.com
  • AA: tigobitties
Re: Karma (Physics) Mod
« Reply #29 on: Wednesday, January 18, 2012, 02:20:22 AM »
I give up. I can't get the Karma objects to respawn properly, even in situations where the objects aren't suspended in mid-air. I tried corrugated metal and stacks of barrels. It seems like all the objects respawn on the server but not on the client. I've tried a ton of stuff and I just don't know enough about UScript to fix it.
It's like shaving your pubes to make your junk look bigger.
Might look bigger, but it aint.....

 

Download Assist

×

Download Game Client

Important: Battletracker no longer exists. However, old Battletracker accounts may still work. You can create a new 25Assist account here

Download Server Manager