~][FGS][Nobody~
Illuminated
Posts: 5359 Joined: 26 Oct 2005, 16:59 Location: Schland! Nationality:
|
Yeah, for your beginning this is already a great piece! My first stuff was more like this: - Code: Select all
class GodModeKill extends FOModActor;
function Tick(float DeltaSeconds) { local PlayerPawn P; super.Tick(DeltaSeconds); if (P.IsA('DeusExPlayer') && P.ReducedDamageType == 'All') { P.ClientMessage("|P2Takeoff the god mode! OR you'll become Kicked " $DeltaSeconds); if (DeltaSeconds == 10) { P.ClientMessage("OK Bye"); if (DeltaSeconds == 12) { P.Destroy(); } } } } //---END-CLASS---
First of all, it caused a billion accessed nones because I just declared PlayerPawn P without assigning it. Second, the Tick parameter that's called DeltaSeconds here (usually it's called deltatime), does not count up but provides the time difference.. back then I thought if I call it DeltaSeconds instead of Deltatime it would count up. You see.. you're on a good way so far! Anyway.. to your problem... actually it should work.. I've compiled it myself and uploaded the uc file as attachment to this post.
You do not have the required permissions to view the files attached to this post. Nobody is perfect... ----------------------- ô¿ô¥[GODZ]¥NOCHANC wrote:I can ban any one I want ANY time I want. You have no rights here.
Magus wrote:Maybe one day I will understand your arcane rituals of voting
chin.democ. wrote:You can use light bulbs that emit light, and when shot, do not.
synthetic wrote:and while every person is interesting in their own unique ways, there is some degree of uniqueness that a doctor can help with. ~ô¿ô~][FGS][Nobody~ said: THERE IS NO SPOON! ~¤¥ÐJ¥¤~ said: THERE IS NO CAKE!
|
|
|
|
|
|
~DJ~
Teh 1337'
Posts: 2647 Joined: 29 Jun 2008, 13:18
|
Wouldn't it be better to create a class that is embedded on the player itself, and only summons the effects/decorations on visible areas, deletes it when not visible...rather than just summoning some stuff by a class's collision radius? Just sayin' It's good to see more coders working on DXMP'
That Resident Evil Mod———— ~][FGS][Nobody~ wrote:DONT SEARCH WORDS ON GOOGLE WITHOUT TINKING
~[FGS]SaSQuATcH~ wrote:you+serious=error
chin.democ. wrote:It's just what you're doing with your right hand that worries me....
|
|
|
|
|
~][FGS][Nobody~
Illuminated
Posts: 5359 Joined: 26 Oct 2005, 16:59 Location: Schland! Nationality:
|
That makes no sense in multiplayer, also it wouldn't be realistic if decoration like trees change their location within one match.
Nobody is perfect... ----------------------- ô¿ô¥[GODZ]¥NOCHANC wrote:I can ban any one I want ANY time I want. You have no rights here.
Magus wrote:Maybe one day I will understand your arcane rituals of voting
chin.democ. wrote:You can use light bulbs that emit light, and when shot, do not.
synthetic wrote:and while every person is interesting in their own unique ways, there is some degree of uniqueness that a doctor can help with. ~ô¿ô~][FGS][Nobody~ said: THERE IS NO SPOON! ~¤¥ÐJ¥¤~ said: THERE IS NO CAKE!
|
|
|
|
|
~DJ~
Teh 1337'
Posts: 2647 Joined: 29 Jun 2008, 13:18
|
Not trees lol.. Foliage. It's the same method you see small little grass on UT2004 maps, they appear on specific texture areas though, those who have foliage on their texture group name like 'Ladder' makes it sticky etc.
That Resident Evil Mod———— ~][FGS][Nobody~ wrote:DONT SEARCH WORDS ON GOOGLE WITHOUT TINKING
~[FGS]SaSQuATcH~ wrote:you+serious=error
chin.democ. wrote:It's just what you're doing with your right hand that worries me....
|
|
|
|
|
|
|
Cozmo
Power/3D
Posts: 276 Joined: 08 Apr 2010, 22:00
|
Really clever little detail and well implemented. I love this.
|
|
|
|
|