Jump to content


  • Posts

  • Joined

  • Last visited


Profile Information

  • Gender

Contact Methods

  • Website

Recent Profile Visitors

1,519 profile views

Scooper's Achievements


Collaborator (3/10)

  • Very Popular Rare

Recent Badges

  1. Hey, didn't notice the notifaction for a few days. Been very busy. You could try something like this. Not 100% sure if it will compile, didn't test it =p Good luck. //--------------------------------------------------------- void G_CreateRotationMatrix(vec3_t angles, matrix3_t matrix); // Function decleration/prototype so we can use it. You can put this in a header file. static void WP_DEMP2_AltFire( gentity_t *ent ) //--------------------------------------------------------- { int damage = weaponData[WP_DEMP2].damage; int currentShot = 0; vec3_t start; matrix3_t rotMatrix; vec3_t barrel[] = { {22.0f, 0.0f, 0.0f}, {11.0f, 0.0f, 0.0f}, {-11.0f, 0.0f, 0.0f}, {-22.0f, 0.0f, 0.0f} }; VectorCopy(muzzle, start); WP_TraceSetStart(ent, start, vec3_origin, vec3_origin); //make sure our start point isn't on the other side of a wall //Calculate damages if (ent->s.number != 0) { if (g_spskill->integer == 0) { damage = DEMP2_NPC_DAMAGE_EASY; } else if (g_spskill->integer == 1) { damage = DEMP2_NPC_DAMAGE_NORMAL; } else { damage = DEMP2_NPC_DAMAGE_HARD; } } // I don't have the source for this function, not 100% sure what it does. // I assume it finds and adjusted muzzle point as well as the forward vector of the player. WP_MissileTargetHint(ent, start, forwardVec); // Create a rotation matrix from the player view angles. G_CreateRotationMatrix(ent->client->ps.viewangles, rotMatrix); for (currentShot = 0; currentShot <= 3; currentShot++) { vec3_t muzzleOffset; VectorCopy(barrel[currentShot], muzzleOffset); RotatePoint(muzzleOffset, rotMatrix); // Rotate the current barrel/muzzle offset to be relative to the player rotation. VectorAdd(start, muzzleOffset, muzzleOffset); missile = CreateMissile( muzzleOffset, forwardVec, DEMP2_VELOCITY, 10000, ent); missile->classname = "demp2_proj"; missile->s.weapon = WP_DEMP2; VectorSet(missileA->maxs, DEMP2_SIZE, DEMP2_SIZE, DEMP2_SIZE); VectorScale(missileA->maxs, -1, missileA->mins); missile->damage = damage; missile->dflags = DAMAGE_DEATH_KNOCKBACK; missile->methodOfDeath = MOD_DEMP2; missile->clipmask = MASK_SHOT | CONTENTS_LIGHTSABER; missile->bounceCount = 0; // we don't want it to ever bounce } }
  2. The day we meet you will experience pain.
  3. The encryption is just an XOR with a string, offset by a random number, which is the first one printed to the file. It's not a very secure encryption
  4. Not without some work. The source code is released now, so anyone can do that change if they want to see it. I was thinking of just making it save in json at some point, but never got around to it.
  5. Makermod is open source, you can make linux support! =p
  6. Makermod can be played without any client side plugins, but there is one you can use. So your wife should probably also install it. Your wife can join by finding your server in the server browser, she should not run the .bat to start a server. Or she can connect to your server by doing "/connect <your_server_local_ip>:29070" where you replace <your_server_local_ip> with the ip. You can find your local IP by doing the following steps: /* 1) write "cmd" (without quotes) in the start menu, and press enter. 2) A black terminal window should pop up, write "ipconfig" and press enter. 3) What you see here depends a bit on your PC's setup and what devices it has. But it will list all of your IP configurations. Look for the line(s) that says "IPv4 Address. . . . . : <IP>" 4) Have your wife write "/connect <IP>:29070" in her console, when your server is running. A local IP is usually something like or Step 1 to 3 are on the PC running the server, step 4 is for the PC that is not. If you find multiple results on line 3, just try all of them separately. */
  7. Not sure why you said "nothing happened" when it prints: map: t2_trip num score ping name [...]That is the current status of your server, it's running map t2_trip, and since there are no players on it it can't show any stats about them, and only prints the column names. Your server is running correctly, you should be able to connect to it. Go to the server browser in the jamp client (you don't have to load makermod in jamp) and connect to your local server. You have to change the filter options in the top right portion of the server browser until it shows LAN (or Local not sure exactly what it says). And your server should show up. Or you can connect with the "/connect localhost:29070" console command like I mentioned before.
  8. Type in status and press enter, then please post a screenshot of what it shows.
  9. Well first of all you will need JKA to be able to play makermod, I assume you have that in order though. I suggest checking out the readme files included in the download. The "Old Makermod Readme.txt" has some installation and getting started instructions. Some googling also gives me two (kinda dated) guides: http://makermod.wikia.com/wiki/Servers http://baconmakermod.webs.com/serverguide.htm They all talk about a .bat file that is not included in the download you have though, but you can make it yourself: .\jampded.exe +set dedicated 1 +set fs_game makermod +exec makermod.cfg +set sv_pure 0 +set net_port 29070 Copy paste this into a txt file, and rename it to "Makermod Dedicated Server.bat" (make sure you have hide extensions for known filetypes disabled). Put this file in your GameData folder and double click it. If you have extracted all of the makermod files correctly, it should start your makermod server. You'll see a window pop up. Type "status" and press enter. If it tells you the server is not running, type "map t2_trip" and enter again. You should now be able to join your server by starting a jamp client, and then use the server browser to list LAN/Local servers. Or you can type /connect localhost:29070 in your console. People playing on a different machine than the server, like your wife, needs to connect to your server with the server browser or your local network IP, for example: /connect Replace with your PC's local IP.
  • Create New...