Staredit Network > Forums > Modding Assistance > Topic: IScript opcodes
IScript opcodes
Mar 16 2009, 9:48 pm
By: poiuy_qwert  

Mar 16 2009, 9:48 pm poiuy_qwert Post #1

PyMS and ProTRG developer

Does anyone know which parameters in which IScript opcodes take negative values? I'm guessing most if not all commands that take offsets accept signed values but I'm not totally sure.

Edit: I investigated further and found IceCC accepts negatives in all places it expects numbers (not counting labels and stuff like image/sound/sprite id's) with no warnings but then decompiles them as unsigned (if you don't know what that means, a -1 would become 255 when decompiling).

Edit 2: Well here are my guesses as to which commands take negative values
sethorpos, setvertpos, setpos, imgol, imgul, imgoluselo, imguluselo, sprol, highprol, lowsprul, sproluselo, sprul, spruluselo, imgulnextid, grdsprol

Post has been edited 2 time(s), last time on Mar 16 2009, 11:05 pm by poiuy_qwert.




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[07:47 pm]
Ultraviolet -- Yeah, I suppose there's something to that
[2024-5-06. : 5:02 am]
Oh_Man -- whereas just "press X to get 50 health back" is pretty mindless
[2024-5-06. : 5:02 am]
Oh_Man -- because it adds anotherr level of player decision-making where u dont wanna walk too far away from the medic or u lose healing value
[2024-5-06. : 5:01 am]
Oh_Man -- initially I thought it was weird why is he still using the basic pre-EUD medic healing system, but it's actually genius
[2024-5-06. : 3:04 am]
Ultraviolet -- Vrael
Vrael shouted: I almost had a heart attack just thinking about calculating all the offsets it would take to do that kind of stuff
With the modern EUD editors, I don't think they're calculating nearly as many offsets as you might imagine. Still some fancy ass work that I'm sure took a ton of effort
[2024-5-06. : 12:51 am]
Oh_Man -- definitely EUD
[2024-5-05. : 9:35 pm]
Vrael -- I almost had a heart attack just thinking about calculating all the offsets it would take to do that kind of stuff
[2024-5-05. : 9:35 pm]
Vrael -- that is insane
[2024-5-05. : 9:35 pm]
Vrael -- damn is that all EUD effects?
[2024-5-04. : 10:53 pm]
Oh_Man -- https://youtu.be/MHOZptE-_-c are yall seeing this map? it's insane
Please log in to shout.


Members Online: Villaffan06, Tableguy