The Jedi Academy. THE Place for Jedi training.
Forums
Content
The Academy
Learn
Communicate
Personal


Forums | Editing Forum
affect() ICARUS command - what am I doing wrong?
Oct 13 2005 02:55am

tarpman
 - The Tarped Avenger
tarpman
Case in point: http://www.ihud.com/file.php?file=1129167988/affect.pk3

Contents:
- affect.bsp: JK3 single-player map
- affect1.ibi and affect2.ibi: scripts run by the map
- affect.map, affect1.icarus, affect2.icarus: sources to the above

I've been doing mapping and scripting stuff for a while, but I've never been able to get the affect() command to work. Recently I decided to try and figure out why, and whether it was me doing something wrong, or Radiant or IBIze being weird. The sample maps and scripts provided with Radiant and the SDK all seem to compile correctly, and work perfectly in-game, affects and all, so I get the feeling I'm doing something wrong.

Linked above is a pk3 containing a map, two scripts, and the sources to all three. The idea is that you spawn into the map facing two jedi_random, both sitting. One is placed sitting by its own spawnscript; the other is made to sit by an affect() command contained the player's spawnscript. I know the principle works, because this is how the majority of the maps in JK2 and JK3 run their cutscenes. The affected one, in my game, remains standing, while the directly run one sits properly.

If anyone here knows a bit about ICARUS, I'd appreciate it if they could look through my script and tell me what I'm doing wrong.
_______________
Saving the world, one kilobyte at a time.

  Login and add your comment!  
Comments
Nov 02 2005 05:48am

tarpman
 - The Tarped Avenger
 tarpman

No, I haven't found an answer yet, although Setementor's being very helpful. The file seems to be gone, so I'll dig it up and post it again.
_______________
Saving the world, one kilobyte at a time.

Oct 31 2005 08:29am

Kaz
 - Student
 Kaz

i know its an old post and u may have found the answer already. I was gonna have a look at ur script but ur link doesnt work - well it does but when u click 'dowload ready' or whatever it is, u get one of those file not found errors ...

Oct 13 2005 09:23am

Setementor
 - Jedi Master
 Setementor

In affect2.icarus, I don't see anything that specifies exactly what NPC you want to make sit. :D

Edit: Nevermind, I never looked at the map file. :P

This comment was edited by Setementor on Oct 13 2005 04:52pm.

Oct 13 2005 04:53am

DarthMike
 - Student
 DarthMike

USE THE WAY THAT WORKS
_______________
"You can't get Windows on a Mac because the drivers are not compatible." --- Some dude from the Geek Squad
"So if you have quad-core, you have four times the RAM, right?" --- Some guy at Best Buy


  Login and add your comment!