Browse Source

Changed player TIDs to 1000 as a sort of standard.

pull/42/head
Tribeam 3 months ago
parent
commit
ea7ac44f5a
3 changed files with 5 additions and 4 deletions
  1. 5
    4
      pk3/Acs/Lexicon.c
  2. BIN
      pk3/Acs/Lexicon.o
  3. BIN
      pk3/Maps/VR.wad

+ 5
- 4
pk3/Acs/Lexicon.c View File

@@ -16,6 +16,7 @@ strict namespace
16 16
         #define STATE_RESULTS 3
17 17
         
18 18
         #define MAPSET_MAX 193
19
+        #define PLAYER_TID 1000
19 20
     #endif
20 21
     
21 22
     // this is where the names that show up in the votes are, and the map names to go to when that wad wins
@@ -360,7 +361,7 @@ strict namespace
360 361
     // when a player enters the game(server side)
361 362
     script "SV_PlayerEnter" enter
362 363
     {
363
-        Thing_ChangeTID(0, playernumber()+1337);
364
+        Thing_ChangeTID(0, playernumber()+PLAYER_TID);
364 365
 
365 366
         // we have entered the VR map
366 367
         if(GetLevelInfo(LEVELINFO_LEVELNUM) == 99) 
@@ -581,7 +582,7 @@ strict namespace
581 582
             int pnum = playernumber();
582 583
 
583 584
             // special vr map logic so players cant vote from shooting the invisible parts of the linedef
584
-            if(GetActorZ(pnum+1337) < 1144.0) { terminate; }
585
+            if(GetActorZ(0) < 1144.0) { terminate; }
585 586
             
586 587
             // if the player has not voted...
587 588
             if (players[pnum] < 0)
@@ -646,14 +647,14 @@ strict namespace
646 647
         {
647 648
             for(int i = 0; i < 63; i++)
648 649
             {
649
-                GiveActorInventory(1337+i, "Lexicon_GodMode", 1);
650
+                GiveActorInventory(PLAYER_TID+i, "Lexicon_GodMode", 1);
650 651
             }
651 652
         }
652 653
         if(instakiller)
653 654
         {
654 655
             for(int i = 0; i < 63; i++)
655 656
             {
656
-                GiveActorInventory(1337+i, "Lexicon_InstaKiller", 1);
657
+                GiveActorInventory(PLAYER_TID+i, "Lexicon_InstaKiller", 1);
657 658
             }
658 659
         }
659 660
     }

BIN
pk3/Acs/Lexicon.o View File


BIN
pk3/Maps/VR.wad View File


Loading…
Cancel
Save