Reign of the Undead - Revolution
Pack O Punch Mod on Rotu - Printable Version

+- Reign of the Undead - Revolution (https://modszombies.com)
+-- Forum: Development (https://modszombies.com/forum-Development)
+--- Forum: Modding & Mapping (https://modszombies.com/forum-Modding-Mapping)
+--- Thread: Pack O Punch Mod on Rotu (/thread-Pack-O-Punch-Mod-on-Rotu)



Pack O Punch Mod on Rotu - CptPrice - 07-22-2015

I want to Rotu have Pack O Punch you dont know what is it ? It's a Machine who is upgrading your gun to More Powerful

Then I want to have that idea for the Rotu Server it's all




Send : CptPrice


RE: Pack O Punch Mod on Rotu - fabio - 07-22-2015

We had a myterybox once, that's like a different version of that, isn't it? 13


RE: Pack O Punch Mod on Rotu - ARC - 07-22-2015

He means this:
https://www.youtube.com/watch?v=Dis1d-IwKBc


RE: Pack O Punch Mod on Rotu - Soldier . . . - 07-22-2015

(07-22-2015, 01:10 PM)ARC Wrote: He means this:
https://www.youtube.com/watch?v=Dis1d-IwKBc

For lazy people:

    At 5:00 to be exact Wink


RE: Pack O Punch Mod on Rotu - fabio - 07-22-2015

Hmm not really possible in UO.. we would need many weapons cause each skin is a new weapon.
And we already hit the limit lol


RE: Pack O Punch Mod on Rotu - Soldier . . . - 07-22-2015

it's not possible to only change the amount of damage and ammo?


RE: Pack O Punch Mod on Rotu - fabio - 07-22-2015

It needs a new weaponfile than. that needs a new name and counts as a new weapon


RE: Pack O Punch Mod on Rotu - ARC - 07-22-2015

I think we'd get even more crashes if we'd add this. I think the weapons are fine for now. You get the 'improved weapons' by spending lots on the box (berretta, flametrower, rifles, etc...) and with coins through premium weapons.


RE: Pack O Punch Mod on Rotu - Soldier . . . - 07-22-2015

So what you say is that the damage booster, 2x damage and ammo box are useless 39


For the laziest modder 10
Spoiler:
// in the reload code section

if ((player.premium_weapon->upgraded == true) && (player.premium_weapon->ammo == 0) && (player.premium_weapon->reload_used == false))
{
___player.premium_weapon->ammo = weapon->ammo_full;
___player.premium_weapon->reload_used = true;
}


// in the ammo code section

if ((player.near_ammobox == true) || (player.bought_ammo == true))
{
___player.premium_weapon->reload_used = false;
}


// in the shoot code section

if (player.premium_weapon->upgraded == true)
{
___zombie.damage = player.premium_weapon->damage * 2;
}


spoiler fails 17


RE: Pack O Punch Mod on Rotu - fabio - 07-22-2015

First of all, you could use "code" tag instead of spoiler. Ill fix the spoiler anyway.

Second, there is no reload code section. It is handled by the engine and can't be modified.
Third, I can't change max ammo of a weapon. It is defined in the client side weapon file. -> I can't edit it or we need more weapon files
Fourth, Damage would be the only possible thing. Would work like the skill damage in v4 menu.

And no, ammoboxes and damageboosters aren't useless. As I said, damage is the only possible thing.
Max Ammo can't be changed...........


RE: Pack O Punch Mod on Rotu - Soldier . . . - 07-23-2015

About useless damage and ammo, it was meant to be a bit teasing.
But I have the feeling it got interpreted differently. Sorry

In my opinion, the code between the code tags just looks awful and can't use tabs or spaces.
if I had used it (and I tried), it would looked more like this.

Code:
// examples

if (x == 1)
{
[color=#0e0e0e]___[/color]x = 10;
}

if (x == 1)
{
___x = 10;
}

if (x == 1)  // ok, I just noticed that multiple spaces does work (before the big forum update it didn't).
{
     if (x == 1)
     {
            x = 10
     }
}

What I was trying to say is that you probably don't need to change the max ammo.
You can just check or the ammo is low/empty and do just for one time a auto-refill (if it is possible of course).
And the next auto-refill is only possible after you got new ammo from the shop or from a ammo box.

I was just trying to give a potential workaround.



It's not that I need it or want it necessarily in the game,
I just want to help, for if more people like the idea.

I will find my way in-game with the new updates, as I always did and will do Wink + spoiler tags FTW
And sorry again if I insulted you in any way. It wasn't my intention 12