![]() |
![]() |
![]() |
![]() |
November 27th, 2004, 09:06 PM
|
#1 |
|
Join Date: Jul 2004
Posts: 639
|
Ded problems :(
I'm not sure if this belongs here or in tech support, so if it belongs there could a mod please move it? Thanks
![]() Anyway, I'm trying to modify the way the plasma gun fires and to do so, I have to copy the state definition for plasma1 from objects .ded into values.ded (where i'm doing most of the work) so that I can change the action for the plasma gun (I think). I have this... State { ID = "PLASMA1"; Sprite = "PLSG"; Frame = 0; Tics = 3; Action = "A_FirePistol"; Next state = "PLASMA2"; } In values.ded, it's above the Values{ part of the file, but when that's in there, and the atk is set to PLASMA1, I can't get the plasma gun. Whenever I hit 6, I just keep whatever weapon I've currently got. I can't figure out why it's doing that. So, to quote monty python... "Anything you can do to help, would be very...Helpful" ![]() Thanks
__________________
cheesepie.org |
|
|
November 27th, 2004, 09:27 PM
|
#2 |
|
Commander Keen
Join Date: Feb 2003
Location: I ham in the land of Oz - oooooo....
Posts: 1,524
|
Is there anything else you've changed? It doesnt seem to make any sense. If you've made any changes to the weapons block in values.ded, can you post them?
|
|
|
November 27th, 2004, 09:43 PM
|
#3 |
|
Join Date: Jul 2004
Posts: 639
|
This is everything, excluding most of the commented out heading explaning how to do values ded stuff
# An example: # # Values { # Patch Replacement { # M_DOOM = "{R=.5; G=1; B=.5; scale=3}G{scale=2;y=10}ONE { # scale=3;y=0}F{ scale = 2; y = 10 }I{break}SHING"; # }; # } State { ID = "PLASMA1"; Sprite = "PLSG"; Frame = 0; Tics = 3; Action = "A_FirePistol"; Next state = "PLASMA2"; } Values { Player { Health = "100"; # Initial health. Max health = "100"; # Maximum health. Health limit = "200"; # Absolute health limit. Green armor = "100"; Blue armor = "200"; Max ammo { Clip = "200"; Shell = "50"; Cell = "300"; Misl = "50"; }; Clip ammo { Clip = "10"; Shell = "4"; Cell = "20"; Misl = "1"; }; }; # Weapon Info|*|Static defaults to "0". # "1" will prevent the lowering of the HUD weapon when doing a switch. Weapon Info { 0 { Type = "noammo"; Up = "PUNCHUP"; Down = "PUNCHDOWN"; Ready = "PUNCH"; Atk = "PUNCH1"; Flash = "NULL"; }; 1 { Type = "clip"; Per shot = "1"; Up = "PISTOLUP"; Down = "PISTOLDOWN"; Ready = "PISTOL"; Atk = "PISTOL1"; Flash = "PISTOLFLASH"; }; 2 { Type = "shell"; Per shot = "1"; Up = "SGUNUP"; Down = "SGUNDOWN"; Ready = "SGUN"; Atk = "SGUN1"; Flash = "SGUNFLASH1"; }; 3 { Type = "clip"; Per shot = "1"; Up = "CHAINUP"; Down = "CHAINDOWN"; Ready = "CHAIN"; Atk = "CHAIN1"; Flash = "CHAINFLASH1"; }; 4 { Type = "misl"; Per shot = "1"; Up = "MISSILEUP"; Down = "MISSILEDOWN"; Ready = "MISSILE"; Atk = "MISSILE1"; Flash = "MISSILEFLASH1"; }; 5 { Type = "cell"; Per shot = "100"; Up = "PLASMAUP"; Down = "PLASMADOWN"; Ready = "PLASMA"; Atk = "PLASMA1"; Flash = "PLASMAFLASH1"; }; 6 { Type = "cell"; Per shot = "40"; Up = "BFGUP"; Down = "BFGDOWN"; Ready = "BFG"; Atk = "BFG1"; Flash = "BFGFLASH1"; }; 7 { Type = "noammo"; Up = "SAWUP"; Down = "SAWDOWN"; Ready = "SAW"; Atk = "SAW1"; Flash = "NULL"; }; 8 { Type = "shell"; Per shot = "2"; Up = "DSGUNUP"; Down = "DSGUNDOWN"; Ready = "DSGUN"; Atk = "DSGUN1"; Flash = "DSGUNFLASH1"; }; }; }
__________________
cheesepie.org |
|
|
November 27th, 2004, 10:15 PM
|
#4 |
|
Commander Keen
Join Date: Feb 2003
Location: I ham in the land of Oz - oooooo....
Posts: 1,524
|
I'm not really sure why, but I was able to switch to the plasma rifle and fire 3 shots when I used that ded. You are editing the right stuff to change the plasma firing sequence. The only thing I can think of is maybe youve been trying to switch to it with less than 100 cells in your stash, since Doom wont allow that. Try changing the ammo per shot amount?
|
|
|
November 30th, 2004, 12:57 PM
|
#5 |
|
Join Date: Jul 2004
Posts: 639
|
Apperantly it wasn't the ded. After testing many other ways, I disabled it, and I still cannot get the plasma gun to come up
By the way when you say 3 shots, you mean 3 pistol shots right? Edit: Whoops I realized the error I made. I had accidentally bound the key for #6 with an action aside from raising the plasmagun.
__________________
cheesepie.org Last edited by primus1236; November 30th, 2004 at 01:12 PM. |
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| jHexen/jHeretic modelyard | Jaquboss | Resources | 710 | July 12th, 2006 05:33 AM |
| Segmentation Violation??? | Chris5675 | Doomsday | 25 | February 5th, 2006 08:29 PM |
| Strange segmentation violation | CrazedImp | Doomsday | 7 | September 11th, 2005 10:24 AM |
| Can't get Abbs Model Pack to work | ace | Doomsday | 12 | July 17th, 2005 04:05 AM |
| Crashes every single **** time! | salaciouscrumb07 | Doomsday | 13 | December 27th, 2004 05:05 PM |