lfnetwork.com mark read register faq members calendar

Thread: target_print weird error (I mean: really weird)
Thread Tools Display Modes
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Old 05-29-2003, 02:32 PM   #1
rgoer
 
rgoer's Avatar
 
Join Date: Jan 2003
Location: Raleigh
Posts: 316
target_print weird error (I mean: really weird)

So I know it was just wishful thinking when I created a target_print entity with a "message" of "%s says: hello world"--but I never expected this to happen. After a compile (in which nothing out of the ordinary seemed to take place) I loaded up the map to test out whether or not "%s" worked like it does in some of the MODs... lo and behold, whenever I passed through the trigger_multiple brush that targeted my target_print, the all the controls would get reversed! This was just too bizarre... the "w" key would still do the animation for "running forward," but the character was moving backwards! "s" would do the backpedal animation, but more forwards, the crouch key made you jump and the space bar made me duck (but doing a "jumping animation")! Has anybody else encountered this? Is this bug related to something besides putting a "%" sign in a target_print entity (which, by the way, didn't work--I just got ".s says: hello world")? Just thought I'd share the weirdness...
rgoer is offline   you may: quote & reply,
Old 05-30-2003, 04:25 AM   #2
lauser
 
lauser's Avatar
 
Join Date: Jan 2003
Location: CANADA
Posts: 428
LOL my good friend rgoer...isn't it strange what the editors do to your comp? I can't even run or exec any binds.cfg at ALL!! Not only that I get NO AMPSAYS. I can't use this function or even use any ampsay binds!! Also get this...I can't empower myself...but I can still rcon and sleep/slap terminator..LOL!!

Yeah...so any GENIUS that reads this can ponder how the universe was made on top of figuring out our dilemas!!

Hehe....you thought this would be a solution eh? sorry....


My kung fu is also very weak
lauser is offline   you may: quote & reply,
Old 05-30-2003, 04:33 AM   #3
rgoer
 
rgoer's Avatar
 
Join Date: Jan 2003
Location: Raleigh
Posts: 316
Your problem, GiNG, can probably be solved by trashing any copies of jk2mpconfig.cfg you find lying around. AcademyMOD doesn't play so nice with that file, sometimes... trash the one from base/ and from academy/ and then see if the problems persist...
rgoer is offline   you may: quote & reply,
Old 05-30-2003, 12:00 PM   #4
Obsidian-Jovani
 
Obsidian-Jovani's Avatar
 
Join Date: Apr 2003
Location: Onderon
Posts: 223
Instead of the % in front of your text try using a !

In scripts with the print command that is what you must use for your text. Such as: print ( "!Hello World." );


Binary Sunset Studios

WIP: A SP Project entitled "Resurgence"
Obsidian-Jovani is offline   you may: quote & reply,
Old 05-30-2003, 01:19 PM   #5
lauser
 
lauser's Avatar
 
Join Date: Jan 2003
Location: CANADA
Posts: 428
AAAAACK!! Stop posting stuff I've already done!! I'm just kidding rgoer. I really wish that would work. Believe me I have tried everything but deleting ALL and never doing any JK2 stuff again.

YES THAT'S HOW BAD IT IS!!

Can you believe this? After deleting ALL I still get the problem?

And your print problem, I did it the way you told me and it works great!! Why would you use % and !?


My kung fu is also very weak
lauser is offline   you may: quote & reply,
Old 05-30-2003, 02:10 PM   #6
rgoer
 
rgoer's Avatar
 
Join Date: Jan 2003
Location: Raleigh
Posts: 316
Somtimes JK2 uses the symbol "%s" to be "target player's name"--so I was experimenting with a trigger brush that, if GiNGii walked through it, would hit a target_print and "/ampsay" "GiNGii says: hello world!"

It was really just wishful thinking... I'm not sure how %s is really hooked into the engine.

How is the "!" character used in scripting? I've never screwed around with SP scripts, so I'm clueless in that department ;^)

As for you, GiNG: have you reinstalled JK2? I know it sounds drastic, but if things are as screwed up as they are... it couldn't hurt. Although, even if you do, you'll just break it again in less than a week ;^)
rgoer is offline   you may: quote & reply,
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Go Back   LucasForums > Network > JediKnight Series > Editing Central > JO Mapping > target_print weird error (I mean: really weird)

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:12 PM.

LFNetwork, LLC ©2002-2011 - All rights reserved.
Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.