PDA

View Full Version : Armor classes


Guest
05-28-2000, 10:00 PM
i made a armor class thing here it is actor SHIELD
fall
ifmove RESPAWN_ACTOR_FLAG state respawnit
else ifp pshrunk { } else ifp palive ifcount 6 ifpdistl RETRIEVEDISTANCE ifpinventory GET_SHIELD SHIELD_AMOUNT
ifcanseetarget
{
ifspawnedby PIGCOP
{
ifrnd 128 addinventory GET_SHIELD PIG_SHIELD_AMOUNT1
else addinventory GET_SHIELD PIG_SHIELD_AMOUNT2
quote 104
sound KICK_HIT palfrom 24 0 32 killit
}
else addinventory GET_SHIELD SHIELD_AMOUNT quote 38
ifspawnedby SHIELD state getcode
else state quikget
ifspritepal 2 addinventory GET_SHIELD ARMOR_CLASS1
ifspritepal 8 addinventory GET_SHIELD ARMOR_CLASS2
ifspritepal 6 addinventory GET_SHIELD ARMOR_CLASS3
}
enda

Guest
05-28-2000, 10:01 PM
define ARMOR_CLASS1 100
define ARMOR_CLASS2 35
define ARMOR_CLASS3 50
define TROOPSTRENGTH 30
define PIGCOPSTRENGTH 100
define PIG_SHIELD_AMOUNT1 70
define PIG_SHIELD_AMOUNT2 80

stick that in user.con

cyborg
05-29-2000, 07:13 AM
Submit it to RTCM and Corvin can add it to the examples section: we need more.

------------------
RTCM (http://dukertcm.totalconversions.com) - Cyborg (http://dukertcm.totalconversions.com/Cyborg)

-->I hate legal mumbo-jumbo. Don't make me use it.<--

Guest
05-29-2000, 08:01 AM
Armour class as in what? You mean different players get different armour levels? Or do you mean that the map maker can change have four different types of armour to use in their maps?

cyborg
05-29-2000, 02:30 PM
Veldrik, it's clear he means Quake style armour classes.

------------------
RTCM (http://dukertcm.totalconversions.com) - Cyborg (http://dukertcm.totalconversions.com/Cyborg)

-->I hate legal mumbo-jumbo. Don't make me use it.<--

Guest
05-29-2000, 05:29 PM
it wont work! it STILL gives 100! this needs work, and SP use......

Corv
05-30-2000, 01:23 AM
Veldrick was it you? or did i do those armor classes? I can't remeber, maybe its in the old rtcm kit i never finished...

Dam, ya theres alot of examples we need. I just didnt have time to package codes back then...err

Guest
05-30-2000, 11:36 PM
Cyborg you know I don't play quake.

And if you look at his code, all it is is the normal code, except if the palette is different, it adds more armour. Therefore, it will only work IF HE CHANGES THE PALETTE OF THE ARMOUR SPRITE IN BUILD.EXE.

PS - Corv, you were the one that made the kit. You asked me about the palette bit, and how an actor can't ellectively spawn a different paletted actor, but yuo wrote all of the code yourself. http://www.3drealms.com/ubb/images/icons/smile.gif

Guest
05-31-2000, 02:38 AM
exactly, that is supposed to add a quake feel to duke's armor

Guest
05-31-2000, 06:06 PM
stick to the topic, buttmuncher http://www.3drealms.com/ubb/images/icons/grin.gif

Corv
06-01-2000, 12:06 AM
try Lithduke, you'll love it

------------------
-Corvin
R.T.C.M. Associates (http://dukertcm.totalconversions.com/)

AOL IM: CorvinRtcm

CONAN
06-02-2000, 11:16 AM
The problem is it's just something to look at. In my experience, 1 armor point is equal in value to both 0 armor points and 150 armor points. How much you have doesn't matter... you still take the same amount of damage (even though Matt claims it's different) so it's just something to say, like "ooh, I know where the heavy armor is". Totally useless.

------------------
www.dukeworld.com/warfaretc (http://www.dukeworld.com/warfaretc)

No... surrender! We never will...
RAISE THE WHITE FLAG!

Guest
06-03-2000, 08:41 PM
Play it multiplayer - my friends and I find that 100 armour helps you to survive three blasts from a shotgun much better than 0 armour.

Guest
06-08-2000, 09:06 AM
What about an armour class that will increase the longer you live?
Sort of like an RPG. Your experience over time will increase your skill and ability to aviod shots. Therefore increasing your armour class slightly.

------------------
"The fear of blood tends to create fear for the flesh." SILENT HILL (http://www.silenthill.com/index.html)
-----------------------
Duke Map Busters (http://www.dukeworld.com/dmb/)
Busting YOUR User Maps
-----------------------

cyborg
06-09-2000, 12:22 AM
You can't change how protective armour is. You have it or you don't.

------------------
RTCM (http://dukertcm.totalconversions.com) - Cyborg (http://dukertcm.totalconversions.com/Cyborg)

-->I hate legal mumbo-jumbo. Don't make me use it.<--