Duke4.net Forums: Need help with con editing - Duke4.net Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Need help with con editing

#1

I'm a total beginner when it comes to modifying con files and I have no idea what I'm doing :D How to edit the Used Armor pickup so that you get a different message whenever you get a 50 or a 75 variation of the Used Armor? I know how to edit a user.con to edit /add messages, but how about game con? I'm talking about this:

actor SHIELD
fall
ifmove RESPAWN_ACTOR_FLAG
state respawnit
else
ifp pshrunk nullop
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
}
enda


Also, is there a way to make the Nightvision Goggles have different sounds for turning them on and off?
0

#2

Nvm got it myself.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic


All copyrights and trademarks not owned by Voidpoint, LLC are the sole property of their respective owners. Play Ion Fury! ;) © Voidpoint, LLC

Enter your sign in name and password


Sign in options