Cuztomizable Starting Equipment
Moderator: GZDoom Developers
- chaoscentral
- Posts: 677
- Joined: Sun Feb 27, 2005 4:32 pm
- Location: Revere, MA
- Contact:
- Bio Hazard
- Posts: 4019
- Joined: Fri Aug 15, 2003 8:15 pm
- Location: ferret ~/C/ZDL $
- Contact:
Well, the way I would do it, I would define an ammo type "ExpPoints" and set its max at ~1000000, Duplicate all the monsters to run A_GiveInventory(ExpPoints,x) when they die and set up all the weapons to shoot bigger shots depending on how many "ExpPoints" you have.
Unless monsters can't A_GiveInventory() to the player...
Unless monsters can't A_GiveInventory() to the player...
- chaoscentral
- Posts: 677
- Joined: Sun Feb 27, 2005 4:32 pm
- Location: Revere, MA
- Contact:
Or higher xp points will increase your firing speed.Talonos wrote:Okay. I'll cry uncle and ask.
I'm trying to make a wad that awards you experience points for kills, like, kill a zombieman, get X points. I'll tie your experience levels to your weapons, so as you get XP, you get better weapons, and the ones you do have power up. I also want this to be a wad you could load up with any wad and just be able to use.
It was easy to make a duplicite zombieman that executes a script giving you XP when you die.
But now I can't figure out how to make sure that said scripts are available.
Is there any way to make a lump that will make scripts that can be activated from any map? Is there any way to do this so it can be done from any wad?
- HobbsTiger1
- Posts: 1235
- Joined: Fri Jan 07, 2005 7:29 pm
- Location: #DMClub
- Contact:
- chaoscentral
- Posts: 677
- Joined: Sun Feb 27, 2005 4:32 pm
- Location: Revere, MA
- Contact:
ANYWAYS... back on topic. I was thinking(thats a first) and I thought, was it possible to just add a flag in DECORATE to just add to weapons, to make it so you start with them like
+STARTEQUIP
or something like that. This seemed like a really good idea at the time, but dont know if it could be implemented or not...
+STARTEQUIP
or something like that. This seemed like a really good idea at the time, but dont know if it could be implemented or not...