Viking

Members
  • Content Count

    225
  • Joined

  • Last visited

  • Days Won

    8

Viking last won the day on December 21 2018

Viking had the most liked content!

Community Reputation

14 Good

9 Followers

Recent Profile Visitors

757 profile views
  1. Hey guys, i need your help with a short project. I would like to write a plugin to spawn a permanent player clone because the clone created for the corpses disappears after some time. Spawning a new (permanent) entity with the correct model finally works but I have no idea how to assign an animation to it. After digging into the asm code of the clonePlayer() function i found an interesting part. https://github.com/callofduty4x/CoD4x_Server/blob/ac7401267510cd1758c8c5380298a00502eb3e4d/src/asmsource/_xanim.asm#L11577 Is there any chance that you (dev team) or anybody else reverses this function and its releated subfunctions for me? :) Greetings Viking
  2. Check your log for the command executions and you will see how he did it.
  3. https://github.com/promod/CoD4-Mod-Tools/blob/7e538c6632a5f2311a2a16f86e5b6786b4e65d16/raw/maps/mp/gametypes/_globallogic.gsc#L4971 Disable this if statement.
  4. Modded or unmodded server?
  5. Check your b3 log for the command execution. You will see the rcon command b3 is sending to the server.
  6. Hey guys, can you tell me where in the source i can find the little lamp you get above your head while typing a message? It's some kind of a headicon but is not written to player.headicon. Thanks in advance.
  7. To be honest i did never really pay attention to the different terms but now... Did i get that right? "Set" defines a server sided dvar which can be modified at any time "Seta" defines a server sided dvar that can not be modified, a change requires a server reboot "Sets" defines a dvar which can be modified at any time and that is also send to the client
  8. Does the "original" cod4 crash too, or cod4x only? Or uninstall cod4x for the moment. Also try to start the game in window mode and play around with the graphics settings. Does it crash when it refresh the screen to apply the new settings? Does the game crash when you start a map without joining a server? Just /map mp_crash in console with/without a mod launched.
  9. This is already included with the modtools, isnt it?
  10. Start a bullettrace when the attacker is pressing the attack button and check if it hits a player. If true then damage the victim. Not 100 percent working (like wallbangs wont work), but a pretty easy solution.
  11. Maybe in the adminactions log file in the root of the mod or Server folder.
  12. Damn, my hope was an available source. But reversing is nothing I can do. Respect to everyone who can.
  13. You might take a look at this https://www.geeksforgeeks.org/how-to-check-if-a-given-point-lies-inside-a-polygon In case your play area is a square you could simply grab the corner points and compare them with the origin of the player. I should have a script for that somewhere, will check when i am home.
  14. Hey guys, I noticed a function in your code and was wondering where you got the source from. It's about the clonebrushtoscriptmodel function which was added to mw2 but did not exist in earlier games. Can you tell me how you got access to that source code and if it's possible to get other functions from mw2 (or even newer games) ported to cod4. Thanks and best regards.